Class MetadataInstanceEntityImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef byteArrayRef  
      protected java.lang.Object cachedValue  
      protected java.lang.String contentItemId  
      protected boolean deleted  
      protected java.lang.Double doubleValue  
      protected boolean forcedUpdate  
      protected java.lang.Long longValue  
      protected java.lang.String name  
      protected java.lang.String textValue  
      protected java.lang.String textValue2  
      protected org.flowable.variable.api.types.VariableType type  
      protected java.lang.String typeName  
      • Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity

        id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
    • Field Detail

      • name

        protected java.lang.String name
      • type

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

        protected java.lang.String typeName
      • contentItemId

        protected java.lang.String contentItemId
      • longValue

        protected java.lang.Long longValue
      • doubleValue

        protected java.lang.Double doubleValue
      • textValue

        protected java.lang.String textValue
      • textValue2

        protected java.lang.String textValue2
      • byteArrayRef

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

        protected java.lang.Object cachedValue
      • forcedUpdate

        protected boolean forcedUpdate
      • deleted

        protected boolean deleted
    • Constructor Detail

      • MetadataInstanceEntityImpl

        public MetadataInstanceEntityImpl()
    • Method Detail

      • getPersistentState

        public java.lang.Object getPersistentState()
        Specified by:
        getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity
      • 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
      • ensureByteArrayRefInitialized

        protected void ensureByteArrayRefInitialized()
      • getName

        public java.lang.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 java.lang.String getContentItemId()
        Specified by:
        getContentItemId in interface MetadataInstance
        Returns:
        the process instance id of the variable
      • setType

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

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

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

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

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

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

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

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

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

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

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

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

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

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