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
,HasRevision
,Entity
public class DataObjectInstanceEntityImpl
extends AbstractDataObjectEngineEntity
implements DataObjectInstanceEntity
-
Field Summary
Modifier and TypeFieldDescriptionprotected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Date
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the creation timestamp of this data instance.Returns the id of the user creating this data instance.Returns the id of the data object definition this instance belongs to.Returns the key of the data object definition this instance belongs to.Returns the lookup id of this data object instance.Returns the scope definition id of the case or process definition where this data object is created or used for.Returns the scope id of the case or process instance where this data object is created or used for.Returns the scope type cmmn or bpmn or another value.Returns the sub scope id of the plan item or execution where this data object is created or used for.Returns the optional id of the user having last modified this data instance, if any,null
otherwise.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
.void
setCreationTime
(Date creationTime) void
setCreatorId
(String creatorId) void
setDefinitionId
(String definitionId) void
setDefinitionKey
(String definitionKey) void
setLookupId
(String lookupId) void
setScopeDefinitionId
(String scopeDefinitionId) void
setScopeId
(String scopeId) void
setScopeType
(String scopeType) void
setSubScopeId
(String subScopeId) void
setUpdaterId
(String updaterId) void
setUpdateTime
(Date updateTime) Methods inherited from class com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
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, toString, wait, wait, wait
Methods inherited from interface com.flowable.dataobject.api.runtime.DataObjectInstance
getId
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Field Details
-
definitionId
-
definitionKey
-
lookupId
-
creationTime
-
creatorId
-
updateTime
-
updaterId
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
-
Constructor Details
-
DataObjectInstanceEntityImpl
public DataObjectInstanceEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-
getDefinitionId
Description copied from interface:DataObjectInstance
Returns the id of the data object definition this instance belongs to.- Specified by:
getDefinitionId
in interfaceDataObjectInstance
- Returns:
- the id of the data object definition
-
setDefinitionId
- Specified by:
setDefinitionId
in interfaceDataObjectInstanceEntity
-
getDefinitionKey
Description copied from interface:DataObjectInstance
Returns the key of the data object definition this instance belongs to.- Specified by:
getDefinitionKey
in interfaceDataObjectInstance
- Returns:
- the key of the data object definition
-
setDefinitionKey
- Specified by:
setDefinitionKey
in interfaceDataObjectInstanceEntity
-
getLookupId
Description copied from interface:DataObjectInstance
Returns the lookup id of this data object instance.- Specified by:
getLookupId
in interfaceDataObjectInstance
- Returns:
- the lookup id
-
setLookupId
- Specified by:
setLookupId
in interfaceDataObjectInstanceEntity
-
getCreationTime
Description copied from interface:DataObjectInstance
Returns the creation timestamp of this data instance.- Specified by:
getCreationTime
in interfaceDataObjectInstance
- Returns:
- the creation timestamp
-
setCreationTime
- Specified by:
setCreationTime
in interfaceDataObjectInstanceEntity
-
getCreatorId
Description copied from interface:DataObjectInstance
Returns the id of the user creating this data instance.- Specified by:
getCreatorId
in interfaceDataObjectInstance
- Returns:
- the id of the creation user
-
setCreatorId
- Specified by:
setCreatorId
in interfaceDataObjectInstanceEntity
-
getUpdateTime
Description copied from interface:DataObjectInstance
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
.- Specified by:
getUpdateTime
in interfaceDataObjectInstance
- Returns:
- the timestamp of the last update / modification of this data object
-
setUpdateTime
- Specified by:
setUpdateTime
in interfaceDataObjectInstanceEntity
-
getUpdaterId
Description copied from interface:DataObjectInstance
Returns the optional id of the user having last modified this data instance, if any,null
otherwise.- Specified by:
getUpdaterId
in interfaceDataObjectInstance
- Returns:
- the optional id of the user having last updated this data instance
-
setUpdaterId
- Specified by:
setUpdaterId
in interfaceDataObjectInstanceEntity
-
getScopeId
Description copied from interface:DataObjectInstance
Returns the scope id of the case or process instance where this data object is created or used for.- Specified by:
getScopeId
in interfaceDataObjectInstance
- Returns:
- the scope id
-
setScopeId
- Specified by:
setScopeId
in interfaceDataObjectInstanceEntity
-
getSubScopeId
Description copied from interface:DataObjectInstance
Returns the sub scope id of the plan item or execution where this data object is created or used for.- Specified by:
getSubScopeId
in interfaceDataObjectInstance
- Returns:
- the sub scope id
-
setSubScopeId
- Specified by:
setSubScopeId
in interfaceDataObjectInstanceEntity
-
getScopeType
Description copied from interface:DataObjectInstance
Returns the scope type cmmn or bpmn or another value.- Specified by:
getScopeType
in interfaceDataObjectInstance
- Returns:
- the scope type
-
setScopeType
- Specified by:
setScopeType
in interfaceDataObjectInstanceEntity
-
getScopeDefinitionId
Description copied from interface:DataObjectInstance
Returns the scope definition id of the case or process definition where this data object is created or used for.- Specified by:
getScopeDefinitionId
in interfaceDataObjectInstance
- Returns:
- the scope definition id
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionId
in interfaceDataObjectInstanceEntity
-