Class TopRoot

java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
All Implemented Interfaces:
Serializable, org.umlg.runtime.domain.CompositionNode, org.umlg.runtime.domain.ocl.OclAny, org.umlg.runtime.domain.PersistentObject, org.umlg.runtime.domain.UmlgEnum, org.umlg.runtime.domain.UmlgNode, org.umlg.runtime.domain.UmlgRootNode

public class TopRoot extends MiddleRoot implements org.umlg.runtime.domain.UmlgRootNode, org.umlg.runtime.domain.CompositionNode
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • TopRoot

      public TopRoot(Object id)
      constructor for TopRoot
      Parameters:
      id -
    • TopRoot

      public TopRoot(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
      constructor for TopRoot
      Parameters:
      vertex -
    • TopRoot

      public TopRoot()
      default constructor for TopRoot
    • TopRoot

      public TopRoot(Boolean persistent)
      constructor for TopRoot
      Parameters:
      persistent -
  • Method Details

    • addToIndexNonUniqueBoolean

      public void addToIndexNonUniqueBoolean(Boolean indexNonUniqueBoolean)
    • addToIndexNonUniqueBooleanIgnoreInverse

      public void addToIndexNonUniqueBooleanIgnoreInverse(Boolean indexNonUniqueBoolean)
    • addToIndexNonUniqueInteger

      public void addToIndexNonUniqueInteger(Integer indexNonUniqueInteger)
    • addToIndexNonUniqueIntegerIgnoreInverse

      public void addToIndexNonUniqueIntegerIgnoreInverse(Integer indexNonUniqueInteger)
    • addToIndexNonUniqueReal

      public void addToIndexNonUniqueReal(Double indexNonUniqueReal)
    • addToIndexNonUniqueRealIgnoreInverse

      public void addToIndexNonUniqueRealIgnoreInverse(Double indexNonUniqueReal)
    • addToIndexNonUniqueUnlimitedNatural

      public void addToIndexNonUniqueUnlimitedNatural(Integer indexNonUniqueUnlimitedNatural)
    • addToIndexNonUniqueUnlimitedNaturalIgnoreInverse

      public void addToIndexNonUniqueUnlimitedNaturalIgnoreInverse(Integer indexNonUniqueUnlimitedNatural)
    • addToIndexUniqueInteger

      public void addToIndexUniqueInteger(Integer indexUniqueInteger)
    • addToIndexUniqueIntegerIgnoreInverse

      public void addToIndexUniqueIntegerIgnoreInverse(Integer indexUniqueInteger)
    • addToIndexUniqueReal

      public void addToIndexUniqueReal(Double indexUniqueReal)
    • addToIndexUniqueRealIgnoreInverse

      public void addToIndexUniqueRealIgnoreInverse(Double indexUniqueReal)
    • addToIndexUniqueUnlimitedNatural

      public void addToIndexUniqueUnlimitedNatural(Integer indexUniqueUnlimitedNatural)
    • addToIndexUniqueUnlimitedNaturalIgnoreInverse

      public void addToIndexUniqueUnlimitedNaturalIgnoreInverse(Integer indexUniqueUnlimitedNatural)
    • addToIndexedName

      public void addToIndexedName(String indexedName)
    • addToIndexedNameIgnoreInverse

      public void addToIndexedNameIgnoreInverse(String indexedName)
    • addToIndexedNonUniqueName

      public void addToIndexedNonUniqueName(String indexedNonUniqueName)
    • addToIndexedNonUniqueNameIgnoreInverse

      public void addToIndexedNonUniqueNameIgnoreInverse(String indexedNonUniqueName)
    • addToTopRootChild

      public void addToTopRootChild(TopRootChild topRootChild)
    • addToTopRootChild

      public void addToTopRootChild(org.umlg.runtime.collection.UmlgSet<TopRootChild> topRootChild)
    • addToTopRootChildIgnoreInverse

      public void addToTopRootChildIgnoreInverse(TopRootChild topRootChild)
    • allInstances

      public static org.umlg.runtime.collection.UmlgSet<? extends TopRoot> allInstances(org.umlg.runtime.collection.Filter filter)
    • allInstances

      public static org.umlg.runtime.collection.UmlgSet<? extends TopRoot> allInstances()
    • checkClassConstraints

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> checkClassConstraints()
      Specified by:
      checkClassConstraints in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      checkClassConstraints in class MiddleRoot
    • clearIndexNonUniqueBoolean

      public void clearIndexNonUniqueBoolean()
    • clearIndexNonUniqueInteger

      public void clearIndexNonUniqueInteger()
    • clearIndexNonUniqueReal

      public void clearIndexNonUniqueReal()
    • clearIndexNonUniqueUnlimitedNatural

      public void clearIndexNonUniqueUnlimitedNatural()
    • clearIndexUniqueInteger

      public void clearIndexUniqueInteger()
    • clearIndexUniqueReal

      public void clearIndexUniqueReal()
    • clearIndexUniqueUnlimitedNatural

      public void clearIndexUniqueUnlimitedNatural()
    • clearIndexedName

      public void clearIndexedName()
    • clearIndexedNonUniqueName

      public void clearIndexedNonUniqueName()
    • clearTopRootChild

      public void clearTopRootChild()
    • delete

      public void delete()
      Specified by:
      delete in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      delete in class MiddleRoot
    • fromJson

      public void fromJson(Map<String,​Object> propertyMap)
      Specified by:
      fromJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJson in class MiddleRoot
    • fromJson

      public void fromJson(String json)
      Specified by:
      fromJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJson in class MiddleRoot
    • fromJsonDataTypeAndComposite

      public void fromJsonDataTypeAndComposite(Map<String,​Object> propertyMap)
      Specified by:
      fromJsonDataTypeAndComposite in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJsonDataTypeAndComposite in class MiddleRoot
    • fromJsonNonCompositeOne

      public void fromJsonNonCompositeOne(Map<String,​Object> propertyMap)
      Specified by:
      fromJsonNonCompositeOne in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJsonNonCompositeOne in class MiddleRoot
    • fromJsonNonCompositeRequiredMany

      public void fromJsonNonCompositeRequiredMany(Map<String,​Object> propertyMap)
      Specified by:
      fromJsonNonCompositeRequiredMany in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJsonNonCompositeRequiredMany in class MiddleRoot
    • getIndexNonUniqueBoolean

      public Boolean getIndexNonUniqueBoolean()
    • getIndexNonUniqueInteger

      public Integer getIndexNonUniqueInteger()
    • getIndexNonUniqueReal

      public Double getIndexNonUniqueReal()
    • getIndexNonUniqueUnlimitedNatural

      public Integer getIndexNonUniqueUnlimitedNatural()
    • getIndexUniqueInteger

      public Integer getIndexUniqueInteger()
    • getIndexUniqueReal

      public Double getIndexUniqueReal()
    • getIndexUniqueUnlimitedNatural

      public Integer getIndexUniqueUnlimitedNatural()
    • getIndexedName

      public String getIndexedName()
    • getIndexedNonUniqueName

      public String getIndexedNonUniqueName()
    • getMetaDataAsJson

      public String getMetaDataAsJson()
      Specified by:
      getMetaDataAsJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      getMetaDataAsJson in class MiddleRoot
    • getOwningObject

      public org.umlg.runtime.domain.UmlgNode getOwningObject()
      Specified by:
      getOwningObject in interface org.umlg.runtime.domain.CompositionNode
      Specified by:
      getOwningObject in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      getOwningObject in class MiddleRoot
    • getQualifiedName

      public String getQualifiedName()
      Specified by:
      getQualifiedName in interface org.umlg.runtime.domain.UmlgEnum
      Overrides:
      getQualifiedName in class MiddleRoot
    • getQualifiers

      public List<org.umlg.runtime.collection.Qualifier> getQualifiers(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, org.umlg.runtime.domain.UmlgNode node, boolean inverse)
      getQualifiers is called from the collection in order to update the index used to implement the qualifier
      Specified by:
      getQualifiers in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      getQualifiers in class MiddleRoot
      Parameters:
      tumlRuntimeProperty -
      node -
      inverse -
    • getSize

      public int getSize(boolean inverse, org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty)
      getSize is called from the BaseCollection.addInternal in order to save the size of the inverse collection to update the edge's sequence order
      Specified by:
      getSize in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      getSize in class MiddleRoot
      Parameters:
      inverse -
      tumlRuntimeProperty -
    • getTopRootChild

      public org.umlg.runtime.collection.UmlgSet<TopRootChild> getTopRootChild()
    • hasOnlyOneCompositeParent

      public boolean hasOnlyOneCompositeParent()
      Specified by:
      hasOnlyOneCompositeParent in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      hasOnlyOneCompositeParent in class MiddleRoot
    • initDataTypeVariablesWithDefaultValues

      public void initDataTypeVariablesWithDefaultValues()
      Overrides:
      initDataTypeVariablesWithDefaultValues in class MiddleRoot
    • initVariables

      public void initVariables()
      Specified by:
      initVariables in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      initVariables in class MiddleRoot
    • initialiseProperties

      public void initialiseProperties(boolean loaded)
      boolean properties' default values are initialized in the constructor via z_internalBooleanProperties
      Specified by:
      initialiseProperties in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      initialiseProperties in class MiddleRoot
      Parameters:
      loaded -
    • initialiseProperty

      public void initialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)
      Specified by:
      initialiseProperty in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      initialiseProperty in class MiddleRoot
    • inverseAdder

      public org.umlg.runtime.collection.UmlgRuntimeProperty inverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)
      Specified by:
      inverseAdder in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      inverseAdder in class MiddleRoot
    • isTinkerRoot

      public boolean isTinkerRoot()
      Specified by:
      isTinkerRoot in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      isTinkerRoot in class MiddleRoot
    • removeFromIndexNonUniqueBoolean

      public void removeFromIndexNonUniqueBoolean(Boolean indexNonUniqueBoolean)
    • removeFromIndexNonUniqueBoolean

      public void removeFromIndexNonUniqueBoolean(org.umlg.runtime.collection.UmlgSet<Boolean> indexNonUniqueBoolean)
    • removeFromIndexNonUniqueInteger

      public void removeFromIndexNonUniqueInteger(Integer indexNonUniqueInteger)
    • removeFromIndexNonUniqueInteger

      public void removeFromIndexNonUniqueInteger(org.umlg.runtime.collection.UmlgSet<Integer> indexNonUniqueInteger)
    • removeFromIndexNonUniqueReal

      public void removeFromIndexNonUniqueReal(Double indexNonUniqueReal)
    • removeFromIndexNonUniqueReal

      public void removeFromIndexNonUniqueReal(org.umlg.runtime.collection.UmlgSet<Double> indexNonUniqueReal)
    • removeFromIndexNonUniqueUnlimitedNatural

      public void removeFromIndexNonUniqueUnlimitedNatural(Integer indexNonUniqueUnlimitedNatural)
    • removeFromIndexNonUniqueUnlimitedNatural

      public void removeFromIndexNonUniqueUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> indexNonUniqueUnlimitedNatural)
    • removeFromIndexUniqueInteger

      public void removeFromIndexUniqueInteger(Integer indexUniqueInteger)
    • removeFromIndexUniqueInteger

      public void removeFromIndexUniqueInteger(org.umlg.runtime.collection.UmlgSet<Integer> indexUniqueInteger)
    • removeFromIndexUniqueReal

      public void removeFromIndexUniqueReal(Double indexUniqueReal)
    • removeFromIndexUniqueReal

      public void removeFromIndexUniqueReal(org.umlg.runtime.collection.UmlgSet<Double> indexUniqueReal)
    • removeFromIndexUniqueUnlimitedNatural

      public void removeFromIndexUniqueUnlimitedNatural(Integer indexUniqueUnlimitedNatural)
    • removeFromIndexUniqueUnlimitedNatural

      public void removeFromIndexUniqueUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> indexUniqueUnlimitedNatural)
    • removeFromIndexedName

      public void removeFromIndexedName(String indexedName)
    • removeFromIndexedName

      public void removeFromIndexedName(org.umlg.runtime.collection.UmlgSet<String> indexedName)
    • removeFromIndexedNonUniqueName

      public void removeFromIndexedNonUniqueName(String indexedNonUniqueName)
    • removeFromIndexedNonUniqueName

      public void removeFromIndexedNonUniqueName(org.umlg.runtime.collection.UmlgSet<String> indexedNonUniqueName)
    • removeFromTopRootChild

      public void removeFromTopRootChild(TopRootChild topRootChild)
    • removeFromTopRootChild

      public void removeFromTopRootChild(org.umlg.runtime.collection.UmlgSet<TopRootChild> topRootChild)
    • setIndexNonUniqueBoolean

      public void setIndexNonUniqueBoolean(Boolean indexNonUniqueBoolean)
    • setIndexNonUniqueInteger

      public void setIndexNonUniqueInteger(Integer indexNonUniqueInteger)
    • setIndexNonUniqueReal

      public void setIndexNonUniqueReal(Double indexNonUniqueReal)
    • setIndexNonUniqueUnlimitedNatural

      public void setIndexNonUniqueUnlimitedNatural(Integer indexNonUniqueUnlimitedNatural)
    • setIndexUniqueInteger

      public void setIndexUniqueInteger(Integer indexUniqueInteger)
    • setIndexUniqueReal

      public void setIndexUniqueReal(Double indexUniqueReal)
    • setIndexUniqueUnlimitedNatural

      public void setIndexUniqueUnlimitedNatural(Integer indexUniqueUnlimitedNatural)
    • setIndexedName

      public void setIndexedName(String indexedName)
    • setIndexedNonUniqueName

      public void setIndexedNonUniqueName(String indexedNonUniqueName)
    • setTopRootChild

      public void setTopRootChild(org.umlg.runtime.collection.UmlgSet<TopRootChild> topRootChild)
    • toJson

      public String toJson(Boolean deep)
      deep indicates that components also be serialized.
      Specified by:
      toJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      toJson in class MiddleRoot
      Parameters:
      deep -
    • toJson

      public String toJson()
      Specified by:
      toJson in interface org.umlg.runtime.domain.PersistentObject
      Specified by:
      toJson in interface org.umlg.runtime.domain.UmlgEnum
      Overrides:
      toJson in class MiddleRoot
    • toJsonWithoutCompositeParent

      public String toJsonWithoutCompositeParent(Boolean deep)
      deep indicates that components also be serialized.
      Specified by:
      toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      toJsonWithoutCompositeParent in class MiddleRoot
      Parameters:
      deep -
    • toJsonWithoutCompositeParent

      public String toJsonWithoutCompositeParent()
      Specified by:
      toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      toJsonWithoutCompositeParent in class MiddleRoot
    • topRoot_findByIndexNonUniqueBoolean

      public static List<TopRoot> topRoot_findByIndexNonUniqueBoolean(Boolean indexNonUniqueBoolean)
    • topRoot_findByIndexNonUniqueInteger

      public static List<TopRoot> topRoot_findByIndexNonUniqueInteger(Integer indexNonUniqueInteger)
    • topRoot_findByIndexNonUniqueReal

      public static List<TopRoot> topRoot_findByIndexNonUniqueReal(Double indexNonUniqueReal)
    • topRoot_findByIndexNonUniqueUnlimitedNatural

      public static List<TopRoot> topRoot_findByIndexNonUniqueUnlimitedNatural(Integer indexNonUniqueUnlimitedNatural)
    • topRoot_findByIndexUniqueInteger

      public static TopRoot topRoot_findByIndexUniqueInteger(Integer indexUniqueInteger)
    • topRoot_findByIndexUniqueReal

      public static TopRoot topRoot_findByIndexUniqueReal(Double indexUniqueReal)
    • topRoot_findByIndexUniqueUnlimitedNatural

      public static TopRoot topRoot_findByIndexUniqueUnlimitedNatural(Integer indexUniqueUnlimitedNatural)
    • topRoot_findByIndexedName

      public static TopRoot topRoot_findByIndexedName(String indexedName)
    • topRoot_findByIndexedNonUniqueName

      public static List<TopRoot> topRoot_findByIndexedNonUniqueName(String indexedNonUniqueName)
    • topRoot_findByName

      public static List<TopRoot> topRoot_findByName(String name)
    • topRoot_findByNameUnique

      public static TopRoot topRoot_findByNameUnique(String nameUnique)
    • validateIndexNonUniqueBoolean

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexNonUniqueBoolean(Boolean indexNonUniqueBoolean)
    • validateIndexNonUniqueInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexNonUniqueInteger(Integer indexNonUniqueInteger)
    • validateIndexNonUniqueReal

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexNonUniqueReal(Double indexNonUniqueReal)
    • validateIndexNonUniqueUnlimitedNatural

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexNonUniqueUnlimitedNatural(Integer indexNonUniqueUnlimitedNatural)
    • validateIndexUniqueInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexUniqueInteger(Integer indexUniqueInteger)
    • validateIndexUniqueReal

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexUniqueReal(Double indexUniqueReal)
    • validateIndexUniqueUnlimitedNatural

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexUniqueUnlimitedNatural(Integer indexUniqueUnlimitedNatural)
    • validateIndexedName

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexedName(String indexedName)
    • validateIndexedNonUniqueName

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateIndexedNonUniqueName(String indexedNonUniqueName)
    • validateMultiplicities

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateMultiplicities()
      Specified by:
      validateMultiplicities in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      validateMultiplicities in class MiddleRoot
    • z_internalAddPersistentValueToCollection

      public void z_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)
      Specified by:
      z_internalAddPersistentValueToCollection in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalAddPersistentValueToCollection in class MiddleRoot
    • z_internalAddToCollection

      public void z_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)
      Specified by:
      z_internalAddToCollection in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalAddToCollection in class MiddleRoot
    • z_internalBooleanProperties

      public Set<org.umlg.runtime.collection.UmlgRuntimeProperty> z_internalBooleanProperties()
      Specified by:
      z_internalBooleanProperties in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalBooleanProperties in class MiddleRoot
    • z_internalDataTypeProperties

      public Set<org.umlg.runtime.collection.UmlgRuntimeProperty> z_internalDataTypeProperties()
      Specified by:
      z_internalDataTypeProperties in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalDataTypeProperties in class MiddleRoot
    • z_internalDataTypePropertiesWithDefaultValues

      public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,​Object> z_internalDataTypePropertiesWithDefaultValues()
      Specified by:
      z_internalDataTypePropertiesWithDefaultValues in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalDataTypePropertiesWithDefaultValues in class MiddleRoot
    • z_internalGetCollectionFor

      public org.umlg.runtime.collection.UmlgCollection<? extends Object> z_internalGetCollectionFor(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse)
      Specified by:
      z_internalGetCollectionFor in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalGetCollectionFor in class MiddleRoot
    • z_internalInverseAdder

      public org.umlg.runtime.collection.UmlgRuntimeProperty z_internalInverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)
      Specified by:
      z_internalInverseAdder in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalInverseAdder in class MiddleRoot
    • z_internalMarkCollectionLoaded

      public void z_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)
      Specified by:
      z_internalMarkCollectionLoaded in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalMarkCollectionLoaded in class MiddleRoot