Class DataObjectInstanceEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
com.flowable.dataobject.engine.impl.persistence.entity.DataObjectInstanceEntityImpl
- All Implemented Interfaces:
DataObjectInstance,DataObjectInstanceEntity,org.flowable.common.engine.impl.db.HasRevision,org.flowable.common.engine.impl.persistence.entity.Entity
public class DataObjectInstanceEntityImpl extends AbstractDataObjectEngineEntity implements DataObjectInstanceEntity
-
Field Summary
Fields Modifier and Type Field Description protected java.util.DatecreationTimeprotected java.lang.StringcreatorIdprotected java.lang.StringdefinitionIdprotected java.lang.StringdefinitionKeyprotected java.lang.StringlookupIdprotected java.lang.StringscopeDefinitionIdprotected java.lang.StringscopeIdprotected java.lang.StringscopeTypeprotected java.lang.StringsubScopeIdprotected java.lang.StringupdaterIdprotected java.util.DateupdateTime -
Constructor Summary
Constructors Constructor Description DataObjectInstanceEntityImpl() -
Method Summary
Modifier and Type Method Description java.util.DategetCreationTime()Returns the creation timestamp of this data instance.java.lang.StringgetCreatorId()Returns the id of the user creating this data instance.java.lang.StringgetDefinitionId()Returns the id of the data object definition this instance belongs to.java.lang.StringgetDefinitionKey()Returns the key of the data object definition this instance belongs to.java.lang.StringgetLookupId()Returns the lookup id of this data object instance.java.lang.ObjectgetPersistentState()java.lang.StringgetScopeDefinitionId()Returns the scope definition id of the case or process definition where this data object is created or used for.java.lang.StringgetScopeId()Returns the scope id of the case or process instance where this data object is created or used for.java.lang.StringgetScopeType()Returns the scope type cmmn or bpmn or another value.java.lang.StringgetSubScopeId()Returns the sub scope id of the plan item or execution where this data object is created or used for.java.lang.StringgetUpdaterId()Returns the optional id of the user having last modified this data instance, if any,nullotherwise.java.util.DategetUpdateTime()Returns the timestamp of the last update of this data instance, in most cases where events are immutable, this timestamp is the same as the creation timestamp, but must never benull.voidsetCreationTime(java.util.Date creationTime)voidsetCreatorId(java.lang.String creatorId)voidsetDefinitionId(java.lang.String definitionId)voidsetDefinitionKey(java.lang.String definitionKey)voidsetLookupId(java.lang.String lookupId)voidsetScopeDefinitionId(java.lang.String scopeDefinitionId)voidsetScopeId(java.lang.String scopeId)voidsetScopeType(java.lang.String scopeType)voidsetSubScopeId(java.lang.String subScopeId)voidsetUpdaterId(java.lang.String updaterId)voidsetUpdateTime(java.util.Date updateTime)Methods inherited from class com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
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, toString, wait, wait, wait
-
Field Details
-
definitionId
protected java.lang.String definitionId -
definitionKey
protected java.lang.String definitionKey -
lookupId
protected java.lang.String lookupId -
creationTime
protected java.util.Date creationTime -
creatorId
protected java.lang.String creatorId -
updateTime
protected java.util.Date updateTime -
updaterId
protected java.lang.String updaterId -
scopeId
protected java.lang.String scopeId -
subScopeId
protected java.lang.String subScopeId -
scopeType
protected java.lang.String scopeType -
scopeDefinitionId
protected java.lang.String scopeDefinitionId
-
-
Constructor Details
-
DataObjectInstanceEntityImpl
public DataObjectInstanceEntityImpl()
-
-
Method Details
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentStatein interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
getDefinitionId
public java.lang.String getDefinitionId()Description copied from interface:DataObjectInstanceReturns the id of the data object definition this instance belongs to.- Specified by:
getDefinitionIdin interfaceDataObjectInstance- Returns:
- the id of the data object definition
-
setDefinitionId
public void setDefinitionId(java.lang.String definitionId)- Specified by:
setDefinitionIdin interfaceDataObjectInstanceEntity
-
getDefinitionKey
public java.lang.String getDefinitionKey()Description copied from interface:DataObjectInstanceReturns the key of the data object definition this instance belongs to.- Specified by:
getDefinitionKeyin interfaceDataObjectInstance- Returns:
- the key of the data object definition
-
setDefinitionKey
public void setDefinitionKey(java.lang.String definitionKey)- Specified by:
setDefinitionKeyin interfaceDataObjectInstanceEntity
-
getLookupId
public java.lang.String getLookupId()Description copied from interface:DataObjectInstanceReturns the lookup id of this data object instance.- Specified by:
getLookupIdin interfaceDataObjectInstance- Returns:
- the lookup id
-
setLookupId
public void setLookupId(java.lang.String lookupId)- Specified by:
setLookupIdin interfaceDataObjectInstanceEntity
-
getCreationTime
public java.util.Date getCreationTime()Description copied from interface:DataObjectInstanceReturns the creation timestamp of this data instance.- Specified by:
getCreationTimein interfaceDataObjectInstance- Returns:
- the creation timestamp
-
setCreationTime
public void setCreationTime(java.util.Date creationTime)- Specified by:
setCreationTimein interfaceDataObjectInstanceEntity
-
getCreatorId
public java.lang.String getCreatorId()Description copied from interface:DataObjectInstanceReturns the id of the user creating this data instance.- Specified by:
getCreatorIdin interfaceDataObjectInstance- Returns:
- the id of the creation user
-
setCreatorId
public void setCreatorId(java.lang.String creatorId)- Specified by:
setCreatorIdin interfaceDataObjectInstanceEntity
-
getUpdateTime
public java.util.Date getUpdateTime()Description copied from interface:DataObjectInstanceReturns the timestamp of the last update of this data instance, in most cases where events are immutable, this timestamp is the same as the creation timestamp, but must never benull.- Specified by:
getUpdateTimein interfaceDataObjectInstance- Returns:
- the timestamp of the last update / modification of this data object
-
setUpdateTime
public void setUpdateTime(java.util.Date updateTime)- Specified by:
setUpdateTimein interfaceDataObjectInstanceEntity
-
getUpdaterId
public java.lang.String getUpdaterId()Description copied from interface:DataObjectInstanceReturns the optional id of the user having last modified this data instance, if any,nullotherwise.- Specified by:
getUpdaterIdin interfaceDataObjectInstance- Returns:
- the optional id of the user having last updated this data instance
-
setUpdaterId
public void setUpdaterId(java.lang.String updaterId)- Specified by:
setUpdaterIdin interfaceDataObjectInstanceEntity
-
getScopeId
public java.lang.String getScopeId()Description copied from interface:DataObjectInstanceReturns the scope id of the case or process instance where this data object is created or used for.- Specified by:
getScopeIdin interfaceDataObjectInstance- Returns:
- the scope id
-
setScopeId
public void setScopeId(java.lang.String scopeId)- Specified by:
setScopeIdin interfaceDataObjectInstanceEntity
-
getSubScopeId
public java.lang.String getSubScopeId()Description copied from interface:DataObjectInstanceReturns the sub scope id of the plan item or execution where this data object is created or used for.- Specified by:
getSubScopeIdin interfaceDataObjectInstance- Returns:
- the sub scope id
-
setSubScopeId
public void setSubScopeId(java.lang.String subScopeId)- Specified by:
setSubScopeIdin interfaceDataObjectInstanceEntity
-
getScopeType
public java.lang.String getScopeType()Description copied from interface:DataObjectInstanceReturns the scope type cmmn or bpmn or another value.- Specified by:
getScopeTypein interfaceDataObjectInstance- Returns:
- the scope type
-
setScopeType
public void setScopeType(java.lang.String scopeType)- Specified by:
setScopeTypein interfaceDataObjectInstanceEntity
-
getScopeDefinitionId
public java.lang.String getScopeDefinitionId()Description copied from interface:DataObjectInstanceReturns the scope definition id of the case or process definition where this data object is created or used for.- Specified by:
getScopeDefinitionIdin interfaceDataObjectInstance- Returns:
- the scope definition id
-
setScopeDefinitionId
public void setScopeDefinitionId(java.lang.String scopeDefinitionId)- Specified by:
setScopeDefinitionIdin interfaceDataObjectInstanceEntity
-