|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sourceforge.anttestsetgen.Parameter
A Parameter of a Validation subtask.
A Parameter consists of a name and a column. The column relates to a column in the resultset of the SQL-Query. Both the name and the column are required.
| Field Summary |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
Parameter()
|
|
| Method Summary | |
java.lang.String |
getColumn()
Retrieve the column of the parameter. |
java.lang.String |
getDatabaseValue(java.sql.ResultSet resultSet)
Retrieve the database value of the parameter The value is retrieved based on the supplied resulset. |
java.lang.String |
getName()
Retrieve the name of the parameter. |
void |
setColumn(java.lang.String column)
Set the column of the parameter. |
void |
setName(java.lang.String name)
Set the name of the parameter. |
| Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Parameter()
| Method Detail |
public void setName(java.lang.String name)
name - The name of the parametergetName()
public java.lang.String getName()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - In case the name was not set.setName(java.lang.String)public void setColumn(java.lang.String column)
column - The column of the parameter.getColumn()
public java.lang.String getColumn()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - In case the column was not set.setColumn(java.lang.String)
public java.lang.String getDatabaseValue(java.sql.ResultSet resultSet)
throws org.apache.tools.ant.BuildException
resultSet - A resultset with the current row that contains the column
org.apache.tools.ant.BuildException - In case the column was not found in the resultset.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||