org.camunda.bpm.engine.impl.persistence.entity
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
id
protected String id
revision
protected int revision
name
protected String name
bytes
protected byte[] bytes
deploymentId
protected String deploymentId
ByteArrayEntity
public ByteArrayEntity()
ByteArrayEntity
public ByteArrayEntity(String name,
byte[] bytes)
ByteArrayEntity
public ByteArrayEntity(byte[] bytes)
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 interface DbEntity
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNext in interface HasDbRevision
getId
public String getId()
- Specified by:
getId in interface DbEntity
setId
public void setId(String id)
- Specified by:
setId in interface DbEntity
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 interface HasDbRevision
setRevision
public void setRevision(int revision)
- Specified by:
setRevision in interface HasDbRevision
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 camunda services GmbH. All rights reserved.