net.sourceforge.datagenerator.event
Class DataGeneratorEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bynet.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

Field Summary
protected  GenerateDef generateDef
          The configuration of the data generation.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataGeneratorEvent(java.lang.Object src, GenerateDef def)
          Creates a DataGeneratorEvent with the given configuration.
 
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
 

Field Detail

generateDef

protected GenerateDef generateDef
The configuration of the data generation.

Constructor Detail

DataGeneratorEvent

public DataGeneratorEvent(java.lang.Object src,
                          GenerateDef def)
Creates a DataGeneratorEvent with the given configuration.

Parameters:
src - the source
def - the configuration of the data generation
Method Detail

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