agonism.dovetail.site.quick
Class QQuery

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

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


Field Summary
protected  QBody body
           
protected  java.lang.String defaultTableName
           
protected  java.lang.String name
           
protected  java.util.ArrayList queryParameters
          list of QQueryParameter
protected  java.util.ArrayList queryResults
          list of QQueryResult
 
Fields inherited from class agonism.dovetail.site.quick.QGBase
qParent
 
Constructor Summary
QQuery()
           
QQuery(QGBaseIntf qParent, java.lang.String name, QBody body)
          minimum constructor
QQuery(QGBaseIntf qParent, java.lang.String name, java.lang.String defaultTableName, java.util.ArrayList queryResults, java.util.ArrayList queryParameters, QBody body)
          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
 QBody getBody()
           
 java.lang.String getDefaultTableName()
           
 java.lang.String getName()
           
 QQueryParameter getQQueryParameter(int i)
           
 QQueryResult getQQueryResult(int i)
           
 java.util.ArrayList getQueryParameters()
          list of QQueryParameter
 java.util.ArrayList getQueryResults()
          list of QQueryResult
 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 qQueryParameterCount()
           
 int qQueryResultCount()
           
 void setBody(QBody body)
           
 void setDefaultTableName(java.lang.String defaultTableName)
           
 void setName(java.lang.String name)
           
 void setQQueryParameter(int i, QQueryParameter qQueryParameter)
           
 void setQQueryResult(int i, QQueryResult qQueryResult)
           
 
Methods inherited from class agonism.dovetail.site.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.site.quick.QGBaseIntf
getXParent, print, setXParent, setXParentLinks
 

Field Detail

name

protected java.lang.String name

defaultTableName

protected java.lang.String defaultTableName

queryResults

protected java.util.ArrayList queryResults
list of QQueryResult

queryParameters

protected java.util.ArrayList queryParameters
list of QQueryParameter

body

protected QBody body
Constructor Detail

QQuery

public QQuery()

QQuery

public QQuery(QGBaseIntf qParent,
              java.lang.String name,
              java.lang.String defaultTableName,
              java.util.ArrayList queryResults,
              java.util.ArrayList queryParameters,
              QBody body)
full constructor

QQuery

public QQuery(QGBaseIntf qParent,
              java.lang.String name,
              QBody body)
minimum constructor
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDefaultTableName

public java.lang.String getDefaultTableName()

setDefaultTableName

public void setDefaultTableName(java.lang.String defaultTableName)

getQueryResults

public java.util.ArrayList getQueryResults()
list of QQueryResult

getQQueryResult

public QQueryResult getQQueryResult(int i)

setQQueryResult

public void setQQueryResult(int i,
                            QQueryResult qQueryResult)

qQueryResultCount

public int qQueryResultCount()

getQueryParameters

public java.util.ArrayList getQueryParameters()
list of QQueryParameter

getQQueryParameter

public QQueryParameter getQQueryParameter(int i)

setQQueryParameter

public void setQQueryParameter(int i,
                               QQueryParameter qQueryParameter)

qQueryParameterCount

public int qQueryParameterCount()

getBody

public QBody getBody()

setBody

public void setBody(QBody body)

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