Interface IFeatureJavaField
- All Superinterfaces:
IDefaultable,IValued,IValuedMutable
- All Known Subinterfaces:
IBoundFieldValue,IBoundInstance<ITEM>,IBoundInstanceFlag,IBoundInstanceModel<ITEM>,IBoundInstanceModelAssembly,IBoundInstanceModelChoiceGroup,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelNamed<ITEM>,IBoundProperty<ITEM>
-
Method Summary
Modifier and TypeMethodDescriptiongetField()Gets the bound Java field associated with this instance.default Class<?>Get the item type of the bound object.default TypegetType()Get the actual Java type of the underlying bound object.default Objectdefault voidSet the provided value on the provided object.Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValue
-
Method Details
-
getField
Gets the bound Java field associated with this instance.- Returns:
- the Java field
-
getType
Get the actual Java type of the underlying bound object.This may be the same as the what is returned by
getItemType(), or may be a Java collection class.- Returns:
- the raw type of the bound object
-
getItemType
Get the item type of the bound object. An item type is the primitive or specialized type that represents that data associated with this binding.- Returns:
- the item type of the bound object
-
getValue
-
setValue
Description copied from interface:IValuedMutableSet the provided value on the provided object. The provided object must be of the item's type associated with this instance.- Specified by:
setValuein interfaceIValuedMutable- Parameters:
parentObject- the objectvalue- a value, which may be a simpleTypeor aParameterizedTypefor a collection
-