Class ModelBridge

    • Field Detail

      • mInstance

        private static final ModelBridge mInstance
      • mPrivateInstance

        private static ModelBridge mPrivateInstance
    • 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)
      • getHumanName

        public java.lang.String getHumanName​(AbstractRefObject abstractRefObject)
      • getHumanType

        public java.lang.String getHumanType​(AbstractRefObject abstractRefObject)
      • 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)
      • isDeveloper

        public boolean isDeveloper()
      • isRelationship

        public boolean isRelationship​(java.lang.Class classType)
      • 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()
      • newUnsupportedOperationException

        private java.lang.UnsupportedOperationException newUnsupportedOperationException()