Interface IBoundInstanceModelFieldComplex
- All Superinterfaces:
IAttributable
,IBoundInstance<IBoundObject>
,IBoundInstanceModel<IBoundObject>
,IBoundInstanceModelField<IBoundObject>
,IBoundInstanceModelNamed<IBoundObject>
,IBoundModelElement
,IBoundModelObject<IBoundObject>
,IBoundProperty<IBoundObject>
,IDefaultable
,IDescribable
,IFeatureComplexItemValueHandler
,IFeatureJavaField
,IField
,IFieldInstance
,IFieldInstanceAbsolute
,IGroupable
,IInstance
,IInstanceAbsolute
,IItemValueHandler<IBoundObject>
,IJsonNamed
,IModelElement
,IModelInstance
,IModelInstanceAbsolute
,INamed
,INamedInstance
,INamedModelElement
,INamedModelInstance
,INamedModelInstanceAbsolute
,IValued
,IValuedInstance
,IValuedMutable
public interface IBoundInstanceModelFieldComplex
extends IBoundInstanceModelField<IBoundObject>, IFeatureComplexItemValueHandler
-
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.IFieldInstance
DEFAULT_FIELD_IN_XML_WRAPPED
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 Class<? extends IBoundObject>
The class this binding is to.Get the Metaschema definition representing the bound complex data.default boolean
default IBoundObject
readItem
(IBoundObject parent, IItemReadHandler handler) Parse and return an item.default void
writeItem
(IBoundObject item, IItemWriteHandler handler) Write the provided item.Methods inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValue
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundInstance
getContainingModule, getValue, setValue
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundInstanceModel
getCollectionInfo, getContainingDefinition, getResolvedDefaultValue
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelField
canHandleXmlQName
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelNamed
getEffectiveJsonKey, getIndex, getItemJsonKey, getItemValues, getJsonKey, getName
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundProperty
deepCopy
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue
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
getJsonProperties, newInstance
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IFeatureJavaField
getField, getItemType, getType
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IField
getModelType
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IFieldInstance
isInXmlWrapped
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IGroupable
getEffectiveGroupAsNamespace, getEffectiveXmlGroupAsQName, getGroupAsName, getGroupAsXmlNamespace, getJsonGroupAsBehavior, getMaxOccurs, getMinOccurs, getXmlGroupAsBehavior
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IInstance
toCoordinates
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getRemarks
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelInstance
getContainingDefinition, getParentContainer
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getUseIndex, getUseName, getXmlNamespace
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelInstance
getReferencedDefinitionQName, getXmlQName, hasJsonKey
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelInstanceAbsolute
getJsonName
-
Method Details
-
getDefinition
Description copied from interface:IFeatureComplexItemValueHandler
Get the Metaschema definition representing the bound complex data.- Specified by:
getDefinition
in interfaceIBoundInstanceModelField<IBoundObject>
- Specified by:
getDefinition
in interfaceIBoundInstanceModelNamed<IBoundObject>
- Specified by:
getDefinition
in interfaceIFeatureComplexItemValueHandler
- Specified by:
getDefinition
in interfaceIFieldInstance
- Specified by:
getDefinition
in interfaceINamedInstance
- Specified by:
getDefinition
in interfaceINamedModelInstance
- Specified by:
getDefinition
in interfaceIValuedInstance
- Returns:
- the definition
-
isEffectiveValueWrappedInXml
- Specified by:
isEffectiveValueWrappedInXml
in interfaceIFieldInstanceAbsolute
- Specified by:
isEffectiveValueWrappedInXml
in interfaceIModelInstance
-
readItem
Description copied from interface:IItemValueHandler
Parse and return an item.- Specified by:
readItem
in interfaceIItemValueHandler<IBoundObject>
- Parameters:
parent
- the parent Java object to use for serialization callbacks, ornull
if there is no parenthandler
- the item parsing handler- Returns:
- the Java object representing the parsed item
- Throws:
IOException
- if an error occurred while parsing
-
writeItem
Description copied from interface:IItemValueHandler
Write the provided item.- Specified by:
writeItem
in interfaceIItemValueHandler<IBoundObject>
- Parameters:
item
- the data to writehandler
- the item writing handler- Throws:
IOException
- if an error occurred while writing
-
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
-
getBoundClass
Description copied from interface:IFeatureComplexItemValueHandler
The class this binding is to.- Specified by:
getBoundClass
in interfaceIFeatureComplexItemValueHandler
- Returns:
- the bound class
-
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
-