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,java.io.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, java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.variable.service.impl.persistence.entity.VariableByteArrayRefbyteArrayRefprotected java.lang.ObjectcachedValueprotected java.lang.StringcontentItemIdprotected booleandeletedprotected java.lang.DoubledoubleValueprotected booleanforcedUpdateprotected java.lang.LonglongValueprotected java.lang.Stringnameprotected java.lang.StringtextValueprotected java.lang.StringtextValue2protected org.flowable.variable.api.types.VariableTypetypeprotected java.lang.StringtypeName -
Constructor Summary
Constructors Constructor Description MetadataInstanceEntityImpl() -
Method Summary
Modifier and Type Method Description protected voidensureByteArrayRefInitialized()voidforceUpdate()org.flowable.variable.service.impl.persistence.entity.VariableByteArrayRefgetByteArrayRef()byte[]getBytes()java.lang.ObjectgetCachedValue()java.lang.StringgetContentItemId()java.lang.DoublegetDoubleValue()java.lang.StringgetExecutionId()java.lang.LonggetLongValue()java.lang.StringgetName()java.lang.ObjectgetPersistentState()java.lang.StringgetProcessInstanceId()java.lang.StringgetScopeId()java.lang.StringgetScopeType()java.lang.StringgetSubScopeId()java.lang.StringgetTaskId()java.lang.StringgetTextValue()java.lang.StringgetTextValue2()org.flowable.variable.api.types.VariableTypegetType()java.lang.StringgetTypeName()java.lang.ObjectgetValue()voidsetBytes(byte[] bytes)voidsetCachedValue(java.lang.Object cachedValue)voidsetContentItemId(java.lang.String contentItemId)voidsetDoubleValue(java.lang.Double doubleValue)voidsetLongValue(java.lang.Long longValue)voidsetName(java.lang.String name)voidsetTextValue(java.lang.String textValue)voidsetTextValue2(java.lang.String textValue2)voidsetType(org.flowable.variable.api.types.VariableType type)voidsetTypeName(java.lang.String typeName)voidsetValue(java.lang.Object value)java.lang.StringtoString()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.content.engine.impl.persistence.entity.MetadataInstanceEntity
setId
-
Field Details
-
name
protected java.lang.String name -
type
protected org.flowable.variable.api.types.VariableType type -
typeName
protected java.lang.String typeName -
contentItemId
protected java.lang.String contentItemId -
longValue
protected java.lang.Long longValue -
doubleValue
protected java.lang.Double doubleValue -
textValue
protected java.lang.String textValue -
textValue2
protected java.lang.String textValue2 -
byteArrayRef
protected org.flowable.variable.service.impl.persistence.entity.VariableByteArrayRef byteArrayRef -
cachedValue
protected java.lang.Object cachedValue -
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
MetadataInstanceEntityImpl
public MetadataInstanceEntityImpl()
-
-
Method Details
-
getPersistentState
public java.lang.Object 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.variable.service.impl.persistence.entity.VariableByteArrayRef getByteArrayRef()- Specified by:
getByteArrayRefin interfaceMetadataInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
public java.lang.Object getValue()- Specified by:
getValuein interfaceMetadataInstance
-
setValue
public void setValue(java.lang.Object value)- Specified by:
setValuein interfaceMetadataInstanceEntity
-
setName
public void setName(java.lang.String name)- Specified by:
setNamein interfaceMetadataInstanceEntity
-
getName
public java.lang.String getName()- Specified by:
getNamein interfaceMetadataInstance- Specified by:
getNamein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the name of the variable
-
getContentItemId
public java.lang.String getContentItemId()- Specified by:
getContentItemIdin interfaceMetadataInstance- Returns:
- the process instance id of the variable
-
setContentItemId
public void setContentItemId(java.lang.String contentItemId)- Specified by:
setContentItemIdin interfaceMetadataInstanceEntity
-
getTypeName
public java.lang.String getTypeName()- Specified by:
getTypeNamein interfaceMetadataInstance
-
setTypeName
public void setTypeName(java.lang.String typeName)- 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
public java.lang.Long getLongValue()- Specified by:
getLongValuein interfaceMetadataInstance- Specified by:
getLongValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
public void setLongValue(java.lang.Long longValue)- Specified by:
setLongValuein interfaceMetadataInstanceEntity- Specified by:
setLongValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getDoubleValue
public java.lang.Double getDoubleValue()- Specified by:
getDoubleValuein interfaceMetadataInstance- Specified by:
getDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
public void setDoubleValue(java.lang.Double doubleValue)- Specified by:
setDoubleValuein interfaceMetadataInstanceEntity- Specified by:
setDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue
public java.lang.String getTextValue()- Specified by:
getTextValuein interfaceMetadataInstance- Specified by:
getTextValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
public void setTextValue(java.lang.String textValue)- Specified by:
setTextValuein interfaceMetadataInstanceEntity- Specified by:
setTextValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue2
public java.lang.String getTextValue2()- Specified by:
getTextValue2in interfaceMetadataInstance- Specified by:
getTextValue2in interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
public void setTextValue2(java.lang.String textValue2)- Specified by:
setTextValue2in interfaceMetadataInstanceEntity- Specified by:
setTextValue2in interfaceorg.flowable.variable.api.types.ValueFields
-
getCachedValue
public java.lang.Object getCachedValue()- Specified by:
getCachedValuein interfaceMetadataInstanceEntity- Specified by:
getCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
setCachedValue
public void setCachedValue(java.lang.Object cachedValue)- Specified by:
setCachedValuein interfaceMetadataInstanceEntity- Specified by:
setCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()- Specified by:
getProcessInstanceIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getExecutionId
public java.lang.String getExecutionId()- Specified by:
getExecutionIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeId
public java.lang.String getScopeId()- Specified by:
getScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getSubScopeId
public java.lang.String getSubScopeId()- Specified by:
getSubScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeType
public java.lang.String getScopeType()- Specified by:
getScopeTypein interfaceorg.flowable.variable.api.types.ValueFields
-
getTaskId
public java.lang.String getTaskId()- Specified by:
getTaskIdin interfaceorg.flowable.variable.api.types.ValueFields
-