Class TestManyValidation

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

    • TestManyValidation

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

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

      public TestManyValidation()
      default constructor for TestManyValidation
    • TestManyValidation

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

    • addToAMaxIntegerMany

      public void addToAMaxIntegerMany(Integer aMaxIntegerMany)
    • addToAMaxIntegerMany

      public void addToAMaxIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aMaxIntegerMany)
    • addToAMaxIntegerManyIgnoreInverse

      public void addToAMaxIntegerManyIgnoreInverse(Integer aMaxIntegerMany)
    • addToAMaxRealMany

      public void addToAMaxRealMany(Double aMaxRealMany)
    • addToAMaxRealMany

      public void addToAMaxRealMany(org.umlg.runtime.collection.UmlgSet<Double> aMaxRealMany)
    • addToAMaxRealManyIgnoreInverse

      public void addToAMaxRealManyIgnoreInverse(Double aMaxRealMany)
    • addToAMaxUnlimitedNaturalMany

      public void addToAMaxUnlimitedNaturalMany(Integer aMaxUnlimitedNaturalMany)
    • addToAMaxUnlimitedNaturalMany

      public void addToAMaxUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aMaxUnlimitedNaturalMany)
    • addToAMaxUnlimitedNaturalManyIgnoreInverse

      public void addToAMaxUnlimitedNaturalManyIgnoreInverse(Integer aMaxUnlimitedNaturalMany)
    • addToAMinIntegerMany

      public void addToAMinIntegerMany(Integer aMinIntegerMany)
    • addToAMinIntegerMany

      public void addToAMinIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aMinIntegerMany)
    • addToAMinIntegerManyIgnoreInverse

      public void addToAMinIntegerManyIgnoreInverse(Integer aMinIntegerMany)
    • addToAMinRealMany

      public void addToAMinRealMany(Double aMinRealMany)
    • addToAMinRealMany

      public void addToAMinRealMany(org.umlg.runtime.collection.UmlgSet<Double> aMinRealMany)
    • addToAMinRealManyIgnoreInverse

      public void addToAMinRealManyIgnoreInverse(Double aMinRealMany)
    • addToAMinUnlimitedNaturalMany

      public void addToAMinUnlimitedNaturalMany(Integer aMinUnlimitedNaturalMany)
    • addToAMinUnlimitedNaturalMany

      public void addToAMinUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aMinUnlimitedNaturalMany)
    • addToAMinUnlimitedNaturalManyIgnoreInverse

      public void addToAMinUnlimitedNaturalManyIgnoreInverse(Integer aMinUnlimitedNaturalMany)
    • addToARangeIntegerMany

      public void addToARangeIntegerMany(Integer aRangeIntegerMany)
    • addToARangeIntegerMany

      public void addToARangeIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aRangeIntegerMany)
    • addToARangeIntegerManyIgnoreInverse

      public void addToARangeIntegerManyIgnoreInverse(Integer aRangeIntegerMany)
    • addToARangeRealMany

      public void addToARangeRealMany(Double aRangeRealMany)
    • addToARangeRealMany

      public void addToARangeRealMany(org.umlg.runtime.collection.UmlgSet<Double> aRangeRealMany)
    • addToARangeRealManyIgnoreInverse

      public void addToARangeRealManyIgnoreInverse(Double aRangeRealMany)
    • addToARangeUnlimitedNaturalMany

      public void addToARangeUnlimitedNaturalMany(Integer aRangeUnlimitedNaturalMany)
    • addToARangeUnlimitedNaturalMany

      public void addToARangeUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aRangeUnlimitedNaturalMany)
    • addToARangeUnlimitedNaturalManyIgnoreInverse

      public void addToARangeUnlimitedNaturalManyIgnoreInverse(Integer aRangeUnlimitedNaturalMany)
    • allInstances

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

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

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

      public void clearAMaxIntegerMany()
    • clearAMaxRealMany

      public void clearAMaxRealMany()
    • clearAMaxUnlimitedNaturalMany

      public void clearAMaxUnlimitedNaturalMany()
    • clearAMinIntegerMany

      public void clearAMinIntegerMany()
    • clearAMinRealMany

      public void clearAMinRealMany()
    • clearAMinUnlimitedNaturalMany

      public void clearAMinUnlimitedNaturalMany()
    • clearARangeIntegerMany

      public void clearARangeIntegerMany()
    • clearARangeRealMany

      public void clearARangeRealMany()
    • clearARangeUnlimitedNaturalMany

      public void clearARangeUnlimitedNaturalMany()
    • 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
    • getAMaxIntegerMany

      public org.umlg.runtime.collection.UmlgSet<Integer> getAMaxIntegerMany()
    • getAMaxRealMany

      public org.umlg.runtime.collection.UmlgSet<Double> getAMaxRealMany()
    • getAMaxUnlimitedNaturalMany

      public org.umlg.runtime.collection.UmlgSet<Integer> getAMaxUnlimitedNaturalMany()
    • getAMinIntegerMany

      public org.umlg.runtime.collection.UmlgSet<Integer> getAMinIntegerMany()
    • getAMinRealMany

      public org.umlg.runtime.collection.UmlgSet<Double> getAMinRealMany()
    • getAMinUnlimitedNaturalMany

      public org.umlg.runtime.collection.UmlgSet<Integer> getAMinUnlimitedNaturalMany()
    • getARangeIntegerMany

      public org.umlg.runtime.collection.UmlgSet<Integer> getARangeIntegerMany()
    • getARangeRealMany

      public org.umlg.runtime.collection.UmlgSet<Double> getARangeRealMany()
    • getARangeUnlimitedNaturalMany

      public org.umlg.runtime.collection.UmlgSet<Integer> getARangeUnlimitedNaturalMany()
    • 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
    • removeFromAMaxIntegerMany

      public void removeFromAMaxIntegerMany(Integer aMaxIntegerMany)
    • removeFromAMaxIntegerMany

      public void removeFromAMaxIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aMaxIntegerMany)
    • removeFromAMaxRealMany

      public void removeFromAMaxRealMany(Double aMaxRealMany)
    • removeFromAMaxRealMany

      public void removeFromAMaxRealMany(org.umlg.runtime.collection.UmlgSet<Double> aMaxRealMany)
    • removeFromAMaxUnlimitedNaturalMany

      public void removeFromAMaxUnlimitedNaturalMany(Integer aMaxUnlimitedNaturalMany)
    • removeFromAMaxUnlimitedNaturalMany

      public void removeFromAMaxUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aMaxUnlimitedNaturalMany)
    • removeFromAMinIntegerMany

      public void removeFromAMinIntegerMany(Integer aMinIntegerMany)
    • removeFromAMinIntegerMany

      public void removeFromAMinIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aMinIntegerMany)
    • removeFromAMinRealMany

      public void removeFromAMinRealMany(Double aMinRealMany)
    • removeFromAMinRealMany

      public void removeFromAMinRealMany(org.umlg.runtime.collection.UmlgSet<Double> aMinRealMany)
    • removeFromAMinUnlimitedNaturalMany

      public void removeFromAMinUnlimitedNaturalMany(Integer aMinUnlimitedNaturalMany)
    • removeFromAMinUnlimitedNaturalMany

      public void removeFromAMinUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aMinUnlimitedNaturalMany)
    • removeFromARangeIntegerMany

      public void removeFromARangeIntegerMany(Integer aRangeIntegerMany)
    • removeFromARangeIntegerMany

      public void removeFromARangeIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aRangeIntegerMany)
    • removeFromARangeRealMany

      public void removeFromARangeRealMany(Double aRangeRealMany)
    • removeFromARangeRealMany

      public void removeFromARangeRealMany(org.umlg.runtime.collection.UmlgSet<Double> aRangeRealMany)
    • removeFromARangeUnlimitedNaturalMany

      public void removeFromARangeUnlimitedNaturalMany(Integer aRangeUnlimitedNaturalMany)
    • removeFromARangeUnlimitedNaturalMany

      public void removeFromARangeUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aRangeUnlimitedNaturalMany)
    • setAMaxIntegerMany

      public void setAMaxIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aMaxIntegerMany)
    • setAMaxRealMany

      public void setAMaxRealMany(org.umlg.runtime.collection.UmlgSet<Double> aMaxRealMany)
    • setAMaxUnlimitedNaturalMany

      public void setAMaxUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aMaxUnlimitedNaturalMany)
    • setAMinIntegerMany

      public void setAMinIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aMinIntegerMany)
    • setAMinRealMany

      public void setAMinRealMany(org.umlg.runtime.collection.UmlgSet<Double> aMinRealMany)
    • setAMinUnlimitedNaturalMany

      public void setAMinUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aMinUnlimitedNaturalMany)
    • setARangeIntegerMany

      public void setARangeIntegerMany(org.umlg.runtime.collection.UmlgSet<Integer> aRangeIntegerMany)
    • setARangeRealMany

      public void setARangeRealMany(org.umlg.runtime.collection.UmlgSet<Double> aRangeRealMany)
    • setARangeUnlimitedNaturalMany

      public void setARangeUnlimitedNaturalMany(org.umlg.runtime.collection.UmlgSet<Integer> aRangeUnlimitedNaturalMany)
    • 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
    • validateAMaxIntegerMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMaxIntegerMany(Integer aMaxIntegerMany)
    • validateAMaxRealMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMaxRealMany(Double aMaxRealMany)
    • validateAMaxUnlimitedNaturalMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMaxUnlimitedNaturalMany(Integer aMaxUnlimitedNaturalMany)
    • validateAMinIntegerMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMinIntegerMany(Integer aMinIntegerMany)
    • validateAMinRealMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMinRealMany(Double aMinRealMany)
    • validateAMinUnlimitedNaturalMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMinUnlimitedNaturalMany(Integer aMinUnlimitedNaturalMany)
    • validateARangeIntegerMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateARangeIntegerMany(Integer aRangeIntegerMany)
    • validateARangeRealMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateARangeRealMany(Double aRangeRealMany)
    • validateARangeUnlimitedNaturalMany

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateARangeUnlimitedNaturalMany(Integer aRangeUnlimitedNaturalMany)
    • 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