Module dev.metaschema.databind
Package dev.metaschema.databind.model
Interface IBoundInstanceModelGroupedNamed
- All Superinterfaces:
dev.metaschema.core.model.IAttributable,dev.metaschema.core.model.IDefaultable,dev.metaschema.core.model.IDescribable,IFeatureComplexItemValueHandler,dev.metaschema.core.model.IGroupable,dev.metaschema.core.model.IInstance,IItemValueHandler<dev.metaschema.core.model.IBoundObject>,dev.metaschema.core.model.IJsonNamed,dev.metaschema.core.model.IModelElement,dev.metaschema.core.model.IModelElementVisitable,dev.metaschema.core.model.IModelInstance,dev.metaschema.core.model.INamed,dev.metaschema.core.model.INamedInstance,dev.metaschema.core.model.INamedModelElement,dev.metaschema.core.model.INamedModelInstance,dev.metaschema.core.model.INamedModelInstanceGrouped
- All Known Subinterfaces:
IBoundInstanceModelGroupedAssembly,IBoundInstanceModelGroupedField
public interface IBoundInstanceModelGroupedNamed
extends dev.metaschema.core.model.INamedModelInstanceGrouped, IFeatureComplexItemValueHandler
Represents a model instance that is a member of a choice group instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.model.IAttributable
dev.metaschema.core.model.IAttributable.Key -
Field Summary
Fields inherited from interface dev.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACEFields inherited from interface dev.metaschema.core.model.IGroupable
DEFAULT_GROUP_AS_MAX_OCCURS, DEFAULT_GROUP_AS_MIN_OCCURS, DEFAULT_JSON_GROUP_AS_BEHAVIOR, DEFAULT_XML_GROUP_AS_BEHAVIOR -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcallAfterDeserialize(dev.metaschema.core.model.IBoundObject targetObject, dev.metaschema.core.model.IBoundObject parentObject) Invoke the after-deserialize lifecycle callback on the target object.default voidcallBeforeDeserialize(dev.metaschema.core.model.IBoundObject targetObject, dev.metaschema.core.model.IBoundObject parentObject) Invoke the before-deserialize lifecycle callback on the target object.default dev.metaschema.core.model.IBoundObjectdeepCopyItem(dev.metaschema.core.model.IBoundObject item, dev.metaschema.core.model.IBoundObject parentInstance) Create and return a deep copy of the provided item.default IBoundDefinitionModelAssemblyGet the Metaschema definition representing the bound complex data.default IBoundInstanceFlagdefault IBoundInstanceFlagdefault StringgetName()Methods inherited from interface dev.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalNameMethods inherited from interface dev.metaschema.databind.model.info.IFeatureComplexItemValueHandler
getBoundClass, getJsonProperties, newInstanceMethods inherited from interface dev.metaschema.core.model.IGroupable
getEffectiveXmlGroupAsQName, getGroupAsName, getItemValues, getJsonGroupAsBehavior, getXmlGroupAsBehaviorMethods inherited from interface dev.metaschema.core.model.IInstance
toCoordinatesMethods inherited from interface dev.metaschema.databind.model.info.IItemValueHandler
readItem, writeItemMethods inherited from interface dev.metaschema.core.model.IModelElement
getContainingModule, getModelType, getRemarksMethods inherited from interface dev.metaschema.core.model.IModelElementVisitable
acceptMethods inherited from interface dev.metaschema.core.model.IModelInstance
isEffectiveValueWrappedInXmlMethods inherited from interface dev.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getQName, getUseIndex, getUseNameMethods inherited from interface dev.metaschema.core.model.INamedInstance
getReferencedDefinitionQName, isInlineDefinitionMethods inherited from interface dev.metaschema.core.model.INamedModelElement
getJsonNameMethods inherited from interface dev.metaschema.core.model.INamedModelInstance
hasJsonKeyMethods inherited from interface dev.metaschema.core.model.INamedModelInstanceGrouped
getDiscriminatorValue, getEffectiveDisciminatorValue, getMaxOccurs, getMinOccurs
-
Method Details
-
getParentContainer
- Specified by:
getParentContainerin interfacedev.metaschema.core.model.IInstance- Specified by:
getParentContainerin interfacedev.metaschema.core.model.IModelInstance- Specified by:
getParentContainerin interfacedev.metaschema.core.model.INamedModelInstanceGrouped
-
getDefinition
Description copied from interface:IFeatureComplexItemValueHandlerGet the Metaschema definition representing the bound complex data.- Specified by:
getDefinitionin interfaceIFeatureComplexItemValueHandler- Specified by:
getDefinitionin interfacedev.metaschema.core.model.INamedInstance- Specified by:
getDefinitionin interfacedev.metaschema.core.model.INamedModelInstance- Returns:
- the definition
-
getEffectiveJsonKey
- Specified by:
getEffectiveJsonKeyin interfacedev.metaschema.core.model.INamedModelInstance- Specified by:
getEffectiveJsonKeyin interfacedev.metaschema.core.model.INamedModelInstanceGrouped
-
getJsonKey
- Specified by:
getJsonKeyin interfacedev.metaschema.core.model.INamedModelInstance- Specified by:
getJsonKeyin interfacedev.metaschema.core.model.INamedModelInstanceGrouped
-
getContainingDefinition
- Specified by:
getContainingDefinitionin interfacedev.metaschema.core.model.IInstance- Specified by:
getContainingDefinitionin interfacedev.metaschema.core.model.IModelInstance- Specified by:
getContainingDefinitionin interfacedev.metaschema.core.model.INamedModelInstanceGrouped
-
getName
- Specified by:
getNamein interfacedev.metaschema.core.model.INamed
-
deepCopyItem
default dev.metaschema.core.model.IBoundObject deepCopyItem(dev.metaschema.core.model.IBoundObject item, dev.metaschema.core.model.IBoundObject parentInstance) throws BindingException Description copied from interface:IItemValueHandlerCreate and return a deep copy of the provided item.- Specified by:
deepCopyItemin interfaceIFeatureComplexItemValueHandler- Specified by:
deepCopyItemin interfaceIItemValueHandler<dev.metaschema.core.model.IBoundObject>- Parameters:
item- the item to copyparentInstance- an optional parent object to use for serialization callbacks- Returns:
- the new deep copy
- Throws:
BindingException- if an error occurred while analyzing the bound objects
-
callBeforeDeserialize
default void callBeforeDeserialize(dev.metaschema.core.model.IBoundObject targetObject, dev.metaschema.core.model.IBoundObject parentObject) throws BindingException Description copied from interface:IFeatureComplexItemValueHandlerInvoke the before-deserialize lifecycle callback on the target object.- Specified by:
callBeforeDeserializein interfaceIFeatureComplexItemValueHandler- Parameters:
targetObject- the object being deserializedparentObject- the parent object containing the target, ornullif there is no parent- Throws:
BindingException- if an error occurs during the callback
-
callAfterDeserialize
default void callAfterDeserialize(dev.metaschema.core.model.IBoundObject targetObject, dev.metaschema.core.model.IBoundObject parentObject) throws BindingException Description copied from interface:IFeatureComplexItemValueHandlerInvoke the after-deserialize lifecycle callback on the target object.- Specified by:
callAfterDeserializein interfaceIFeatureComplexItemValueHandler- Parameters:
targetObject- the object that was deserializedparentObject- the parent object containing the target, ornullif there is no parent- Throws:
BindingException- if an error occurs during the callback
-