public class ByteArrayEntity extends Object implements Serializable, DbEntity, HasDbRevision
Modifier and Type | Field and 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 and 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) |
Modifier and Type | Method and 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() |
protected String id
protected int revision
protected String name
protected byte[] bytes
protected String deploymentId
protected String tenantId
protected Integer type
protected Date createTime
protected String rootProcessInstanceId
protected Date removalTime
public ByteArrayEntity()
public ByteArrayEntity(String name, byte[] bytes, ResourceType type, String rootProcessInstanceId, Date removalTime)
public ByteArrayEntity(String name, byte[] bytes, ResourceType type)
public ByteArrayEntity(String name, byte[] bytes)
public ByteArrayEntity(byte[] bytes, ResourceType type)
public byte[] getBytes()
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public int getRevisionNext()
getRevisionNext
in interface HasDbRevision
public String getName()
public void setName(String name)
public String getDeploymentId()
public void setDeploymentId(String deploymentId)
public void setBytes(byte[] bytes)
public int getRevision()
getRevision
in interface HasDbRevision
public void setRevision(int revision)
setRevision
in interface HasDbRevision
public String getTenantId()
public void setTenantId(String tenantId)
public Integer getType()
public void setType(Integer type)
public Date getCreateTime()
public void setCreateTime(Date createTime)
public String getRootProcessInstanceId()
public void setRootProcessInstanceId(String rootProcessInstanceId)
public Date getRemovalTime()
public void setRemovalTime(Date removalTime)
Copyright © 2021. All rights reserved.