All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.gazebo.protocol.Result

java.lang.Object
   |
   +----ncsa.gazebo.protocol.Response
           |
           +----ncsa.gazebo.protocol.Result

public class Result
extends Response
Represents a result response from the gateway. This contains RecordTags which contain record data.

See Also:
Response, RecordTag

Constructor Index

 o Result(Element)
Generate oneself from a RESULT XML element.

Method Index

 o getHits()
Return number of hits.
 o getRecordTags()
Return the RecordTags this Result contains.
 o getResultSetID()
Return the result set ID

Constructors

 o Result
 public Result(Element r)
Generate oneself from a RESULT XML element. Does not verify that the element is in fact a result element.

Parameters:
r - the RESULT element

Methods

 o getHits
 public int getHits()
Return number of hits.

Returns:
hits
 o getResultSetID
 public String getResultSetID()
Return the result set ID

Returns:
the result set id
 o getRecordTags
 public RecordTag[] getRecordTags()
Return the RecordTags this Result contains.

Returns:
the RecordTags

All Packages  Class Hierarchy  This Package  Previous  Next  Index