/*
 * Created on 25-Apr-2007
 * 
 * TODO 
 */
package uk.ac.roe.wfau.sqlThreads;
/**
 * Base SQL retriever thread that does the actual queries, saves results and emails
 * users. The base class is sub-classed into archive specific versions that do the branding.
 * @author mar
 * 
 *
 */

public class BaseSQLThread implements Runnable {

    /**
     * Default number rows returned in HTML table <code>SQLROWS_DEFAULT</code>
     */
    public static final int SQLROWS_DEFAULT = 30;
    /**
     * Maximum no HTML rows <code>HTMLROWS_UPPERLIMIT</code>
     */
    public static final int HTMLROWS_UPPERLIMIT = 500;
    
    /**
     * Getter for HTMLROWS_UPPERLIMIT 
     * @return HTMLROWS_UPPERLIMIT
     */
    public int getHTMLROWS_UPPERLIMIT() {
        return HTMLROWS_UPPERLIMIT;
    }

    int getSQLROWS_DEFAULT(){
        return SQLROWS_DEFAULT;
    }
/* (non-Javadoc)
 * @see java.lang.Runnable#run()
 */
public void run() {
    // TODO Auto-generated method stub
    System.out.println("HTMLROWS_UPPERLIMIT "+getHTMLROWS_UPPERLIMIT());
    
}
}
