public abstract class NumericGeneratedPropertySupport extends GeneratedPropertySupport
Modifier and Type | Field and Description |
---|---|
static Class<?>[] |
SUPPORTED_TYPES |
Constructor and Description |
---|
NumericGeneratedPropertySupport() |
Modifier and Type | Method and Description |
---|---|
protected Number |
doubleToNumber(double value,
Class<?> targetType) |
boolean |
equals(Object obj) |
double |
getLower() |
String |
getType() |
double |
getUpper() |
int |
hashCode() |
protected abstract double |
nextDouble() |
Object |
nextValue() |
void |
setLower(double lower) |
void |
setType(String type) |
void |
setUpper(double upper) |
protected Class<?> |
toClass(String type) |
evaluate, getLastValue, getValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDefinition
public static final Class<?>[] SUPPORTED_TYPES
public String getType()
public double getUpper()
public double getLower()
public void setUpper(double upper)
public void setLower(double lower)
public void setType(String type)
public Object nextValue()
nextValue
in class GeneratedPropertySupport
protected abstract double nextDouble()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.