Class ResourceEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity
-
- All Implemented Interfaces:
Serializable
,DbEntity
,Resource
public class ResourceEntity extends Object implements Serializable, DbEntity, Resource
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Date
getCreateTime()
String
getDeploymentId()
String
getId()
String
getName()
Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.String
getTenantId()
Integer
getType()
boolean
isGenerated()
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
setId(String id)
void
setName(String name)
void
setTenantId(String tenantId)
void
setType(Integer type)
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
-
setName
public void setName(String name)
-
setBytes
public void setBytes(byte[] bytes)
-
getDeploymentId
public String getDeploymentId()
- Specified by:
getDeploymentId
in interfaceResource
-
setDeploymentId
public void setDeploymentId(String deploymentId)
-
getPersistentState
public Object 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
public String getTenantId()
-
setTenantId
public void setTenantId(String tenantId)
-
getType
public Integer getType()
-
setType
public void setType(Integer type)
-
getCreateTime
public Date getCreateTime()
-
setCreateTime
public void setCreateTime(Date createTime)
-
-