Interface ModelContext
- All Superinterfaces:
ComponentContext,JCAContext
Describes the context in which a given data utility is being asked to get
data values.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionGet the component descriptor that requested the use of this data utility
Supported API: trueGet 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
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
-