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
,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, Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef
protected Object
protected String
protected boolean
protected Double
protected boolean
protected Long
protected String
protected String
protected String
protected org.flowable.variable.api.types.VariableType
protected String
Fields 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 void
void
org.flowable.common.engine.impl.persistence.entity.ByteArrayRef
byte[]
getBytes()
getName()
org.flowable.variable.api.types.VariableType
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
(org.flowable.variable.api.types.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
protected org.flowable.variable.api.types.VariableType type -
typeName
-
contentItemId
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
protected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef byteArrayRef -
cachedValue
-
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
MetadataInstanceEntityImpl
public MetadataInstanceEntityImpl()
-
-
Method Details
-
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.common.engine.impl.persistence.entity.ByteArrayRef 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 interfaceorg.flowable.variable.api.types.ValueFields
- 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
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
- Specified by:
getLongValue
in interfaceMetadataInstance
- Specified by:
getLongValue
in interfaceorg.flowable.variable.api.types.ValueFields
- Returns:
- the long value, if any, or null.
-
setLongValue
- Specified by:
setLongValue
in interfaceMetadataInstanceEntity
- Specified by:
setLongValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
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
- Specified by:
setDoubleValue
in interfaceMetadataInstanceEntity
- Specified by:
setDoubleValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
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
- Specified by:
setTextValue
in interfaceMetadataInstanceEntity
- Specified by:
setTextValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
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
- Specified by:
setTextValue2
in interfaceMetadataInstanceEntity
- Specified by:
setTextValue2
in interfaceorg.flowable.variable.api.types.ValueFields
-
getCachedValue
- Specified by:
getCachedValue
in interfaceMetadataInstanceEntity
- Specified by:
getCachedValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
setCachedValue
- Specified by:
setCachedValue
in interfaceMetadataInstanceEntity
- Specified by:
setCachedValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
toString
-
getProcessInstanceId
- Specified by:
getProcessInstanceId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getExecutionId
- Specified by:
getExecutionId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeId
- Specified by:
getScopeId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getSubScopeId
- Specified by:
getSubScopeId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeType
- Specified by:
getScopeType
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTaskId
- Specified by:
getTaskId
in interfaceorg.flowable.variable.api.types.ValueFields
-