Class ByteArrayEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ByteArrayEntity
-
- All Implemented Interfaces:
Serializable
,DbEntity
,HasDbRevision
public class ByteArrayEntity extends Object implements Serializable, DbEntity, HasDbRevision
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
bytes
protected Date
createTime
protected String
deploymentId
protected String
id
protected String
name
protected Date
removalTime
protected int
revision
protected String
rootProcessInstanceId
protected String
tenantId
protected Integer
type
-
Constructor Summary
Constructors Constructor Description ByteArrayEntity()
ByteArrayEntity(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
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.Date
getRemovalTime()
int
getRevision()
int
getRevisionNext()
String
getRootProcessInstanceId()
String
getTenantId()
Integer
getType()
void
setBytes(byte[] bytes)
void
setCreateTime(Date createTime)
void
setDeploymentId(String deploymentId)
void
setId(String id)
void
setName(String name)
void
setRemovalTime(Date removalTime)
void
setRevision(int revision)
void
setRootProcessInstanceId(String rootProcessInstanceId)
void
setTenantId(String tenantId)
void
setType(Integer type)
String
toString()
-
-
-
Field Detail
-
id
protected String id
-
revision
protected int revision
-
name
protected String name
-
bytes
protected byte[] bytes
-
deploymentId
protected String deploymentId
-
tenantId
protected String tenantId
-
type
protected Integer type
-
createTime
protected Date createTime
-
rootProcessInstanceId
protected String rootProcessInstanceId
-
removalTime
protected Date removalTime
-
-
Constructor Detail
-
ByteArrayEntity
public ByteArrayEntity()
-
ByteArrayEntity
public ByteArrayEntity(String name, byte[] bytes, ResourceType type, String rootProcessInstanceId, Date removalTime)
-
ByteArrayEntity
public ByteArrayEntity(String name, byte[] bytes, ResourceType type)
-
ByteArrayEntity
public ByteArrayEntity(String name, byte[] bytes)
-
ByteArrayEntity
public ByteArrayEntity(byte[] bytes, ResourceType type)
-
-
Method Detail
-
getBytes
public byte[] getBytes()
-
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
-
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNext
in interfaceHasDbRevision
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDeploymentId
public String getDeploymentId()
-
setDeploymentId
public void setDeploymentId(String deploymentId)
-
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
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)
-
getRootProcessInstanceId
public String getRootProcessInstanceId()
-
setRootProcessInstanceId
public void setRootProcessInstanceId(String rootProcessInstanceId)
-
getRemovalTime
public Date getRemovalTime()
-
setRemovalTime
public void setRemovalTime(Date removalTime)
-
-