Interface IContainerModelAssembly

All Superinterfaces:
IContainer, IContainerModel, IContainerModelAbsolute
All Known Subinterfaces:
IAssemblyDefinition, IFeatureContainerModelAssembly<MI,NMI,FI,AI,CI,CGI>
All Known Implementing Classes:
AbstractGlobalAssemblyDefinition, AbstractInlineAssemblyDefinition

Represents a model container for assembly definitions.

Assembly containers extend absolute containers by adding support for choice instances and choice group instances, which allow for alternative content models within the assembly.

  • Method Details

    • getChoiceInstances

      @NonNull List<? extends IChoiceInstance> getChoiceInstances()
      Get all choice instances within the container.
      Returns:
      a list of choice instances
    • getChoiceGroupInstanceByName

      Get the choice group model instance contained within the model with the associated group as name.
      Parameters:
      name - the group as name of the choice group instance
      Returns:
      the matching choice group instance, or null if no match was found
      See Also:
    • getChoiceGroupInstances

      Get all choice group instances within the container.
      Returns:
      a list of choice instances
    • getAnyInstance

      @Nullable default IAnyInstance getAnyInstance()
      Get the any instance for this container, if one is defined.

      An any instance represents unmodeled content that may appear within an assembly's model.

      Returns:
      the any instance, or null if no any instance is defined