public class ByteArrayEntityImpl extends Object implements ByteArrayEntity, Serializable
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
protected String |
deploymentId |
protected String |
id |
protected String |
name |
protected int |
revision |
Constructor and Description |
---|
ByteArrayEntityImpl() |
ByteArrayEntityImpl(byte[] bytes) |
ByteArrayEntityImpl(String name,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
String |
getDeploymentId() |
String |
getId() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
int |
getRevision() |
int |
getRevisionNext() |
void |
setBytes(byte[] bytes) |
void |
setDeploymentId(String deploymentId) |
void |
setId(String id) |
void |
setName(String name) |
void |
setRevision(int revision) |
String |
toString() |
protected String id
protected int revision
protected String name
protected byte[] bytes
protected String deploymentId
public ByteArrayEntityImpl()
public ByteArrayEntityImpl(String name, byte[] bytes)
public ByteArrayEntityImpl(byte[] bytes)
public byte[] getBytes()
getBytes
in interface ByteArrayEntity
public Object getPersistentState()
Entity
getPersistentState
in interface Entity
public int getRevisionNext()
getRevisionNext
in interface HasRevision
public String getName()
getName
in interface ByteArrayEntity
public void setName(String name)
setName
in interface ByteArrayEntity
public String getDeploymentId()
getDeploymentId
in interface ByteArrayEntity
public void setDeploymentId(String deploymentId)
setDeploymentId
in interface ByteArrayEntity
public void setBytes(byte[] bytes)
setBytes
in interface ByteArrayEntity
public int getRevision()
getRevision
in interface HasRevision
public void setRevision(int revision)
setRevision
in interface HasRevision
Copyright © 2015 Alfresco. All rights reserved.