Interface IBoundDefinitionModelAssembly
- All Superinterfaces:
IAssembly
,IAssemblyDefinition
,IAttributable
,IBoundContainerModelAssembly
,IBoundDefinition
,IBoundDefinitionModel<IBoundObject>
,IBoundDefinitionModelComplex
,IBoundModelElement
,IBoundModelObject<IBoundObject>
,IConstrained
,IContainer
,IContainerModel
,IContainerModelAbsolute
,IContainerModelAssembly
,IDefaultable
,IDefinition
,IDescribable
,IFeatureComplexItemValueHandler
,IFeatureContainerFlag<IBoundInstanceFlag>
,IFeatureModelConstrained
,IFeatureValueConstrained
,IItemValueHandler<IBoundObject>
,IJsonNamed
,IModelConstrained
,IModelDefinition
,IModelElement
,INamed
,INamedModelElement
,IValueConstrained
public interface IBoundDefinitionModelAssembly
extends IBoundDefinitionModelComplex, IBoundContainerModelAssembly, IAssemblyDefinition
Represents an assembly definition bound to a Java class.
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
IAttributable.Key
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
IDefinition.ModuleScope
-
Field Summary
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IAssemblyDefinition
MODEL_QNAME
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACE
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
DEFAULT_MODULE_SCOPE
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canHandleXmlQName
(QName qname) Determine if the provided XML qualified name is associated with this property.default IBoundDefinitionModelAssembly
Get the Metaschema definition representing the bound complex data.default IBoundInstanceModelAssembly
default Map<String,
IBoundProperty<?>> getJsonProperties
(Predicate<IBoundInstanceFlag> flagFilter) default IBoundDefinitionModelAssembly
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.IAssembly
getModelType
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IAssemblyDefinition
getRootIndex, getRootJsonName, getRootName, getRootXmlQName, hasChildren, isInline, isRoot
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.IBoundContainerModelAssembly
getAssemblyInstanceByName, getAssemblyInstances, getChoiceGroupInstanceByName, getChoiceGroupInstances, getFieldInstanceByName, getFieldInstances, getModelInstances, getNamedModelInstanceByName, getNamedModelInstances
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModel
getBindingContext
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelComplex
callAfterDeserialize, callBeforeDeserialize, getAfterDeserializeMethod, getBeforeDeserializeMethod
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundModelElement
getContainingModule
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IContainerModel
hasChildren
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IContainerModelAssembly
getChoiceInstances
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValue
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
getDefinitionQName, getLocation, getModuleScope, toCoordinates
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
deepCopyItem, getBoundClass, getJsonProperties, newInstance
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IFeatureContainerFlag
getFlagContainer, getFlagInstanceByName, getFlagInstances, getJsonKey
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IFeatureModelConstrained
addConstraint, addConstraint, addConstraint, getConstraintSupport, getHasCardinalityConstraints, getIndexConstraints, getUniqueConstraints
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IFeatureValueConstrained
addConstraint, addConstraint, addConstraint, addConstraint, addLetExpression, getAllowedValuesConstraints, getConstraints, getExpectConstraints, getIndexHasKeyConstraints, getLetExpressions, getMatchesConstraints
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getRemarks
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getName, getUseIndex, getUseName, getXmlNamespace, getXmlQName
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelElement
getJsonName
-
Method Details
-
getOwningDefinition
- Specified by:
getOwningDefinition
in interfaceIAssemblyDefinition
- Specified by:
getOwningDefinition
in interfaceIBoundContainerModelAssembly
- Specified by:
getOwningDefinition
in interfaceIContainerModel
-
getDefinition
Description copied from interface:IFeatureComplexItemValueHandler
Get the Metaschema definition representing the bound complex data.- Specified by:
getDefinition
in interfaceIFeatureComplexItemValueHandler
- Returns:
- the definition
-
getInlineInstance
- Specified by:
getInlineInstance
in interfaceIAssemblyDefinition
- Specified by:
getInlineInstance
in interfaceIBoundDefinitionModel<IBoundObject>
- Specified by:
getInlineInstance
in interfaceIDefinition
-
getJsonProperties
@NonNull default Map<String,IBoundProperty<?>> getJsonProperties(@Nullable Predicate<IBoundInstanceFlag> flagFilter) - Specified by:
getJsonProperties
in interfaceIBoundDefinitionModelComplex
-
readItem
@NonNull default IBoundObject readItem(@Nullable IBoundObject parent, @NonNull IItemReadHandler handler) throws IOException 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
-
canHandleXmlQName
Description copied from interface:IBoundModelObject
Determine if the provided XML qualified name is associated with this property.- Specified by:
canHandleXmlQName
in interfaceIBoundModelObject<IBoundObject>
- Parameters:
qname
- the XML qualified name of the property being parsed- Returns:
true
if the instance will handle this name, orfalse
otherwise
-