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.ByteArrayRefprotected Objectprotected Stringprotected booleanprotected Doubleprotected booleanprotected Longprotected Stringprotected Stringprotected Stringprotected org.flowable.variable.api.types.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 voidvoidorg.flowable.common.engine.impl.persistence.entity.ByteArrayRefbyte[]getBytes()getName()org.flowable.variable.api.types.VariableTypegetType()getValue()voidsetBytes(byte[] bytes) voidsetCachedValue(Object cachedValue) voidsetContentItemId(String contentItemId) voidsetDoubleValue(Double doubleValue) voidsetLongValue(Long longValue) voidvoidsetTextValue(String textValue) voidsetTextValue2(String textValue2) voidsetType(org.flowable.variable.api.types.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
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:
getPersistentStatein interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceMetadataInstanceEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceMetadataInstance- Specified by:
getBytesin interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytesin interfaceMetadataInstanceEntity- Specified by:
setBytesin interfaceorg.flowable.variable.api.types.ValueFields
-
getByteArrayRef
public org.flowable.common.engine.impl.persistence.entity.ByteArrayRef 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 interfaceorg.flowable.variable.api.types.ValueFields- 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
public org.flowable.variable.api.types.VariableType getType()- Specified by:
getTypein interfaceMetadataInstanceEntity
-
setType
public void setType(org.flowable.variable.api.types.VariableType type) - Specified by:
setTypein interfaceMetadataInstanceEntity
-
getLongValue
- Specified by:
getLongValuein interfaceMetadataInstance- Specified by:
getLongValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
- Specified by:
setLongValuein interfaceMetadataInstanceEntity- Specified by:
setLongValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceMetadataInstance- Specified by:
getDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
- Specified by:
setDoubleValuein interfaceMetadataInstanceEntity- Specified by:
setDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceMetadataInstance- Specified by:
getTextValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
- Specified by:
setTextValuein interfaceMetadataInstanceEntity- Specified by:
setTextValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceMetadataInstance- Specified by:
getTextValue2in interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
- Specified by:
setTextValue2in interfaceMetadataInstanceEntity- Specified by:
setTextValue2in interfaceorg.flowable.variable.api.types.ValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceMetadataInstanceEntity- Specified by:
getCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceMetadataInstanceEntity- Specified by:
setCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
toString
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getExecutionId
- Specified by:
getExecutionIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeId
- Specified by:
getScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeType
- Specified by:
getScopeTypein interfaceorg.flowable.variable.api.types.ValueFields
-
getTaskId
- Specified by:
getTaskIdin interfaceorg.flowable.variable.api.types.ValueFields
-