net.sf.twip.parameterhandler
Class ParameterHandler

java.lang.Object
  extended by net.sf.twip.parameterhandler.ParameterHandler
Direct Known Subclasses:
AbstractNumberParameterHandler, AutoTwipParameterHandler, BooleanParameterHandler, CharacterParameterHandler, StringParameterHandler

public abstract class ParameterHandler
extends Object

Produces all the values to call for one Parameter, including only those that match the Assume or NotNull annotations.

See Also:
for the expessions allowed for numbers

Field Summary
protected  Parameter parameter
           
 
Constructor Summary
ParameterHandler(Parameter parameter)
           
 
Method Summary
protected abstract  Object[] getDefaultParameterValues()
           
 Object[] getParameterValues()
           
static ParameterHandler of(Parameter parameter)
           
protected  boolean test(Object value)
          Should this value go into the parameter values?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameter

protected final Parameter parameter
Constructor Detail

ParameterHandler

public ParameterHandler(Parameter parameter)
Method Detail

of

public static ParameterHandler of(Parameter parameter)

getDefaultParameterValues

protected abstract Object[] getDefaultParameterValues()

getParameterValues

public Object[] getParameterValues()

test

protected boolean test(Object value)
Should this value go into the parameter values?

Parameters:
value - the value to check


Copyright © 2011. All Rights Reserved.