net.sourceforge.datagenerator.event
Class DataGeneratorEvent
java.lang.Object
java.util.EventObject
net.sourceforge.datagenerator.event.DataGeneratorEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class DataGeneratorEvent
- extends java.util.EventObject
The DataGeneratorEvent describes the state of the data generation.
- Version:
- 0.69
- Author:
- Chris Nagy
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
int |
getEntityCount()
Returns the number of entities whose data will be generated. |
int |
getSourceEntityCount()
Returns the number of entities used for source data. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
generateDef
protected GenerateDef generateDef
- The configuration of the data generation.
DataGeneratorEvent
public DataGeneratorEvent(java.lang.Object src,
GenerateDef def)
- Creates a DataGeneratorEvent with the given configuration.
- Parameters:
src
- the sourcedef
- the configuration of the data generation
getEntityCount
public int getEntityCount()
- Returns the number of entities whose data will be generated.
- Returns:
- the number of entities
getSourceEntityCount
public int getSourceEntityCount()
- Returns the number of entities used for source data.
- Returns:
- the number of entities