Class DataObjectVariableEntityImpl

java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
com.flowable.dataobject.engine.impl.persistence.entity.DataObjectVariableEntityImpl
All Implemented Interfaces:
DataObjectVariable, DataObjectVariableEntity, org.flowable.common.engine.impl.db.HasRevision, org.flowable.common.engine.impl.persistence.entity.Entity, org.flowable.variable.api.types.ValueFields

public class DataObjectVariableEntityImpl extends AbstractDataObjectEngineEntity implements DataObjectVariableEntity
  • Field Details

    • name

      protected String name
    • type

      protected org.flowable.variable.api.types.VariableType type
    • typeName

      protected String typeName
    • dataInstanceId

      protected String dataInstanceId
    • longValue

      protected Long longValue
    • doubleValue

      protected Double doubleValue
    • textValue

      protected String textValue
    • textValue2

      protected String textValue2
    • byteArrayRef

      protected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef byteArrayRef
    • cachedValue

      protected Object cachedValue
    • forcedUpdate

      protected boolean forcedUpdate
    • deleted

      protected boolean deleted
  • Constructor Details

    • DataObjectVariableEntityImpl

      public DataObjectVariableEntityImpl()
  • Method Details

    • getPersistentState

      public Object getPersistentState()
      Specified by:
      getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity
    • forceUpdate

      public void forceUpdate()
      Specified by:
      forceUpdate in interface DataObjectVariableEntity
    • getBytes

      public byte[] getBytes()
      Specified by:
      getBytes in interface DataObjectVariable
      Specified by:
      getBytes in interface org.flowable.variable.api.types.ValueFields
      Returns:
      the byte array value, if any, or null.
    • setBytes

      public void setBytes(byte[] bytes)
      Specified by:
      setBytes in interface DataObjectVariableEntity
      Specified by:
      setBytes in interface org.flowable.variable.api.types.ValueFields
    • getByteArrayRef

      public org.flowable.common.engine.impl.persistence.entity.ByteArrayRef getByteArrayRef()
      Specified by:
      getByteArrayRef in interface DataObjectVariableEntity
    • ensureByteArrayRefInitialized

      protected void ensureByteArrayRefInitialized()
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface DataObjectVariable
    • setValue

      public void setValue(Object value)
      Specified by:
      setValue in interface DataObjectVariableEntity
    • setName

      public void setName(String name)
      Specified by:
      setName in interface DataObjectVariableEntity
    • getName

      public String getName()
      Specified by:
      getName in interface DataObjectVariable
      Specified by:
      getName in interface org.flowable.variable.api.types.ValueFields
      Returns:
      the name of the variable
    • getDataInstanceId

      public String getDataInstanceId()
      Specified by:
      getDataInstanceId in interface DataObjectVariable
      Returns:
      the data instance id of the variable
    • setDataInstanceId

      public void setDataInstanceId(String dataInstanceId)
      Specified by:
      setDataInstanceId in interface DataObjectVariableEntity
    • getTypeName

      public String getTypeName()
      Specified by:
      getTypeName in interface DataObjectVariable
    • setTypeName

      public void setTypeName(String typeName)
      Specified by:
      setTypeName in interface DataObjectVariableEntity
    • getType

      public org.flowable.variable.api.types.VariableType getType()
      Specified by:
      getType in interface DataObjectVariableEntity
    • setType

      public void setType(org.flowable.variable.api.types.VariableType type)
      Specified by:
      setType in interface DataObjectVariableEntity
    • getLongValue

      public Long getLongValue()
      Specified by:
      getLongValue in interface DataObjectVariable
      Specified by:
      getLongValue in interface org.flowable.variable.api.types.ValueFields
      Returns:
      the long value, if any, or null.
    • setLongValue

      public void setLongValue(Long longValue)
      Specified by:
      setLongValue in interface DataObjectVariableEntity
      Specified by:
      setLongValue in interface org.flowable.variable.api.types.ValueFields
    • getDoubleValue

      public Double getDoubleValue()
      Specified by:
      getDoubleValue in interface DataObjectVariable
      Specified by:
      getDoubleValue in interface org.flowable.variable.api.types.ValueFields
      Returns:
      the double value, if any, or null.
    • setDoubleValue

      public void setDoubleValue(Double doubleValue)
      Specified by:
      setDoubleValue in interface DataObjectVariableEntity
      Specified by:
      setDoubleValue in interface org.flowable.variable.api.types.ValueFields
    • getTextValue

      public String getTextValue()
      Specified by:
      getTextValue in interface DataObjectVariable
      Specified by:
      getTextValue in interface org.flowable.variable.api.types.ValueFields
      Returns:
      the first text value, if any, or null.
    • setTextValue

      public void setTextValue(String textValue)
      Specified by:
      setTextValue in interface DataObjectVariableEntity
      Specified by:
      setTextValue in interface org.flowable.variable.api.types.ValueFields
    • getTextValue2

      public String getTextValue2()
      Specified by:
      getTextValue2 in interface DataObjectVariable
      Specified by:
      getTextValue2 in interface org.flowable.variable.api.types.ValueFields
      Returns:
      the second text value, if any, or null.
    • setTextValue2

      public void setTextValue2(String textValue2)
      Specified by:
      setTextValue2 in interface DataObjectVariableEntity
      Specified by:
      setTextValue2 in interface org.flowable.variable.api.types.ValueFields
    • getCachedValue

      public Object getCachedValue()
      Specified by:
      getCachedValue in interface DataObjectVariableEntity
      Specified by:
      getCachedValue in interface org.flowable.variable.api.types.ValueFields
    • setCachedValue

      public void setCachedValue(Object cachedValue)
      Specified by:
      setCachedValue in interface DataObjectVariableEntity
      Specified by:
      setCachedValue in interface org.flowable.variable.api.types.ValueFields
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getProcessInstanceId

      public String getProcessInstanceId()
      Specified by:
      getProcessInstanceId in interface org.flowable.variable.api.types.ValueFields
    • getExecutionId

      public String getExecutionId()
      Specified by:
      getExecutionId in interface org.flowable.variable.api.types.ValueFields
    • getScopeId

      public String getScopeId()
      Specified by:
      getScopeId in interface org.flowable.variable.api.types.ValueFields
    • getSubScopeId

      public String getSubScopeId()
      Specified by:
      getSubScopeId in interface org.flowable.variable.api.types.ValueFields
    • getScopeType

      public String getScopeType()
      Specified by:
      getScopeType in interface org.flowable.variable.api.types.ValueFields
    • getTaskId

      public String getTaskId()
      Specified by:
      getTaskId in interface org.flowable.variable.api.types.ValueFields