ProductsData.java [src/java/m/wqm/wqm03_pesticideattributes] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package m.wqm.wqm03_pesticideattributes;
import data.table.Table;
import data.table.column.ColumnInteger;
/**
*
* @author <a href="mailto:shaun.case@colostate.edu">Shaun Case</a>
*/
class ProductsData extends Table {
static final String RESULT_COUNT = "result_count";
static final String[] RESULT_COUNT_DATA = {RESULT_COUNT, "Quantifies how many results were found for this search. May be different than return_count if result_count exceeded the input variable for max_products"};
ProductsData() {
columns.put(RESULT_COUNT, new ColumnInteger(RESULT_COUNT_DATA));
columns.get(RESULT_COUNT).setIncludeInOutput(true);
}
void ResultCount(int value) {
columns.get(RESULT_COUNT).setValue(value);
}
}