Class ASMUMLModel


  • public final class ASMUMLModel
    extends ASMEMFModel
    The UML implementation of ASMModel.
    • Constructor Detail

      • ASMUMLModel

        protected ASMUMLModel​(java.lang.String name,
                              org.eclipse.emf.ecore.resource.Resource extent,
                              ASMEMFModel metamodel,
                              boolean isTarget,
                              ModelLoader ml)
        Creates a new ASMUMLModel.
        Parameters:
        name - the model name
        extent - the model's inner resource
        metamodel - the metamodel
        isTarget - true if the model is an output model
        ml - the model loader creating this model
    • Method Detail

      • getMOF

        public static ASMModel getMOF()
        Returns the meta-metamodel.
        Returns:
        the meta-metamodel.
      • getLastStereotypeMethod

        public int getLastStereotypeMethod​(java.lang.String opName)
        Gets the last stereotype method in the delayed invocations list.
        Parameters:
        opName - the operation name
        Returns:
        the last stereotype method index
      • addDelayedInvocation

        public void addDelayedInvocation​(Invocation invocation)
        Delays an invocation.
        Parameters:
        invocation - the operation invocation to delay
      • applyDelayedInvocations

        public void applyDelayedInvocations()
        Applies all delayed operation invocations.