Package org.umlg.collectiontest
Class SequenceRoot
java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.collectiontest.SequenceRoot
- 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 SequenceRoot
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 SequenceRootSequenceRoot(Boolean persistent)constructor for SequenceRootSequenceRoot(Object id)constructor for SequenceRootSequenceRoot(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for SequenceRoot -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddToNameIgnoreInverse(String name)voidaddToSequenceList2(int index, SequenceList2 sequenceList2)voidaddToSequenceList2(int index, org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2)voidaddToSequenceList2(SequenceList2 sequenceList2)voidaddToSequenceList2(org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2)voidaddToSequenceList2IgnoreInverse(SequenceList2 sequenceList2)voidaddToSequenceTest1(SequenceTest1 sequenceTest1)voidaddToSequenceTest1IgnoreInverse(SequenceTest1 sequenceTest1)voidaddToSequenceTestList(SequenceTestListOne sequenceTestList)voidaddToSequenceTestListIgnoreInverse(SequenceTestListOne sequenceTestList)voidaddToSequenceTestListMany(int index, SequenceTestListMany sequenceTestListMany)voidaddToSequenceTestListMany(int index, org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany)voidaddToSequenceTestListMany(SequenceTestListMany sequenceTestListMany)voidaddToSequenceTestListMany(org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany)voidaddToSequenceTestListManyIgnoreInverse(SequenceTestListMany sequenceTestListMany)voidaddToSequenceTestOrderedSet(int index, SequenceTestOrderedSet sequenceTestOrderedSet)voidaddToSequenceTestOrderedSet(int index, org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet)voidaddToSequenceTestOrderedSet(SequenceTestOrderedSet sequenceTestOrderedSet)voidaddToSequenceTestOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet)voidaddToSequenceTestOrderedSetIgnoreInverse(SequenceTestOrderedSet sequenceTestOrderedSet)static org.umlg.runtime.collection.UmlgSet<? extends SequenceRoot>static org.umlg.runtime.collection.UmlgSet<? extends SequenceRoot>allInstances(org.umlg.runtime.collection.Filter filter)List<org.umlg.runtime.validation.UmlgConstraintViolation>voidvoidvoidvoidvoidvoidvoiddelete()voidvoidvoidfromJsonDataTypeAndComposite(Map<String,Object> propertyMap)voidfromJsonNonCompositeOne(Map<String,Object> propertyMap)voidfromJsonNonCompositeRequiredMany(Map<String,Object> propertyMap)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 qualifierorg.umlg.runtime.collection.UmlgSequence<SequenceList2>org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany>org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet>intgetSize(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)booleanvoidremoveFromName(String name)voidremoveFromName(org.umlg.runtime.collection.UmlgSet<String> name)voidremoveFromSequenceList2(SequenceList2 sequenceList2)voidremoveFromSequenceList2(org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2)voidremoveFromSequenceTest1(SequenceTest1 sequenceTest1)voidremoveFromSequenceTest1(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTest1> sequenceTest1)voidremoveFromSequenceTestList(SequenceTestListOne sequenceTestList)voidremoveFromSequenceTestList(org.umlg.runtime.collection.UmlgSequence<SequenceTestListOne> sequenceTestList)voidremoveFromSequenceTestListMany(SequenceTestListMany sequenceTestListMany)voidremoveFromSequenceTestListMany(org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany)voidremoveFromSequenceTestOrderedSet(SequenceTestOrderedSet sequenceTestOrderedSet)voidremoveFromSequenceTestOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet)voidvoidsetSequenceList2(org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2)voidsetSequenceTest1(SequenceTest1 sequenceTest1)voidsetSequenceTestList(SequenceTestListOne sequenceTestList)voidsetSequenceTestListMany(org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany)voidsetSequenceTestOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet)toJson()deep indicates that components also be serialized.deep indicates that components also be serialized.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
-
SequenceRoot
constructor for SequenceRoot- Parameters:
id-
-
SequenceRoot
public SequenceRoot(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for SequenceRoot- Parameters:
vertex-
-
SequenceRoot
public SequenceRoot()default constructor for SequenceRoot -
SequenceRoot
constructor for SequenceRoot- Parameters:
persistent-
-
-
Method Details
-
addToName
-
addToNameIgnoreInverse
-
addToSequenceList2
-
addToSequenceList2
public void addToSequenceList2(org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2) -
addToSequenceList2
-
addToSequenceList2
public void addToSequenceList2(int index, org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2) -
addToSequenceList2IgnoreInverse
-
addToSequenceTest1
-
addToSequenceTest1IgnoreInverse
-
addToSequenceTestList
-
addToSequenceTestListIgnoreInverse
-
addToSequenceTestListMany
-
addToSequenceTestListMany
public void addToSequenceTestListMany(org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany) -
addToSequenceTestListMany
-
addToSequenceTestListMany
public void addToSequenceTestListMany(int index, org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany) -
addToSequenceTestListManyIgnoreInverse
-
addToSequenceTestOrderedSet
-
addToSequenceTestOrderedSet
public void addToSequenceTestOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet) -
addToSequenceTestOrderedSet
-
addToSequenceTestOrderedSet
public void addToSequenceTestOrderedSet(int index, org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet) -
addToSequenceTestOrderedSetIgnoreInverse
public void addToSequenceTestOrderedSetIgnoreInverse(SequenceTestOrderedSet sequenceTestOrderedSet) -
allInstances
public static org.umlg.runtime.collection.UmlgSet<? extends SequenceRoot> allInstances(org.umlg.runtime.collection.Filter filter) -
allInstances
-
checkClassConstraints
- Specified by:
checkClassConstraintsin interfaceorg.umlg.runtime.domain.UmlgNode
-
clearName
public void clearName() -
clearSequenceList2
public void clearSequenceList2() -
clearSequenceTest1
public void clearSequenceTest1() -
clearSequenceTestList
public void clearSequenceTestList() -
clearSequenceTestListMany
public void clearSequenceTestListMany() -
clearSequenceTestOrderedSet
public void clearSequenceTestOrderedSet() -
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
-
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-
-
getSequenceList2
-
getSequenceTest1
-
getSequenceTestList
-
getSequenceTestListMany
-
getSequenceTestOrderedSet
public org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> getSequenceTestOrderedSet() -
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()- 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
-
removeFromName
-
removeFromName
-
removeFromSequenceList2
-
removeFromSequenceList2
public void removeFromSequenceList2(org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2) -
removeFromSequenceTest1
-
removeFromSequenceTest1
public void removeFromSequenceTest1(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTest1> sequenceTest1) -
removeFromSequenceTestList
-
removeFromSequenceTestList
public void removeFromSequenceTestList(org.umlg.runtime.collection.UmlgSequence<SequenceTestListOne> sequenceTestList) -
removeFromSequenceTestListMany
-
removeFromSequenceTestListMany
public void removeFromSequenceTestListMany(org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany) -
removeFromSequenceTestOrderedSet
-
removeFromSequenceTestOrderedSet
public void removeFromSequenceTestOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet) -
setName
-
setSequenceList2
public void setSequenceList2(org.umlg.runtime.collection.UmlgSequence<SequenceList2> sequenceList2) -
setSequenceTest1
-
setSequenceTestList
-
setSequenceTestListMany
public void setSequenceTestListMany(org.umlg.runtime.collection.UmlgSequence<SequenceTestListMany> sequenceTestListMany) -
setSequenceTestOrderedSet
public void setSequenceTestOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<SequenceTestOrderedSet> sequenceTestOrderedSet) -
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
-
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
-