Module dev.metaschema.core
Package dev.metaschema.core.model
Class AbstractAssemblyInstance<PARENT extends IContainerModel,DEFINITION extends IAssemblyDefinition,INSTANCE extends IAssemblyInstance,PARENT_DEFINITION extends IAssemblyDefinition>
java.lang.Object
dev.metaschema.core.model.AbstractInstance<PARENT>
dev.metaschema.core.model.AbstractNamedInstance<PARENT>
dev.metaschema.core.model.AbstractNamedModelInstance<PARENT,PARENT_DEFINITION>
dev.metaschema.core.model.AbstractAssemblyInstance<PARENT,DEFINITION,INSTANCE,PARENT_DEFINITION>
- Type Parameters:
PARENT- the Java type of the parent model container for this instanceDEFINITION- the Java type of the related assembly definitionINSTANCE- the Java type of the implementing instance typePARENT_DEFINITION- the Java type of the containing assembly definition
- All Implemented Interfaces:
IAssembly,IAssemblyInstance,IAttributable,IDefaultable,IDescribable,IFeatureDefinitionReferenceInstance<DEFINITION,,INSTANCE> IGroupable,IInstance,IJsonNamed,IModelElement,IModelElementVisitable,IModelInstance,INamed,INamedInstance,INamedModelElement,INamedModelInstance
public abstract class AbstractAssemblyInstance<PARENT extends IContainerModel,DEFINITION extends IAssemblyDefinition,INSTANCE extends IAssemblyInstance,PARENT_DEFINITION extends IAssemblyDefinition>
extends AbstractNamedModelInstance<PARENT,PARENT_DEFINITION>
implements IAssemblyInstance, IFeatureDefinitionReferenceInstance<DEFINITION,INSTANCE>
A base class for an assembly that is a member of a containing model.
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAssemblyInstance(PARENT parent) Construct a new assembly instance that is contained with the provided parent container. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the assembly definition referenced by this instance.Generates a "coordinate" string for the assembly instance.Methods inherited from class dev.metaschema.core.model.AbstractNamedModelInstance
getContainingDefinition, getContainingModuleMethods inherited from class dev.metaschema.core.model.AbstractNamedInstance
getQName, getReferencedDefinitionQNameMethods inherited from class dev.metaschema.core.model.AbstractInstance
getParentContainerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.metaschema.core.model.IAssembly
getModelTypeMethods inherited from interface dev.metaschema.core.model.IAssemblyInstance
isEffectiveValueWrappedInXmlMethods inherited from interface dev.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IDescribable
getDescription, getFormalNameMethods inherited from interface dev.metaschema.core.model.IFeatureDefinitionReferenceInstance
getEffectiveDefaultValue, getEffectiveDescription, getEffectiveFormalName, getEffectiveIndex, getEffectiveName, getInlineInstance, isInlineDefinitionMethods inherited from interface dev.metaschema.core.model.IGroupable
getEffectiveXmlGroupAsQName, getGroupAsName, getItemValues, getJsonGroupAsBehavior, getMaxOccurs, getMinOccurs, getXmlGroupAsBehaviorMethods 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
getIndex, getName, getQName, getUseIndex, getUseNameMethods inherited from interface dev.metaschema.core.model.INamedInstance
getReferencedDefinitionQNameMethods inherited from interface dev.metaschema.core.model.INamedModelElement
getJsonNameMethods inherited from interface dev.metaschema.core.model.INamedModelInstance
getEffectiveJsonKey, getJsonKey, hasJsonKey
-
Constructor Details
-
AbstractAssemblyInstance
Construct a new assembly instance that is contained with the provided parent container.- Parameters:
parent- the parent container for this instance
-
-
Method Details
-
getDefinition
Description copied from interface:IAssemblyInstanceRetrieves the assembly definition referenced by this instance.- Specified by:
getDefinitionin interfaceIAssemblyInstance- Specified by:
getDefinitionin interfaceIFeatureDefinitionReferenceInstance<PARENT extends IContainerModel,DEFINITION extends IAssemblyDefinition> - Specified by:
getDefinitionin interfaceINamedInstance- Specified by:
getDefinitionin interfaceINamedModelInstance- Returns:
- the assembly definition
-
toCoordinates
Generates a "coordinate" string for the assembly instance.- Specified by:
toCoordinatesin interfaceIInstance- Specified by:
toCoordinatesin interfaceIModelElement- Returns:
- the coordinate
-