Class MetadataInstanceEntityImpl

java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.content.engine.impl.persistence.entity.AbstractContentEngineEntity
com.flowable.content.engine.impl.persistence.entity.MetadataInstanceEntityImpl
All Implemented Interfaces:
MetadataInstanceEntity, MetadataInstance, Serializable, org.flowable.common.engine.impl.db.HasRevision, org.flowable.common.engine.impl.persistence.entity.Entity, org.flowable.variable.api.types.ValueFields

public class MetadataInstanceEntityImpl extends AbstractContentEngineEntity implements MetadataInstanceEntity, 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
    • contentItemId

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

    • MetadataInstanceEntityImpl

      public MetadataInstanceEntityImpl()
  • 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 MetadataInstanceEntity
    • getBytes

      public byte[] getBytes()
      Specified by:
      getBytes in interface MetadataInstance
      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 MetadataInstanceEntity
      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 MetadataInstanceEntity
    • ensureByteArrayRefInitialized

      protected void ensureByteArrayRefInitialized()
    • getValue

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

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

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

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

      public String getContentItemId()
      Specified by:
      getContentItemId in interface MetadataInstance
      Returns:
      the process instance id of the variable
    • setContentItemId

      public void setContentItemId(String contentItemId)
      Specified by:
      setContentItemId in interface MetadataInstanceEntity
    • getTypeName

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

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

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

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

      public Long getLongValue()
      Specified by:
      getLongValue in interface MetadataInstance
      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 MetadataInstanceEntity
      Specified by:
      setLongValue in interface org.flowable.variable.api.types.ValueFields
    • getDoubleValue

      public Double getDoubleValue()
      Specified by:
      getDoubleValue in interface MetadataInstance
      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 MetadataInstanceEntity
      Specified by:
      setDoubleValue in interface org.flowable.variable.api.types.ValueFields
    • getTextValue

      public String getTextValue()
      Specified by:
      getTextValue in interface MetadataInstance
      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 MetadataInstanceEntity
      Specified by:
      setTextValue in interface org.flowable.variable.api.types.ValueFields
    • getTextValue2

      public String getTextValue2()
      Specified by:
      getTextValue2 in interface MetadataInstance
      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 MetadataInstanceEntity
      Specified by:
      setTextValue2 in interface org.flowable.variable.api.types.ValueFields
    • getCachedValue

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

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