Package org.umlg.validation
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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.umlg.runtime.domain.BaseUmlg
hasInitBeenCalled, vertex -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor for TestValidationTestValidation(Boolean persistent)constructor for TestValidationTestValidation(Object id)constructor for TestValidationTestValidation(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for TestValidation -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToAMaxInteger(Integer aMaxInteger)voidaddToAMaxIntegerIgnoreInverse(Integer aMaxInteger)voidaddToAMaxReal(Double aMaxReal)voidaddToAMaxRealIgnoreInverse(Double aMaxReal)voidaddToAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)voidaddToAMaxUnlimitedNaturalIgnoreInverse(Integer aMaxUnlimitedNatural)voidaddToAMinInteger(Integer aMinInteger)voidaddToAMinIntegerIgnoreInverse(Integer aMinInteger)voidaddToAMinReal(Double aMinReal)voidaddToAMinRealIgnoreInverse(Double aMinReal)voidaddToAMinUnlimitedNatural(Integer aMinUnlimitedNatural)voidaddToAMinUnlimitedNaturalIgnoreInverse(Integer aMinUnlimitedNatural)voidaddToARangeInteger(Integer aRangeInteger)voidaddToARangeIntegerIgnoreInverse(Integer aRangeInteger)voidaddToARangeReal(Double aRangeReal)voidaddToARangeRealIgnoreInverse(Double aRangeReal)voidaddToARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)voidaddToARangeUnlimitedNaturalIgnoreInverse(Integer aRangeUnlimitedNatural)voidaddToTestUnlimitedNatural(Integer testUnlimitedNatural)voidaddToTestUnlimitedNaturalIgnoreInverse(Integer testUnlimitedNatural)static org.umlg.runtime.collection.UmlgSet<? extends TestValidation>static org.umlg.runtime.collection.UmlgSet<? extends TestValidation>allInstances(org.umlg.runtime.collection.Filter filter)List<org.umlg.runtime.validation.UmlgConstraintViolation>voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoiddelete()voidvoidvoidfromJsonDataTypeAndComposite(Map<String,Object> propertyMap)voidfromJsonNonCompositeOne(Map<String,Object> propertyMap)voidfromJsonNonCompositeRequiredMany(Map<String,Object> propertyMap)org.umlg.runtime.domain.UmlgNodeList<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 qualifierintgetSize(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 ordergetUid()booleanvoidvoidinitialiseProperties(boolean loaded)boolean properties' default values are initialized in the constructor via z_internalBooleanPropertiesvoidinitialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)voidorg.umlg.runtime.collection.UmlgRuntimePropertyinverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)booleanvoidremoveFromAMaxInteger(Integer aMaxInteger)voidremoveFromAMaxInteger(org.umlg.runtime.collection.UmlgSet<Integer> aMaxInteger)voidremoveFromAMaxReal(Double aMaxReal)voidremoveFromAMaxReal(org.umlg.runtime.collection.UmlgSet<Double> aMaxReal)voidremoveFromAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)voidremoveFromAMaxUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aMaxUnlimitedNatural)voidremoveFromAMinInteger(Integer aMinInteger)voidremoveFromAMinInteger(org.umlg.runtime.collection.UmlgSet<Integer> aMinInteger)voidremoveFromAMinReal(Double aMinReal)voidremoveFromAMinReal(org.umlg.runtime.collection.UmlgSet<Double> aMinReal)voidremoveFromAMinUnlimitedNatural(Integer aMinUnlimitedNatural)voidremoveFromAMinUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aMinUnlimitedNatural)voidremoveFromARangeInteger(Integer aRangeInteger)voidremoveFromARangeInteger(org.umlg.runtime.collection.UmlgSet<Integer> aRangeInteger)voidremoveFromARangeReal(Double aRangeReal)voidremoveFromARangeReal(org.umlg.runtime.collection.UmlgSet<Double> aRangeReal)voidremoveFromARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)voidremoveFromARangeUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aRangeUnlimitedNatural)voidremoveFromTestUnlimitedNatural(Integer testUnlimitedNatural)voidremoveFromTestUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> testUnlimitedNatural)voidsetAMaxInteger(Integer aMaxInteger)voidsetAMaxReal(Double aMaxReal)voidsetAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)voidsetAMinInteger(Integer aMinInteger)voidsetAMinReal(Double aMinReal)voidsetAMinUnlimitedNatural(Integer aMinUnlimitedNatural)voidsetARangeInteger(Integer aRangeInteger)voidsetARangeReal(Double aRangeReal)voidsetARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)voidsetTestUnlimitedNatural(Integer testUnlimitedNatural)toJson()deep indicates that components also be serialized.deep indicates that components also be serialized.List<org.umlg.runtime.validation.UmlgConstraintViolation>validateAMaxInteger(Integer aMaxInteger)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateAMaxReal(Double aMaxReal)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateAMaxUnlimitedNatural(Integer aMaxUnlimitedNatural)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateAMinInteger(Integer aMinInteger)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateAMinReal(Double aMinReal)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateAMinUnlimitedNatural(Integer aMinUnlimitedNatural)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateARangeInteger(Integer aRangeInteger)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateARangeReal(Double aRangeReal)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateARangeUnlimitedNatural(Integer aRangeUnlimitedNatural)List<org.umlg.runtime.validation.UmlgConstraintViolation>List<org.umlg.runtime.validation.UmlgConstraintViolation>validateTestUnlimitedNatural(Integer testUnlimitedNatural)voidz_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)voidz_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)Set<org.umlg.runtime.collection.UmlgRuntimeProperty>Set<org.umlg.runtime.collection.UmlgRuntimeProperty>org.umlg.runtime.collection.UmlgCollection<? extends Object>z_internalGetCollectionFor(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse)org.umlg.runtime.collection.UmlgRuntimePropertyz_internalInverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)voidz_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)Methods inherited from class org.umlg.runtime.domain.BaseUmlgCompositionNode
getPathToCompositionalRootMethods 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, setVertexMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.umlg.runtime.domain.ocl.OclAny
equals, notEquals, oclAsType, oclIsInState, oclIsInvalid, oclIsKindOf, oclIsNew, oclIsTypeOf, oclIsUndefined, oclLocale, oclTypeMethods inherited from interface org.umlg.runtime.domain.PersistentObject
doBeforeCommit, getIdMethods inherited from interface org.umlg.runtime.domain.UmlgNode
asSet, getEdge, getPathToCompositionalRoot, getVertex, setEdge
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
- Constant Field Values
-
-
Constructor Details
-
TestValidation
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
constructor for TestValidation- Parameters:
persistent-
-
-
Method Details
-
addToAMaxInteger
-
addToAMaxIntegerIgnoreInverse
-
addToAMaxReal
-
addToAMaxRealIgnoreInverse
-
addToAMaxUnlimitedNatural
-
addToAMaxUnlimitedNaturalIgnoreInverse
-
addToAMinInteger
-
addToAMinIntegerIgnoreInverse
-
addToAMinReal
-
addToAMinRealIgnoreInverse
-
addToAMinUnlimitedNatural
-
addToAMinUnlimitedNaturalIgnoreInverse
-
addToARangeInteger
-
addToARangeIntegerIgnoreInverse
-
addToARangeReal
-
addToARangeRealIgnoreInverse
-
addToARangeUnlimitedNatural
-
addToARangeUnlimitedNaturalIgnoreInverse
-
addToTestUnlimitedNatural
-
addToTestUnlimitedNaturalIgnoreInverse
-
allInstances
public static org.umlg.runtime.collection.UmlgSet<? extends TestValidation> allInstances(org.umlg.runtime.collection.Filter filter) -
allInstances
-
checkClassConstraints
- Specified by:
checkClassConstraintsin interfaceorg.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:
deletein interfaceorg.umlg.runtime.domain.UmlgNode
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject
-
fromJsonDataTypeAndComposite
- Specified by:
fromJsonDataTypeAndCompositein interfaceorg.umlg.runtime.domain.PersistentObject
-
fromJsonNonCompositeOne
- Specified by:
fromJsonNonCompositeOnein interfaceorg.umlg.runtime.domain.PersistentObject
-
fromJsonNonCompositeRequiredMany
- Specified by:
fromJsonNonCompositeRequiredManyin interfaceorg.umlg.runtime.domain.PersistentObject
-
getAMaxInteger
-
getAMaxReal
-
getAMaxUnlimitedNatural
-
getAMinInteger
-
getAMinReal
-
getAMinUnlimitedNatural
-
getARangeInteger
-
getARangeReal
-
getARangeUnlimitedNatural
-
getMetaDataAsJson
- Specified by:
getMetaDataAsJsonin interfaceorg.umlg.runtime.domain.PersistentObject
-
getOwningObject
public org.umlg.runtime.domain.UmlgNode getOwningObject()- Specified by:
getOwningObjectin interfaceorg.umlg.runtime.domain.CompositionNode- Specified by:
getOwningObjectin interfaceorg.umlg.runtime.domain.UmlgNode
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceorg.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:
getQualifiersin interfaceorg.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:
getSizein interfaceorg.umlg.runtime.domain.UmlgNode- Parameters:
inverse-tumlRuntimeProperty-
-
getTestUnlimitedNatural
-
getUid
- Specified by:
getUidin interfaceorg.umlg.runtime.domain.PersistentObject
-
hasOnlyOneCompositeParent
public boolean hasOnlyOneCompositeParent()- Specified by:
hasOnlyOneCompositeParentin interfaceorg.umlg.runtime.domain.UmlgNode
-
initDataTypeVariablesWithDefaultValues
public void initDataTypeVariablesWithDefaultValues() -
initVariables
public void initVariables()- Specified by:
initVariablesin interfaceorg.umlg.runtime.domain.UmlgNode
-
initialiseProperties
public void initialiseProperties(boolean loaded)boolean properties' default values are initialized in the constructor via z_internalBooleanProperties- Specified by:
initialisePropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Parameters:
loaded-
-
initialiseProperty
public void initialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)- Specified by:
initialisePropertyin interfaceorg.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:
inverseAdderin interfaceorg.umlg.runtime.domain.UmlgNode
-
isTinkerRoot
public boolean isTinkerRoot()- Specified by:
isTinkerRootin interfaceorg.umlg.runtime.domain.UmlgNode
-
removeFromAMaxInteger
-
removeFromAMaxInteger
-
removeFromAMaxReal
-
removeFromAMaxReal
-
removeFromAMaxUnlimitedNatural
-
removeFromAMaxUnlimitedNatural
public void removeFromAMaxUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aMaxUnlimitedNatural) -
removeFromAMinInteger
-
removeFromAMinInteger
-
removeFromAMinReal
-
removeFromAMinReal
-
removeFromAMinUnlimitedNatural
-
removeFromAMinUnlimitedNatural
public void removeFromAMinUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aMinUnlimitedNatural) -
removeFromARangeInteger
-
removeFromARangeInteger
-
removeFromARangeReal
-
removeFromARangeReal
-
removeFromARangeUnlimitedNatural
-
removeFromARangeUnlimitedNatural
public void removeFromARangeUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> aRangeUnlimitedNatural) -
removeFromTestUnlimitedNatural
-
removeFromTestUnlimitedNatural
public void removeFromTestUnlimitedNatural(org.umlg.runtime.collection.UmlgSet<Integer> testUnlimitedNatural) -
setAMaxInteger
-
setAMaxReal
-
setAMaxUnlimitedNatural
-
setAMinInteger
-
setAMinReal
-
setAMinUnlimitedNatural
-
setARangeInteger
-
setARangeReal
-
setARangeUnlimitedNatural
-
setTestUnlimitedNatural
-
toJson
deep indicates that components also be serialized.- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Parameters:
deep-
-
toJson
- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.UmlgEnum
-
toJsonWithoutCompositeParent
deep indicates that components also be serialized.- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Parameters:
deep-
-
toJsonWithoutCompositeParent
- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject
-
validateAMaxInteger
-
validateAMaxReal
-
validateAMaxUnlimitedNatural
-
validateAMinInteger
-
validateAMinReal
-
validateAMinUnlimitedNatural
-
validateARangeInteger
-
validateARangeReal
-
validateARangeUnlimitedNatural
-
validateMultiplicities
- Specified by:
validateMultiplicitiesin interfaceorg.umlg.runtime.domain.UmlgNode
-
validateTestUnlimitedNatural
-
z_internalAddPersistentValueToCollection
public void z_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)- Specified by:
z_internalAddPersistentValueToCollectionin interfaceorg.umlg.runtime.domain.UmlgNode
-
z_internalAddToCollection
public void z_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)- Specified by:
z_internalAddToCollectionin interfaceorg.umlg.runtime.domain.UmlgNode
-
z_internalBooleanProperties
- Specified by:
z_internalBooleanPropertiesin interfaceorg.umlg.runtime.domain.UmlgNode
-
z_internalDataTypeProperties
- Specified by:
z_internalDataTypePropertiesin interfaceorg.umlg.runtime.domain.UmlgNode
-
z_internalDataTypePropertiesWithDefaultValues
public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,Object> z_internalDataTypePropertiesWithDefaultValues()- Specified by:
z_internalDataTypePropertiesWithDefaultValuesin interfaceorg.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_internalGetCollectionForin interfaceorg.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_internalInverseAdderin interfaceorg.umlg.runtime.domain.UmlgNode
-
z_internalMarkCollectionLoaded
public void z_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)- Specified by:
z_internalMarkCollectionLoadedin interfaceorg.umlg.runtime.domain.UmlgNode
-