pl.kernelpanic.dbmonster.generator
Class NullGenerator

java.lang.Object
  extended bypl.kernelpanic.dbmonster.generator.BasicDataGenerator
      extended bypl.kernelpanic.dbmonster.generator.NullGenerator
All Implemented Interfaces:
DataGenerator

public class NullGenerator
extends BasicDataGenerator

The generator which only produces nulls.

Version:
$Id: NullGenerator.html,v 1.1 2007/06/21 08:38:14 sbahloul Exp $
Author:
Piotr Maj <piotr.maj@kernelpanic.pl>

Field Summary
 
Fields inherited from class pl.kernelpanic.dbmonster.generator.BasicDataGenerator
column, nulls
 
Constructor Summary
NullGenerator()
           
 
Method Summary
 Object generate()
          Generates random null. ;)
 void reset()
          Resets the generator.
 
Methods inherited from class pl.kernelpanic.dbmonster.generator.BasicDataGenerator
getColumn, getNulls, setColumn, setNulls
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullGenerator

public NullGenerator()
Method Detail

generate

public final Object generate()
Generates random null. ;)

Returns:
null.

reset

public void reset()
Description copied from interface: DataGenerator
Resets the generator.

See Also:
DataGenerator.reset()


Copyright © 2003-2005 .:. kernelpanic.pl .:.. All Rights Reserved.