|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for an object that encapsulates one row of a QueryResult.
Method Summary | |
java.lang.Object |
getAttribute(java.lang.Object name)
Return one of the object summary attributes. |
java.util.Map |
getAttributes()
Return a Map of all attribute name/values returned by the query. |
java.lang.String |
getDisplayName()
Return the display name. |
java.lang.String |
getId()
Return the immutable of the object. |
java.lang.String |
getName()
Return the name of the object. |
PersistentObject |
getObject()
Return the object. |
Type |
getType()
Return the type of the object associated with this row. |
Method Detail |
public Type getType()
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getDisplayName()
public PersistentObject getObject()
This will only be non-null for rows returned by
the getObjects
methods.
public java.lang.Object getAttribute(java.lang.Object name)
listObjects
methods.
The argument is passed as an Object rather than a String so Attribute objects may be used if desired.
public java.util.Map getAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |