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
,java.io.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, java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.variable.service.impl.persistence.entity.VariableByteArrayRef
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
-
Constructor Summary
Constructors Constructor Description MetadataInstanceEntityImpl()
-
Method Summary
Modifier and Type Method Description protected void
ensureByteArrayRefInitialized()
void
forceUpdate()
org.flowable.variable.service.impl.persistence.entity.VariableByteArrayRef
getByteArrayRef()
byte[]
getBytes()
java.lang.Object
getCachedValue()
java.lang.String
getContentItemId()
java.lang.Double
getDoubleValue()
java.lang.String
getExecutionId()
java.lang.Long
getLongValue()
java.lang.String
getName()
java.lang.Object
getPersistentState()
java.lang.String
getProcessInstanceId()
java.lang.String
getScopeId()
java.lang.String
getScopeType()
java.lang.String
getSubScopeId()
java.lang.String
getTaskId()
java.lang.String
getTextValue()
java.lang.String
getTextValue2()
org.flowable.variable.api.types.VariableType
getType()
java.lang.String
getTypeName()
java.lang.Object
getValue()
void
setBytes(byte[] bytes)
void
setCachedValue(java.lang.Object cachedValue)
void
setContentItemId(java.lang.String contentItemId)
void
setDoubleValue(java.lang.Double doubleValue)
void
setLongValue(java.lang.Long longValue)
void
setName(java.lang.String name)
void
setTextValue(java.lang.String textValue)
void
setTextValue2(java.lang.String textValue2)
void
setType(org.flowable.variable.api.types.VariableType type)
void
setTypeName(java.lang.String typeName)
void
setValue(java.lang.Object value)
java.lang.String
toString()
Methods inherited from class com.flowable.content.engine.impl.persistence.entity.AbstractContentEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
Methods inherited from interface com.flowable.content.engine.impl.persistence.entity.MetadataInstanceEntity
setId
-
Field Details
-
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.variable.service.impl.persistence.entity.VariableByteArrayRef byteArrayRef -
cachedValue
protected java.lang.Object cachedValue -
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
MetadataInstanceEntityImpl
public MetadataInstanceEntityImpl()
-
-
Method Details
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentState
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdate
in interfaceMetadataInstanceEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceMetadataInstance
- Specified by:
getBytes
in interfaceorg.flowable.variable.api.types.ValueFields
- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes)- Specified by:
setBytes
in interfaceMetadataInstanceEntity
- Specified by:
setBytes
in interfaceorg.flowable.variable.api.types.ValueFields
-
getByteArrayRef
public org.flowable.variable.service.impl.persistence.entity.VariableByteArrayRef getByteArrayRef()- Specified by:
getByteArrayRef
in interfaceMetadataInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
public java.lang.Object getValue()- Specified by:
getValue
in interfaceMetadataInstance
-
setValue
public void setValue(java.lang.Object value)- Specified by:
setValue
in interfaceMetadataInstanceEntity
-
setName
public void setName(java.lang.String name)- Specified by:
setName
in interfaceMetadataInstanceEntity
-
getName
public java.lang.String getName()- Specified by:
getName
in interfaceMetadataInstance
- Specified by:
getName
in interfaceorg.flowable.variable.api.types.ValueFields
- Returns:
- the name of the variable
-
getContentItemId
public java.lang.String getContentItemId()- Specified by:
getContentItemId
in interfaceMetadataInstance
- Returns:
- the process instance id of the variable
-
setContentItemId
public void setContentItemId(java.lang.String contentItemId)- Specified by:
setContentItemId
in interfaceMetadataInstanceEntity
-
getTypeName
public java.lang.String getTypeName()- Specified by:
getTypeName
in interfaceMetadataInstance
-
setTypeName
public void setTypeName(java.lang.String typeName)- Specified by:
setTypeName
in interfaceMetadataInstanceEntity
-
getType
public org.flowable.variable.api.types.VariableType getType()- Specified by:
getType
in interfaceMetadataInstanceEntity
-
setType
public void setType(org.flowable.variable.api.types.VariableType type)- Specified by:
setType
in interfaceMetadataInstanceEntity
-
getLongValue
public java.lang.Long getLongValue()- Specified by:
getLongValue
in interfaceMetadataInstance
- Specified by:
getLongValue
in interfaceorg.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 interfaceMetadataInstanceEntity
- Specified by:
setLongValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getDoubleValue
public java.lang.Double getDoubleValue()- Specified by:
getDoubleValue
in interfaceMetadataInstance
- Specified by:
getDoubleValue
in interfaceorg.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 interfaceMetadataInstanceEntity
- Specified by:
setDoubleValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue
public java.lang.String getTextValue()- Specified by:
getTextValue
in interfaceMetadataInstance
- Specified by:
getTextValue
in interfaceorg.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 interfaceMetadataInstanceEntity
- Specified by:
setTextValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue2
public java.lang.String getTextValue2()- Specified by:
getTextValue2
in interfaceMetadataInstance
- Specified by:
getTextValue2
in interfaceorg.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 interfaceMetadataInstanceEntity
- Specified by:
setTextValue2
in interfaceorg.flowable.variable.api.types.ValueFields
-
getCachedValue
public java.lang.Object getCachedValue()- Specified by:
getCachedValue
in interfaceMetadataInstanceEntity
- Specified by:
getCachedValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
setCachedValue
public void setCachedValue(java.lang.Object cachedValue)- Specified by:
setCachedValue
in interfaceMetadataInstanceEntity
- Specified by:
setCachedValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()- Specified by:
getProcessInstanceId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getExecutionId
public java.lang.String getExecutionId()- Specified by:
getExecutionId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeId
public java.lang.String getScopeId()- Specified by:
getScopeId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getSubScopeId
public java.lang.String getSubScopeId()- Specified by:
getSubScopeId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeType
public java.lang.String getScopeType()- Specified by:
getScopeType
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTaskId
public java.lang.String getTaskId()- Specified by:
getTaskId
in interfaceorg.flowable.variable.api.types.ValueFields
-