Class F

java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.collectiontest.F
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 F extends org.umlg.runtime.domain.BaseUmlgCompositionNode implements org.umlg.runtime.domain.UmlgRootNode, org.umlg.runtime.domain.CompositionNode
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static long
     

    Fields inherited from class org.umlg.runtime.domain.BaseUmlg

    hasInitBeenCalled, vertex
  • Constructor Summary

    Constructors
    Constructor
    Description
    F()
    default constructor for F
    F​(Boolean persistent)
    constructor for F
    F​(Object id)
    constructor for F
    F​(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
    constructor for F
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addToG​(int index, G g)
     
    void
    addToG​(int index, org.umlg.runtime.collection.UmlgSequence<G> g)
     
    void
    addToG​(G g)
     
    void
    addToG​(org.umlg.runtime.collection.UmlgSequence<G> g)
     
    void
     
    static org.umlg.runtime.collection.UmlgSet<? extends F>
     
    static org.umlg.runtime.collection.UmlgSet<? extends F>
    allInstances​(org.umlg.runtime.collection.Filter filter)
     
    List<org.umlg.runtime.validation.UmlgConstraintViolation>
     
    void
     
    void
     
    void
    fromJson​(String json)
     
    void
    fromJson​(Map<String,​Object> propertyMap)
     
    void
     
    void
     
    void
     
    org.umlg.runtime.collection.UmlgSequence<G>
     
     
    org.umlg.runtime.domain.UmlgNode
     
     
    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
    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
     
    boolean
     
    void
     
    void
    initialiseProperties​(boolean loaded)
    boolean properties' default values are initialized in the constructor via z_internalBooleanProperties
    void
    initialiseProperty​(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)
     
    void
     
    org.umlg.runtime.collection.UmlgRuntimeProperty
    inverseAdder​(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)
     
    boolean
     
    org.umlg.runtime.collection.UmlgSet<G>
     
    void
    removeFromG​(G g)
     
    void
    removeFromG​(org.umlg.runtime.collection.UmlgSequence<G> g)
     
    void
    setG​(org.umlg.runtime.collection.UmlgSequence<G> g)
     
     
    toJson​(Boolean deep)
    deep indicates that components also be serialized.
     
    deep indicates that components also be serialized.
    List<org.umlg.runtime.validation.UmlgConstraintViolation>
     
    void
    z_internalAddPersistentValueToCollection​(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)
     
    void
    z_internalAddToCollection​(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)
     
    Set<org.umlg.runtime.collection.UmlgRuntimeProperty>
     
    Set<org.umlg.runtime.collection.UmlgRuntimeProperty>
     
    Map<org.umlg.runtime.collection.UmlgRuntimeProperty,​Object>
     
    org.umlg.runtime.collection.UmlgCollection<? extends Object>
    z_internalGetCollectionFor​(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse)
     
    org.umlg.runtime.collection.UmlgRuntimeProperty
    z_internalInverseAdder​(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)
     
    void
    z_internalMarkCollectionLoaded​(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)
     

    Methods inherited from class org.umlg.runtime.domain.BaseUmlgCompositionNode

    getPathToCompositionalRoot

    Methods inherited from class org.umlg.runtime.domain.BaseUmlg

    addToThreadEntityVar, asSet, changed, doBeforeCommit, equals, getEdge, getId, getName, getVertex, hashCode, hasInitBeenCalled, notEquals, oclAsType, oclIsInState, oclIsInvalid, oclIsKindOf, oclIsNew, oclIsTypeOf, oclIsUndefined, oclLocale, oclType, reload, setEdge, setVertex

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.umlg.runtime.domain.ocl.OclAny

    equals, notEquals, oclAsType, oclIsInState, oclIsInvalid, oclIsKindOf, oclIsNew, oclIsTypeOf, oclIsUndefined, oclLocale, oclType

    Methods inherited from interface org.umlg.runtime.domain.PersistentObject

    doBeforeCommit, getId

    Methods inherited from interface org.umlg.runtime.domain.UmlgNode

    asSet, getEdge, getPathToCompositionalRoot, getVertex, setEdge
  • Field Details

  • Constructor Details

    • F

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

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

      public F()
      default constructor for F
    • F

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

    • addToG

      public void addToG(G g)
    • addToG

      public void addToG(org.umlg.runtime.collection.UmlgSequence<G> g)
    • addToG

      public void addToG(int index, G g)
    • addToG

      public void addToG(int index, org.umlg.runtime.collection.UmlgSequence<G> g)
    • addToGIgnoreInverse

      public void addToGIgnoreInverse(G g)
    • allInstances

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

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

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

      public void clearG()
    • delete

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

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

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

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

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

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

      public org.umlg.runtime.collection.UmlgSequence<G> getG()
    • getMetaDataAsJson

      public String getMetaDataAsJson()
      Specified by:
      getMetaDataAsJson in interface org.umlg.runtime.domain.PersistentObject
    • 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
    • getQualifiedName

      public String getQualifiedName()
      Specified by:
      getQualifiedName in interface org.umlg.runtime.domain.UmlgEnum
    • 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
      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
      Parameters:
      inverse -
      tumlRuntimeProperty -
    • getUid

      public String getUid()
      Specified by:
      getUid in interface org.umlg.runtime.domain.PersistentObject
    • hasOnlyOneCompositeParent

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

      public void initDataTypeVariablesWithDefaultValues()
    • initVariables

      public void initVariables()
      Specified by:
      initVariables in interface org.umlg.runtime.domain.UmlgNode
    • 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
      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
    • 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
    • isTinkerRoot

      public boolean isTinkerRoot()
      Specified by:
      isTinkerRoot in interface org.umlg.runtime.domain.UmlgNode
    • lookupFor_f_g

      public org.umlg.runtime.collection.UmlgSet<G> lookupFor_f_g()
    • removeFromG

      public void removeFromG(G g)
    • removeFromG

      public void removeFromG(org.umlg.runtime.collection.UmlgSequence<G> g)
    • setG

      public void setG(org.umlg.runtime.collection.UmlgSequence<G> g)
    • toJson

      public String toJson(Boolean deep)
      deep indicates that components also be serialized.
      Specified by:
      toJson in interface org.umlg.runtime.domain.PersistentObject
      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
    • toJsonWithoutCompositeParent

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

      public String toJsonWithoutCompositeParent()
      Specified by:
      toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObject
    • validateMultiplicities

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateMultiplicities()
      Specified by:
      validateMultiplicities in interface org.umlg.runtime.domain.UmlgNode
    • 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
    • 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
    • z_internalBooleanProperties

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

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

      public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,​Object> z_internalDataTypePropertiesWithDefaultValues()
      Specified by:
      z_internalDataTypePropertiesWithDefaultValues in interface org.umlg.runtime.domain.UmlgNode
    • 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
    • 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
    • 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