- Type Parameters:
ITEM- the Java type for associated bound objects
- All Superinterfaces:
IBoundModelElement,IBoundModelObject<ITEM>,IBoundProperty<ITEM>,dev.metaschema.core.model.IDefaultable,IFeatureJavaField,dev.metaschema.core.model.IInstance,IItemValueHandler<ITEM>,dev.metaschema.core.model.IJsonNamed,dev.metaschema.core.model.IModelElement,dev.metaschema.core.model.IModelElementVisitable,dev.metaschema.core.model.IValued,IValuedMutable
- All Known Subinterfaces:
IBoundInstanceFlag,IBoundInstanceModel<ITEM>,IBoundInstanceModelAssembly,IBoundInstanceModelChoiceGroup,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelNamed<ITEM>
public interface IBoundInstance<ITEM>
extends IBoundProperty<ITEM>, IBoundModelElement, dev.metaschema.core.model.IInstance
Represents a Metaschema module instance bound to Java data.
-
Method Summary
Modifier and TypeMethodDescriptionIBoundDefinitionModel<dev.metaschema.core.model.IBoundObject>default IBoundModuledefault Objectdefault voidSet the provided value on the provided object.Methods inherited from interface dev.metaschema.databind.model.IBoundModelObject
canHandleXmlQNameMethods inherited from interface dev.metaschema.databind.model.IBoundProperty
deepCopyMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.databind.model.IFeatureJavaField
getField, getItemType, getTypeMethods inherited from interface dev.metaschema.core.model.IInstance
getParentContainer, toCoordinatesMethods inherited from interface dev.metaschema.databind.model.info.IItemValueHandler
deepCopyItem, readItem, writeItemMethods inherited from interface dev.metaschema.core.model.IJsonNamed
getJsonNameMethods inherited from interface dev.metaschema.core.model.IModelElement
getModelType, getRemarksMethods inherited from interface dev.metaschema.core.model.IModelElementVisitable
accept
-
Method Details
-
getContainingDefinition
IBoundDefinitionModel<dev.metaschema.core.model.IBoundObject> getContainingDefinition()- Specified by:
getContainingDefinitionin interfacedev.metaschema.core.model.IInstance
-
getContainingModule
- Specified by:
getContainingModulein interfaceIBoundModelElement- Specified by:
getContainingModulein interfacedev.metaschema.core.model.IModelElement
-
getValue
Always bound to a field.
- Specified by:
getValuein interfaceIFeatureJavaField- Specified by:
getValuein interfacedev.metaschema.core.model.IValued
-
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
-