|
|||||||||||
| 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.Entry
The Entry object describes how a database column is mapped to a key in the property file.
| 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 | |
Entry()
Default constructor. |
|
| Method Summary | |
java.lang.String |
getColumn()
Retrieve the name of the database column. |
boolean |
getCreateproperty()
Retrieve the createproperty flag to find out if a new ant property has to be created. |
java.lang.String |
getJavaType()
Retrieve the type of the Entry that should be used when generating Java code. |
java.lang.String |
getKey()
Retrieve the name of the key. |
java.util.List |
getValues()
Retrieve the testset values. |
java.lang.String |
getXmlType()
Retrieve the type of the Entry that should be used when generating an XML message. |
void |
processResult(java.sql.ResultSet resultSet,
TestSet testSet)
Process the ResultSet to determine the values of the testset. |
void |
setColumn(java.lang.String column)
Set the name of the database column. |
void |
setCreateproperty(java.lang.String createproperty)
Set createproperty flag to indicate that also a new ant property has to be created. |
void |
setKey(java.lang.String key)
Set the name of the key in the poperty file. |
void |
setType(java.lang.String type)
Set the type of the Entry. |
| 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 Entry()
| Method Detail |
public void setKey(java.lang.String key)
throws org.apache.tools.ant.BuildException
key - The name of the key in the poperty file
org.apache.tools.ant.BuildException - In case the name of the key is not a valid Java Attribute NamegetKey()public java.lang.String getKey()
setKey(java.lang.String)public void setColumn(java.lang.String column)
column - The name of the database columngetColumn()public java.lang.String getColumn()
setColumn(java.lang.String)public void setCreateproperty(java.lang.String createproperty)
createproperty - Flag to indicate that also a new ant property has to be created. Value should be "true" or "false"getCreateproperty()public boolean getCreateproperty()
setCreateproperty(java.lang.String)public java.util.List getValues()
public void setType(java.lang.String type)
type - public java.lang.String getJavaType()
public java.lang.String getXmlType()
public void processResult(java.sql.ResultSet resultSet,
TestSet testSet)
resultSet - testSet -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||