Class TestValidation

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

    • TestValidation

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

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

      public TestValidation()
      default constructor for TestValidation
    • TestValidation

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

    • addToAMaxInteger

      public void addToAMaxInteger(Integer aMaxInteger)
    • addToAMaxIntegerIgnoreInverse

      public void addToAMaxIntegerIgnoreInverse(Integer aMaxInteger)
    • addToAMaxReal

      public void addToAMaxReal(Double aMaxReal)
    • addToAMaxRealIgnoreInverse

      public void addToAMaxRealIgnoreInverse(Double aMaxReal)
    • addToAMaxUnlimitedNatural

      public void addToAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)
    • addToAMaxUnlimitedNaturalIgnoreInverse

      public void addToAMaxUnlimitedNaturalIgnoreInverse(Integer aMaxUnlimitedNatural)
    • addToAMinInteger

      public void addToAMinInteger(Integer aMinInteger)
    • addToAMinIntegerIgnoreInverse

      public void addToAMinIntegerIgnoreInverse(Integer aMinInteger)
    • addToAMinReal

      public void addToAMinReal(Double aMinReal)
    • addToAMinRealIgnoreInverse

      public void addToAMinRealIgnoreInverse(Double aMinReal)
    • addToAMinUnlimitedNatural

      public void addToAMinUnlimitedNatural(Integer aMinUnlimitedNatural)
    • addToAMinUnlimitedNaturalIgnoreInverse

      public void addToAMinUnlimitedNaturalIgnoreInverse(Integer aMinUnlimitedNatural)
    • addToARangeInteger

      public void addToARangeInteger(Integer aRangeInteger)
    • addToARangeIntegerIgnoreInverse

      public void addToARangeIntegerIgnoreInverse(Integer aRangeInteger)
    • addToARangeReal

      public void addToARangeReal(Double aRangeReal)
    • addToARangeRealIgnoreInverse

      public void addToARangeRealIgnoreInverse(Double aRangeReal)
    • addToARangeUnlimitedNatural

      public void addToARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)
    • addToARangeUnlimitedNaturalIgnoreInverse

      public void addToARangeUnlimitedNaturalIgnoreInverse(Integer aRangeUnlimitedNatural)
    • addToTestUnlimitedNatural

      public void addToTestUnlimitedNatural(Integer testUnlimitedNatural)
    • addToTestUnlimitedNaturalIgnoreInverse

      public void addToTestUnlimitedNaturalIgnoreInverse(Integer testUnlimitedNatural)
    • allInstances

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

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

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

      public void clearAMaxInteger()
    • clearAMaxReal

      public void clearAMaxReal()
    • clearAMaxUnlimitedNatural

      public void clearAMaxUnlimitedNatural()
    • clearAMinInteger

      public void clearAMinInteger()
    • clearAMinReal

      public void clearAMinReal()
    • clearAMinUnlimitedNatural

      public void clearAMinUnlimitedNatural()
    • clearARangeInteger

      public void clearARangeInteger()
    • clearARangeReal

      public void clearARangeReal()
    • clearARangeUnlimitedNatural

      public void clearARangeUnlimitedNatural()
    • clearTestUnlimitedNatural

      public void clearTestUnlimitedNatural()
    • 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
    • getAMaxInteger

      public Integer getAMaxInteger()
    • getAMaxReal

      public Double getAMaxReal()
    • getAMaxUnlimitedNatural

      public Integer getAMaxUnlimitedNatural()
    • getAMinInteger

      public Integer getAMinInteger()
    • getAMinReal

      public Double getAMinReal()
    • getAMinUnlimitedNatural

      public Integer getAMinUnlimitedNatural()
    • getARangeInteger

      public Integer getARangeInteger()
    • getARangeReal

      public Double getARangeReal()
    • getARangeUnlimitedNatural

      public Integer getARangeUnlimitedNatural()
    • 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 -
    • getTestUnlimitedNatural

      public Integer getTestUnlimitedNatural()
    • 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
    • removeFromAMaxInteger

      public void removeFromAMaxInteger(Integer aMaxInteger)
    • removeFromAMaxInteger

      public void removeFromAMaxInteger(org.umlg.runtime.collection.UmlgSet<Integer> aMaxInteger)
    • removeFromAMaxReal

      public void removeFromAMaxReal(Double aMaxReal)
    • removeFromAMaxReal

      public void removeFromAMaxReal(org.umlg.runtime.collection.UmlgSet<Double> aMaxReal)
    • removeFromAMaxUnlimitedNatural

      public void removeFromAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)
    • removeFromAMaxUnlimitedNatural

      public void removeFromAMaxUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aMaxUnlimitedNatural)
    • removeFromAMinInteger

      public void removeFromAMinInteger(Integer aMinInteger)
    • removeFromAMinInteger

      public void removeFromAMinInteger(org.umlg.runtime.collection.UmlgSet<Integer> aMinInteger)
    • removeFromAMinReal

      public void removeFromAMinReal(Double aMinReal)
    • removeFromAMinReal

      public void removeFromAMinReal(org.umlg.runtime.collection.UmlgSet<Double> aMinReal)
    • removeFromAMinUnlimitedNatural

      public void removeFromAMinUnlimitedNatural(Integer aMinUnlimitedNatural)
    • removeFromAMinUnlimitedNatural

      public void removeFromAMinUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aMinUnlimitedNatural)
    • removeFromARangeInteger

      public void removeFromARangeInteger(Integer aRangeInteger)
    • removeFromARangeInteger

      public void removeFromARangeInteger(org.umlg.runtime.collection.UmlgSet<Integer> aRangeInteger)
    • removeFromARangeReal

      public void removeFromARangeReal(Double aRangeReal)
    • removeFromARangeReal

      public void removeFromARangeReal(org.umlg.runtime.collection.UmlgSet<Double> aRangeReal)
    • removeFromARangeUnlimitedNatural

      public void removeFromARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)
    • removeFromARangeUnlimitedNatural

      public void removeFromARangeUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aRangeUnlimitedNatural)
    • removeFromTestUnlimitedNatural

      public void removeFromTestUnlimitedNatural(Integer testUnlimitedNatural)
    • removeFromTestUnlimitedNatural

      public void removeFromTestUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> testUnlimitedNatural)
    • setAMaxInteger

      public void setAMaxInteger(Integer aMaxInteger)
    • setAMaxReal

      public void setAMaxReal(Double aMaxReal)
    • setAMaxUnlimitedNatural

      public void setAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)
    • setAMinInteger

      public void setAMinInteger(Integer aMinInteger)
    • setAMinReal

      public void setAMinReal(Double aMinReal)
    • setAMinUnlimitedNatural

      public void setAMinUnlimitedNatural(Integer aMinUnlimitedNatural)
    • setARangeInteger

      public void setARangeInteger(Integer aRangeInteger)
    • setARangeReal

      public void setARangeReal(Double aRangeReal)
    • setARangeUnlimitedNatural

      public void setARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)
    • setTestUnlimitedNatural

      public void setTestUnlimitedNatural(Integer testUnlimitedNatural)
    • 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
    • validateAMaxInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMaxInteger(Integer aMaxInteger)
    • validateAMaxReal

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMaxReal(Double aMaxReal)
    • validateAMaxUnlimitedNatural

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)
    • validateAMinInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMinInteger(Integer aMinInteger)
    • validateAMinReal

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMinReal(Double aMinReal)
    • validateAMinUnlimitedNatural

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAMinUnlimitedNatural(Integer aMinUnlimitedNatural)
    • validateARangeInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateARangeInteger(Integer aRangeInteger)
    • validateARangeReal

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateARangeReal(Double aRangeReal)
    • validateARangeUnlimitedNatural

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)
    • validateMultiplicities

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

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