Exemple #1
0
  /**
   * The constructor.
   *
   * @param setHandle the data set handle
   * @param setDesign the data set design
   */
  ResultSetsAdapter(OdaDataSetHandle setHandle, DataSetDesign setDesign) {
    this.setHandle = setHandle;
    this.setDesign = setDesign;

    filterAdapter = new ResultSetCriteriaAdapter(setHandle, setDesign);

    Iterator tmpIterator = setHandle.resultSetIterator();
    setDefinedResults = new ArrayList();
    while (tmpIterator.hasNext()) setDefinedResults.add(tmpIterator.next());

    tmpIterator = setHandle.columnHintsIterator();
    setDefinedColumnHints = new ArrayList();
    while (tmpIterator.hasNext()) setDefinedColumnHints.add(tmpIterator.next());

    designFactory = ODADesignFactory.getFactory();
  }
 /** Default constructor. */
 AbstractReportParameterAdapter() {
   designFactory = ODADesignFactory.getFactory();
 }