Interface IContainerModelAssemblySupport<MI extends IModelInstance,NMI extends INamedModelInstance,FI extends IFieldInstance,AI extends IAssemblyInstance,CI extends IChoiceInstance,CGI extends IChoiceGroupInstance>

Type Parameters:
MI - the model instance Java type
NMI - the named model instance Java type
FI - the field instance Java type
AI - the assembly instance Java type
CI - the choice instance Java type
CGI - the choice group instance Java type
All Superinterfaces:
IContainerModelSupport<MI,NMI,FI,AI>

public interface IContainerModelAssemblySupport<MI extends IModelInstance,NMI extends INamedModelInstance,FI extends IFieldInstance,AI extends IAssemblyInstance,CI extends IChoiceInstance,CGI extends IChoiceGroupInstance> extends IContainerModelSupport<MI,NMI,FI,AI>
Common interface for model container support classes.
  • Method Details

    • empty

      @NonNull static <MI extends IModelInstance, NMI extends INamedModelInstance, FI extends IFieldInstance, AI extends IAssemblyInstance, CI extends IChoiceInstance, CGI extends IChoiceGroupInstance> IContainerModelAssemblySupport<MI,NMI,FI,AI,CI,CGI> empty()
      Get an empty, immutable container.
      Type Parameters:
      MI - the model instance Java type
      NMI - the named model instance Java type
      FI - the field instance Java type
      AI - the assembly instance Java type
      CI - the choice instance Java type
      CGI - the choice group instance Java type
      Returns:
      the empty container
    • getChoiceInstances

      Get a listing of all choice instances.
      Returns:
      the listing
    • getChoiceGroupInstanceMap

      Get a listing of all choice group instances.
      Returns:
      the listing
    • 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