- All Superinterfaces:
IAssembly,IAttributable,IDefaultable,IDescribable,IGroupable,IInstance,IJsonNamed,IModelElement,IModelElementVisitable,IModelInstance,INamed,INamedInstance,INamedModelElement,INamedModelInstance
- All Known Subinterfaces:
IAssemblyInstanceAbsolute,IAssemblyInstanceGrouped,IBoundInstanceModelAssembly,IBoundInstanceModelGroupedAssembly
- All Known Implementing Classes:
AbstractAssemblyInstance,AbstractInlineAssemblyDefinition
Represents an assembly instance within another assembly definition.
An assembly instance references an assembly definition and specifies how that assembly is used within its containing assembly.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.model.IAttributable
IAttributable.Key -
Field Summary
Fields inherited from interface dev.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACEFields inherited from interface dev.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 TypeMethodDescriptionRetrieves the assembly definition referenced by this instance.default booleanIndicate if the instance allows values without an XML element wrapper.Methods inherited from interface dev.metaschema.core.model.IAssembly
getModelTypeMethods inherited from interface dev.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalNameMethods inherited from interface dev.metaschema.core.model.IGroupable
getEffectiveXmlGroupAsQName, getGroupAsName, getItemValues, getJsonGroupAsBehavior, getMaxOccurs, getMinOccurs, getXmlGroupAsBehaviorMethods inherited from interface dev.metaschema.core.model.IInstance
toCoordinatesMethods inherited from interface dev.metaschema.core.model.IModelElement
getContainingModule, getRemarksMethods inherited from interface dev.metaschema.core.model.IModelElementVisitable
acceptMethods inherited from interface dev.metaschema.core.model.IModelInstance
getContainingDefinition, getParentContainerMethods inherited from interface dev.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getName, getQName, getUseIndex, getUseNameMethods inherited from interface dev.metaschema.core.model.INamedInstance
getReferencedDefinitionQName, isInlineDefinitionMethods inherited from interface dev.metaschema.core.model.INamedModelElement
getJsonNameMethods inherited from interface dev.metaschema.core.model.INamedModelInstance
getEffectiveJsonKey, getJsonKey, hasJsonKey
-
Method Details
-
getDefinition
IAssemblyDefinition getDefinition()Retrieves the assembly definition referenced by this instance.- Specified by:
getDefinitionin interfaceINamedInstance- Specified by:
getDefinitionin interfaceINamedModelInstance- Returns:
- the assembly definition
-
isEffectiveValueWrappedInXml
default boolean isEffectiveValueWrappedInXml()Description copied from interface:IModelInstanceIndicate if the instance allows values without an XML element wrapper.- Specified by:
isEffectiveValueWrappedInXmlin interfaceIModelInstance- Returns:
trueif the underlying data type is allowed to be unwrapped, orfalseotherwise
-