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
,org.flowable.common.engine.impl.db.HasRevision
,org.flowable.common.engine.impl.persistence.entity.Entity
public class DataObjectDefinitionEntityImpl extends AbstractDataObjectEngineEntity implements DataObjectDefinitionEntity
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
creationTime
protected java.lang.String
creatorId
protected java.lang.String
deploymentId
protected java.lang.String
externalId
protected java.lang.String
key
protected java.lang.String
name
protected java.lang.String
resourceName
protected java.lang.String
sourceId
protected java.lang.String
sourceType
protected java.lang.String
subType
protected java.lang.String
tenantId
protected java.lang.String
type
protected int
version
-
Constructor Summary
Constructors Constructor Description DataObjectDefinitionEntityImpl()
-
Method Summary
Modifier and Type Method Description java.util.Date
getCreationTime()
Returns the creation timestamp of this data object.java.lang.String
getCreatorId()
Returns the id of the user creating this data object.java.lang.String
getDeploymentId()
java.lang.String
getExternalId()
Returns the external id for this data object definition.java.lang.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.java.lang.String
getName()
Returns the name of this data object definition which is usually used as the label.java.lang.Object
getPersistentState()
java.lang.String
getResourceName()
java.lang.String
getSourceId()
Returns the id of the source for this data object definition.java.lang.String
getSourceType()
Returns the type of the source for this data object definition.java.lang.String
getSubType()
The sub type further categorizes this master data definition (see type for more information and examples).java.lang.String
getTenantId()
java.lang.String
getType()
The type of this data object definition, normally used to kind of categorize data object definitions (e.g.int
getVersion()
void
setCreationTime(java.util.Date creationTime)
void
setCreatorId(java.lang.String creatorId)
void
setDeploymentId(java.lang.String deploymentId)
void
setExternalId(java.lang.String externalId)
void
setKey(java.lang.String key)
void
setName(java.lang.String name)
void
setResourceName(java.lang.String resourceName)
void
setSourceId(java.lang.String sourceId)
void
setSourceType(java.lang.String sourceType)
void
setSubType(java.lang.String subType)
void
setTenantId(java.lang.String tenantId)
void
setType(java.lang.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
-
Field Details
-
key
protected java.lang.String key -
version
protected int version -
deploymentId
protected java.lang.String deploymentId -
tenantId
protected java.lang.String tenantId -
name
protected java.lang.String name -
type
protected java.lang.String type -
subType
protected java.lang.String subType -
externalId
protected java.lang.String externalId -
sourceId
protected java.lang.String sourceId -
sourceType
protected java.lang.String sourceType -
resourceName
protected java.lang.String resourceName -
creationTime
protected java.util.Date creationTime -
creatorId
protected java.lang.String creatorId
-
-
Constructor Details
-
DataObjectDefinitionEntityImpl
public DataObjectDefinitionEntityImpl()
-
-
Method Details
-
getKey
public java.lang.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(java.lang.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 java.lang.String getDeploymentId()- Specified by:
getDeploymentId
in interfaceDataObjectDefinition
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)- Specified by:
setDeploymentId
in interfaceDataObjectDefinitionEntity
-
getTenantId
public java.lang.String getTenantId()- Specified by:
getTenantId
in interfaceDataObjectDefinition
-
setTenantId
public void setTenantId(java.lang.String tenantId)- Specified by:
setTenantId
in interfaceDataObjectDefinitionEntity
-
getName
public java.lang.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(java.lang.String name)- Specified by:
setName
in interfaceDataObjectDefinitionEntity
-
getType
public java.lang.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(java.lang.String type)- Specified by:
setType
in interfaceDataObjectDefinitionEntity
-
getExternalId
public java.lang.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(java.lang.String externalId)- Specified by:
setExternalId
in interfaceDataObjectDefinitionEntity
-
getSubType
public java.lang.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(java.lang.String subType)- Specified by:
setSubType
in interfaceDataObjectDefinitionEntity
-
getSourceId
public java.lang.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(java.lang.String sourceId)- Specified by:
setSourceId
in interfaceDataObjectDefinitionEntity
-
getSourceType
public java.lang.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(java.lang.String sourceType)- Specified by:
setSourceType
in interfaceDataObjectDefinitionEntity
-
getResourceName
public java.lang.String getResourceName()- Specified by:
getResourceName
in interfaceDataObjectDefinition
-
setResourceName
public void setResourceName(java.lang.String resourceName)- Specified by:
setResourceName
in interfaceDataObjectDefinitionEntity
-
getCreationTime
public java.util.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(java.util.Date creationTime)- Specified by:
setCreationTime
in interfaceDataObjectDefinitionEntity
-
getCreatorId
public java.lang.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(java.lang.String creatorId)- Specified by:
setCreatorId
in interfaceDataObjectDefinitionEntity
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentState
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-