Class DataTypeEntity

java.lang.Object
org.umlg.runtime.domain.BaseUmlg
org.umlg.runtime.domain.BaseUmlgCompositionNode
org.umlg.datatype.DataTypeEntity
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 DataTypeEntity 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

    • DataTypeEntity

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

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

      public DataTypeEntity()
      default constructor for DataTypeEntity
    • DataTypeEntity

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

    • addToByteArray

      public void addToByteArray(byte[] byteArray)
    • addToByteArrayIgnoreInverse

      public void addToByteArrayIgnoreInverse(byte[] byteArray)
    • addToDateBag

      public void addToDateBag(LocalDate dateBag)
    • addToDateBag

      public void addToDateBag(org.umlg.runtime.collection.UmlgBag<LocalDate> dateBag)
    • addToDateBagIgnoreInverse

      public void addToDateBagIgnoreInverse(LocalDate dateBag)
    • addToDateList

      public void addToDateList(LocalDate dateList)
    • addToDateList

      public void addToDateList(org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList)
    • addToDateList

      public void addToDateList(int index, LocalDate dateList)
    • addToDateList

      public void addToDateList(int index, org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList)
    • addToDateList2

      public void addToDateList2(LocalDate dateList2)
    • addToDateList2

      public void addToDateList2(org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList2)
    • addToDateList2

      public void addToDateList2(int index, LocalDate dateList2)
    • addToDateList2

      public void addToDateList2(int index, org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList2)
    • addToDateList2IgnoreInverse

      public void addToDateList2IgnoreInverse(LocalDate dateList2)
    • addToDateListIgnoreInverse

      public void addToDateListIgnoreInverse(LocalDate dateList)
    • addToDateOrderedSet

      public void addToDateOrderedSet(LocalDate dateOrderedSet)
    • addToDateOrderedSet

      public void addToDateOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<LocalDate> dateOrderedSet)
    • addToDateOrderedSet

      public void addToDateOrderedSet(int index, LocalDate dateOrderedSet)
    • addToDateOrderedSet

      public void addToDateOrderedSet(int index, org.umlg.runtime.collection.UmlgOrderedSet<LocalDate> dateOrderedSet)
    • addToDateOrderedSetIgnoreInverse

      public void addToDateOrderedSetIgnoreInverse(LocalDate dateOrderedSet)
    • addToDateSet

      public void addToDateSet(LocalDate dateSet)
    • addToDateSet

      public void addToDateSet(org.umlg.runtime.collection.UmlgSet<LocalDate> dateSet)
    • addToDateSetIgnoreInverse

      public void addToDateSetIgnoreInverse(LocalDate dateSet)
    • addToEmail1

      public void addToEmail1(String email1)
    • addToEmail1IgnoreInverse

      public void addToEmail1IgnoreInverse(String email1)
    • addToEmail2

      public void addToEmail2(String email2)
    • addToEmail2IgnoreInverse

      public void addToEmail2IgnoreInverse(String email2)
    • addToEmailList

      public void addToEmailList(String emailList)
    • addToEmailList

      public void addToEmailList(org.umlg.runtime.collection.UmlgOrderedSet<String> emailList)
    • addToEmailList

      public void addToEmailList(int index, String emailList)
    • addToEmailList

      public void addToEmailList(int index, org.umlg.runtime.collection.UmlgOrderedSet<String> emailList)
    • addToEmailListIgnoreInverse

      public void addToEmailListIgnoreInverse(String emailList)
    • addToHost

      public void addToHost(String host)
    • addToHostIgnoreInverse

      public void addToHostIgnoreInverse(String host)
    • addToPassword

      public void addToPassword(org.umlg.runtime.types.Password password)
    • addToPasswordIgnoreInverse

      public void addToPasswordIgnoreInverse(org.umlg.runtime.types.Password password)
    • addToQuartzCron

      public void addToQuartzCron(String quartzCron)
    • addToQuartzCronIgnoreInverse

      public void addToQuartzCronIgnoreInverse(String quartzCron)
    • addToUnsecurePassword

      public void addToUnsecurePassword(String unsecurePassword)
    • addToUnsecurePasswordIgnoreInverse

      public void addToUnsecurePasswordIgnoreInverse(String unsecurePassword)
    • allInstances

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

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

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

      public void clearByteArray()
    • clearDateBag

      public void clearDateBag()
    • clearDateList

      public void clearDateList()
    • clearDateList2

      public void clearDateList2()
    • clearDateOrderedSet

      public void clearDateOrderedSet()
    • clearDateSet

      public void clearDateSet()
    • clearEmail1

      public void clearEmail1()
    • clearEmail2

      public void clearEmail2()
    • clearEmailList

      public void clearEmailList()
    • clearHost

      public void clearHost()
    • clearPassword

      public void clearPassword()
    • clearQuartzCron

      public void clearQuartzCron()
    • clearUnsecurePassword

      public void clearUnsecurePassword()
    • 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
    • getByteArray

      public byte[] getByteArray()
    • getDateBag

      public org.umlg.runtime.collection.UmlgBag<LocalDate> getDateBag()
    • getDateList

      public org.umlg.runtime.collection.UmlgSequence<LocalDate> getDateList()
    • getDateList2

      public org.umlg.runtime.collection.UmlgSequence<LocalDate> getDateList2()
    • getDateOrderedSet

      public org.umlg.runtime.collection.UmlgOrderedSet<LocalDate> getDateOrderedSet()
    • getDateSet

      public org.umlg.runtime.collection.UmlgSet<LocalDate> getDateSet()
    • getEmail1

      public String getEmail1()
    • getEmail2

      public String getEmail2()
    • getEmailList

      public org.umlg.runtime.collection.UmlgOrderedSet<String> getEmailList()
    • getHost

      public String getHost()
    • 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
    • getPassword

      public org.umlg.runtime.types.Password getPassword()
    • 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 -
    • getQuartzCron

      public String getQuartzCron()
    • 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
    • getUnsecurePassword

      public String getUnsecurePassword()
    • 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
    • removeFromByteArray

      public void removeFromByteArray(org.umlg.runtime.collection.UmlgSet<byte[]> byteArray)
    • removeFromByteArray

      public void removeFromByteArray(byte[] byteArray)
    • removeFromDateBag

      public void removeFromDateBag(LocalDate dateBag)
    • removeFromDateBag

      public void removeFromDateBag(org.umlg.runtime.collection.UmlgBag<LocalDate> dateBag)
    • removeFromDateList

      public void removeFromDateList(LocalDate dateList)
    • removeFromDateList

      public void removeFromDateList(org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList)
    • removeFromDateList2

      public void removeFromDateList2(LocalDate dateList2)
    • removeFromDateList2

      public void removeFromDateList2(org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList2)
    • removeFromDateOrderedSet

      public void removeFromDateOrderedSet(LocalDate dateOrderedSet)
    • removeFromDateOrderedSet

      public void removeFromDateOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<LocalDate> dateOrderedSet)
    • removeFromDateSet

      public void removeFromDateSet(LocalDate dateSet)
    • removeFromDateSet

      public void removeFromDateSet(org.umlg.runtime.collection.UmlgSet<LocalDate> dateSet)
    • removeFromEmail1

      public void removeFromEmail1(String email1)
    • removeFromEmail1

      public void removeFromEmail1(org.umlg.runtime.collection.UmlgSet<String> email1)
    • removeFromEmail2

      public void removeFromEmail2(String email2)
    • removeFromEmail2

      public void removeFromEmail2(org.umlg.runtime.collection.UmlgSet<String> email2)
    • removeFromEmailList

      public void removeFromEmailList(String emailList)
    • removeFromEmailList

      public void removeFromEmailList(org.umlg.runtime.collection.UmlgOrderedSet<String> emailList)
    • removeFromHost

      public void removeFromHost(String host)
    • removeFromHost

      public void removeFromHost(org.umlg.runtime.collection.UmlgSet<String> host)
    • removeFromPassword

      public void removeFromPassword(org.umlg.runtime.types.Password password)
    • removeFromPassword

      public void removeFromPassword(org.umlg.runtime.collection.UmlgSet<org.umlg.runtime.types.Password> password)
    • removeFromQuartzCron

      public void removeFromQuartzCron(String quartzCron)
    • removeFromQuartzCron

      public void removeFromQuartzCron(org.umlg.runtime.collection.UmlgSet<String> quartzCron)
    • removeFromUnsecurePassword

      public void removeFromUnsecurePassword(String unsecurePassword)
    • removeFromUnsecurePassword

      public void removeFromUnsecurePassword(org.umlg.runtime.collection.UmlgSet<String> unsecurePassword)
    • setByteArray

      public void setByteArray(byte[] byteArray)
    • setDateBag

      public void setDateBag(org.umlg.runtime.collection.UmlgBag<LocalDate> dateBag)
    • setDateList

      public void setDateList(org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList)
    • setDateList2

      public void setDateList2(org.umlg.runtime.collection.UmlgSequence<LocalDate> dateList2)
    • setDateOrderedSet

      public void setDateOrderedSet(org.umlg.runtime.collection.UmlgOrderedSet<LocalDate> dateOrderedSet)
    • setDateSet

      public void setDateSet(org.umlg.runtime.collection.UmlgSet<LocalDate> dateSet)
    • setEmail1

      public void setEmail1(String email1)
    • setEmail2

      public void setEmail2(String email2)
    • setEmailList

      public void setEmailList(org.umlg.runtime.collection.UmlgOrderedSet<String> emailList)
    • setHost

      public void setHost(String host)
    • setPassword

      public void setPassword(org.umlg.runtime.types.Password password)
    • setQuartzCron

      public void setQuartzCron(String quartzCron)
    • setUnsecurePassword

      public void setUnsecurePassword(String unsecurePassword)
    • 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
    • validateByteArray

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateByteArray(byte[] byteArray)
    • validateDateBag

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateDateBag(LocalDate dateBag)
    • validateDateList

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateDateList(LocalDate dateList)
    • validateDateList2

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateDateList2(LocalDate dateList2)
    • validateDateOrderedSet

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateDateOrderedSet(LocalDate dateOrderedSet)
    • validateDateSet

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateDateSet(LocalDate dateSet)
    • validateEmail1

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateEmail1(String email1)
    • validateEmail2

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateEmail2(String email2)
    • validateEmailList

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateEmailList(String emailList)
    • validateHost

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateHost(String host)
    • validateMultiplicities

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

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validatePassword(org.umlg.runtime.types.Password password)
    • validateQuartzCron

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateQuartzCron(String quartzCron)
    • validateUnsecurePassword

      public List<org.umlg.runtime.validation.UmlgConstraintViolation> validateUnsecurePassword(String unsecurePassword)
    • 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