Class AppVariableEntityImpl

java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.app.engine.impl.persistence.entity.AbstractAppEngineEntity
com.flowable.app.engine.impl.persistence.entity.AppVariableEntityImpl
All Implemented Interfaces:
AppVariableEntity, AppVariable, Serializable, org.flowable.common.engine.impl.db.HasRevision, org.flowable.common.engine.impl.persistence.entity.Entity, org.flowable.variable.api.types.ValueFields

public class AppVariableEntityImpl extends AbstractAppEngineEntity implements AppVariableEntity, org.flowable.variable.api.types.ValueFields, Serializable
See Also:
  • Field Details

    • name

      protected String name
    • type

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

      protected String typeName
    • appKey

      protected String appKey
    • tenantId

      protected String tenantId
    • longValue

      protected Long longValue
    • doubleValue

      protected Double doubleValue
    • textValue

      protected String textValue
    • 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

    • AppVariableEntityImpl

      public AppVariableEntityImpl()
  • 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 AppVariableEntity
    • getBytes

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

      public void setBytes(byte[] bytes)
      Specified by:
      setBytes in interface AppVariableEntity
      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 AppVariableEntity
    • ensureByteArrayRefInitialized

      protected void ensureByteArrayRefInitialized()
    • getValue

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

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

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

      public String getName()
      Description copied from interface: AppVariable
      variable name
      Specified by:
      getName in interface AppVariable
      Specified by:
      getName in interface org.flowable.variable.api.types.ValueFields
    • getAppKey

      public String getAppKey()
      Description copied from interface: AppVariable
      reference to the app definition key
      Specified by:
      getAppKey in interface AppVariable
    • setAppKey

      public void setAppKey(String appKey)
      Specified by:
      setAppKey in interface AppVariableEntity
    • getTenantId

      public String getTenantId()
      Description copied from interface: AppVariable
      the tenant identifier of this app variable
      Specified by:
      getTenantId in interface AppVariable
    • setTenantId

      public void setTenantId(String tenantId)
      Specified by:
      setTenantId in interface AppVariableEntity
    • getTypeName

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

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

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

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

      public Long getLongValue()
      Specified by:
      getLongValue in interface org.flowable.variable.api.types.ValueFields
    • setLongValue

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

      public Double getDoubleValue()
      Specified by:
      getDoubleValue in interface org.flowable.variable.api.types.ValueFields
    • setDoubleValue

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

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

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

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

      public void setCachedValue(Object cachedValue)
      Specified by:
      setCachedValue in interface AppVariableEntity
      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
    • getTextValue2

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

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