Class ResourceEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity
- All Implemented Interfaces:
Serializable
,DbEntity
,Resource
- Author:
- Tom Baeyens
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytes()
getId()
getName()
Returns a representation of the object, as would be stored in the database.getType()
boolean
Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment.void
setBytes
(byte[] bytes) void
setCreateTime
(Date createTime) void
setDeploymentId
(String deploymentId) void
setGenerated
(boolean generated) void
void
void
setTenantId
(String tenantId) void
toString()
-
Field Details
-
id
-
name
-
bytes
protected byte[] bytes -
deploymentId
-
generated
protected boolean generated -
tenantId
-
type
-
createTime
-
-
Constructor Details
-
ResourceEntity
public ResourceEntity()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getBytes
public byte[] getBytes() -
setBytes
public void setBytes(byte[] bytes) -
getDeploymentId
- Specified by:
getDeploymentId
in interfaceResource
-
setDeploymentId
-
getPersistentState
Description copied from interface:DbEntity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceDbEntity
-
setGenerated
public void setGenerated(boolean generated) -
isGenerated
public boolean isGenerated()Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment. -
getTenantId
-
setTenantId
-
getType
-
setType
-
getCreateTime
-
setCreateTime
-
toString
-