org.gusdb.wdk.model.test
Class SanityQuestion

java.lang.Object
  extended by org.gusdb.wdk.model.test.SanityQueryOrQuestion
      extended by org.gusdb.wdk.model.test.SanityQuestion
All Implemented Interfaces:
SanityElementI

public class SanityQuestion
extends SanityQueryOrQuestion
implements SanityElementI

Object used in running a sanity test; represents a query or question in a wdk model. Created: Mon August 23 12:00:00 2004 EDT


Constructor Summary
SanityQuestion()
           
 
Method Summary
 java.lang.String getCommand(java.lang.String globalArgs)
          Dump a command-line that can be used to individually test this element, outside of the context of a sanity test (the command line will include all necessary parameters, the values of which will be the same as those that the test attempted to use previously.
 int getPageEnd()
           
 int getPageStart()
           
 void setPageEnd(int pageEnd)
           
 void setPageStart(int pageStart)
           
 
Methods inherited from class org.gusdb.wdk.model.test.SanityQueryOrQuestion
addParam, getMaxOutputLength, getMinOutputLength, getName, getParam, getParamHash, getParams, getRef, getType, getTypeCap, hasParam, setMaxOutputLength, setMinOutputLength, setRef, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.gusdb.wdk.model.test.SanityElementI
getName, getType
 

Constructor Detail

SanityQuestion

public SanityQuestion()
Method Detail

setPageStart

public void setPageStart(int pageStart)

setPageEnd

public void setPageEnd(int pageEnd)

getPageStart

public int getPageStart()

getPageEnd

public int getPageEnd()

getCommand

public java.lang.String getCommand(java.lang.String globalArgs)
                            throws WdkModelException
Description copied from interface: SanityElementI
Dump a command-line that can be used to individually test this element, outside of the context of a sanity test (the command line will include all necessary parameters, the values of which will be the same as those that the test attempted to use previously. This command is usually printed when a sanity test has failed.

Specified by:
getCommand in interface SanityElementI
Specified by:
getCommand in class SanityQueryOrQuestion
Parameters:
globalArgs - Arguments not specific to the Element itself; basically anything in the Sanity test that was required to run all elements.
Throws:
WdkModelException