agonism.dovetail.test.quick
Class QQueryTest

java.lang.Object
  |
  +--agonism.dovetail.test.quick.QGBase
        |
        +--agonism.dovetail.test.quick.QQueryTest
All Implemented Interfaces:
com.jxml.quick.QAware, QGBaseIntf

public class QQueryTest
extends QGBase
implements QGBaseIntf, com.jxml.quick.QAware


Field Summary
protected  int count
          default = "-1"
protected  java.lang.String queryName
           
protected  java.util.ArrayList records
          list of QRecord
 
Fields inherited from class agonism.dovetail.test.quick.QGBase
qParent
 
Constructor Summary
QQueryTest()
           
QQueryTest(QGBaseIntf qParent, java.lang.String queryName)
          minimum constructor
QQueryTest(QGBaseIntf qParent, java.lang.String queryName, int count, java.util.ArrayList records)
          full constructor
 
Method Summary
 void endElement(java.lang.String tagName, com.jxml.quick.QContext outputContext)
          Method called at the end of a Quick transformation.
 java.util.ArrayList getAllXChildren()
          get a list of all the objects corresponding to XML children
 int getCount()
          default = "-1"
 QRecord getQRecord(int i)
           
 java.lang.String getQueryName()
           
 java.util.ArrayList getRecords()
          list of QRecord
 java.lang.String getXAttVal(java.lang.String attname)
           
 java.util.ArrayList getXChildren(java.lang.String childTagName)
           
 void print(java.io.PrintWriter pw, java.lang.String indent)
          print a summary of this object
 int qRecordCount()
           
 void setCount(int count)
          default = "-1"
 void setQRecord(int i, QRecord qRecord)
           
 void setQueryName(java.lang.String queryName)
           
 
Methods inherited from class agonism.dovetail.test.quick.QGBase
getXParent, print, setXParent, setXParentLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface agonism.dovetail.test.quick.QGBaseIntf
getXParent, print, setXParent, setXParentLinks
 

Field Detail

queryName

protected java.lang.String queryName

count

protected int count
default = "-1"

records

protected java.util.ArrayList records
list of QRecord
Constructor Detail

QQueryTest

public QQueryTest()

QQueryTest

public QQueryTest(QGBaseIntf qParent,
                  java.lang.String queryName,
                  int count,
                  java.util.ArrayList records)
full constructor

QQueryTest

public QQueryTest(QGBaseIntf qParent,
                  java.lang.String queryName)
minimum constructor
Method Detail

getQueryName

public java.lang.String getQueryName()

setQueryName

public void setQueryName(java.lang.String queryName)

getCount

public int getCount()
default = "-1"

setCount

public void setCount(int count)
default = "-1"

getRecords

public java.util.ArrayList getRecords()
list of QRecord

getQRecord

public QRecord getQRecord(int i)

setQRecord

public void setQRecord(int i,
                       QRecord qRecord)

qRecordCount

public int qRecordCount()

endElement

public void endElement(java.lang.String tagName,
                       com.jxml.quick.QContext outputContext)
                throws com.jxml.quick.QPE
Description copied from interface: QGBaseIntf
Method called at the end of a Quick transformation. Can be used to check integrity.
Specified by:
endElement in interface QGBaseIntf
Overrides:
endElement in class QGBase

print

public void print(java.io.PrintWriter pw,
                  java.lang.String indent)
Description copied from interface: QGBaseIntf
print a summary of this object
Specified by:
print in interface QGBaseIntf
Overrides:
print in class QGBase

getXAttVal

public java.lang.String getXAttVal(java.lang.String attname)

getXChildren

public java.util.ArrayList getXChildren(java.lang.String childTagName)

getAllXChildren

public java.util.ArrayList getAllXChildren()
Description copied from interface: QGBaseIntf
get a list of all the objects corresponding to XML children
Specified by:
getAllXChildren in interface QGBaseIntf
Overrides:
getAllXChildren in class QGBase