Class Model

  • public class Model
    extends java.lang.Object
    • Method Detail

      • hasType

        public boolean hasType​(java.lang.String typeName)
      • isInstantiable

        public boolean isInstantiable​(java.lang.String typeName)
      • hasPackage

        public boolean hasPackage​(java.lang.String originalPackage)
      • directContents

        public java.lang.Iterable<ModelElement> directContents()
        Returns all of the model elements that are directly contained in this model. This excludes model elements that are referenced from this model, but contained in another model.
      • owns

        public boolean owns​(java.lang.Object unwrappedElement)
      • wrap

        public ModelValue<?> wrap​(java.lang.Object value)
      • getContainerOf

        public java.lang.Object getContainerOf​(java.lang.Object underlyingModelObject)
      • isTypeOf

        public boolean isTypeOf​(java.lang.Object underlyingModelElement,
                                java.lang.String type)
      • preventLoadingOfExternalModelElements

        public boolean preventLoadingOfExternalModelElements()
      • getIdentity

        public java.lang.String getIdentity​(java.lang.Object underlyingModelObject)
      • setIdentity

        public void setIdentity​(java.lang.Object underlyingModelObject,
                                java.lang.String newIdentity)