Class ComplexQueryResult


  • public class ComplexQueryResult
    extends java.lang.Object

    Purpose: Used to return multiple sets of information from a query. This is used if the objects and rows are required to be returned.

    Responsibilities: Hold both the result of the query and the row results.

    Author:
    James Sutherland
    Since:
    TOPLink/Java 3.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object data  
      protected java.lang.Object result  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getData()
      PUBLIC: Return the database rows for the query result.
      java.lang.Object getResult()
      PUBLIC: Return the result of the query.
      void setData​(java.lang.Object data)
      INTERNAL: Set the database rows for the query result.
      void setResult​(java.lang.Object result)
      INTERNAL: Set the result of the query.
      • Methods inherited from class java.lang.Object

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

      • result

        protected java.lang.Object result
      • data

        protected java.lang.Object data
    • Constructor Detail

      • ComplexQueryResult

        public ComplexQueryResult()
    • Method Detail

      • getData

        public java.lang.Object getData()
        PUBLIC: Return the database rows for the query result.
      • getResult

        public java.lang.Object getResult()
        PUBLIC: Return the result of the query.
      • setData

        public void setData​(java.lang.Object data)
        INTERNAL: Set the database rows for the query result.
      • setResult

        public void setResult​(java.lang.Object result)
        INTERNAL: Set the result of the query.