Package org.umlg.concretetest
Class Universe
java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.BaseModelUmlg
org.umlg.query.BaseUmlgWithQuery
org.umlg.concretetest.Universe
- 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
- See Also:
- Serialized Form
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.umlg.query.BaseUmlgWithQuery
BaseUmlgWithQuery.BaseUmlgWithQueryRuntimePropertyEnumNested classes/interfaces inherited from class org.umlg.BaseModelUmlg
BaseModelUmlg.BaseModelUmlgRuntimePropertyEnum -
Field Summary
FieldsFields inherited from class org.umlg.runtime.domain.BaseUmlg
hasInitBeenCalled, vertex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToAngel(Angel angel)voidaddToAngelIgnoreInverse(Angel angel)voidaddToDemon(Demon demon)voidaddToDemon(org.umlg.runtime.collection.UmlgSet<Demon> demon)voidaddToDemonIgnoreInverse(Demon demon)voidaddToEmail(String email)voidaddToEmailIgnoreInverse(String email)voidvoidaddToGodIgnoreInverse(God god)voidvoidaddToMaxIgnoreInverse(Integer max)voidaddToMaxLength(String maxLength)voidaddToMaxLengthIgnoreInverse(String maxLength)voidvoidaddToMinIgnoreInverse(Integer min)voidvoidaddToNameIgnoreInverse(String name)voidaddToNonNavigableMany(NonNavigableMany nonNavigableMany)voidaddToNonNavigableMany(org.umlg.runtime.collection.UmlgSet<NonNavigableMany> nonNavigableMany)voidaddToNonNavigableManyIgnoreInverse(NonNavigableMany nonNavigableMany)voidaddToNonNavigableOne(NonNavigableOne nonNavigableOne)voidaddToNonNavigableOneIgnoreInverse(NonNavigableOne nonNavigableOne)voidaddToRange(Integer range)voidaddToRangeIgnoreInverse(Integer range)voidaddToRangeLength(String rangeLength)voidaddToRangeLengthIgnoreInverse(String rangeLength)voidaddToSpaceTime(SpaceTime spaceTime)voidaddToSpaceTimeIgnoreInverse(SpaceTime spaceTime)voidaddToTestMinLength(String testMinLength)voidaddToTestMinLengthIgnoreInverse(String testMinLength)static org.umlg.runtime.collection.UmlgSet<? extends Universe>static org.umlg.runtime.collection.UmlgSet<? extends Universe>allInstances(org.umlg.runtime.collection.Filter filter)List<org.umlg.runtime.validation.UmlgConstraintViolation>voidvoidvoidvoidclearGod()voidclearMax()voidvoidclearMin()voidvoidvoidvoidvoidvoidvoidvoiddelete()voidvoidvoidfromJsonDataTypeAndComposite(Map<String,Object> propertyMap)voidfromJsonNonCompositeOne(Map<String,Object> propertyMap)voidfromJsonNonCompositeRequiredMany(Map<String,Object> propertyMap)getAngel()org.umlg.runtime.collection.UmlgSet<Demon>getDemon()getEmail()getGod()getMax()getMin()getName()org.umlg.runtime.collection.UmlgSet<NonNavigableMany>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 qualifiergetRange()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 orderbooleanvoidvoidinitialiseProperties(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)booleanorg.umlg.runtime.collection.UmlgSet<Angel>org.umlg.runtime.collection.UmlgSet<Demon>org.umlg.runtime.collection.UmlgSet<NonNavigableMany>org.umlg.runtime.collection.UmlgSet<NonNavigableOne>voidremoveFromAngel(Angel angel)voidremoveFromAngel(org.umlg.runtime.collection.UmlgSet<Angel> angel)voidremoveFromDemon(Demon demon)voidremoveFromDemon(org.umlg.runtime.collection.UmlgSet<Demon> demon)voidremoveFromEmail(String email)voidremoveFromEmail(org.umlg.runtime.collection.UmlgSet<String> email)voidremoveFromGod(God god)voidremoveFromGod(org.umlg.runtime.collection.UmlgSet<God> god)voidremoveFromMax(Integer max)voidremoveFromMax(org.umlg.runtime.collection.UmlgSet<Integer> max)voidremoveFromMaxLength(String maxLength)voidremoveFromMaxLength(org.umlg.runtime.collection.UmlgSet<String> maxLength)voidremoveFromMin(Integer min)voidremoveFromMin(org.umlg.runtime.collection.UmlgSet<Integer> min)voidremoveFromName(String name)voidremoveFromName(org.umlg.runtime.collection.UmlgSet<String> name)voidremoveFromNonNavigableMany(NonNavigableMany nonNavigableMany)voidremoveFromNonNavigableMany(org.umlg.runtime.collection.UmlgSet<NonNavigableMany> nonNavigableMany)voidremoveFromNonNavigableOne(NonNavigableOne nonNavigableOne)voidremoveFromNonNavigableOne(org.umlg.runtime.collection.UmlgSet<NonNavigableOne> nonNavigableOne)voidremoveFromRange(Integer range)voidremoveFromRange(org.umlg.runtime.collection.UmlgSet<Integer> range)voidremoveFromRangeLength(String rangeLength)voidremoveFromRangeLength(org.umlg.runtime.collection.UmlgSet<String> rangeLength)voidremoveFromSpaceTime(SpaceTime spaceTime)voidremoveFromSpaceTime(org.umlg.runtime.collection.UmlgSet<SpaceTime> spaceTime)voidremoveFromTestMinLength(String testMinLength)voidremoveFromTestMinLength(org.umlg.runtime.collection.UmlgSet<String> testMinLength)voidvoidvoidvoidvoidvoidsetMaxLength(String maxLength)voidvoidvoidsetNonNavigableMany(org.umlg.runtime.collection.UmlgSet<NonNavigableMany> nonNavigableMany)voidsetNonNavigableOne(NonNavigableOne nonNavigableOne)voidvoidsetRangeLength(String rangeLength)voidsetSpaceTime(SpaceTime spaceTime)voidsetTestMinLength(String testMinLength)toJson()deep indicates that components also be serialized.deep indicates that components also be serialized.List<org.umlg.runtime.validation.UmlgConstraintViolation>validateEmail(String email)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateMax(Integer max)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateMaxLength(String maxLength)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateMin(Integer min)List<org.umlg.runtime.validation.UmlgConstraintViolation>List<org.umlg.runtime.validation.UmlgConstraintViolation>validateName(String name)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateRange(Integer range)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateRangeLength(String rangeLength)List<org.umlg.runtime.validation.UmlgConstraintViolation>validateTestMinLength(String testMinLength)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.BaseModelUmlg
addToCreatedOn, addToCreatedOnIgnoreInverse, addToTag, addToTag, addToTagIgnoreInverse, addToUpdatedOn, addToUpdatedOnIgnoreInverse, clearCreatedOn, clearTag, clearUpdatedOn, getCreatedOn, getTag, getUid, getUpdatedOn, lookupFor_baseUmlg_tag, removeFromCreatedOn, removeFromCreatedOn, removeFromTag, removeFromTag, removeFromUpdatedOn, removeFromUpdatedOn, setCreatedOn, setTag, setUpdatedOn, validateCreatedOn, validateUpdatedOnMethods 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, getId, getUidMethods 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
-
Universe
constructor for Universe- Parameters:
compositeOwner-
-
Universe
constructor for Universe- Parameters:
id-
-
Universe
public Universe(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for Universe- Parameters:
vertex-
-
Universe
public Universe()default constructor for Universe -
Universe
constructor for Universe- Parameters:
persistent-
-
-
Method Details
-
addToAngel
-
addToAngelIgnoreInverse
-
addToDemon
-
addToDemon
-
addToDemonIgnoreInverse
-
addToEmail
-
addToEmailIgnoreInverse
-
addToGod
-
addToGodIgnoreInverse
-
addToMax
-
addToMaxIgnoreInverse
-
addToMaxLength
-
addToMaxLengthIgnoreInverse
-
addToMin
-
addToMinIgnoreInverse
-
addToName
-
addToNameIgnoreInverse
-
addToRange
-
addToRangeIgnoreInverse
-
addToRangeLength
-
addToRangeLengthIgnoreInverse
-
addToSpaceTime
-
addToSpaceTimeIgnoreInverse
-
addToTestMinLength
-
addToTestMinLengthIgnoreInverse
-
allInstances
public static org.umlg.runtime.collection.UmlgSet<? extends Universe> allInstances(org.umlg.runtime.collection.Filter filter) -
allInstances
-
checkClassConstraints
- Specified by:
checkClassConstraintsin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
checkClassConstraintsin classBaseUmlgWithQuery
-
clearAngel
public void clearAngel() -
clearDemon
public void clearDemon() -
clearEmail
public void clearEmail() -
clearGod
public void clearGod() -
clearMax
public void clearMax() -
clearMaxLength
public void clearMaxLength() -
clearMin
public void clearMin() -
clearName
public void clearName() -
clearRange
public void clearRange() -
clearRangeLength
public void clearRangeLength() -
clearSpaceTime
public void clearSpaceTime() -
clearTestMinLength
public void clearTestMinLength() -
delete
public void delete()- Specified by:
deletein interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
deletein classBaseUmlgWithQuery
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonin classBaseUmlgWithQuery
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonin classBaseUmlgWithQuery
-
fromJsonDataTypeAndComposite
- Specified by:
fromJsonDataTypeAndCompositein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonDataTypeAndCompositein classBaseUmlgWithQuery
-
fromJsonNonCompositeOne
- Specified by:
fromJsonNonCompositeOnein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeOnein classBaseUmlgWithQuery
-
fromJsonNonCompositeRequiredMany
- Specified by:
fromJsonNonCompositeRequiredManyin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeRequiredManyin classBaseUmlgWithQuery
-
getAngel
-
getDemon
-
getEmail
-
getGod
-
getMax
-
getMaxLength
-
getMetaDataAsJson
- Specified by:
getMetaDataAsJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
getMetaDataAsJsonin classBaseUmlgWithQuery
-
getMin
-
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- Overrides:
getOwningObjectin classBaseUmlgWithQuery
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceorg.umlg.runtime.domain.UmlgEnum- Overrides:
getQualifiedNamein classBaseUmlgWithQuery
-
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- Overrides:
getQualifiersin classBaseUmlgWithQuery- Parameters:
tumlRuntimeProperty-node-inverse-
-
getRange
-
getRangeLength
-
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- Overrides:
getSizein classBaseUmlgWithQuery- Parameters:
inverse-tumlRuntimeProperty-
-
getSpaceTime
-
getTestMinLength
-
hasOnlyOneCompositeParent
public boolean hasOnlyOneCompositeParent()- Specified by:
hasOnlyOneCompositeParentin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
hasOnlyOneCompositeParentin classBaseUmlgWithQuery
-
initDataTypeVariablesWithDefaultValues
public void initDataTypeVariablesWithDefaultValues()- Overrides:
initDataTypeVariablesWithDefaultValuesin classBaseUmlgWithQuery
-
initVariables
public void initVariables()- Specified by:
initVariablesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
initVariablesin classBaseUmlgWithQuery
-
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- Overrides:
initialisePropertiesin classBaseUmlgWithQuery- Parameters:
loaded-
-
initialiseProperty
public void initialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)- Specified by:
initialisePropertyin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
initialisePropertyin classBaseUmlgWithQuery
-
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- Overrides:
inverseAdderin classBaseUmlgWithQuery
-
isTinkerRoot
public boolean isTinkerRoot()- Specified by:
isTinkerRootin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
isTinkerRootin classBaseUmlgWithQuery
-
lookupFor_universe_angel
-
lookupFor_universe_demon
-
removeFromAngel
-
removeFromAngel
-
removeFromDemon
-
removeFromDemon
-
removeFromEmail
-
removeFromEmail
-
removeFromGod
-
removeFromGod
-
removeFromMax
-
removeFromMax
-
removeFromMaxLength
-
removeFromMaxLength
-
removeFromMin
-
removeFromMin
-
removeFromName
-
removeFromName
-
removeFromRange
-
removeFromRange
-
removeFromRangeLength
-
removeFromRangeLength
-
removeFromSpaceTime
-
removeFromSpaceTime
-
removeFromTestMinLength
-
removeFromTestMinLength
-
setAngel
-
setDemon
-
setEmail
-
setGod
-
setMax
-
setMaxLength
-
setMin
-
setName
-
setRange
-
setRangeLength
-
setSpaceTime
-
setTestMinLength
-
toJson
deep indicates that components also be serialized.- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonin classBaseUmlgWithQuery- Parameters:
deep-
-
toJson
- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.UmlgEnum- Overrides:
toJsonin classBaseUmlgWithQuery
-
toJsonWithoutCompositeParent
deep indicates that components also be serialized.- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classBaseUmlgWithQuery- Parameters:
deep-
-
toJsonWithoutCompositeParent
- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classBaseUmlgWithQuery
-
validateEmail
-
validateMax
-
validateMaxLength
-
validateMin
-
validateMultiplicities
- Specified by:
validateMultiplicitiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
validateMultiplicitiesin classBaseUmlgWithQuery
-
validateName
-
validateRange
-
validateRangeLength
-
validateTestMinLength
-
z_internalAddPersistentValueToCollection
public void z_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)- Specified by:
z_internalAddPersistentValueToCollectionin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalAddPersistentValueToCollectionin classBaseUmlgWithQuery
-
z_internalAddToCollection
public void z_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)- Specified by:
z_internalAddToCollectionin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalAddToCollectionin classBaseUmlgWithQuery
-
z_internalBooleanProperties
- Specified by:
z_internalBooleanPropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalBooleanPropertiesin classBaseUmlgWithQuery
-
z_internalDataTypeProperties
- Specified by:
z_internalDataTypePropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesin classBaseUmlgWithQuery
-
z_internalDataTypePropertiesWithDefaultValues
public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,Object> z_internalDataTypePropertiesWithDefaultValues()- Specified by:
z_internalDataTypePropertiesWithDefaultValuesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesWithDefaultValuesin classBaseUmlgWithQuery
-
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- Overrides:
z_internalGetCollectionForin classBaseUmlgWithQuery
-
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- Overrides:
z_internalInverseAdderin classBaseUmlgWithQuery
-
z_internalMarkCollectionLoaded
public void z_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)- Specified by:
z_internalMarkCollectionLoadedin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalMarkCollectionLoadedin classBaseUmlgWithQuery
-