Class DataObjectDefinitionEntityImpl
- 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.DataObjectDefinitionEntityImpl
-
- All Implemented Interfaces:
DataObjectDefinition,DataObjectDefinitionEntity,HasRevision,Entity
public class DataObjectDefinitionEntityImpl extends AbstractDataObjectEngineEntity implements DataObjectDefinitionEntity
-
-
Field Summary
Fields Modifier and Type Field Description protected DatecreationTimeprotected StringcreatorIdprotected StringdeploymentIdprotected StringexternalIdprotected Stringkeyprotected Stringnameprotected StringresourceNameprotected StringsourceIdprotected StringsourceTypeprotected StringsubTypeprotected StringtenantIdprotected Stringtypeprotected intversion-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description DataObjectDefinitionEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreationTime()Returns the creation timestamp of this data object.StringgetCreatorId()Returns the id of the user creating this data object.StringgetDeploymentId()StringgetExternalId()Returns the external id for this data object definition.StringgetKey()Returns the key for this data object definition which must be unique, but is human-readable normally and must be the same across environments for the same data object definition.StringgetName()Returns the name of this data object definition which is usually used as the label.ObjectgetPersistentState()StringgetResourceName()StringgetSourceId()Returns the id of the source for this data object definition.StringgetSourceType()Returns the type of the source for this data object definition.StringgetSubType()The sub type further categorizes this master data definition (see type for more information and examples).StringgetTenantId()StringgetType()The type of this data object definition, normally used to kind of categorize data object definitions (e.g.intgetVersion()voidsetCreationTime(Date creationTime)voidsetCreatorId(String creatorId)voidsetDeploymentId(String deploymentId)voidsetExternalId(String externalId)voidsetKey(String key)voidsetName(String name)voidsetResourceName(String resourceName)voidsetSourceId(String sourceId)voidsetSourceType(String sourceType)voidsetSubType(String subType)voidsetTenantId(String tenantId)voidsetType(String type)voidsetVersion(int version)-
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.repository.DataObjectDefinition
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
-
key
protected String key
-
version
protected int version
-
deploymentId
protected String deploymentId
-
tenantId
protected String tenantId
-
name
protected String name
-
type
protected String type
-
subType
protected String subType
-
externalId
protected String externalId
-
sourceId
protected String sourceId
-
sourceType
protected String sourceType
-
resourceName
protected String resourceName
-
creationTime
protected Date creationTime
-
creatorId
protected String creatorId
-
-
Method Detail
-
getKey
public String getKey()
Description copied from interface:DataObjectDefinitionReturns the key for this data object definition which must be unique, but is human-readable normally and must be the same across environments for the same data object definition.- Specified by:
getKeyin interfaceDataObjectDefinition- Returns:
- the key for this data object definition
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceDataObjectDefinitionEntity
-
getVersion
public int getVersion()
- Specified by:
getVersionin interfaceDataObjectDefinition
-
setVersion
public void setVersion(int version)
- Specified by:
setVersionin interfaceDataObjectDefinitionEntity
-
getDeploymentId
public String getDeploymentId()
- Specified by:
getDeploymentIdin interfaceDataObjectDefinition
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentIdin interfaceDataObjectDefinitionEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceDataObjectDefinition
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceDataObjectDefinitionEntity
-
getName
public String getName()
Description copied from interface:DataObjectDefinitionReturns the name of this data object definition which is usually used as the label.- Specified by:
getNamein interfaceDataObjectDefinition- Returns:
- the name of this data object definition
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceDataObjectDefinitionEntity
-
getType
public String getType()
Description copied from interface:DataObjectDefinitionThe type of this data object definition, normally used to kind of categorize data object definitions (e.g. the type might be 'masterData' and the sub type might then reflect another sub type of master data like 'internal' or 'SAP' or whatever makes sense for categorization.- Specified by:
getTypein interfaceDataObjectDefinition- Returns:
- the type of this master data definition
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceDataObjectDefinitionEntity
-
getExternalId
public String getExternalId()
Description copied from interface:DataObjectDefinitionReturns the external id for this data object definition.- Specified by:
getExternalIdin interfaceDataObjectDefinition
-
setExternalId
public void setExternalId(String externalId)
- Specified by:
setExternalIdin interfaceDataObjectDefinitionEntity
-
getSubType
public String getSubType()
Description copied from interface:DataObjectDefinitionThe sub type further categorizes this master data definition (see type for more information and examples).- Specified by:
getSubTypein interfaceDataObjectDefinition- Returns:
- the sub type of this master data description
-
setSubType
public void setSubType(String subType)
- Specified by:
setSubTypein interfaceDataObjectDefinitionEntity
-
getSourceId
public String getSourceId()
Description copied from interface:DataObjectDefinitionReturns the id of the source for this data object definition.- Specified by:
getSourceIdin interfaceDataObjectDefinition
-
setSourceId
public void setSourceId(String sourceId)
- Specified by:
setSourceIdin interfaceDataObjectDefinitionEntity
-
getSourceType
public String getSourceType()
Description copied from interface:DataObjectDefinitionReturns the type of the source for this data object definition.- Specified by:
getSourceTypein interfaceDataObjectDefinition- Returns:
- the type of the source supporting this data objects
- See Also:
for a list of supported source types
-
setSourceType
public void setSourceType(String sourceType)
- Specified by:
setSourceTypein interfaceDataObjectDefinitionEntity
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceDataObjectDefinition
-
setResourceName
public void setResourceName(String resourceName)
- Specified by:
setResourceNamein interfaceDataObjectDefinitionEntity
-
getCreationTime
public Date getCreationTime()
Description copied from interface:DataObjectDefinitionReturns the creation timestamp of this data object.- Specified by:
getCreationTimein interfaceDataObjectDefinition- Returns:
- the creation timestamp
-
setCreationTime
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTimein interfaceDataObjectDefinitionEntity
-
getCreatorId
public String getCreatorId()
Description copied from interface:DataObjectDefinitionReturns the id of the user creating this data object.- Specified by:
getCreatorIdin interfaceDataObjectDefinition- Returns:
- the id of the creation user
-
setCreatorId
public void setCreatorId(String creatorId)
- Specified by:
setCreatorIdin interfaceDataObjectDefinitionEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
-