Interface IBoundInstanceModelGroupedAssembly
- All Superinterfaces:
IAssembly,IAssemblyInstance,IAssemblyInstanceGrouped,IAttributable,IBoundInstanceModelGroupedNamed,IDefaultable,IDescribable,IFeatureComplexItemValueHandler,IGroupable,IInstance,IItemValueHandler<IBoundObject>,IJsonNamed,IModelElement,IModelElementVisitable,IModelInstance,INamed,INamedInstance,INamedModelElement,INamedModelInstance,INamedModelInstanceGrouped
public interface IBoundInstanceModelGroupedAssembly
extends IBoundInstanceModelGroupedNamed, IAssemblyInstanceGrouped
Represents an assembly 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_NAMESPACEFields 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 TypeMethodDescriptionGet the Metaschema definition representing the bound complex data.newInstance(BoundGroupedAssembly annotation, IBoundInstanceModelChoiceGroup container) Create a new assembly model instance instance that is a member of a choice group instance.default IBoundObjectreadItem(IBoundObject parent, IItemReadHandler handler) Parse and return an item.default voidwriteItem(IBoundObject item, IItemWriteHandler handler) Write the provided item.Methods inherited from interface gov.nist.secauto.metaschema.core.model.IAssembly
getModelTypeMethods inherited from interface gov.nist.secauto.metaschema.core.model.IAssemblyInstance
isEffectiveValueWrappedInXmlMethods inherited from interface gov.nist.secauto.metaschema.core.model.IAssemblyInstanceGrouped
acceptMethods inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelGroupedNamed
callAfterDeserialize, callBeforeDeserialize, deepCopyItem, getContainingDefinition, getEffectiveJsonKey, getJsonKey, getName, getParentContainerMethods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface gov.nist.secauto.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalNameMethods inherited from interface gov.nist.secauto.metaschema.databind.model.info.IFeatureComplexItemValueHandler
getBoundClass, getJsonProperties, newInstanceMethods inherited from interface gov.nist.secauto.metaschema.core.model.IGroupable
getEffectiveXmlGroupAsQName, getGroupAsName, getItemValues, getJsonGroupAsBehavior, getXmlGroupAsBehaviorMethods inherited from interface gov.nist.secauto.metaschema.core.model.IInstance
toCoordinatesMethods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getContainingModule, getRemarksMethods inherited from interface gov.nist.secauto.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getQName, getUseIndex, getUseNameMethods inherited from interface gov.nist.secauto.metaschema.core.model.INamedInstance
getReferencedDefinitionQName, isInlineDefinitionMethods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelElement
getJsonNameMethods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelInstance
hasJsonKeyMethods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelInstanceGrouped
getDiscriminatorValue, getEffectiveDisciminatorValue, getMaxOccurs, getMinOccurs
-
Method Details
-
newInstance
static IBoundInstanceModelGroupedAssembly newInstance(@NonNull BoundGroupedAssembly annotation, @NonNull IBoundInstanceModelChoiceGroup container) Create a new assembly model instance instance that is a member of a choice group instance.- Parameters:
annotation- the Java annotation the instance is bound tocontainer- the choice group instance containing the instance- Returns:
- the new instance
-
getDefinition
Description copied from interface:IFeatureComplexItemValueHandlerGet the Metaschema definition representing the bound complex data.- Specified by:
getDefinitionin interfaceIAssemblyInstance- Specified by:
getDefinitionin interfaceIBoundInstanceModelGroupedNamed- Specified by:
getDefinitionin interfaceIFeatureComplexItemValueHandler- Specified by:
getDefinitionin interfaceINamedInstance- Specified by:
getDefinitionin interfaceINamedModelInstance- Returns:
- the definition
-
readItem
default IBoundObject readItem(IBoundObject parent, @NonNull IItemReadHandler handler) throws IOException Description copied from interface:IItemValueHandlerParse and return an item.- Specified by:
readItemin interfaceIItemValueHandler<IBoundObject>- Parameters:
parent- the parent Java object to use for serialization callbacks, ornullif 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:IItemValueHandlerWrite the provided item.- Specified by:
writeItemin interfaceIItemValueHandler<IBoundObject>- Parameters:
item- the data to writehandler- the item writing handler- Throws:
IOException- if an error occurred while writing
-