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

    Modifier and Type
    Method
    Description
    get(int theFieldNumber)
     
    get(String theFieldName)
     
     
    boolean
    Advances to the next "row" of data if one is available.
  • Method Details

    • get

      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

      String get(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

      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