Module dev.metaschema.core
Package dev.metaschema.core.model
Class AbstractInstance<P extends IContainer>
java.lang.Object
dev.metaschema.core.model.AbstractInstance<P>
- Type Parameters:
P- the Java type of the parent container
- All Implemented Interfaces:
IDefaultable,IInstance,IModelElement,IModelElementVisitable
- Direct Known Subclasses:
AbstractChoiceGroupInstance,AbstractChoiceInstance,AbstractNamedInstance
Base implementation of
IInstance providing parent container
management.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PGet the parent model definition that serves as the container of this instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IInstance
getContainingDefinition, toCoordinatesMethods inherited from interface dev.metaschema.core.model.IModelElement
getContainingModule, getModelType, getRemarksMethods inherited from interface dev.metaschema.core.model.IModelElementVisitable
accept
-
Constructor Details
-
AbstractInstance
Construct a new instance.- Parameters:
parent- the parent containing the instance.
-
-
Method Details
-
getParentContainer
Description copied from interface:IInstanceGet the parent model definition that serves as the container of this instance.- Specified by:
getParentContainerin interfaceIInstance- Returns:
- the container
-