org.databene.benerator.nullable
Class NullableGeneratorFactory

java.lang.Object
  extended by org.databene.benerator.nullable.NullableGeneratorFactory

public class NullableGeneratorFactory
extends java.lang.Object

Provides factory methods for NullableGenerators.

Created: 22.07.2010 19:19:04

Since:
0.6.3
Author:
Volker Bergmann

Method Summary
static NullableGenerator<?> createConvertingGenerator(TypeDescriptor descriptor, NullableGenerator<?> generator, BeneratorContext context)
           
static
<T> NullableGenerator<T>
injectNulls(Generator<T> source, double nullQuota)
           
static
<T> NullableGenerator<T>
injectNulls(NullableGenerator<T> source, double nullQuota)
           
static
<T> NullableGenerator<T>
wrap(Generator<T> source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

wrap

public static <T> NullableGenerator<T> wrap(Generator<T> source)

injectNulls

public static <T> NullableGenerator<T> injectNulls(Generator<T> source,
                                                   double nullQuota)

injectNulls

public static <T> NullableGenerator<T> injectNulls(NullableGenerator<T> source,
                                                   double nullQuota)

createConvertingGenerator

public static NullableGenerator<?> createConvertingGenerator(TypeDescriptor descriptor,
                                                             NullableGenerator<?> generator,
                                                             BeneratorContext context)


Copyright © 2011. All Rights Reserved.