Class ASMUMLModel


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

    • ASMUMLModel

      protected ASMUMLModel(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 Details

    • getMOF

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

      protected ASMModelElement createASMModelElement(org.eclipse.emf.ecore.EObject object)
      Creates a new ASMUMLModelElement for object.
      Parameters:
      object - The object to wrap.
      Returns:
      a new ASMUMLModelElement
    • getASMModelElement

      public ASMModelElement getASMModelElement(org.eclipse.emf.ecore.EObject object)
      Returns the ASMModelElement corresponding to the given EObject.
      Overrides:
      getASMModelElement in class ASMEMFModel
      Parameters:
      object - the given EObject
      Returns:
      the ASMModelElement
      See Also:
    • getLastStereotypeMethod

      public int getLastStereotypeMethod(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.