|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.e2e.b2b.DoubleMinMaxExpression
DoubleMinMaxExpression
is used in conjunction
with DoubleValueValidator
to specify the minimum
and maximum allowed values for a java double
value.
DoubleValueValidator
Constructor Summary | |
DoubleMinMaxExpression()
Constructs a DoubleMinMaxExpression
where the minimum value is java.lang.Double.MIN_VALUE
and the maximum value is java.lang.Double.MAX_VALUE . |
|
DoubleMinMaxExpression(double min,
double max)
Constructs a DoubleMinMaxExpression
with the specifed minimum and maximum values. |
Method Summary | |
double |
max()
Obtain the maximum value for this expression. |
double |
min()
Obtain the minimum value for this expression. |
DoubleMinMaxExpression |
set(double min,
double max)
Set the minimum and maximum values for this expression. |
void |
setMax(double max)
Set the maximum value for this expression. |
void |
setMin(double min)
Set the minimum value for this expression. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DoubleMinMaxExpression()
DoubleMinMaxExpression
where the minimum value is java.lang.Double.MIN_VALUE
and the maximum value is java.lang.Double.MAX_VALUE
.public DoubleMinMaxExpression(double min, double max)
DoubleMinMaxExpression
with the specifed minimum and maximum values.
min
- the minimum value for the expression.max
- the maximum value for the expression.Method Detail |
public double min()
public double max()
public void setMin(double min)
public void setMax(double max)
public DoubleMinMaxExpression set(double min, double max)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |