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,HasRevision,Entity,ValueFields
public class MetadataInstanceEntityImpl extends AbstractContentEngineEntity implements MetadataInstanceEntity, ValueFields, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayRefbyteArrayRefprotected ObjectcachedValueprotected StringcontentItemIdprotected booleandeletedprotected DoubledoubleValueprotected booleanforcedUpdateprotected LonglongValueprotected Stringnameprotected StringtextValueprotected StringtextValue2protected VariableTypetypeprotected StringtypeName-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description MetadataInstanceEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidensureByteArrayRefInitialized()voidforceUpdate()ByteArrayRefgetByteArrayRef()byte[]getBytes()ObjectgetCachedValue()StringgetContentItemId()DoublegetDoubleValue()StringgetExecutionId()LonggetLongValue()StringgetName()ObjectgetPersistentState()StringgetProcessInstanceId()StringgetScopeId()StringgetScopeType()StringgetSubScopeId()StringgetTaskId()StringgetTextValue()StringgetTextValue2()VariableTypegetType()StringgetTypeName()ObjectgetValue()voidsetBytes(byte[] bytes)voidsetCachedValue(Object cachedValue)voidsetContentItemId(String contentItemId)voidsetDoubleValue(Double doubleValue)voidsetLongValue(Long longValue)voidsetName(String name)voidsetTextValue(String textValue)voidsetTextValue2(String textValue2)voidsetType(VariableType type)voidsetTypeName(String typeName)voidsetValue(Object value)StringtoString()-
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.core.content.api.MetadataInstance
getId
-
Methods inherited from interface com.flowable.content.engine.impl.persistence.entity.MetadataInstanceEntity
setId
-
-
-
-
Field Detail
-
name
protected String name
-
type
protected 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 ByteArrayRef byteArrayRef
-
cachedValue
protected Object cachedValue
-
forcedUpdate
protected boolean forcedUpdate
-
deleted
protected boolean deleted
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
forceUpdate
public void forceUpdate()
- Specified by:
forceUpdatein interfaceMetadataInstanceEntity
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceMetadataInstance- Specified by:
getBytesin interfaceValueFields- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes)
- Specified by:
setBytesin interfaceMetadataInstanceEntity- Specified by:
setBytesin interfaceValueFields
-
getByteArrayRef
public ByteArrayRef getByteArrayRef()
- Specified by:
getByteArrayRefin interfaceMetadataInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized()
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceMetadataInstance
-
setValue
public void setValue(Object value)
- Specified by:
setValuein interfaceMetadataInstanceEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceMetadataInstanceEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceMetadataInstance- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getContentItemId
public String getContentItemId()
- Specified by:
getContentItemIdin interfaceMetadataInstance- Returns:
- the process instance id of the variable
-
setContentItemId
public void setContentItemId(String contentItemId)
- Specified by:
setContentItemIdin interfaceMetadataInstanceEntity
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceMetadataInstance
-
setTypeName
public void setTypeName(String typeName)
- Specified by:
setTypeNamein interfaceMetadataInstanceEntity
-
getType
public VariableType getType()
- Specified by:
getTypein interfaceMetadataInstanceEntity
-
setType
public void setType(VariableType type)
- Specified by:
setTypein interfaceMetadataInstanceEntity
-
getLongValue
public Long getLongValue()
- Specified by:
getLongValuein interfaceMetadataInstance- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
public void setLongValue(Long longValue)
- Specified by:
setLongValuein interfaceMetadataInstanceEntity- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
public Double getDoubleValue()
- Specified by:
getDoubleValuein interfaceMetadataInstance- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
public void setDoubleValue(Double doubleValue)
- Specified by:
setDoubleValuein interfaceMetadataInstanceEntity- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
public String getTextValue()
- Specified by:
getTextValuein interfaceMetadataInstance- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
public void setTextValue(String textValue)
- Specified by:
setTextValuein interfaceMetadataInstanceEntity- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
public String getTextValue2()
- Specified by:
getTextValue2in interfaceMetadataInstance- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
public void setTextValue2(String textValue2)
- Specified by:
setTextValue2in interfaceMetadataInstanceEntity- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
public Object getCachedValue()
- Specified by:
getCachedValuein interfaceMetadataInstanceEntity- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
public void setCachedValue(Object cachedValue)
- Specified by:
setCachedValuein interfaceMetadataInstanceEntity- Specified by:
setCachedValuein interfaceValueFields
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceValueFields
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionIdin interfaceValueFields
-
getScopeId
public String getScopeId()
- Specified by:
getScopeIdin interfaceValueFields
-
getSubScopeId
public String getSubScopeId()
- Specified by:
getSubScopeIdin interfaceValueFields
-
getScopeType
public String getScopeType()
- Specified by:
getScopeTypein interfaceValueFields
-
getTaskId
public String getTaskId()
- Specified by:
getTaskIdin interfaceValueFields
-
-