Package org.umlg.subsetting
Class SubsetChild
java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.subsetting.AbstractSubsetChild
org.umlg.subsetting.SubsetChild
- 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 SubsetChild
extends AbstractSubsetChild
implements org.umlg.runtime.domain.CompositionNode
- See Also:
- Serialized Form
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.umlg.subsetting.AbstractSubsetChild
AbstractSubsetChild.AbstractSubsetChildRuntimePropertyEnum -
Field Summary
FieldsFields inherited from class org.umlg.runtime.domain.BaseUmlg
hasInitBeenCalled, vertex -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor for SubsetChildSubsetChild(Boolean persistent)constructor for SubsetChildSubsetChild(Object id)constructor for SubsetChildSubsetChild(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for SubsetChildSubsetChild(SubsetParent compositeOwner)constructor for SubsetChild -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToSubsetParent(SubsetParent subsetParent)voidaddToSubsetParentIgnoreInverse(SubsetParent subsetParent)static org.umlg.runtime.collection.UmlgSet<? extends SubsetChild>static org.umlg.runtime.collection.UmlgSet<? extends SubsetChild>allInstances(org.umlg.runtime.collection.Filter filter)List<org.umlg.runtime.validation.UmlgConstraintViolation>voidvoiddelete()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 orderFake getter to help out the derivedUnion abstractSubsetParentbooleanvoidvoidinitialiseProperties(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)booleanvoidremoveFromSubsetParent(org.umlg.runtime.collection.UmlgSet<SubsetParent> subsetParent)voidremoveFromSubsetParent(SubsetParent subsetParent)voidsetSubsetParent(SubsetParent subsetParent)toJson()deep indicates that components also be serialized.deep indicates that components also be serialized.List<org.umlg.runtime.validation.UmlgConstraintViolation>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.subsetting.AbstractSubsetChild
addToName, addToNameIgnoreInverse, clearName, getAbstractSubsetParent, getName, getUid, removeFromName, removeFromName, setName, validateNameMethods 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
-
SubsetChild
constructor for SubsetChild- Parameters:
id-
-
SubsetChild
constructor for SubsetChild- Parameters:
compositeOwner-
-
SubsetChild
public SubsetChild(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for SubsetChild- Parameters:
vertex-
-
SubsetChild
public SubsetChild()default constructor for SubsetChild -
SubsetChild
constructor for SubsetChild- Parameters:
persistent-
-
-
Method Details
-
addToSubsetParent
-
addToSubsetParentIgnoreInverse
-
allInstances
public static org.umlg.runtime.collection.UmlgSet<? extends SubsetChild> allInstances(org.umlg.runtime.collection.Filter filter) -
allInstances
-
checkClassConstraints
- Specified by:
checkClassConstraintsin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
checkClassConstraintsin classAbstractSubsetChild
-
clearSubsetParent
public void clearSubsetParent() -
delete
public void delete()- Specified by:
deletein interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
deletein classAbstractSubsetChild
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonin classAbstractSubsetChild
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonin classAbstractSubsetChild
-
fromJsonDataTypeAndComposite
- Specified by:
fromJsonDataTypeAndCompositein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonDataTypeAndCompositein classAbstractSubsetChild
-
fromJsonNonCompositeOne
- Specified by:
fromJsonNonCompositeOnein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeOnein classAbstractSubsetChild
-
fromJsonNonCompositeRequiredMany
- Specified by:
fromJsonNonCompositeRequiredManyin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeRequiredManyin classAbstractSubsetChild
-
getMetaDataAsJson
- Specified by:
getMetaDataAsJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
getMetaDataAsJsonin classAbstractSubsetChild
-
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 classAbstractSubsetChild
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceorg.umlg.runtime.domain.UmlgEnum- Overrides:
getQualifiedNamein classAbstractSubsetChild
-
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 classAbstractSubsetChild- 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- Overrides:
getSizein classAbstractSubsetChild- Parameters:
inverse-tumlRuntimeProperty-
-
getSubsetParent
Description copied from class:AbstractSubsetChildFake getter to help out the derivedUnion abstractSubsetParent- Overrides:
getSubsetParentin classAbstractSubsetChild
-
hasOnlyOneCompositeParent
public boolean hasOnlyOneCompositeParent()- Specified by:
hasOnlyOneCompositeParentin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
hasOnlyOneCompositeParentin classAbstractSubsetChild
-
initDataTypeVariablesWithDefaultValues
public void initDataTypeVariablesWithDefaultValues()- Overrides:
initDataTypeVariablesWithDefaultValuesin classAbstractSubsetChild
-
initVariables
public void initVariables()- Specified by:
initVariablesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
initVariablesin classAbstractSubsetChild
-
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 classAbstractSubsetChild- 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 classAbstractSubsetChild
-
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 classAbstractSubsetChild
-
isTinkerRoot
public boolean isTinkerRoot()- Specified by:
isTinkerRootin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
isTinkerRootin classAbstractSubsetChild
-
removeFromSubsetParent
-
removeFromSubsetParent
-
setSubsetParent
-
toJson
deep indicates that components also be serialized.- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonin classAbstractSubsetChild- Parameters:
deep-
-
toJson
- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.UmlgEnum- Overrides:
toJsonin classAbstractSubsetChild
-
toJsonWithoutCompositeParent
deep indicates that components also be serialized.- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classAbstractSubsetChild- Parameters:
deep-
-
toJsonWithoutCompositeParent
- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classAbstractSubsetChild
-
validateMultiplicities
- Specified by:
validateMultiplicitiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
validateMultiplicitiesin classAbstractSubsetChild
-
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 classAbstractSubsetChild
-
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 classAbstractSubsetChild
-
z_internalBooleanProperties
- Specified by:
z_internalBooleanPropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalBooleanPropertiesin classAbstractSubsetChild
-
z_internalDataTypeProperties
- Specified by:
z_internalDataTypePropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesin classAbstractSubsetChild
-
z_internalDataTypePropertiesWithDefaultValues
public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,Object> z_internalDataTypePropertiesWithDefaultValues()- Specified by:
z_internalDataTypePropertiesWithDefaultValuesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesWithDefaultValuesin classAbstractSubsetChild
-
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 classAbstractSubsetChild
-
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 classAbstractSubsetChild
-
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 classAbstractSubsetChild
-