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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Objectprotected Stringprotected booleanprotected Doubleprotected booleanprotected Longprotected Stringprotected Stringprotected Stringprotected VariableTypeprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidbyte[]getBytes()getName()getType()getValue()voidsetBytes(byte[] bytes) voidsetCachedValue(Object cachedValue) voidsetContentItemId(String contentItemId) voidsetDoubleValue(Double doubleValue) voidsetLongValue(Long longValue) voidvoidsetTextValue(String textValue) voidsetTextValue2(String textValue2) voidsetType(VariableType type) voidsetTypeName(String typeName) voidtoString()Methods inherited from class com.flowable.content.engine.impl.persistence.entity.AbstractContentEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface com.flowable.core.content.api.MetadataInstance
getIdMethods inherited from interface com.flowable.content.engine.impl.persistence.entity.MetadataInstanceEntity
setId
-
Field Details
-
name
-
type
-
typeName
-
contentItemId
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
-
cachedValue
-
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
MetadataInstanceEntityImpl
public MetadataInstanceEntityImpl()
-
-
Method Details
-
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
- Specified by:
getByteArrayRefin interfaceMetadataInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValuein interfaceMetadataInstance
-
setValue
- Specified by:
setValuein interfaceMetadataInstanceEntity
-
setName
- Specified by:
setNamein interfaceMetadataInstanceEntity
-
getName
- Specified by:
getNamein interfaceMetadataInstance- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getContentItemId
- Specified by:
getContentItemIdin interfaceMetadataInstance- Returns:
- the process instance id of the variable
-
setContentItemId
- Specified by:
setContentItemIdin interfaceMetadataInstanceEntity
-
getTypeName
- Specified by:
getTypeNamein interfaceMetadataInstance
-
setTypeName
- Specified by:
setTypeNamein interfaceMetadataInstanceEntity
-
getType
- Specified by:
getTypein interfaceMetadataInstanceEntity
-
setType
- Specified by:
setTypein interfaceMetadataInstanceEntity
-
getLongValue
- Specified by:
getLongValuein interfaceMetadataInstance- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
- Specified by:
setLongValuein interfaceMetadataInstanceEntity- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceMetadataInstance- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
- Specified by:
setDoubleValuein interfaceMetadataInstanceEntity- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceMetadataInstance- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
- Specified by:
setTextValuein interfaceMetadataInstanceEntity- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceMetadataInstance- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
- Specified by:
setTextValue2in interfaceMetadataInstanceEntity- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceMetadataInstanceEntity- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceMetadataInstanceEntity- Specified by:
setCachedValuein interfaceValueFields
-
toString
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceValueFields
-
getExecutionId
- Specified by:
getExecutionIdin interfaceValueFields
-
getScopeId
- Specified by:
getScopeIdin interfaceValueFields
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceValueFields
-
getScopeType
- Specified by:
getScopeTypein interfaceValueFields
-
getTaskId
- Specified by:
getTaskIdin interfaceValueFields
-