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
-
Constructor Summary
ConstructorDescriptionByteArrayEntity
(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.int
int
getType()
void
setBytes
(byte[] bytes) void
setCreateTime
(Date createTime) void
setDeploymentId
(String deploymentId) void
void
void
setRemovalTime
(Date removalTime) void
setRevision
(int revision) void
setRootProcessInstanceId
(String rootProcessInstanceId) void
setTenantId
(String tenantId) void
toString()
-
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: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
-
getRevisionNext
public int getRevisionNext()- Specified by:
getRevisionNext
in interfaceHasDbRevision
-
getId
-
setId
-
getName
-
setName
-
getDeploymentId
-
setDeploymentId
-
setBytes
public void setBytes(byte[] bytes) -
getRevision
public int getRevision()- Specified by:
getRevision
in interfaceHasDbRevision
-
setRevision
public void setRevision(int revision) - Specified by:
setRevision
in interfaceHasDbRevision
-
getTenantId
-
setTenantId
-
getType
-
setType
-
getCreateTime
-
setCreateTime
-
getRootProcessInstanceId
-
setRootProcessInstanceId
-
getRemovalTime
-
setRemovalTime
-
toString
-