Package org.umlg.ocl.oclIsTypeOf
Class OclIsKindOf
java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.ocl.oclIsTypeOf.AbstractOclIsKindOf
org.umlg.ocl.oclIsTypeOf.OclIsKindOf
- 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 OclIsKindOf
extends AbstractOclIsKindOf
implements org.umlg.runtime.domain.UmlgRootNode, org.umlg.runtime.domain.CompositionNode
- See Also:
- Serialized Form
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.umlg.ocl.oclIsTypeOf.AbstractOclIsKindOf
AbstractOclIsKindOf.AbstractOclIsKindOfRuntimePropertyEnum -
Field Summary
FieldsFields inherited from class org.umlg.runtime.domain.BaseUmlg
hasInitBeenCalled, vertex -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor for OclIsKindOfOclIsKindOf(Boolean persistent)constructor for OclIsKindOfOclIsKindOf(Object id)constructor for OclIsKindOfOclIsKindOf(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for OclIsKindOf -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToSomething(Something something)voidaddToSomething(org.umlg.runtime.collection.UmlgSet<Something> something)voidaddToSomethingIgnoreInverse(Something something)static org.umlg.runtime.collection.UmlgSet<? extends OclIsKindOf>static org.umlg.runtime.collection.UmlgSet<? extends OclIsKindOf>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 orderorg.umlg.runtime.collection.UmlgSet<Something>getTest()Implements the ocl statement for derived property 'test'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)booleanorg.umlg.runtime.collection.UmlgSet<Something>voidremoveFromSomething(Something something)voidremoveFromSomething(org.umlg.runtime.collection.UmlgSet<Something> something)voidsetSomething(org.umlg.runtime.collection.UmlgSet<Something> something)testCast(OclIsTypeOf param1)Implements the ocl statement for operation body condition 'testCast'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.ocl.oclIsTypeOf.AbstractOclIsKindOf
addToName, addToNameIgnoreInverse, addToTestOclTypeOf, addToTestOclTypeOfIgnoreInverse, clearName, clearTestOclTypeOf, getName, getTestOclTypeOf, getUid, lookupFor_abstractOclIsKindOf_testOclTypeOf, removeFromName, removeFromName, removeFromTestOclTypeOf, removeFromTestOclTypeOf, setName, setTestOclTypeOf, 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
-
OclIsKindOf
constructor for OclIsKindOf- Parameters:
id-
-
OclIsKindOf
public OclIsKindOf(org.apache.tinkerpop.gremlin.structure.Vertex vertex)constructor for OclIsKindOf- Parameters:
vertex-
-
OclIsKindOf
public OclIsKindOf()default constructor for OclIsKindOf -
OclIsKindOf
constructor for OclIsKindOf- Parameters:
persistent-
-
-
Method Details
-
addToSomething
-
addToSomething
-
addToSomethingIgnoreInverse
-
allInstances
public static org.umlg.runtime.collection.UmlgSet<? extends OclIsKindOf> allInstances(org.umlg.runtime.collection.Filter filter) -
allInstances
-
checkClassConstraints
- Specified by:
checkClassConstraintsin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
checkClassConstraintsin classAbstractOclIsKindOf
-
clearSomething
public void clearSomething() -
delete
public void delete()- Specified by:
deletein interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
deletein classAbstractOclIsKindOf
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonin classAbstractOclIsKindOf
-
fromJson
- Specified by:
fromJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonin classAbstractOclIsKindOf
-
fromJsonDataTypeAndComposite
- Specified by:
fromJsonDataTypeAndCompositein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonDataTypeAndCompositein classAbstractOclIsKindOf
-
fromJsonNonCompositeOne
- Specified by:
fromJsonNonCompositeOnein interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeOnein classAbstractOclIsKindOf
-
fromJsonNonCompositeRequiredMany
- Specified by:
fromJsonNonCompositeRequiredManyin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
fromJsonNonCompositeRequiredManyin classAbstractOclIsKindOf
-
getMetaDataAsJson
- Specified by:
getMetaDataAsJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
getMetaDataAsJsonin classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceorg.umlg.runtime.domain.UmlgEnum- Overrides:
getQualifiedNamein classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf- 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 classAbstractOclIsKindOf- Parameters:
inverse-tumlRuntimeProperty-
-
getSomething
-
getTest
Implements the ocl statement for derived property 'test'package umlgtest::org::umlg::ocl::oclIsTypeOf context OclIsKindOf::test : PrimitiveTypes::Boolean derive: self.oclIsKindOf(AbstractOclIsKindOf) endpackage -
hasOnlyOneCompositeParent
public boolean hasOnlyOneCompositeParent()- Specified by:
hasOnlyOneCompositeParentin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
hasOnlyOneCompositeParentin classAbstractOclIsKindOf
-
initDataTypeVariablesWithDefaultValues
public void initDataTypeVariablesWithDefaultValues()- Overrides:
initDataTypeVariablesWithDefaultValuesin classAbstractOclIsKindOf
-
initVariables
public void initVariables()- Specified by:
initVariablesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
initVariablesin classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf- 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 classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf
-
isTinkerRoot
public boolean isTinkerRoot()- Specified by:
isTinkerRootin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
isTinkerRootin classAbstractOclIsKindOf
-
lookupFor_oclIsKindOf_something
-
removeFromSomething
-
removeFromSomething
-
setSomething
-
testCast
Implements the ocl statement for operation body condition 'testCast'package umlgtest::org::umlg::ocl::oclIsTypeOf context OclIsKindOf::testCast(param1: umlgtest::org::umlg::ocl::oclIsTypeOf::OclIsTypeOf) : PrimitiveTypes::Boolean body: if (param1.oclIsTypeOf(OclIsTypeOf)) then param1.oclAsType(OclIsTypeOf).test else false endif endpackage- Parameters:
param1-
-
toJson
deep indicates that components also be serialized.- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonin classAbstractOclIsKindOf- Parameters:
deep-
-
toJson
- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.PersistentObject- Specified by:
toJsonin interfaceorg.umlg.runtime.domain.UmlgEnum- Overrides:
toJsonin classAbstractOclIsKindOf
-
toJsonWithoutCompositeParent
deep indicates that components also be serialized.- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classAbstractOclIsKindOf- Parameters:
deep-
-
toJsonWithoutCompositeParent
- Specified by:
toJsonWithoutCompositeParentin interfaceorg.umlg.runtime.domain.PersistentObject- Overrides:
toJsonWithoutCompositeParentin classAbstractOclIsKindOf
-
validateMultiplicities
- Specified by:
validateMultiplicitiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
validateMultiplicitiesin classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf
-
z_internalBooleanProperties
- Specified by:
z_internalBooleanPropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalBooleanPropertiesin classAbstractOclIsKindOf
-
z_internalDataTypeProperties
- Specified by:
z_internalDataTypePropertiesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesin classAbstractOclIsKindOf
-
z_internalDataTypePropertiesWithDefaultValues
public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,Object> z_internalDataTypePropertiesWithDefaultValues()- Specified by:
z_internalDataTypePropertiesWithDefaultValuesin interfaceorg.umlg.runtime.domain.UmlgNode- Overrides:
z_internalDataTypePropertiesWithDefaultValuesin classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf
-
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 classAbstractOclIsKindOf
-