Interface IBoundInstance<ITEM>
- Type Parameters:
ITEM- the Java type for associated bound objects
- All Superinterfaces:
IBoundModelElement,IBoundModelObject<ITEM>,IBoundProperty<ITEM>,IDefaultable,IFeatureJavaField,IInstance,IItemValueHandler<ITEM>,IJsonNamed,IModelElement,IModelElementVisitable,IValued,IValuedMutable
- All Known Subinterfaces:
IBoundInstanceFlag,IBoundInstanceModel<ITEM>,IBoundInstanceModelAssembly,IBoundInstanceModelChoiceGroup,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelNamed<ITEM>
Represents a Metaschema module instance bound to Java data.
-
Method Summary
Modifier and TypeMethodDescriptiondefault IBoundModuledefault Objectdefault voidSet the provided value on the provided object.Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundModelObject
canHandleXmlQNameMethods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundProperty
deepCopyMethods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface gov.nist.secauto.metaschema.databind.model.IFeatureJavaField
getField, getItemType, getTypeMethods inherited from interface gov.nist.secauto.metaschema.core.model.IInstance
getParentContainer, toCoordinatesMethods inherited from interface gov.nist.secauto.metaschema.databind.model.info.IItemValueHandler
deepCopyItem, readItem, writeItemMethods inherited from interface gov.nist.secauto.metaschema.core.model.IJsonNamed
getJsonNameMethods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getModelType, getRemarksMethods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElementVisitable
accept
-
Method Details
-
getContainingDefinition
- Specified by:
getContainingDefinitionin interfaceIInstance
-
getContainingModule
- Specified by:
getContainingModulein interfaceIBoundModelElement- Specified by:
getContainingModulein interfaceIModelElement
-
getValue
Always bound to a field.
- Specified by:
getValuein interfaceIFeatureJavaField- Specified by:
getValuein interfaceIValued
-
setValue
Set the provided value on the provided object. The provided object must be of the item's type associated with this instance.Always bound to a field.
- Specified by:
setValuein interfaceIFeatureJavaField- Specified by:
setValuein interfaceIValuedMutable- Parameters:
parentObject- the objectvalue- a value, which may be a simpleTypeor aParameterizedTypefor a collection
-