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
  • Field Details

  • Constructor Details

    • OclIsKindOf

      public OclIsKindOf(Object id)
      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

      public OclIsKindOf(Boolean persistent)
      constructor for OclIsKindOf
      Parameters:
      persistent -
  • Method Details

    • addToSomething

      public void addToSomething(Something something)
    • addToSomething

      public void addToSomething(org.umlg.runtime.collection.UmlgSet<Something> something)
    • addToSomethingIgnoreInverse

      public void addToSomethingIgnoreInverse(Something something)
    • allInstances

      public static org.umlg.runtime.collection.UmlgSet<? extends OclIsKindOf> allInstances(org.umlg.runtime.collection.Filter filter)
    • allInstances

      public static org.umlg.runtime.collection.UmlgSet<? extends OclIsKindOf> allInstances()
    • checkClassConstraints

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> checkClassConstraints()
      Specified by:
      checkClassConstraints in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      checkClassConstraints in class AbstractOclIsKindOf
    • clearSomething

      public void clearSomething()
    • delete

      public void delete()
      Specified by:
      delete in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      delete in class AbstractOclIsKindOf
    • fromJson

      public void fromJson(Map<String,​Object> propertyMap)
      Specified by:
      fromJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJson in class AbstractOclIsKindOf
    • fromJson

      public void fromJson(String json)
      Specified by:
      fromJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJson in class AbstractOclIsKindOf
    • fromJsonDataTypeAndComposite

      public void fromJsonDataTypeAndComposite(Map<String,​Object> propertyMap)
      Specified by:
      fromJsonDataTypeAndComposite in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJsonDataTypeAndComposite in class AbstractOclIsKindOf
    • fromJsonNonCompositeOne

      public void fromJsonNonCompositeOne(Map<String,​Object> propertyMap)
      Specified by:
      fromJsonNonCompositeOne in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJsonNonCompositeOne in class AbstractOclIsKindOf
    • fromJsonNonCompositeRequiredMany

      public void fromJsonNonCompositeRequiredMany(Map<String,​Object> propertyMap)
      Specified by:
      fromJsonNonCompositeRequiredMany in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      fromJsonNonCompositeRequiredMany in class AbstractOclIsKindOf
    • getMetaDataAsJson

      public String getMetaDataAsJson()
      Specified by:
      getMetaDataAsJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      getMetaDataAsJson in class AbstractOclIsKindOf
    • getOwningObject

      public org.umlg.runtime.domain.UmlgNode getOwningObject()
      Specified by:
      getOwningObject in interface org.umlg.runtime.domain.CompositionNode
      Specified by:
      getOwningObject in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      getOwningObject in class AbstractOclIsKindOf
    • getQualifiedName

      public String getQualifiedName()
      Specified by:
      getQualifiedName in interface org.umlg.runtime.domain.UmlgEnum
      Overrides:
      getQualifiedName in class AbstractOclIsKindOf
    • 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:
      getQualifiers in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      getQualifiers in class AbstractOclIsKindOf
      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:
      getSize in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      getSize in class AbstractOclIsKindOf
      Parameters:
      inverse -
      tumlRuntimeProperty -
    • getSomething

      public org.umlg.runtime.collection.UmlgSet<Something> getSomething()
    • getTest

      public Boolean 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:
      hasOnlyOneCompositeParent in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      hasOnlyOneCompositeParent in class AbstractOclIsKindOf
    • initDataTypeVariablesWithDefaultValues

      public void initDataTypeVariablesWithDefaultValues()
      Overrides:
      initDataTypeVariablesWithDefaultValues in class AbstractOclIsKindOf
    • initVariables

      public void initVariables()
      Specified by:
      initVariables in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      initVariables in class AbstractOclIsKindOf
    • initialiseProperties

      public void initialiseProperties(boolean loaded)
      boolean properties' default values are initialized in the constructor via z_internalBooleanProperties
      Specified by:
      initialiseProperties in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      initialiseProperties in class AbstractOclIsKindOf
      Parameters:
      loaded -
    • initialiseProperty

      public void initialiseProperty(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, boolean loaded)
      Specified by:
      initialiseProperty in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      initialiseProperty in class AbstractOclIsKindOf
    • inverseAdder

      public org.umlg.runtime.collection.UmlgRuntimeProperty inverseAdder(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse, org.umlg.runtime.domain.UmlgNode umlgNode)
      Specified by:
      inverseAdder in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      inverseAdder in class AbstractOclIsKindOf
    • isTinkerRoot

      public boolean isTinkerRoot()
      Specified by:
      isTinkerRoot in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      isTinkerRoot in class AbstractOclIsKindOf
    • lookupFor_oclIsKindOf_something

      public org.umlg.runtime.collection.UmlgSet<Something> lookupFor_oclIsKindOf_something()
    • removeFromSomething

      public void removeFromSomething(Something something)
    • removeFromSomething

      public void removeFromSomething(org.umlg.runtime.collection.UmlgSet<Something> something)
    • setSomething

      public void setSomething(org.umlg.runtime.collection.UmlgSet<Something> something)
    • testCast

      public Boolean testCast(OclIsTypeOf param1)
      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

      public String toJson(Boolean deep)
      deep indicates that components also be serialized.
      Specified by:
      toJson in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      toJson in class AbstractOclIsKindOf
      Parameters:
      deep -
    • toJson

      public String toJson()
      Specified by:
      toJson in interface org.umlg.runtime.domain.PersistentObject
      Specified by:
      toJson in interface org.umlg.runtime.domain.UmlgEnum
      Overrides:
      toJson in class AbstractOclIsKindOf
    • toJsonWithoutCompositeParent

      public String toJsonWithoutCompositeParent(Boolean deep)
      deep indicates that components also be serialized.
      Specified by:
      toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      toJsonWithoutCompositeParent in class AbstractOclIsKindOf
      Parameters:
      deep -
    • toJsonWithoutCompositeParent

      public String toJsonWithoutCompositeParent()
      Specified by:
      toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObject
      Overrides:
      toJsonWithoutCompositeParent in class AbstractOclIsKindOf
    • validateMultiplicities

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateMultiplicities()
      Specified by:
      validateMultiplicities in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      validateMultiplicities in class AbstractOclIsKindOf
    • z_internalAddPersistentValueToCollection

      public void z_internalAddPersistentValueToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)
      Specified by:
      z_internalAddPersistentValueToCollection in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalAddPersistentValueToCollection in class AbstractOclIsKindOf
    • z_internalAddToCollection

      public void z_internalAddToCollection(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, Object umlgNode)
      Specified by:
      z_internalAddToCollection in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalAddToCollection in class AbstractOclIsKindOf
    • z_internalBooleanProperties

      public Set<org.umlg.runtime.collection.UmlgRuntimeProperty> z_internalBooleanProperties()
      Specified by:
      z_internalBooleanProperties in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalBooleanProperties in class AbstractOclIsKindOf
    • z_internalDataTypeProperties

      public Set<org.umlg.runtime.collection.UmlgRuntimeProperty> z_internalDataTypeProperties()
      Specified by:
      z_internalDataTypeProperties in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalDataTypeProperties in class AbstractOclIsKindOf
    • z_internalDataTypePropertiesWithDefaultValues

      public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,​Object> z_internalDataTypePropertiesWithDefaultValues()
      Specified by:
      z_internalDataTypePropertiesWithDefaultValues in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalDataTypePropertiesWithDefaultValues in class AbstractOclIsKindOf
    • z_internalGetCollectionFor

      public org.umlg.runtime.collection.UmlgCollection<? extends Object> z_internalGetCollectionFor(org.umlg.runtime.collection.UmlgRuntimeProperty tumlRuntimeProperty, boolean inverse)
      Specified by:
      z_internalGetCollectionFor in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalGetCollectionFor in class AbstractOclIsKindOf
    • 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_internalInverseAdder in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalInverseAdder in class AbstractOclIsKindOf
    • z_internalMarkCollectionLoaded

      public void z_internalMarkCollectionLoaded(org.umlg.runtime.collection.UmlgRuntimeProperty umlgRuntimeProperty, boolean loaded)
      Specified by:
      z_internalMarkCollectionLoaded in interface org.umlg.runtime.domain.UmlgNode
      Overrides:
      z_internalMarkCollectionLoaded in class AbstractOclIsKindOf