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 Date
creationTime
protected String
creatorId
protected String
deploymentId
protected String
externalId
protected String
key
protected String
name
protected String
resourceName
protected String
sourceId
protected String
sourceType
protected String
subType
protected String
tenantId
protected String
type
protected int
version
-
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 Date
getCreationTime()
Returns the creation timestamp of this data object.String
getCreatorId()
Returns the id of the user creating this data object.String
getDeploymentId()
String
getExternalId()
Returns the external id for this data object definition.String
getKey()
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.String
getName()
Returns the name of this data object definition which is usually used as the label.Object
getPersistentState()
String
getResourceName()
String
getSourceId()
Returns the id of the source for this data object definition.String
getSourceType()
Returns the type of the source for this data object definition.String
getSubType()
The sub type further categorizes this master data definition (see type for more information and examples).String
getTenantId()
String
getType()
The type of this data object definition, normally used to kind of categorize data object definitions (e.g.int
getVersion()
void
setCreationTime(Date creationTime)
void
setCreatorId(String creatorId)
void
setDeploymentId(String deploymentId)
void
setExternalId(String externalId)
void
setKey(String key)
void
setName(String name)
void
setResourceName(String resourceName)
void
setSourceId(String sourceId)
void
setSourceType(String sourceType)
void
setSubType(String subType)
void
setTenantId(String tenantId)
void
setType(String type)
void
setVersion(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:DataObjectDefinition
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.- Specified by:
getKey
in interfaceDataObjectDefinition
- Returns:
- the key for this data object definition
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfaceDataObjectDefinitionEntity
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceDataObjectDefinition
-
setVersion
public void setVersion(int version)
- Specified by:
setVersion
in interfaceDataObjectDefinitionEntity
-
getDeploymentId
public String getDeploymentId()
- Specified by:
getDeploymentId
in interfaceDataObjectDefinition
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentId
in interfaceDataObjectDefinitionEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantId
in interfaceDataObjectDefinition
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantId
in interfaceDataObjectDefinitionEntity
-
getName
public String getName()
Description copied from interface:DataObjectDefinition
Returns the name of this data object definition which is usually used as the label.- Specified by:
getName
in interfaceDataObjectDefinition
- Returns:
- the name of this data object definition
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceDataObjectDefinitionEntity
-
getType
public String getType()
Description copied from interface:DataObjectDefinition
The 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:
getType
in interfaceDataObjectDefinition
- Returns:
- the type of this master data definition
-
setType
public void setType(String type)
- Specified by:
setType
in interfaceDataObjectDefinitionEntity
-
getExternalId
public String getExternalId()
Description copied from interface:DataObjectDefinition
Returns the external id for this data object definition.- Specified by:
getExternalId
in interfaceDataObjectDefinition
-
setExternalId
public void setExternalId(String externalId)
- Specified by:
setExternalId
in interfaceDataObjectDefinitionEntity
-
getSubType
public String getSubType()
Description copied from interface:DataObjectDefinition
The sub type further categorizes this master data definition (see type for more information and examples).- Specified by:
getSubType
in interfaceDataObjectDefinition
- Returns:
- the sub type of this master data description
-
setSubType
public void setSubType(String subType)
- Specified by:
setSubType
in interfaceDataObjectDefinitionEntity
-
getSourceId
public String getSourceId()
Description copied from interface:DataObjectDefinition
Returns the id of the source for this data object definition.- Specified by:
getSourceId
in interfaceDataObjectDefinition
-
setSourceId
public void setSourceId(String sourceId)
- Specified by:
setSourceId
in interfaceDataObjectDefinitionEntity
-
getSourceType
public String getSourceType()
Description copied from interface:DataObjectDefinition
Returns the type of the source for this data object definition.- Specified by:
getSourceType
in 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:
setSourceType
in interfaceDataObjectDefinitionEntity
-
getResourceName
public String getResourceName()
- Specified by:
getResourceName
in interfaceDataObjectDefinition
-
setResourceName
public void setResourceName(String resourceName)
- Specified by:
setResourceName
in interfaceDataObjectDefinitionEntity
-
getCreationTime
public Date getCreationTime()
Description copied from interface:DataObjectDefinition
Returns the creation timestamp of this data object.- Specified by:
getCreationTime
in interfaceDataObjectDefinition
- Returns:
- the creation timestamp
-
setCreationTime
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTime
in interfaceDataObjectDefinitionEntity
-
getCreatorId
public String getCreatorId()
Description copied from interface:DataObjectDefinition
Returns the id of the user creating this data object.- Specified by:
getCreatorId
in interfaceDataObjectDefinition
- Returns:
- the id of the creation user
-
setCreatorId
public void setCreatorId(String creatorId)
- Specified by:
setCreatorId
in interfaceDataObjectDefinitionEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
-