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