Class DataSourceQueryResult


  • public class DataSourceQueryResult
    extends java.lang.Object
    DTO for storing DataSourceQuery results
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addColumn​(int theOrder, java.lang.String theName, java.lang.String theType, int theSize)  
      void addValue​(int theRowOrder, int theColumnIndex, java.lang.Object theValue)  
      int getColumnCount()  
      java.lang.String getColumnName​(int theOrder)  
      int getColumnSize​(int theOrder)  
      java.lang.String getColumnType​(int theOrder)  
      int getRowCount()  
      java.lang.Object getValue​(int theRowOrder, int theColumnIndex)
      Get a value from the result, in String format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataSourceQueryResult

        public DataSourceQueryResult()
    • Method Detail

      • addColumn

        public void addColumn​(int theOrder,
                              java.lang.String theName,
                              java.lang.String theType,
                              int theSize)
      • getColumnCount

        public int getColumnCount()
      • getRowCount

        public int getRowCount()
      • getColumnName

        public java.lang.String getColumnName​(int theOrder)
      • getColumnType

        public java.lang.String getColumnType​(int theOrder)
      • getColumnSize

        public int getColumnSize​(int theOrder)
      • addValue

        public void addValue​(int theRowOrder,
                             int theColumnIndex,
                             java.lang.Object theValue)
      • getValue

        public java.lang.Object getValue​(int theRowOrder,
                                         int theColumnIndex)
        Get a value from the result, in String format.
        Parameters:
        theRowOrder - The zero-based row number
        theColumnIndex - The zero-based column number
        Returns:
        the value from the requested row and column