|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.objdb.store.ObjectDesc
public class ObjectDesc
Description of a requested object returned from the object store.
ObjectStore.getObjects(),
GetResultHandler| Constructor Summary | |
|---|---|
ObjectDesc(String ref,
OptString obj,
OptString failure)
JSON-driven constructor. |
|
ObjectDesc(String ref,
String obj,
String failure)
Direct constructor. |
|
| Method Summary | |
|---|---|
JSONLiteral |
encode(EncodeControl control)
Encode this object for transmission or persistence. |
String |
failure()
Get the error message string. |
String |
obj()
Get the requested object's description. |
String |
ref()
Get the requested object's reference string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@JSONMethod(value={"ref","obj","failure"})
public ObjectDesc(String ref,
OptString obj,
OptString failure)
ref - Object reference of the object requested.obj - Optional object description.failure - Optional error message.
public ObjectDesc(String ref,
String obj,
String failure)
ref - Object reference of the object requested.obj - Object description (a JSON string describing the object, if
the object was retrieved, or null if retrieval failed).failure - Error message string if retrieval failed, or null if
retrieval succeeded.| Method Detail |
|---|
public JSONLiteral encode(EncodeControl control)
encode in interface Encodablecontrol - Encode control determining what flavor of encoding
should be done.
public String failure()
public String obj()
public String ref()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||