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