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
Fields Modifier and Type Field Description protected Date
creationTime
protected String
creatorId
protected String
definitionId
protected String
definitionKey
protected String
lookupId
protected String
scopeDefinitionId
protected String
scopeId
protected String
scopeType
protected String
subScopeId
protected String
updaterId
protected Date
updateTime
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description DataObjectInstanceEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreationTime()
Returns the creation timestamp of this data instance.String
getCreatorId()
Returns the id of the user creating this data instance.String
getDefinitionId()
Returns the id of the data object definition this instance belongs to.String
getDefinitionKey()
Returns the key of the data object definition this instance belongs to.String
getLookupId()
Returns the lookup id of this data object instance.Object
getPersistentState()
String
getScopeDefinitionId()
Returns the scope definition id of the case or process definition where this data object is created or used for.String
getScopeId()
Returns the scope id of the case or process instance where this data object is created or used for.String
getScopeType()
Returns the scope type cmmn or bpmn or another value.String
getSubScopeId()
Returns the sub scope id of the plan item or execution where this data object is created or used for.String
getUpdaterId()
Returns the optional id of the user having last modified this data instance, if any,null
otherwise.Date
getUpdateTime()
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 Detail
-
definitionId
protected String definitionId
-
definitionKey
protected String definitionKey
-
lookupId
protected String lookupId
-
creationTime
protected Date creationTime
-
creatorId
protected String creatorId
-
updateTime
protected Date updateTime
-
updaterId
protected String updaterId
-
scopeId
protected String scopeId
-
subScopeId
protected String subScopeId
-
scopeType
protected String scopeType
-
scopeDefinitionId
protected String scopeDefinitionId
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
getDefinitionId
public String 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
public void setDefinitionId(String definitionId)
- Specified by:
setDefinitionId
in interfaceDataObjectInstanceEntity
-
getDefinitionKey
public String 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
public void setDefinitionKey(String definitionKey)
- Specified by:
setDefinitionKey
in interfaceDataObjectInstanceEntity
-
getLookupId
public String 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
public void setLookupId(String lookupId)
- Specified by:
setLookupId
in interfaceDataObjectInstanceEntity
-
getCreationTime
public Date getCreationTime()
Description copied from interface:DataObjectInstance
Returns the creation timestamp of this data instance.- Specified by:
getCreationTime
in interfaceDataObjectInstance
- Returns:
- the creation timestamp
-
setCreationTime
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTime
in interfaceDataObjectInstanceEntity
-
getCreatorId
public String 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
public void setCreatorId(String creatorId)
- Specified by:
setCreatorId
in interfaceDataObjectInstanceEntity
-
getUpdateTime
public Date 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
public void setUpdateTime(Date updateTime)
- Specified by:
setUpdateTime
in interfaceDataObjectInstanceEntity
-
getUpdaterId
public String 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
public void setUpdaterId(String updaterId)
- Specified by:
setUpdaterId
in interfaceDataObjectInstanceEntity
-
getScopeId
public String 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
public void setScopeId(String scopeId)
- Specified by:
setScopeId
in interfaceDataObjectInstanceEntity
-
getSubScopeId
public String 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
public void setSubScopeId(String subScopeId)
- Specified by:
setSubScopeId
in interfaceDataObjectInstanceEntity
-
getScopeType
public String 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
public void setScopeType(String scopeType)
- Specified by:
setScopeType
in interfaceDataObjectInstanceEntity
-
getScopeDefinitionId
public String 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
public void setScopeDefinitionId(String scopeDefinitionId)
- Specified by:
setScopeDefinitionId
in interfaceDataObjectInstanceEntity
-
-