com.ibm.wbiserver.brules.mgmt

Interface RangeConstraint

All Superinterfaces:
Constraint, java.io.Serializable

  1. public interface RangeConstraint
  2. extends Constraint
This interface represents a range constraint on a value. The value must be within the specified range in order to be valid.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getLowerBound()
Get the lower bound of the range.
  1. java.lang.String
getUpperBound()
Get the upper bound of the range.
  1. 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.
  1. 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.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

getLowerBound

  1. java.lang.String getLowerBound( )
Get the lower 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 lower bound.
Returns:
The lower bound as a String. Returns null if there is no lower bound.

isLowerBoundInclusive

  1. 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

  1. 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

  1. 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.