Interface IChoiceInstance
-
- All Superinterfaces:
IContainer
,IInstance
,IModelContainer
,IModelElement
,IModelInstance
- All Known Implementing Classes:
AbstractChoiceInstance
public interface IChoiceInstance extends IModelInstance, IModelContainer
A marker interface for a choice of allowed instances in a Metachema.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModelType
getModelType()
Provides the Metaschema model type of "CHOICE".default IAssemblyDefinition
getOwningDefinition()
Retrieve the Metaschema definition containing this container.IModelContainer
getParentContainer()
Get the parent model definition that serves as the container of this instance.-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IInstance
getContainingModule, toCoordinates
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelContainer
getAssemblyInstanceByName, getAssemblyInstances, getChoiceInstances, getFieldInstanceByName, getFieldInstances, getModelInstanceByName, getModelInstances, getNamedModelInstances
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getRemarks
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelInstance
getContainingDefinition, getGroupAsName, getGroupAsXmlNamespace, getJsonGroupAsBehavior, getMaxOccurs, getMinOccurs, getXmlGroupAsBehavior, getXmlGroupAsQName
-
-
-
-
Method Detail
-
getModelType
default ModelType getModelType()
Provides the Metaschema model type of "CHOICE".- Specified by:
getModelType
in interfaceIModelElement
- Returns:
- the model type
-
getParentContainer
IModelContainer getParentContainer()
Description copied from interface:IInstance
Get the parent model definition that serves as the container of this instance.- Specified by:
getParentContainer
in interfaceIInstance
- Specified by:
getParentContainer
in interfaceIModelInstance
- Returns:
- the container
-
getOwningDefinition
default IAssemblyDefinition getOwningDefinition()
Description copied from interface:IModelContainer
Retrieve the Metaschema definition containing this container.- Specified by:
getOwningDefinition
in interfaceIContainer
- Specified by:
getOwningDefinition
in interfaceIModelContainer
- Returns:
- the containing Metaschema definition
-
-