Class ByteArrayEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.ByteArrayEntity
- All Implemented Interfaces:
 Serializable,DbEntity,HasDbRevision
- Author:
 - Tom Baeyens
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionByteArrayEntity(byte[] bytes, ResourceType type) ByteArrayEntity(String name, byte[] bytes) ByteArrayEntity(String name, byte[] bytes, ResourceType type) ByteArrayEntity(String name, byte[] bytes, ResourceType type, String rootProcessInstanceId, Date removalTime)  - 
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()getId()getName()Returns a representation of the object, as would be stored in the database.intintgetType()voidsetBytes(byte[] bytes) voidsetCreateTime(Date createTime) voidsetDeploymentId(String deploymentId) voidvoidvoidsetRemovalTime(Date removalTime) voidsetRevision(int revision) voidsetRootProcessInstanceId(String rootProcessInstanceId) voidsetTenantId(String tenantId) voidtoString() 
- 
Field Details
- 
id
 - 
revision
protected int revision - 
name
 - 
bytes
protected byte[] bytes - 
deploymentId
 - 
tenantId
 - 
type
 - 
createTime
 - 
rootProcessInstanceId
 - 
removalTime
 
 - 
 - 
Constructor Details
- 
ByteArrayEntity
public ByteArrayEntity() - 
ByteArrayEntity
public ByteArrayEntity(String name, byte[] bytes, ResourceType type, String rootProcessInstanceId, Date removalTime)  - 
ByteArrayEntity
 - 
ByteArrayEntity
 - 
ByteArrayEntity
 
 - 
 - 
Method Details
- 
getBytes
public byte[] getBytes() - 
getPersistentState
Description copied from interface:DbEntityReturns 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:
 getPersistentStatein interfaceDbEntity
 - 
getRevisionNext
public int getRevisionNext()- Specified by:
 getRevisionNextin interfaceHasDbRevision
 - 
getId
 - 
setId
 - 
getName
 - 
setName
 - 
getDeploymentId
 - 
setDeploymentId
 - 
setBytes
public void setBytes(byte[] bytes)  - 
getRevision
public int getRevision()- Specified by:
 getRevisionin interfaceHasDbRevision
 - 
setRevision
public void setRevision(int revision) - Specified by:
 setRevisionin interfaceHasDbRevision
 - 
getTenantId
 - 
setTenantId
 - 
getType
 - 
setType
 - 
getCreateTime
 - 
setCreateTime
 - 
getRootProcessInstanceId
 - 
setRootProcessInstanceId
 - 
getRemovalTime
 - 
setRemovalTime
 - 
toString
 
 -