com.ibm.wbiserver.brules.mgmt
Interface RangeConstraint
All Superinterfaces:
Constraint, java.io.Serializable
- public interface RangeConstraint
- extends Constraint
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getLowerBound()
Get the lower bound of the range.
|
|
getUpperBound()
Get the upper bound of the range.
|
|
isLowerBoundInclusive()
Determine whether or not the lower bound of this range is inclusive, i.e. whether or not the
lower bound value is included in the range.
|
|
isUpperBoundInclusive()
Determine whether or not the upper bound of this range is inclusive, i.e. whether or not the
upper bound value is included in the range.
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
Method Detail
getLowerBound
- java.lang.String getLowerBound( )
Returns:
The lower bound as a
String
. Returns null if there is no lower bound. isLowerBoundInclusive
- boolean isLowerBoundInclusive()
Determine whether or not the lower bound of this range is inclusive, i.e. whether or not the
lower bound value is included in the range.
Returns:
true if the lower bound is included in the range; otherwise false.
getUpperBound
- java.lang.String getUpperBound( )
Get the upper bound of the range. The returned string can be parsed into the numeric type
that the associated variable is declared to be. For example, if the associated variable is
declared to be of type float, then the returned string can be parsed to produce a float value
using the
Float.valueOf()
method. Returns null if there is no upper bound.
Returns:
The upper bound as a
String
. Returns null if there is no upper bound. isUpperBoundInclusive
- boolean isUpperBoundInclusive()
Determine whether or not the upper bound of this range is inclusive, i.e. whether or not the
upper bound value is included in the range.
Returns:
true if the upper bound is included in the range; otherwise false.
Float.valueOf()
method. Returns null if there is no lower bound.