public class ResourceRef extends Object implements Serializable
Encapsulates the logic for transparently working with DataObjectResourceEntity
.
Modifier and Type | Field and Description |
---|---|
protected boolean |
deleted |
Constructor and Description |
---|
ResourceRef() |
ResourceRef(String id) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
byte[] |
getBytes() |
DataObjectResourceEntity |
getEntity() |
String |
getId() |
String |
getName() |
boolean |
isDeleted() |
void |
setValue(String name,
byte[] bytes) |
String |
toString() |
public ResourceRef()
public ResourceRef(String id)
public String getId()
public String getName()
public byte[] getBytes()
public void setValue(String name, byte[] bytes)
public DataObjectResourceEntity getEntity()
public void delete()
public boolean isDeleted()