agonism.dovetail.site.quick
Class QParameter

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

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


Field Summary
protected  QDefault def
           
protected  boolean isRequired
           
protected  java.lang.String name
           
protected  java.util.ArrayList requiredIf
          list of QRequiredIf
protected  QType type
           
 
Fields inherited from class agonism.dovetail.site.quick.QGBase
qParent
 
Constructor Summary
QParameter()
           
QParameter(QGBaseIntf qParent, boolean isRequired)
          minimum constructor
QParameter(QGBaseIntf qParent, boolean isRequired, java.lang.String name, QType type, QDefault def, java.util.ArrayList requiredIf)
          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
 QDefault getDef()
           
 boolean getIsRequired()
           
 java.lang.String getName()
           
 QRequiredIf getQRequiredIf(int i)
           
 java.util.ArrayList getRequiredIf()
          list of QRequiredIf
 QType getType()
           
 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 qRequiredIfCount()
           
 void setDef(QDefault def)
           
 void setIsRequired(boolean isRequired)
           
 void setName(java.lang.String name)
           
 void setQRequiredIf(int i, QRequiredIf qRequiredIf)
           
 void setType(QType type)
           
 
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

isRequired

protected boolean isRequired

name

protected java.lang.String name

type

protected QType type

def

protected QDefault def

requiredIf

protected java.util.ArrayList requiredIf
list of QRequiredIf
Constructor Detail

QParameter

public QParameter()

QParameter

public QParameter(QGBaseIntf qParent,
                  boolean isRequired,
                  java.lang.String name,
                  QType type,
                  QDefault def,
                  java.util.ArrayList requiredIf)
full constructor

QParameter

public QParameter(QGBaseIntf qParent,
                  boolean isRequired)
minimum constructor
Method Detail

getIsRequired

public boolean getIsRequired()

setIsRequired

public void setIsRequired(boolean isRequired)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getType

public QType getType()

setType

public void setType(QType type)

getDef

public QDefault getDef()

setDef

public void setDef(QDefault def)

getRequiredIf

public java.util.ArrayList getRequiredIf()
list of QRequiredIf

getQRequiredIf

public QRequiredIf getQRequiredIf(int i)

setQRequiredIf

public void setQRequiredIf(int i,
                           QRequiredIf qRequiredIf)

qRequiredIfCount

public int qRequiredIfCount()

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