- All Superinterfaces:
IDefaultable,IModelElement,IModelElementVisitable
- All Known Subinterfaces:
IAssemblyInstance,IAssemblyInstanceAbsolute,IAssemblyInstanceGrouped,IBindingInstance,IBindingInstanceModel,IBoundInstance<ITEM>,IBoundInstanceFlag,IBoundInstanceModel<ITEM>,IBoundInstanceModelAssembly,IBoundInstanceModelChoiceGroup,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelGroupedAssembly,IBoundInstanceModelGroupedField,IBoundInstanceModelGroupedNamed,IBoundInstanceModelNamed<ITEM>,IChoiceGroupInstance,IChoiceInstance,IFeatureDefinitionInstanceInlined<DEFINITION,,INSTANCE> IFeatureDefinitionReferenceInstance<DEFINITION,,INSTANCE> IFeatureValueless,IFieldInstance,IFieldInstanceAbsolute,IFieldInstanceGrouped,IFlagInstance,IGroupable,IInstanceAbsolute,IModelInstance,IModelInstanceAbsolute,INamedInstance,INamedModelInstance,INamedModelInstanceAbsolute,INamedModelInstanceGrouped,IValuedInstance
- All Known Implementing Classes:
AbstractAssemblyInstance,AbstractChoiceGroupInstance,AbstractChoiceInstance,AbstractFieldInstance,AbstractFlagInstance,AbstractInlineAssemblyDefinition,AbstractInlineFieldDefinition,AbstractInlineFlagDefinition,AbstractInstance,AbstractNamedInstance,AbstractNamedModelInstance
This marker interface indicates that this object is an instance.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the Metaschema module definition on which the instance was declared.Get the parent model definition that serves as the container of this instance.Generates a "coordinate" string for the provided information element instance.Methods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IModelElement
getContainingModule, getModelType, getRemarksMethods inherited from interface dev.metaschema.core.model.IModelElementVisitable
accept
-
Method Details
-
getContainingDefinition
Retrieve the Metaschema module definition on which the instance was declared.- Returns:
- the Metaschema module definition on which the instance was declared
-
getParentContainer
Get the parent model definition that serves as the container of this instance.- Returns:
- the container
-
toCoordinates
String toCoordinates()Generates a "coordinate" string for the provided information element instance. A coordinate consists of the element's:- containing Metaschema module's short name
- model type
- name
- hash code
- the hash code of the definition
- Specified by:
toCoordinatesin interfaceIModelElement- Returns:
- the coordinate
-