Interface IContainerModelAssembly

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

public interface IContainerModelAssembly extends IContainerModelAbsolute
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

      @Nullable IChoiceGroupInstance getChoiceGroupInstanceByName(String name)
      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

      @NonNull Map<String,? extends IChoiceGroupInstance> getChoiceGroupInstances()
      Get all choice group instances within the container.
      Returns:
      a list of choice instances