Class TestEmbedded

java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.embeddedtest.TestEmbedded
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

public class TestEmbedded extends org.umlg.runtime.domain.BaseUmlgCompositionNode implements org.umlg.runtime.domain.CompositionNode
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • TestEmbedded

      public TestEmbedded(God compositeOwner)
      constructor for TestEmbedded
      Parameters:
      compositeOwner -
    • TestEmbedded

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

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

      public TestEmbedded()
      default constructor for TestEmbedded
    • TestEmbedded

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

    • addToGod

      public void addToGod(God god)
    • addToGodIgnoreInverse

      public void addToGodIgnoreInverse(God god)
    • addToManyBoolean

      public void addToManyBoolean(Boolean manyBoolean)
    • addToManyBoolean

      public void addToManyBoolean(org.umlg.runtime.collection.UmlgBag<Boolean> manyBoolean)
    • addToManyBooleanIgnoreInverse

      public void addToManyBooleanIgnoreInverse(Boolean manyBoolean)
    • addToManyOrderedRequiredInteger

      public void addToManyOrderedRequiredInteger(Integer manyOrderedRequiredInteger)
    • addToManyOrderedRequiredInteger

      public void addToManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)
    • addToManyOrderedRequiredInteger

      public void addToManyOrderedRequiredInteger(int index, Integer manyOrderedRequiredInteger)
    • addToManyOrderedRequiredInteger

      public void addToManyOrderedRequiredInteger(int index, org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)
    • addToManyOrderedRequiredIntegerIgnoreInverse

      public void addToManyOrderedRequiredIntegerIgnoreInverse(Integer manyOrderedRequiredInteger)
    • addToManyOrderedString

      public void addToManyOrderedString(String manyOrderedString)
    • addToManyOrderedString

      public void addToManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)
    • addToManyOrderedString

      public void addToManyOrderedString(int index, String manyOrderedString)
    • addToManyOrderedString

      public void addToManyOrderedString(int index, org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)
    • addToManyOrderedStringIgnoreInverse

      public void addToManyOrderedStringIgnoreInverse(String manyOrderedString)
    • addToManyRequiredOrderedUniqueString

      public void addToManyRequiredOrderedUniqueString(String manyRequiredOrderedUniqueString)
    • addToManyRequiredOrderedUniqueString

      public void addToManyRequiredOrderedUniqueString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)
    • addToManyRequiredOrderedUniqueString

      public void addToManyRequiredOrderedUniqueString(int index, String manyRequiredOrderedUniqueString)
    • addToManyRequiredOrderedUniqueString

      public void addToManyRequiredOrderedUniqueString(int index, org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)
    • addToManyRequiredOrderedUniqueStringIgnoreInverse

      public void addToManyRequiredOrderedUniqueStringIgnoreInverse(String manyRequiredOrderedUniqueString)
    • addToName

      public void addToName(String name)
    • addToNameIgnoreInverse

      public void addToNameIgnoreInverse(String name)
    • allInstances

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

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

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

      public void clearGod()
    • clearManyBoolean

      public void clearManyBoolean()
    • clearManyOrderedRequiredInteger

      public void clearManyOrderedRequiredInteger()
    • clearManyOrderedString

      public void clearManyOrderedString()
    • clearManyRequiredOrderedUniqueString

      public void clearManyRequiredOrderedUniqueString()
    • clearName

      public void clearName()
    • 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
    • getGod

      public God getGod()
    • getManyBoolean

      public org.umlg.runtime.collection.UmlgBag<Boolean> getManyBoolean()
    • getManyOrderedRequiredInteger

      public org.umlg.runtime.collection.UmlgSequence<Integer> getManyOrderedRequiredInteger()
    • getManyOrderedString

      public org.umlg.runtime.collection.UmlgOrderedSet<String> getManyOrderedString()
    • getManyRequiredOrderedUniqueString

      public org.umlg.runtime.collection.UmlgOrderedSet<String> getManyRequiredOrderedUniqueString()
    • getMetaDataAsJson

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

      public String getName()
      Overrides:
      getName in class org.umlg.runtime.domain.BaseUmlg
    • 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()
      Implements the ocl statement for initialization variable 'manyRequiredOrderedUniqueString'
       package umlgtest::org::umlg::embeddedtest
           context TestEmbedded::manyRequiredOrderedUniqueString : OrderedSet(PrimitiveTypes::String)
           derive: OrderedSet{'a', 'b', 'c'}
       endpackage
       
      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
    • removeFromGod

      public void removeFromGod(God god)
    • removeFromGod

      public void removeFromGod(org.umlg.runtime.collection.UmlgSet<God> god)
    • removeFromManyBoolean

      public void removeFromManyBoolean(Boolean manyBoolean)
    • removeFromManyBoolean

      public void removeFromManyBoolean(org.umlg.runtime.collection.UmlgBag<Boolean> manyBoolean)
    • removeFromManyOrderedRequiredInteger

      public void removeFromManyOrderedRequiredInteger(Integer manyOrderedRequiredInteger)
    • removeFromManyOrderedRequiredInteger

      public void removeFromManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)
    • removeFromManyOrderedString

      public void removeFromManyOrderedString(String manyOrderedString)
    • removeFromManyOrderedString

      public void removeFromManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)
    • removeFromManyRequiredOrderedUniqueString

      public void removeFromManyRequiredOrderedUniqueString(String manyRequiredOrderedUniqueString)
    • removeFromManyRequiredOrderedUniqueString

      public void removeFromManyRequiredOrderedUniqueString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)
    • removeFromName

      public void removeFromName(String name)
    • removeFromName

      public void removeFromName(org.umlg.runtime.collection.UmlgSet<String> name)
    • setGod

      public void setGod(God god)
    • setManyBoolean

      public void setManyBoolean(org.umlg.runtime.collection.UmlgBag<Boolean> manyBoolean)
    • setManyOrderedRequiredInteger

      public void setManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)
    • setManyOrderedString

      public void setManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)
    • setManyRequiredOrderedUniqueString

      public void setManyRequiredOrderedUniqueString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)
    • setName

      public void setName(String name)
    • 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
    • validateManyBoolean

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateManyBoolean(Boolean manyBoolean)
    • validateManyOrderedRequiredInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateManyOrderedRequiredInteger(Integer manyOrderedRequiredInteger)
    • validateManyOrderedString

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateManyOrderedString(String manyOrderedString)
    • validateManyRequiredOrderedUniqueString

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateManyRequiredOrderedUniqueString(String manyRequiredOrderedUniqueString)
    • validateMultiplicities

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

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateName(String name)
    • 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