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
Modifier and TypeFieldDescriptionprotected ByteArrayRef
protected Object
protected String
protected boolean
protected Double
protected boolean
protected Long
protected String
protected String
protected String
protected VariableType
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
byte[]
getBytes()
getName()
getType()
getValue()
void
setBytes
(byte[] bytes) void
setCachedValue
(Object cachedValue) void
setContentItemId
(String contentItemId) void
setDoubleValue
(Double doubleValue) void
setLongValue
(Long longValue) void
void
setTextValue
(String textValue) void
setTextValue2
(String textValue2) void
setType
(VariableType type) void
setTypeName
(String typeName) void
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.core.content.api.MetadataInstance
getId
Methods 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:
getPersistentState
in interfaceEntity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdate
in interfaceMetadataInstanceEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceMetadataInstance
- Specified by:
getBytes
in interfaceValueFields
- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytes
in interfaceMetadataInstanceEntity
- Specified by:
setBytes
in interfaceValueFields
-
getByteArrayRef
- Specified by:
getByteArrayRef
in interfaceMetadataInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValue
in interfaceMetadataInstance
-
setValue
- Specified by:
setValue
in interfaceMetadataInstanceEntity
-
setName
- Specified by:
setName
in interfaceMetadataInstanceEntity
-
getName
- Specified by:
getName
in interfaceMetadataInstance
- Specified by:
getName
in interfaceValueFields
- Returns:
- the name of the variable
-
getContentItemId
- Specified by:
getContentItemId
in interfaceMetadataInstance
- Returns:
- the process instance id of the variable
-
setContentItemId
- Specified by:
setContentItemId
in interfaceMetadataInstanceEntity
-
getTypeName
- Specified by:
getTypeName
in interfaceMetadataInstance
-
setTypeName
- Specified by:
setTypeName
in interfaceMetadataInstanceEntity
-
getType
- Specified by:
getType
in interfaceMetadataInstanceEntity
-
setType
- Specified by:
setType
in interfaceMetadataInstanceEntity
-
getLongValue
- Specified by:
getLongValue
in interfaceMetadataInstance
- Specified by:
getLongValue
in interfaceValueFields
- Returns:
- the long value, if any, or null.
-
setLongValue
- Specified by:
setLongValue
in interfaceMetadataInstanceEntity
- Specified by:
setLongValue
in interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValue
in interfaceMetadataInstance
- Specified by:
getDoubleValue
in interfaceValueFields
- Returns:
- the double value, if any, or null.
-
setDoubleValue
- Specified by:
setDoubleValue
in interfaceMetadataInstanceEntity
- Specified by:
setDoubleValue
in interfaceValueFields
-
getTextValue
- Specified by:
getTextValue
in interfaceMetadataInstance
- Specified by:
getTextValue
in interfaceValueFields
- Returns:
- the first text value, if any, or null.
-
setTextValue
- Specified by:
setTextValue
in interfaceMetadataInstanceEntity
- Specified by:
setTextValue
in interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2
in interfaceMetadataInstance
- Specified by:
getTextValue2
in interfaceValueFields
- Returns:
- the second text value, if any, or null.
-
setTextValue2
- Specified by:
setTextValue2
in interfaceMetadataInstanceEntity
- Specified by:
setTextValue2
in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValue
in interfaceMetadataInstanceEntity
- Specified by:
getCachedValue
in interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValue
in interfaceMetadataInstanceEntity
- Specified by:
setCachedValue
in interfaceValueFields
-
toString
-
getProcessInstanceId
- Specified by:
getProcessInstanceId
in interfaceValueFields
-
getExecutionId
- Specified by:
getExecutionId
in interfaceValueFields
-
getScopeId
- Specified by:
getScopeId
in interfaceValueFields
-
getSubScopeId
- Specified by:
getSubScopeId
in interfaceValueFields
-
getScopeType
- Specified by:
getScopeType
in interfaceValueFields
-
getTaskId
- Specified by:
getTaskId
in interfaceValueFields
-