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