Interface IContainerModelSupport<MI extends IModelInstance,NMI extends INamedModelInstance,FI extends IFieldInstance,AI extends IAssemblyInstance>

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
All Known Subinterfaces:
IContainerModelAssemblySupport<MI,NMI,FI,AI,CI,CGI>
All Known Implementing Classes:
AbstractContainerModelSupport

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

    • empty

      @NonNull static <MI extends IModelInstance, NMI extends INamedModelInstance, FI extends IFieldInstance, AI extends IAssemblyInstance> IContainerModelSupport<MI,NMI,FI,AI> 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
      Returns:
      the empty container
    • getModelInstances

      @NonNull Collection<MI> getModelInstances()
      Get a listing of all model instances.
      Returns:
      the listing
    • getNamedModelInstanceMap

      @NonNull Map<Integer,NMI> getNamedModelInstanceMap()
      Get a mapping of all named model instances, mapped from their effective name to the instance.
      Returns:
      the mapping
    • getFieldInstanceMap

      @NonNull Map<Integer,FI> getFieldInstanceMap()
      Get a mapping of all field instances, mapped from their effective name to the instance.
      Returns:
      the mapping
    • getAssemblyInstanceMap

      @NonNull Map<Integer,AI> getAssemblyInstanceMap()
      Get a mapping of all assembly instances, mapped from their effective name to the instance.
      Returns:
      the mapping