Class EMFModelAdapter

    • Constructor Summary

      Constructors 
      Constructor Description
      EMFModelAdapter()
      Creates an EMF model adapter.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(AbstractStackFrame frame, java.lang.Object modelElement)
      Deletes an object on the given frame.
      void finalizeModel​(IModel model)
      Finalizes the given model.
      java.lang.Object get​(AbstractStackFrame frame, java.lang.Object modelElement, java.lang.String name)
      Gets a value from an object in the given frame.
      static org.eclipse.emf.ecore.EEnumLiteral getEENumLiteral​(org.eclipse.emf.ecore.EEnum eEnum, java.lang.String id)
      Returns the literal matching the given name or literal.
      java.lang.Object getID​(java.lang.Object element)
      Returns the element id.
      static java.lang.Object getNameOf​(org.eclipse.emf.ecore.EObject eo)
      Returns the name of an eObject.
      java.util.List<java.lang.Object> getSupertypes​(java.lang.Object type)
      Returns the list of supertypes of a given type.
      java.lang.Object getType​(java.lang.Object value)
      Returns the type of a given element.
      java.lang.Object invoke​(java.lang.reflect.Method method, java.lang.Object self, java.lang.Object[] arguments)
      Invokes a method.
      boolean isDeleted​(java.lang.Object element)
      Checks if an elements has been deleted in refining mode and does not belong to any resource.
      boolean isMetametaElement​(java.lang.Object element)
      Returns true if the given element is managed by the metametamodel of the current model adapter.
      boolean isModelElement​(java.lang.Object o)
      Returns true if the given object is managed by the current model adapter.
      boolean prettyPrint​(ExecEnv execEnv, java.io.PrintStream out, java.lang.Object value)
      Displays in a readable format the given object.
      void registerVMSupertypes​(java.util.Map<java.lang.Class<?>,​java.util.List<java.lang.Class<?>>> vmSupertypes)
      Registers a map of supertypes.
      void registerVMTypeOperations​(java.util.Map<java.lang.Object,​java.util.Map<java.lang.String,​Operation>> vmTypeOperations)
      Registers a map of operations.
      void set​(AbstractStackFrame frame, java.lang.Object modelElement, java.lang.String name, java.lang.Object value)
      Sets a value on an object in the given frame.
      void setAllowInterModelReferences​(boolean allowInterModelRefs)
      Sets "allow inter-model references" for this model adapter.
      void setID​(java.lang.Object element, java.lang.Object id)
      Sets the element id.
      void unSet​(AbstractStackFrame frame, java.lang.Object modelElement, java.lang.String name)
      Unsets a value on an object in the given frame.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait