Package org.umlg.embeddedtest
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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.umlg.runtime.domain.BaseUmlg
hasInitBeenCalled, vertex -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor for TestEmbeddedTestEmbedded(Boolean persistent)constructor for TestEmbeddedTestEmbedded(Object id)constructor for TestEmbeddedTestEmbedded(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for TestEmbeddedTestEmbedded(God compositeOwner)constructor for TestEmbedded -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddToGodIgnoreInverse(God god)voidaddToManyBoolean(Boolean manyBoolean)voidaddToManyBoolean(org.umlg.runtime.collection.UmlgBag<Boolean> manyBoolean)voidaddToManyBooleanIgnoreInverse(Boolean manyBoolean)voidaddToManyOrderedRequiredInteger(int index, Integer manyOrderedRequiredInteger)voidaddToManyOrderedRequiredInteger(int index, org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)voidaddToManyOrderedRequiredInteger(Integer manyOrderedRequiredInteger)voidaddToManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)voidaddToManyOrderedRequiredIntegerIgnoreInverse(Integer manyOrderedRequiredInteger)voidaddToManyOrderedString(int index, String manyOrderedString)voidaddToManyOrderedString(int index, org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)voidaddToManyOrderedString(String manyOrderedString)voidaddToManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)voidaddToManyOrderedStringIgnoreInverse(String manyOrderedString)voidaddToManyRequiredOrderedUniqueString(int index, String manyRequiredOrderedUniqueString)voidaddToManyRequiredOrderedUniqueString(int index, org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)voidaddToManyRequiredOrderedUniqueString(String manyRequiredOrderedUniqueString)voidaddToManyRequiredOrderedUniqueString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)voidaddToManyRequiredOrderedUniqueStringIgnoreInverse(String manyRequiredOrderedUniqueString)voidvoidaddToNameIgnoreInverse(String name)static org.umlg.runtime.collection.UmlgSet<? extends TestEmbedded>static org.umlg.runtime.collection.UmlgSet<? extends TestEmbedded>allInstances(org.umlg.runtime.collection.Filter filter)List<org.umlg.runtime.validation.UmlgConstraintViolation>voidclearGod()voidvoidvoidvoidvoidvoiddelete()voidvoidvoidfromJsonDataTypeAndComposite(Map<String,Object> propertyMap)voidfromJsonNonCompositeOne(Map<String,Object> propertyMap)voidfromJsonNonCompositeRequiredMany(Map<String,Object> propertyMap)getGod()org.umlg.runtime.collection.UmlgBag<Boolean>org.umlg.runtime.collection.UmlgSequence<Integer>org.umlg.runtime.collection.UmlgOrderedSet<String>org.umlg.runtime.collection.UmlgOrderedSet<String>getName()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)voidImplements the ocl statement for initialization variable 'manyRequiredOrderedUniqueString'org.umlg.runtime.collection.UmlgRuntimePropertyinverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)booleanvoidremoveFromGod(God god)voidremoveFromGod(org.umlg.runtime.collection.UmlgSet<God> god)voidremoveFromManyBoolean(Boolean manyBoolean)voidremoveFromManyBoolean(org.umlg.runtime.collection.UmlgBag<Boolean> manyBoolean)voidremoveFromManyOrderedRequiredInteger(Integer manyOrderedRequiredInteger)voidremoveFromManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)voidremoveFromManyOrderedString(String manyOrderedString)voidremoveFromManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)voidremoveFromManyRequiredOrderedUniqueString(String manyRequiredOrderedUniqueString)voidremoveFromManyRequiredOrderedUniqueString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)voidremoveFromName(String name)voidremoveFromName(org.umlg.runtime.collection.UmlgSet<String> name)voidvoidsetManyBoolean(org.umlg.runtime.collection.UmlgBag<Boolean> manyBoolean)voidsetManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger)voidsetManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString)voidsetManyRequiredOrderedUniqueString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString)voidtoJson()deep indicates that components also be serialized.deep indicates that components also be serialized.List<org.umlg.runtime.validation.UmlgConstraintViolation>validateManyBoolean(Boolean manyBoolean)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateManyOrderedRequiredInteger(Integer manyOrderedRequiredInteger)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateManyOrderedString(String manyOrderedString)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateManyRequiredOrderedUniqueString(String manyRequiredOrderedUniqueString)List<org.umlg.runtime.validation.UmlgConstraintViolation>List<org.umlg.runtime.validation.UmlgConstraintViolation>validateName(String name)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, 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
-
TestEmbedded
constructor for TestEmbedded- Parameters:
compositeOwner-
-
TestEmbedded
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
constructor for TestEmbedded- Parameters:
persistent-
-
-
Method Details
-
addToGod
-
addToGodIgnoreInverse
-
addToManyBoolean
-
addToManyBoolean
-
addToManyBooleanIgnoreInverse
-
addToManyOrderedRequiredInteger
-
addToManyOrderedRequiredInteger
public void addToManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger) -
addToManyOrderedRequiredInteger
-
addToManyOrderedRequiredInteger
public void addToManyOrderedRequiredInteger(int index, org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger) -
addToManyOrderedRequiredIntegerIgnoreInverse
-
addToManyOrderedString
-
addToManyOrderedString
public void addToManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString) -
addToManyOrderedString
-
addToManyOrderedString
public void addToManyOrderedString(int index, org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString) -
addToManyOrderedStringIgnoreInverse
-
addToManyRequiredOrderedUniqueString
-
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
-
addToNameIgnoreInverse
-
allInstances
public static org.umlg.runtime.collection.UmlgSet<? extends TestEmbedded> allInstances(org.umlg.runtime.collection.Filter filter) -
allInstances
-
checkClassConstraints
- Specified by:
checkClassConstraintsin interfaceorg.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:
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
-
getGod
-
getManyBoolean
-
getManyOrderedRequiredInteger
-
getManyOrderedString
-
getManyRequiredOrderedUniqueString
-
getMetaDataAsJson
- Specified by:
getMetaDataAsJsonin interfaceorg.umlg.runtime.domain.PersistentObject
-
getName
- Overrides:
getNamein classorg.umlg.runtime.domain.BaseUmlg
-
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-
-
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()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:
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
-
removeFromGod
-
removeFromGod
-
removeFromManyBoolean
-
removeFromManyBoolean
-
removeFromManyOrderedRequiredInteger
-
removeFromManyOrderedRequiredInteger
public void removeFromManyOrderedRequiredInteger(org.umlg.runtime.collection.UmlgSequence<Integer> manyOrderedRequiredInteger) -
removeFromManyOrderedString
-
removeFromManyOrderedString
public void removeFromManyOrderedString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyOrderedString) -
removeFromManyRequiredOrderedUniqueString
-
removeFromManyRequiredOrderedUniqueString
public void removeFromManyRequiredOrderedUniqueString(org.umlg.runtime.collection.UmlgOrderedSet<String> manyRequiredOrderedUniqueString) -
removeFromName
-
removeFromName
-
setGod
-
setManyBoolean
-
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
-
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
-
validateManyBoolean
-
validateManyOrderedRequiredInteger
-
validateManyOrderedString
-
validateManyRequiredOrderedUniqueString
-
validateMultiplicities
- Specified by:
validateMultiplicitiesin interfaceorg.umlg.runtime.domain.UmlgNode
-
validateName
-
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
-