net.sf.qualitytest.blueprint.strategy.creation
Class RandomShortValueCreationStrategy

java.lang.Object
  extended by net.sf.qualitytest.blueprint.strategy.creation.ValueCreationStrategy<Short>
      extended by net.sf.qualitytest.blueprint.strategy.creation.RandomShortValueCreationStrategy
All Implemented Interfaces:
CreationStrategy<Short>

public class RandomShortValueCreationStrategy
extends ValueCreationStrategy<Short>

Strategy to create a random short value.

Author:
Dominik Seichter

Constructor Summary
RandomShortValueCreationStrategy()
           
 
Method Summary
 Short createValue(Class<?> expectedClass)
          Create a new value which can be assigned to an attribute.
 
Methods inherited from class net.sf.qualitytest.blueprint.strategy.creation.ValueCreationStrategy
createValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomShortValueCreationStrategy

public RandomShortValueCreationStrategy()
Method Detail

createValue

public Short createValue(Class<?> expectedClass)
Description copied from class: ValueCreationStrategy
Create a new value which can be assigned to an attribute.

Specified by:
createValue in class ValueCreationStrategy<Short>
Parameters:
expectedClass - which is requested.
Returns:
a new value


Copyright © 2012-2013. All Rights Reserved.