public final class ByteArrayRef extends Object implements Serializable
Encapsulates the logic for transparently working with ByteArrayEntity.
Make sure that instance variables (i.e. fields) of this type are always initialized, and thus never null.
For example:
private final ByteArrayRef byteArrayRef = new ByteArrayRef();
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
deleted |
| Constructor and Description |
|---|
ByteArrayRef() |
ByteArrayRef(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
byte[] |
getBytes() |
ByteArrayEntity |
getEntity() |
String |
getId() |
String |
getName() |
boolean |
isDeleted() |
void |
setValue(String name,
byte[] bytes) |
String |
toString() |
public ByteArrayRef()
public ByteArrayRef(String id)
public String getId()
public String getName()
public byte[] getBytes()
public void setValue(String name, byte[] bytes)
public ByteArrayEntity getEntity()
public void delete()
public boolean isDeleted()
Copyright © 2016 Alfresco. All rights reserved.