ca.uhn.hl7v2.util
Interface MessageQuery.Result

Enclosing class:
MessageQuery

public static interface MessageQuery.Result

A result set for a message query.

Version:
$Revision: 1.1 $ updated on $Date: 2007/02/19 02:24:27 $ by $Author: jamesagnew $
Author:
Bryan Tripp

Method Summary
 java.lang.String get(int theFieldNumber)
           
 java.lang.String get(java.lang.String theFieldName)
           
 java.lang.String[] getNamedFields()
           
 boolean next()
          Advances to the next "row" of data if one is available.
 

Method Detail

get

java.lang.String get(int theFieldNumber)
Parameters:
theFieldNumber - numbered from zero in the order they are specified in the query
Returns:
the corresponding value in the current row

get

java.lang.String get(java.lang.String theFieldName)
Parameters:
theFieldName - a field name as specified in the query with the keyword "as"
Returns:
the corresponding value in the current row

getNamedFields

java.lang.String[] getNamedFields()
Returns:
a list of named fields as defined with 'as' in the query

next

boolean next()
             throws HL7Exception
Advances to the next "row" of data if one is available.

Returns:
true if another row is available
Throws:
HL7Exception


Copyright © 2001-2011 University Health Network. All Rights Reserved.