com.waveset.object
Interface QueryResultRow


public interface QueryResultRow

An interface for an object that encapsulates one row of a QueryResult.


Field Summary
static java.lang.String code_id
           
 
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.
 com.waveset.object.Type getType()
          Return the type of the object associated with this row.
 

Field Detail

code_id

static final java.lang.String code_id
See Also:
Constant Field Values
Method Detail

getAttribute

java.lang.Object getAttribute(java.lang.Object name)
Return one of the object summary attributes. This will only be non-null for rows returned by the listObjects methods.

The argument is passed as an Object rather than a String so Attribute objects may be used if desired.


getAttributes

java.util.Map getAttributes()
Return a Map of all attribute name/values returned by the query.


getDisplayName

java.lang.String getDisplayName()
Return the display name. Usually this will be a message catalog key.


getId

java.lang.String getId()
Return the immutable of the object.


getName

java.lang.String getName()
Return the name of the object.


getObject

PersistentObject getObject()
Return the object.

This will only be non-null for rows returned by the getObjects methods.


getType

com.waveset.object.Type getType()
Return the type of the object associated with this row.