com.bm.datagen.constant
Class ConstantStringGenerator

java.lang.Object
  extended by com.bm.datagen.constant.ConstantStringGenerator
All Implemented Interfaces:
Generator<java.lang.String>

public class ConstantStringGenerator
extends java.lang.Object
implements Generator<java.lang.String>

ConstantStringGenerator.

Author:
Daniel Wiese

Constructor Summary
ConstantStringGenerator(java.lang.String constant)
          Constructor.
 
Method Summary
 java.lang.String getValue()
          The value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantStringGenerator

public ConstantStringGenerator(java.lang.String constant)
Constructor.

Parameters:
constant - - the constant value
Method Detail

getValue

public java.lang.String getValue()
The value.

Specified by:
getValue in interface Generator<java.lang.String>
Returns:
the vaue
See Also:
Generator.getValue()


Copyright © 2008. All Rights Reserved.