Class ModelBridge


  • public class ModelBridge
    extends java.lang.Object
    Bridge between UML2 Model and modeling tool.
    • Constructor Detail

      • ModelBridge

        protected ModelBridge()
    • Method Detail

      • getBridge

        @CheckForNull
        public static ModelBridge getBridge()
      • generateId

        public java.lang.String generateId​(AbstractRefObject abstractRefObject)
      • setId

        public void setId​(AbstractRefObject abstractRefObject,
                          java.lang.String id)
      • canBeDeleted

        public boolean canBeDeleted​(AbstractRefObject abstractRefObject)
      • canAddToParent

        public boolean canAddToParent​(AbstractRefObject abstractRefObject,
                                      java.lang.Class parent)
      • canChangeParent

        public boolean canChangeParent​(AbstractRefObject abstractRefObject,
                                       java.util.Collection elements,
                                       BaseElement newParent)
      • canChangeElementOwner

        public boolean canChangeElementOwner​(com.dassault_systemes.modeler.foundation.model.ModelElement element,
                                             com.dassault_systemes.modeler.foundation.model.ModelElement owner,
                                             boolean checkPermissions)
      • isDeveloper

        public boolean isDeveloper()
      • isRelationship

        public boolean isRelationship​(java.lang.Class classType)
      • getDerivedTagValue

        @CheckForNull
        public java.util.List getDerivedTagValue​(com.dassault_systemes.modeler.foundation.model.ModelElement element,
                                                 Property tag)
      • getDynamicRefClassProvider

        public RefClassProvider getDynamicRefClassProvider()
      • getInstance

        public static ModelBridge getInstance()
      • setInstance

        public static void setInstance​(ModelBridge instance)
      • compareTo

        public int compareTo​(AbstractRefObject abstractRefObject,
                             java.lang.Object o)
      • getLog

        public org.apache.logging.log4j.Logger getLog()