Package org.umlg.ocl

Class Collect2

java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.ocl.Collect2
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 Collect2 extends org.umlg.runtime.domain.BaseUmlgCompositionNode implements org.umlg.runtime.domain.UmlgRootNode, org.umlg.runtime.domain.CompositionNode
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • Collect2

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

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

      public Collect2()
      default constructor for Collect2
    • Collect2

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

    • addToCollect1

      public void addToCollect1(Collect1 collect1)
    • addToCollect1IgnoreInverse

      public void addToCollect1IgnoreInverse(Collect1 collect1)
    • addToCollect3

      public void addToCollect3(Collect3 collect3)
    • addToCollect3

      public void addToCollect3(org.umlg.runtime.collection.UmlgSet<Collect3> collect3)
    • addToCollect3IgnoreInverse

      public void addToCollect3IgnoreInverse(Collect3 collect3)
    • addToEnumeration1

      public void addToEnumeration1(Enumeration1 enumeration1)
    • addToEnumeration1IgnoreInverse

      public void addToEnumeration1IgnoreInverse(Enumeration1 enumeration1)
    • addToPassword

      public void addToPassword(String password)
    • addToPasswordIgnoreInverse

      public void addToPasswordIgnoreInverse(String password)
    • addToReally

      public void addToReally(Double really)
    • addToReallyIgnoreInverse

      public void addToReallyIgnoreInverse(Double really)
    • allInstances

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

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

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

      public void clearCollect1()
    • clearCollect3

      public void clearCollect3()
    • clearEnumeration1

      public void clearEnumeration1()
    • clearPassword

      public void clearPassword()
    • clearReally

      public void clearReally()
    • 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
    • getCollect3

      public org.umlg.runtime.collection.UmlgSet<Collect3> getCollect3()
    • getEnumeration1

      public Enumeration1 getEnumeration1()
    • 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
    • getPassword

      public String getPassword()
    • 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 -
    • getReally

      public Double getReally()
    • 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_collect2_collect1

      public org.umlg.runtime.collection.UmlgSet<Collect1> lookupFor_collect2_collect1()
    • lookupFor_collect2_collect3

      public org.umlg.runtime.collection.UmlgSet<Collect3> lookupFor_collect2_collect3()
    • removeFromCollect1

      public void removeFromCollect1(Collect1 collect1)
    • removeFromCollect1

      public void removeFromCollect1(org.umlg.runtime.collection.UmlgSet<Collect1> collect1)
    • removeFromCollect3

      public void removeFromCollect3(Collect3 collect3)
    • removeFromCollect3

      public void removeFromCollect3(org.umlg.runtime.collection.UmlgSet<Collect3> collect3)
    • removeFromEnumeration1

      public void removeFromEnumeration1(Enumeration1 enumeration1)
    • removeFromEnumeration1

      public void removeFromEnumeration1(org.umlg.runtime.collection.UmlgSet<Enumeration1> enumeration1)
    • removeFromPassword

      public void removeFromPassword(String password)
    • removeFromPassword

      public void removeFromPassword(org.umlg.runtime.collection.UmlgSet<String> password)
    • removeFromReally

      public void removeFromReally(Double really)
    • removeFromReally

      public void removeFromReally(org.umlg.runtime.collection.UmlgSet<Double> really)
    • setCollect1

      public void setCollect1(Collect1 collect1)
    • setCollect3

      public void setCollect3(org.umlg.runtime.collection.UmlgSet<Collect3> collect3)
    • setEnumeration1

      public void setEnumeration1(Enumeration1 enumeration1)
    • setPassword

      public void setPassword(String password)
    • setReally

      public void setReally(Double really)
    • 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
    • validateEnumeration1

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateEnumeration1(Enumeration1 enumeration1)
    • validateMultiplicities

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

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validatePassword(String password)
    • validateReally

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateReally(Double really)
    • 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
    • z_internal_getCollect1

      public Collect1 z_internal_getCollect1()