Class ASMUMLModelElement

    • Constructor Detail

      • ASMUMLModelElement

        protected ASMUMLModelElement​(java.util.Map modelElements,
                                     ASMModel model,
                                     org.eclipse.emf.ecore.EObject object)
        Creates a new ASMUMLModelElement.
        Parameters:
        modelElements - the model elements map
        model - the model
        object - the EObject
    • Method Detail

      • registerMOFOperation

        protected static void registerMOFOperation​(java.lang.String modelelementName,
                                                   java.lang.String methodName,
                                                   java.lang.Class[] args)
                                            throws java.lang.Exception
        Registers MOF operations.
        Parameters:
        modelelementName - the model element name
        methodName - the method name
        args - the method arguments types
        Throws:
        java.lang.Exception
      • newInstance

        public static ASMModelElement newInstance​(StackFrame frame,
                                                  ASMUMLModelElement self)
        Creates a new instance of the given type.
        Parameters:
        frame - the frame context
        self - the type
        Returns:
        the new instance
      • newInstanceIn

        public static ASMModelElement newInstanceIn​(StackFrame frame,
                                                    ASMUMLModelElement self,
                                                    ASMString modelName)
        Creates a new instance of a given type.
        Parameters:
        frame - the frame context
        self - the given type
        modelName - the model where to create the element
        Returns:
        the new element
      • realInvoke

        public ASMOclAny realInvoke​(StackFrame frame,
                                    java.lang.String opName,
                                    java.util.List arguments)
        Immediate invocation of the operation.
        Parameters:
        frame - the environment
        opName - the name of the operation to invoke
        arguments - the arguments of the operation
        Returns:
        ASMOclAny