Module dev.metaschema.core
Package dev.metaschema.core.model
Interface IFeatureContainerModelAssembly<MI extends IModelInstanceAbsolute,NMI extends INamedModelInstanceAbsolute,FI extends IFieldInstanceAbsolute,AI extends IAssemblyInstanceAbsolute,CI extends IChoiceInstance,CGI extends IChoiceGroupInstance>
- Type Parameters:
MI- the Java type of model instancesNMI- the Java type of named model instancesFI- the Java type of field instancesAI- the Java type of assembly instancesCI- the Java type of choice instancesCGI- the Java type of choice group instances
- All Superinterfaces:
IContainer,IContainerModel,IContainerModelAbsolute,IContainerModelAssembly,IFeatureContainerModelAbsolute<MI,NMI, FI, AI>
- All Known Subinterfaces:
IBoundDefinitionModelAssembly
- All Known Implementing Classes:
AbstractGlobalAssemblyDefinition,AbstractInlineAssemblyDefinition
public interface IFeatureContainerModelAssembly<MI extends IModelInstanceAbsolute,NMI extends INamedModelInstanceAbsolute,FI extends IFieldInstanceAbsolute,AI extends IAssemblyInstanceAbsolute,CI extends IChoiceInstance,CGI extends IChoiceGroupInstance>
extends IContainerModelAssembly, IFeatureContainerModelAbsolute<MI,NMI,FI,AI>
Provides assembly-specific container model functionality through delegation.
This interface extends absolute container model features with
assembly-specific capabilities, including choice and choice group instances.
Implementations delegate to an IContainerModelAssemblySupport
instance.
-
Method Summary
Modifier and TypeMethodDescriptiondefault CGIGet the choice group model instance contained within the model with the associated group as name.Get all choice group instances within the container.Get all choice instances within the container.Get the model container implementation instance.Methods inherited from interface dev.metaschema.core.model.IContainerModel
getOwningDefinition, hasChildrenMethods inherited from interface dev.metaschema.core.model.IFeatureContainerModelAbsolute
getAssemblyInstanceByName, getAssemblyInstances, getFieldInstanceByName, getFieldInstances, getModelInstances, getNamedModelInstanceByName, getNamedModelInstances
-
Method Details
-
getModelContainer
Get the model container implementation instance.- Specified by:
getModelContainerin interfaceIFeatureContainerModelAbsolute<MI extends IModelInstanceAbsolute,NMI extends INamedModelInstanceAbsolute, FI extends IFieldInstanceAbsolute, AI extends IAssemblyInstanceAbsolute> - Returns:
- the model container instance
-
getChoiceInstances
Description copied from interface:IContainerModelAssemblyGet all choice instances within the container.- Specified by:
getChoiceInstancesin interfaceIContainerModelAssembly- Returns:
- a list of choice instances
-
getChoiceGroupInstanceByName
Description copied from interface:IContainerModelAssemblyGet the choice group model instance contained within the model with the associated group as name.- Specified by:
getChoiceGroupInstanceByNamein interfaceIContainerModelAssembly- Parameters:
name- the group as name of the choice group instance- Returns:
- the matching choice group instance, or
nullif no match was found - See Also:
-
getChoiceGroupInstances
Description copied from interface:IContainerModelAssemblyGet all choice group instances within the container.- Specified by:
getChoiceGroupInstancesin interfaceIContainerModelAssembly- Returns:
- a list of choice instances
-