Interface ModelContext

All Superinterfaces:
ComponentContext, JCAContext

public interface ModelContext extends ComponentContext, JCAContext
Describes the context in which a given data utility is being asked to get data values.

Supported API: true

Extendable: false
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the component descriptor that requested the use of this data utility
    Supported API: true
    Get the raw value for the current model attribute.
  • Method Details

    • getDescriptor

      ComponentDescriptor getDescriptor()
      Get the component descriptor that requested the use of this data utility
      Supported API: true
      Returns:
      The component descriptor
    • getRawValue

      Object getRawValue() throws WTException
      Get the raw value for the current model attribute. This only works when the modelObject is a non-null, well-known type
      Supported API: true
      Returns:
      The value of the attribute on the current model object, or null
      Throws:
      WTException