Interface IBoundInstanceModelGroupedNamed
- All Superinterfaces:
IAttributable
,IDefaultable
,IDescribable
,IFeatureComplexItemValueHandler
,IGroupable
,IInstance
,IItemValueHandler<IBoundObject>
,IJsonNamed
,IModelElement
,IModelInstance
,INamed
,INamedInstance
,INamedModelElement
,INamedModelInstance
,INamedModelInstanceGrouped
- All Known Subinterfaces:
IBoundInstanceModelGroupedAssembly
,IBoundInstanceModelGroupedField
public interface IBoundInstanceModelGroupedNamed
extends INamedModelInstanceGrouped, IFeatureComplexItemValueHandler
Represents a model instance that is a member of a choice group instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
IAttributable.Key
-
Field Summary
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACE
Fields inherited from interface gov.nist.secauto.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 void
callAfterDeserialize
(IBoundObject targetObject, IBoundObject parentObject) default void
callBeforeDeserialize
(IBoundObject targetObject, IBoundObject parentObject) default IBoundObject
deepCopyItem
(IBoundObject item, IBoundObject parentInstance) Create and return a deep copy of the provided item.default IBoundDefinitionModelAssembly
Get the Metaschema definition representing the bound complex data.default IBoundInstanceFlag
default IBoundInstanceFlag
default String
getName()
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValue
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValue
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalName
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.info.IFeatureComplexItemValueHandler
getBoundClass, getJsonProperties, newInstance
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IGroupable
getEffectiveGroupAsNamespace, getEffectiveXmlGroupAsQName, getGroupAsName, getGroupAsXmlNamespace, getItemValues, getJsonGroupAsBehavior, getXmlGroupAsBehavior
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IInstance
toCoordinates
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.info.IItemValueHandler
readItem, writeItem
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getContainingModule, getModelType, getRemarks
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelInstance
isEffectiveValueWrappedInXml
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getUseIndex, getUseName, getXmlNamespace
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelElement
getJsonName
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelInstance
getReferencedDefinitionQName, getXmlQName, hasJsonKey
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelInstanceGrouped
getDiscriminatorValue, getEffectiveDisciminatorValue, getMaxOccurs, getMinOccurs
-
Method Details
-
getParentContainer
- Specified by:
getParentContainer
in interfaceIInstance
- Specified by:
getParentContainer
in interfaceIModelInstance
- Specified by:
getParentContainer
in interfaceINamedModelInstanceGrouped
-
getDefinition
Description copied from interface:IFeatureComplexItemValueHandler
Get the Metaschema definition representing the bound complex data.- Specified by:
getDefinition
in interfaceIFeatureComplexItemValueHandler
- Specified by:
getDefinition
in interfaceINamedInstance
- Specified by:
getDefinition
in interfaceINamedModelInstance
- Returns:
- the definition
-
getEffectiveJsonKey
- Specified by:
getEffectiveJsonKey
in interfaceINamedModelInstance
- Specified by:
getEffectiveJsonKey
in interfaceINamedModelInstanceGrouped
-
getJsonKey
- Specified by:
getJsonKey
in interfaceINamedModelInstance
- Specified by:
getJsonKey
in interfaceINamedModelInstanceGrouped
-
getContainingDefinition
- Specified by:
getContainingDefinition
in interfaceIInstance
- Specified by:
getContainingDefinition
in interfaceIModelInstance
- Specified by:
getContainingDefinition
in interfaceINamedModelInstanceGrouped
-
getName
-
deepCopyItem
default IBoundObject deepCopyItem(IBoundObject item, IBoundObject parentInstance) throws BindingException Description copied from interface:IItemValueHandler
Create and return a deep copy of the provided item.- Specified by:
deepCopyItem
in interfaceIFeatureComplexItemValueHandler
- Specified by:
deepCopyItem
in interfaceIItemValueHandler<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(IBoundObject targetObject, IBoundObject parentObject) throws BindingException - Specified by:
callBeforeDeserialize
in interfaceIFeatureComplexItemValueHandler
- Throws:
BindingException
-
callAfterDeserialize
default void callAfterDeserialize(IBoundObject targetObject, IBoundObject parentObject) throws BindingException - Specified by:
callAfterDeserialize
in interfaceIFeatureComplexItemValueHandler
- Throws:
BindingException
-