public abstract class BaseModelUmlg
extends org.umlg.runtime.domain.BaseUmlgCompositionNode
implements org.umlg.runtime.domain.CompositionNode
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseModelUmlg.BaseModelUmlgRuntimePropertyEnum |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
BaseModelUmlg()
default constructor for BaseModelUmlg
|
BaseModelUmlg(Boolean persistent)
constructor for BaseModelUmlg
|
BaseModelUmlg(Object id)
constructor for BaseModelUmlg
|
BaseModelUmlg(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
constructor for BaseModelUmlg
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCreatedOn(org.joda.time.DateTime createdOn) |
void |
addToCreatedOnIgnoreInverse(org.joda.time.DateTime createdOn) |
void |
addToTag(Tag tag) |
void |
addToTag(org.umlg.runtime.collection.UmlgSet<Tag> tag) |
void |
addToTagIgnoreInverse(Tag tag) |
void |
addToUpdatedOn(org.joda.time.DateTime updatedOn) |
void |
addToUpdatedOnIgnoreInverse(org.joda.time.DateTime updatedOn) |
static org.umlg.runtime.collection.UmlgSet<? extends BaseModelUmlg> |
allInstances() |
static org.umlg.runtime.collection.UmlgSet<? extends BaseModelUmlg> |
allInstances(org.umlg.runtime.collection.Filter filter) |
List<org.umlg.runtime.validation.UmlgConstraintViolation> |
checkClassConstraints() |
void |
clearCreatedOn() |
void |
clearTag() |
void |
clearUpdatedOn() |
void |
delete() |
void |
fromJson(Map<String,Object> propertyMap) |
void |
fromJson(String json) |
void |
fromJsonDataTypeAndComposite(Map<String,Object> propertyMap) |
void |
fromJsonNonCompositeOne(Map<String,Object> propertyMap) |
void |
fromJsonNonCompositeRequiredMany(Map<String,Object> propertyMap) |
org.joda.time.DateTime |
getCreatedOn() |
String |
getMetaDataAsJson() |
org.umlg.runtime.domain.UmlgNode |
getOwningObject() |
String |
getQualifiedName() |
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
|
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
|
org.umlg.runtime.collection.UmlgSet<Tag> |
getTag() |
String |
getUid() |
org.joda.time.DateTime |
getUpdatedOn() |
boolean |
hasOnlyOneCompositeParent() |
void |
initDataTypeVariablesWithDefaultValues() |
void |
initialiseProperties(boolean loaded)
boolean properties' default values are initialized in the constructor via z_internalBooleanProperties
|
void |
initialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty,
boolean inverse,
boolean loaded) |
void |
initVariables() |
org.umlg.runtime.collection.UmlgRuntimeProperty |
inverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty,
boolean inverse,
org.umlg.runtime.domain.UmlgNode umlgNode) |
boolean |
isTinkerRoot() |
org.umlg.runtime.collection.UmlgSet<Tag> |
lookupFor_baseUmlg_tag() |
void |
removeFromCreatedOn(org.joda.time.DateTime createdOn) |
void |
removeFromCreatedOn(org.umlg.runtime.collection.UmlgSet<org.joda.time.DateTime> createdOn) |
void |
removeFromTag(Tag tag) |
void |
removeFromTag(org.umlg.runtime.collection.UmlgSet<Tag> tag) |
void |
removeFromUpdatedOn(org.joda.time.DateTime updatedOn) |
void |
removeFromUpdatedOn(org.umlg.runtime.collection.UmlgSet<org.joda.time.DateTime> updatedOn) |
protected void |
setCreatedOn(org.joda.time.DateTime createdOn) |
void |
setTag(org.umlg.runtime.collection.UmlgSet<Tag> tag) |
protected void |
setUpdatedOn(org.joda.time.DateTime updatedOn) |
String |
toJson() |
String |
toJson(Boolean deep)
deep indicates that components also be serialized.
|
String |
toJsonWithoutCompositeParent() |
String |
toJsonWithoutCompositeParent(Boolean deep)
deep indicates that components also be serialized.
|
List<org.umlg.runtime.validation.UmlgConstraintViolation> |
validateCreatedOn(org.joda.time.DateTime createdOn) |
List<org.umlg.runtime.validation.UmlgConstraintViolation> |
validateMultiplicities() |
List<org.umlg.runtime.validation.UmlgConstraintViolation> |
validateUpdatedOn(org.joda.time.DateTime updatedOn) |
void |
z_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty,
Object umlgNode) |
void |
z_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty,
Object umlgNode) |
Set<org.umlg.runtime.collection.UmlgRuntimeProperty> |
z_internalBooleanProperties() |
Set<org.umlg.runtime.collection.UmlgRuntimeProperty> |
z_internalDataTypeProperties() |
Map<org.umlg.runtime.collection.UmlgRuntimeProperty,Object> |
z_internalDataTypePropertiesWithDefaultValues() |
org.umlg.runtime.collection.UmlgCollection<? extends Object> |
z_internalGetCollectionFor(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty,
boolean inverse) |
void |
z_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty,
boolean loaded) |
getPathToCompositionalRootaddToThreadEntityVar, asSet, changed, doBeforeCommit, equals, getEdge, getId, getName, getVertex, hashCode, hasInitBeenCalled, notEquals, oclAsType, oclIsInState, oclIsInvalid, oclIsKindOf, oclIsNew, oclIsTypeOf, oclIsUndefined, oclLocale, oclType, reload, setEdge, setVertexclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasSet, getEdge, getPathToCompositionalRoot, getVertex, setEdgepublic static final long serialVersionUID
public BaseModelUmlg(Object id)
id - public BaseModelUmlg(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
vertex - public BaseModelUmlg()
public BaseModelUmlg(Boolean persistent)
persistent - public void addToCreatedOn(org.joda.time.DateTime createdOn)
public void addToCreatedOnIgnoreInverse(org.joda.time.DateTime createdOn)
public void addToTag(Tag tag)
public void addToTag(org.umlg.runtime.collection.UmlgSet<Tag> tag)
public void addToTagIgnoreInverse(Tag tag)
public void addToUpdatedOn(org.joda.time.DateTime updatedOn)
public void addToUpdatedOnIgnoreInverse(org.joda.time.DateTime updatedOn)
public static org.umlg.runtime.collection.UmlgSet<? extends BaseModelUmlg> allInstances(org.umlg.runtime.collection.Filter filter)
public static org.umlg.runtime.collection.UmlgSet<? extends BaseModelUmlg> allInstances()
public List<org.umlg.runtime.validation.UmlgConstraintViolation> checkClassConstraints()
checkClassConstraints in interface org.umlg.runtime.domain.UmlgNodepublic void clearCreatedOn()
public void clearTag()
public void clearUpdatedOn()
public void delete()
delete in interface org.umlg.runtime.domain.UmlgNodepublic void fromJson(Map<String,Object> propertyMap)
fromJson in interface org.umlg.runtime.domain.PersistentObjectpublic void fromJson(String json)
fromJson in interface org.umlg.runtime.domain.PersistentObjectpublic void fromJsonDataTypeAndComposite(Map<String,Object> propertyMap)
fromJsonDataTypeAndComposite in interface org.umlg.runtime.domain.PersistentObjectpublic void fromJsonNonCompositeOne(Map<String,Object> propertyMap)
fromJsonNonCompositeOne in interface org.umlg.runtime.domain.PersistentObjectpublic void fromJsonNonCompositeRequiredMany(Map<String,Object> propertyMap)
fromJsonNonCompositeRequiredMany in interface org.umlg.runtime.domain.PersistentObjectpublic org.joda.time.DateTime getCreatedOn()
public String getMetaDataAsJson()
getMetaDataAsJson in interface org.umlg.runtime.domain.PersistentObjectpublic org.umlg.runtime.domain.UmlgNode getOwningObject()
getOwningObject in interface org.umlg.runtime.domain.CompositionNodegetOwningObject in interface org.umlg.runtime.domain.UmlgNodepublic String getQualifiedName()
getQualifiedName in interface org.umlg.runtime.domain.UmlgEnumpublic List<org.umlg.runtime.collection.Qualifier> getQualifiers(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, org.umlg.runtime.domain.UmlgNode node, boolean inverse)
getQualifiers in interface org.umlg.runtime.domain.UmlgNodetumlRuntimeProperty - node - inverse - public int getSize(boolean inverse,
org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty)
getSize in interface org.umlg.runtime.domain.UmlgNodeinverse - tumlRuntimeProperty - public org.umlg.runtime.collection.UmlgSet<Tag> getTag()
public String getUid()
getUid in interface org.umlg.runtime.domain.PersistentObjectpublic org.joda.time.DateTime getUpdatedOn()
public boolean hasOnlyOneCompositeParent()
hasOnlyOneCompositeParent in interface org.umlg.runtime.domain.UmlgNodepublic void initDataTypeVariablesWithDefaultValues()
public void initVariables()
initVariables in interface org.umlg.runtime.domain.UmlgNodepublic void initialiseProperties(boolean loaded)
initialiseProperties in interface org.umlg.runtime.domain.UmlgNodeloaded - public void initialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty,
boolean inverse,
boolean loaded)
initialiseProperty in interface org.umlg.runtime.domain.UmlgNodepublic org.umlg.runtime.collection.UmlgRuntimeProperty inverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty,
boolean inverse,
org.umlg.runtime.domain.UmlgNode umlgNode)
inverseAdder in interface org.umlg.runtime.domain.UmlgNodepublic boolean isTinkerRoot()
isTinkerRoot in interface org.umlg.runtime.domain.UmlgNodepublic org.umlg.runtime.collection.UmlgSet<Tag> lookupFor_baseUmlg_tag()
public void removeFromCreatedOn(org.joda.time.DateTime createdOn)
public void removeFromCreatedOn(org.umlg.runtime.collection.UmlgSet<org.joda.time.DateTime> createdOn)
public void removeFromTag(Tag tag)
public void removeFromTag(org.umlg.runtime.collection.UmlgSet<Tag> tag)
public void removeFromUpdatedOn(org.joda.time.DateTime updatedOn)
public void removeFromUpdatedOn(org.umlg.runtime.collection.UmlgSet<org.joda.time.DateTime> updatedOn)
public void setTag(org.umlg.runtime.collection.UmlgSet<Tag> tag)
public String toJson(Boolean deep)
toJson in interface org.umlg.runtime.domain.PersistentObjectdeep - public String toJson()
toJson in interface org.umlg.runtime.domain.PersistentObjecttoJson in interface org.umlg.runtime.domain.UmlgEnumpublic String toJsonWithoutCompositeParent(Boolean deep)
toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObjectdeep - public String toJsonWithoutCompositeParent()
toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObjectpublic List<org.umlg.runtime.validation.UmlgConstraintViolation> validateCreatedOn(org.joda.time.DateTime createdOn)
public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateMultiplicities()
validateMultiplicities in interface org.umlg.runtime.domain.UmlgNodepublic List<org.umlg.runtime.validation.UmlgConstraintViolation> validateUpdatedOn(org.joda.time.DateTime updatedOn)
public void z_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty,
Object umlgNode)
z_internalAddPersistentValueToCollection in interface org.umlg.runtime.domain.UmlgNodepublic void z_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty,
Object umlgNode)
z_internalAddToCollection in interface org.umlg.runtime.domain.UmlgNodepublic Set<org.umlg.runtime.collection.UmlgRuntimeProperty> z_internalBooleanProperties()
z_internalBooleanProperties in interface org.umlg.runtime.domain.UmlgNodepublic Set<org.umlg.runtime.collection.UmlgRuntimeProperty> z_internalDataTypeProperties()
z_internalDataTypeProperties in interface org.umlg.runtime.domain.UmlgNodepublic Map<org.umlg.runtime.collection.UmlgRuntimeProperty,Object> z_internalDataTypePropertiesWithDefaultValues()
z_internalDataTypePropertiesWithDefaultValues in interface org.umlg.runtime.domain.UmlgNodepublic org.umlg.runtime.collection.UmlgCollection<? extends Object> z_internalGetCollectionFor(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse)
z_internalGetCollectionFor in interface org.umlg.runtime.domain.UmlgNodepublic void z_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty,
boolean loaded)
z_internalMarkCollectionLoaded in interface org.umlg.runtime.domain.UmlgNodeprotected void setCreatedOn(org.joda.time.DateTime createdOn)
protected void setUpdatedOn(org.joda.time.DateTime updatedOn)
Copyright © 2018. All rights reserved.