Interface IBoundDefinitionModelAssembly
- All Superinterfaces:
IAssembly,IAssemblyDefinition,IAttributable,IBoundDefinition,IBoundDefinitionModel<IBoundObject>,IBoundDefinitionModelComplex,IBoundModelElement,IBoundModelObject<IBoundObject>,IContainer,IContainerModel,IContainerModelAbsolute,IContainerModelAssembly,IDefaultable,IDefinition,IDescribable,IFeatureComplexItemValueHandler,IFeatureContainerFlag<IBoundInstanceFlag>,IFeatureContainerModelAbsolute<IBoundInstanceModel<?>,,IBoundInstanceModelNamed<?>, IBoundInstanceModelField<?>, IBoundInstanceModelAssembly> IFeatureContainerModelAssembly<IBoundInstanceModel<?>,,IBoundInstanceModelNamed<?>, IBoundInstanceModelField<?>, IBoundInstanceModelAssembly, IChoiceInstance, IBoundInstanceModelChoiceGroup> IFeatureModelConstrained,IFeatureValueConstrained,IItemValueHandler<IBoundObject>,IJsonNamed,IModelConstrained,IModelDefinition,IModelElement,IModelElementVisitable,INamed,INamedModelElement,IValueConstrained
public interface IBoundDefinitionModelAssembly
extends IBoundDefinitionModelComplex, IAssemblyDefinition, IFeatureContainerModelAssembly<IBoundInstanceModel<?>,IBoundInstanceModelNamed<?>,IBoundInstanceModelField<?>,IBoundInstanceModelAssembly,IChoiceInstance,IBoundInstanceModelChoiceGroup>
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.KeyNested 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_QNAMEFields inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACEFields inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
DEFAULT_MODULE_SCOPE -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancanHandleXmlQName(IEnhancedQName qname) Determine if the provided XML qualified name is associated with this property.default List<IChoiceInstance>default IBoundDefinitionModelAssemblyGet the Metaschema definition representing the bound complex data.default IBoundInstanceModelAssemblydefault Map<String,IBoundProperty<?>> getJsonProperties(Predicate<IBoundInstanceFlag> flagFilter) default IBoundDefinitionModelAssemblydefault 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.IAssemblyDefinition
accept, getRootIndex, getRootJsonName, getRootName, getRootQName, hasChildren, isInline, isRootMethods inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModel
getBindingContextMethods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelComplex
callAfterDeserialize, callBeforeDeserialize, getAfterDeserializeMethod, getBeforeDeserializeMethodMethods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundModelElement
getContainingModuleMethods inherited from interface gov.nist.secauto.metaschema.core.model.IContainerModel
hasChildrenMethods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
getDefinitionQName, getLocation, getModuleScope, toCoordinatesMethods 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
deepCopyItem, getBoundClass, getJsonProperties, newInstanceMethods inherited from interface gov.nist.secauto.metaschema.core.model.IFeatureContainerFlag
getFlagContainer, getFlagInstanceByName, getFlagInstances, getJsonKeyMethods inherited from interface gov.nist.secauto.metaschema.core.model.IFeatureContainerModelAbsolute
getAssemblyInstanceByName, getAssemblyInstances, getFieldInstanceByName, getFieldInstances, getModelInstances, getNamedModelInstanceByName, getNamedModelInstancesMethods inherited from interface gov.nist.secauto.metaschema.core.model.IFeatureContainerModelAssembly
getChoiceGroupInstanceByName, getChoiceGroupInstances, getModelContainerMethods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IFeatureModelConstrained
addConstraint, addConstraint, addConstraint, getConstraintSupport, getHasCardinalityConstraints, getIndexConstraints, getUniqueConstraintsMethods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IFeatureValueConstrained
addConstraint, addConstraint, addConstraint, addConstraint, addLetExpression, getAllowedValuesConstraints, getConstraints, getExpectConstraints, getIndexHasKeyConstraints, getLetExpressions, getMatchesConstraintsMethods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getRemarksMethods inherited from interface gov.nist.secauto.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getName, getQName, getUseIndex, getUseNameMethods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelElement
getJsonNameMethods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IValueConstrained
getSource
-
Method Details
-
getOwningDefinition
- Specified by:
getOwningDefinitionin interfaceIAssemblyDefinition- Specified by:
getOwningDefinitionin interfaceIContainerModel
-
getDefinition
Description copied from interface:IFeatureComplexItemValueHandlerGet the Metaschema definition representing the bound complex data.- Specified by:
getDefinitionin interfaceIFeatureComplexItemValueHandler- Returns:
- the definition
-
getInlineInstance
- Specified by:
getInlineInstancein interfaceIAssemblyDefinition- Specified by:
getInlineInstancein interfaceIBoundDefinitionModel<IBoundObject>- Specified by:
getInlineInstancein interfaceIDefinition
-
getChoiceInstances
- Specified by:
getChoiceInstancesin interfaceIContainerModelAssembly- Specified by:
getChoiceInstancesin interfaceIFeatureContainerModelAssembly<IBoundInstanceModel<?>,IBoundInstanceModelNamed<?>, IBoundInstanceModelField<?>, IBoundInstanceModelAssembly, IChoiceInstance, IBoundInstanceModelChoiceGroup>
-
getJsonProperties
@NonNull default Map<String,IBoundProperty<?>> getJsonProperties(@Nullable Predicate<IBoundInstanceFlag> flagFilter) - Specified by:
getJsonPropertiesin interfaceIBoundDefinitionModelComplex
-
readItem
@NonNull default IBoundObject readItem(@Nullable 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
-
canHandleXmlQName
Description copied from interface:IBoundModelObjectDetermine if the provided XML qualified name is associated with this property.- Specified by:
canHandleXmlQNamein interfaceIBoundModelObject<IBoundObject>- Parameters:
qname- the XML qualified name of the property being parsed- Returns:
trueif the instance will handle this name, orfalseotherwise
-