Class JavaPrimitiveType

java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.javaprimitivetype.JavaPrimitiveType
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 JavaPrimitiveType extends org.umlg.runtime.domain.BaseUmlgCompositionNode implements org.umlg.runtime.domain.UmlgRootNode, org.umlg.runtime.domain.CompositionNode
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • JavaPrimitiveType

      public JavaPrimitiveType(Object id)
      constructor for JavaPrimitiveType
      Parameters:
      id -
    • JavaPrimitiveType

      public JavaPrimitiveType(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
      constructor for JavaPrimitiveType
      Parameters:
      vertex -
    • JavaPrimitiveType

      public JavaPrimitiveType()
      default constructor for JavaPrimitiveType
    • JavaPrimitiveType

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

    • addToABoolean

      public void addToABoolean(Boolean aBoolean)
    • addToABooleanIgnoreInverse

      public void addToABooleanIgnoreInverse(Boolean aBoolean)
    • addToAByte

      public void addToAByte(Byte aByte)
    • addToAByteIgnoreInverse

      public void addToAByteIgnoreInverse(Byte aByte)
    • addToADouble

      public void addToADouble(Double aDouble)
    • addToADoubleIgnoreInverse

      public void addToADoubleIgnoreInverse(Double aDouble)
    • addToAFloat

      public void addToAFloat(Float aFloat)
    • addToAFloatIgnoreInverse

      public void addToAFloatIgnoreInverse(Float aFloat)
    • addToAInteger

      public void addToAInteger(Integer aInteger)
    • addToAIntegerIgnoreInverse

      public void addToAIntegerIgnoreInverse(Integer aInteger)
    • addToALong

      public void addToALong(Long aLong)
    • addToALongIgnoreInverse

      public void addToALongIgnoreInverse(Long aLong)
    • addToAManyBoolean

      public void addToAManyBoolean(Boolean aManyBoolean)
    • addToAManyBoolean

      public void addToAManyBoolean(org.umlg.runtime.collection.UmlgSet<Boolean> aManyBoolean)
    • addToAManyBooleanIgnoreInverse

      public void addToAManyBooleanIgnoreInverse(Boolean aManyBoolean)
    • addToAManyByte

      public void addToAManyByte(Byte aManyByte)
    • addToAManyByte

      public void addToAManyByte(org.umlg.runtime.collection.UmlgSet<Byte> aManyByte)
    • addToAManyByteIgnoreInverse

      public void addToAManyByteIgnoreInverse(Byte aManyByte)
    • addToAManyDouble

      public void addToAManyDouble(Double aManyDouble)
    • addToAManyDouble

      public void addToAManyDouble(org.umlg.runtime.collection.UmlgSet<Double> aManyDouble)
    • addToAManyDoubleIgnoreInverse

      public void addToAManyDoubleIgnoreInverse(Double aManyDouble)
    • addToAManyFloat

      public void addToAManyFloat(Float aManyFloat)
    • addToAManyFloat

      public void addToAManyFloat(org.umlg.runtime.collection.UmlgSet<Float> aManyFloat)
    • addToAManyFloatIgnoreInverse

      public void addToAManyFloatIgnoreInverse(Float aManyFloat)
    • addToAManyInteger

      public void addToAManyInteger(Integer aManyInteger)
    • addToAManyInteger

      public void addToAManyInteger(org.umlg.runtime.collection.UmlgSet<Integer> aManyInteger)
    • addToAManyIntegerIgnoreInverse

      public void addToAManyIntegerIgnoreInverse(Integer aManyInteger)
    • addToAManyLong

      public void addToAManyLong(Long aManyLong)
    • addToAManyLong

      public void addToAManyLong(org.umlg.runtime.collection.UmlgSet<Long> aManyLong)
    • addToAManyLongIgnoreInverse

      public void addToAManyLongIgnoreInverse(Long aManyLong)
    • allInstances

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

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

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

      public void clearABoolean()
    • clearAByte

      public void clearAByte()
    • clearADouble

      public void clearADouble()
    • clearAFloat

      public void clearAFloat()
    • clearAInteger

      public void clearAInteger()
    • clearALong

      public void clearALong()
    • clearAManyBoolean

      public void clearAManyBoolean()
    • clearAManyByte

      public void clearAManyByte()
    • clearAManyDouble

      public void clearAManyDouble()
    • clearAManyFloat

      public void clearAManyFloat()
    • clearAManyInteger

      public void clearAManyInteger()
    • clearAManyLong

      public void clearAManyLong()
    • delete

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

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

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

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

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

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

      public Boolean getABoolean()
    • getAByte

      public Byte getAByte()
    • getADouble

      public Double getADouble()
    • getAFloat

      public Float getAFloat()
    • getAInteger

      public Integer getAInteger()
    • getALong

      public Long getALong()
    • getAManyBoolean

      public org.umlg.runtime.collection.UmlgSet<Boolean> getAManyBoolean()
    • getAManyByte

      public org.umlg.runtime.collection.UmlgSet<Byte> getAManyByte()
    • getAManyDouble

      public org.umlg.runtime.collection.UmlgSet<Double> getAManyDouble()
    • getAManyFloat

      public org.umlg.runtime.collection.UmlgSet<Float> getAManyFloat()
    • getAManyInteger

      public org.umlg.runtime.collection.UmlgSet<Integer> getAManyInteger()
    • getAManyLong

      public org.umlg.runtime.collection.UmlgSet<Long> getAManyLong()
    • getMetaDataAsJson

      public String getMetaDataAsJson()
      Specified by:
      getMetaDataAsJson in interface org.umlg.runtime.domain.PersistentObject
    • 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
    • getQualifiedName

      public String getQualifiedName()
      Specified by:
      getQualifiedName in interface org.umlg.runtime.domain.UmlgEnum
    • 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
      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
      Parameters:
      inverse -
      tumlRuntimeProperty -
    • getUid

      public String getUid()
      Specified by:
      getUid in interface org.umlg.runtime.domain.PersistentObject
    • hasOnlyOneCompositeParent

      public boolean hasOnlyOneCompositeParent()
      Specified by:
      hasOnlyOneCompositeParent in interface org.umlg.runtime.domain.UmlgNode
    • initDataTypeVariablesWithDefaultValues

      public void initDataTypeVariablesWithDefaultValues()
    • initVariables

      public void initVariables()
      Specified by:
      initVariables in interface org.umlg.runtime.domain.UmlgNode
    • 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
      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
    • 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
    • isTinkerRoot

      public boolean isTinkerRoot()
      Specified by:
      isTinkerRoot in interface org.umlg.runtime.domain.UmlgNode
    • removeFromABoolean

      public void removeFromABoolean(Boolean aBoolean)
    • removeFromABoolean

      public void removeFromABoolean(org.umlg.runtime.collection.UmlgSet<Boolean> aBoolean)
    • removeFromAByte

      public void removeFromAByte(Byte aByte)
    • removeFromAByte

      public void removeFromAByte(org.umlg.runtime.collection.UmlgSet<Byte> aByte)
    • removeFromADouble

      public void removeFromADouble(Double aDouble)
    • removeFromADouble

      public void removeFromADouble(org.umlg.runtime.collection.UmlgSet<Double> aDouble)
    • removeFromAFloat

      public void removeFromAFloat(Float aFloat)
    • removeFromAFloat

      public void removeFromAFloat(org.umlg.runtime.collection.UmlgSet<Float> aFloat)
    • removeFromAInteger

      public void removeFromAInteger(Integer aInteger)
    • removeFromAInteger

      public void removeFromAInteger(org.umlg.runtime.collection.UmlgSet<Integer> aInteger)
    • removeFromALong

      public void removeFromALong(Long aLong)
    • removeFromALong

      public void removeFromALong(org.umlg.runtime.collection.UmlgSet<Long> aLong)
    • removeFromAManyBoolean

      public void removeFromAManyBoolean(Boolean aManyBoolean)
    • removeFromAManyBoolean

      public void removeFromAManyBoolean(org.umlg.runtime.collection.UmlgSet<Boolean> aManyBoolean)
    • removeFromAManyByte

      public void removeFromAManyByte(Byte aManyByte)
    • removeFromAManyByte

      public void removeFromAManyByte(org.umlg.runtime.collection.UmlgSet<Byte> aManyByte)
    • removeFromAManyDouble

      public void removeFromAManyDouble(Double aManyDouble)
    • removeFromAManyDouble

      public void removeFromAManyDouble(org.umlg.runtime.collection.UmlgSet<Double> aManyDouble)
    • removeFromAManyFloat

      public void removeFromAManyFloat(Float aManyFloat)
    • removeFromAManyFloat

      public void removeFromAManyFloat(org.umlg.runtime.collection.UmlgSet<Float> aManyFloat)
    • removeFromAManyInteger

      public void removeFromAManyInteger(Integer aManyInteger)
    • removeFromAManyInteger

      public void removeFromAManyInteger(org.umlg.runtime.collection.UmlgSet<Integer> aManyInteger)
    • removeFromAManyLong

      public void removeFromAManyLong(Long aManyLong)
    • removeFromAManyLong

      public void removeFromAManyLong(org.umlg.runtime.collection.UmlgSet<Long> aManyLong)
    • setABoolean

      public void setABoolean(Boolean aBoolean)
    • setAByte

      public void setAByte(Byte aByte)
    • setADouble

      public void setADouble(Double aDouble)
    • setAFloat

      public void setAFloat(Float aFloat)
    • setAInteger

      public void setAInteger(Integer aInteger)
    • setALong

      public void setALong(Long aLong)
    • setAManyBoolean

      public void setAManyBoolean(org.umlg.runtime.collection.UmlgSet<Boolean> aManyBoolean)
    • setAManyByte

      public void setAManyByte(org.umlg.runtime.collection.UmlgSet<Byte> aManyByte)
    • setAManyDouble

      public void setAManyDouble(org.umlg.runtime.collection.UmlgSet<Double> aManyDouble)
    • setAManyFloat

      public void setAManyFloat(org.umlg.runtime.collection.UmlgSet<Float> aManyFloat)
    • setAManyInteger

      public void setAManyInteger(org.umlg.runtime.collection.UmlgSet<Integer> aManyInteger)
    • setAManyLong

      public void setAManyLong(org.umlg.runtime.collection.UmlgSet<Long> aManyLong)
    • toJson

      public String toJson(Boolean deep)
      deep indicates that components also be serialized.
      Specified by:
      toJson in interface org.umlg.runtime.domain.PersistentObject
      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
    • toJsonWithoutCompositeParent

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

      public String toJsonWithoutCompositeParent()
      Specified by:
      toJsonWithoutCompositeParent in interface org.umlg.runtime.domain.PersistentObject
    • validateABoolean

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateABoolean(Boolean aBoolean)
    • validateAByte

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAByte(Byte aByte)
    • validateADouble

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateADouble(Double aDouble)
    • validateAFloat

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAFloat(Float aFloat)
    • validateAInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAInteger(Integer aInteger)
    • validateALong

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateALong(Long aLong)
    • validateAManyBoolean

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAManyBoolean(Boolean aManyBoolean)
    • validateAManyByte

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAManyByte(Byte aManyByte)
    • validateAManyDouble

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAManyDouble(Double aManyDouble)
    • validateAManyFloat

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAManyFloat(Float aManyFloat)
    • validateAManyInteger

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAManyInteger(Integer aManyInteger)
    • validateAManyLong

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateAManyLong(Long aManyLong)
    • validateMultiplicities

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateMultiplicities()
      Specified by:
      validateMultiplicities in interface org.umlg.runtime.domain.UmlgNode
    • 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
    • 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
    • z_internalBooleanProperties

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

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

      public Map<org.umlg.runtime.collection.UmlgRuntimeProperty,​Object> z_internalDataTypePropertiesWithDefaultValues()
      Specified by:
      z_internalDataTypePropertiesWithDefaultValues in interface org.umlg.runtime.domain.UmlgNode
    • 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
    • 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
    • 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