|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jdbcimporter.EntityDef net.sourceforge.datagenerator.GenerateEntityDef
The GenerateEntityDef defines an entity (table) that the DataGenerator will generate values for.
Field Summary |
Fields inherited from class net.sourceforge.jdbcimporter.EntityDef |
columns |
Constructor Summary | |
GenerateEntityDef()
|
Method Summary | |
GenerateColumnDef[] |
getColumns()
Returns the list of columns whose values should be generated. |
int |
getCount()
Returns the number of rows to generate. |
DelimiterFormatter |
getDelimiterFormatter()
Returns the delimiter formatter used to format the output file. |
java.io.File |
getTarget()
Returns the file containing the data generated. |
java.lang.String |
getTargetEncoding()
Returns the target file's encoding (may be null). |
void |
setCount(int newCount)
Sets the number of rows to generate. |
void |
setDelimiterFormatter(DelimiterFormatter newFormatter)
Sets the delimiter formatter used to format rows and columns into the output file. |
void |
setTarget(java.io.File newTarget)
Sets the target of the generated data. |
void |
setTargetEncoding(java.lang.String newTargetEncoding)
Set the target file's encoding. |
java.lang.String |
toString()
Overrides Object.toString() |
Methods inherited from class net.sourceforge.jdbcimporter.EntityDef |
addColumn, addProperty, getCatalog, getColumnCount, getColumnIterator, getProperty, getSchema, getTable, setCatalog, setSchema, setTable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GenerateEntityDef()
Method Detail |
public void setTarget(java.io.File newTarget)
newTarget
- the file containing the data generated.public java.io.File getTarget()
public void setTargetEncoding(java.lang.String newTargetEncoding)
newTargetEncoding
- target file's encoding charsetpublic java.lang.String getTargetEncoding()
public void setCount(int newCount)
newCount
- the number of rowspublic int getCount()
public void setDelimiterFormatter(DelimiterFormatter newFormatter)
newFormatter
- the delimiter formatterpublic DelimiterFormatter getDelimiterFormatter()
public GenerateColumnDef[] getColumns()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |