|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Packages that use BinaryConstraint | |
---|---|
org.springframework.rules.constraint | Out of the box predicates that address common needs such as comparison and composition. |
org.springframework.rules.constraint.property | Out of the box predicates and constraint building blocks involving bean properties. |
org.springframework.rules.factory | Factories for creating rules. |
Uses of BinaryConstraint in org.springframework.rules.constraint |
---|
Classes in org.springframework.rules.constraint that implement BinaryConstraint | |
---|---|
class |
AbstractBinaryConstraint
|
class |
ComparisonBinaryPredicate
Abstract helper superclass for binary predicates involved in comparison operations. |
class |
EqualTo
Constraint that tests object equality (not identity.) |
class |
GreaterThan
Predicate that tests if one comparable object is greater than another. |
class |
GreaterThanEqualTo
Predicate that tests if one comparable object is greater than or equal to another. |
class |
LessThan
Predicate that tests if one comparable object is less than another. |
class |
LessThanEqualTo
Predicate that tests if one comparable object is less than or equal to another. |
Methods in org.springframework.rules.constraint that return BinaryConstraint | |
---|---|
BinaryConstraint |
ParameterizedBinaryConstraint.getConstraint()
|
abstract BinaryConstraint |
RelationalOperator.getConstraint()
Returns the predicate instance associated with this binary operator. |
static BinaryConstraint |
LessThan.instance()
|
static BinaryConstraint |
EqualTo.instance()
|
static BinaryConstraint |
LessThanEqualTo.instance()
|
static BinaryConstraint |
GreaterThanEqualTo.instance()
|
static BinaryConstraint |
GreaterThan.instance()
|
static BinaryConstraint |
LessThan.instance(Comparator c)
|
static BinaryConstraint |
EqualTo.instance(Comparator c)
|
static BinaryConstraint |
LessThanEqualTo.instance(Comparator c)
|
static BinaryConstraint |
GreaterThanEqualTo.instance(Comparator c)
|
static BinaryConstraint |
GreaterThan.instance(Comparator c)
|
Methods in org.springframework.rules.constraint with parameters of type BinaryConstraint | |
---|---|
Constraint |
ConstraintsAccessor.bind(BinaryConstraint constraint,
boolean parameter)
|
Constraint |
ConstraintsAccessor.bind(BinaryConstraint constraint,
double parameter)
|
Constraint |
ConstraintsAccessor.bind(BinaryConstraint constraint,
float parameter)
|
Constraint |
ConstraintsAccessor.bind(BinaryConstraint constraint,
int parameter)
|
Constraint |
ConstraintsAccessor.bind(BinaryConstraint constraint,
Object parameter)
|
Constructors in org.springframework.rules.constraint with parameters of type BinaryConstraint | |
---|---|
ParameterizedBinaryConstraint(BinaryConstraint constraint,
boolean bool)
Convenience constructor for boolean parameters. |
|
ParameterizedBinaryConstraint(BinaryConstraint constraint,
byte b)
Convenience constructor for byte parameters. |
|
ParameterizedBinaryConstraint(BinaryConstraint constraint,
double number)
Convenience constructor for double parameters. |
|
ParameterizedBinaryConstraint(BinaryConstraint constraint,
float number)
Convenience constructor for float parameters. |
|
ParameterizedBinaryConstraint(BinaryConstraint constraint,
int number)
Convenience constructor for integer parameters. |
|
ParameterizedBinaryConstraint(BinaryConstraint constraint,
Object parameter)
Creates a ParameterizedBinaryPredicate that binds the provided parameter constant as the second argument to the constraint during tests. |
|
ParameterizedBinaryConstraint(BinaryConstraint constraint,
short number)
Convenience constructor for short parameters. |
Uses of BinaryConstraint in org.springframework.rules.constraint.property |
---|
Methods in org.springframework.rules.constraint.property that return BinaryConstraint | |
---|---|
BinaryConstraint |
ParameterizedPropertyConstraint.getConstraint()
|
BinaryConstraint |
PropertiesConstraint.getConstraint()
|
Constructors in org.springframework.rules.constraint.property with parameters of type BinaryConstraint | |
---|---|
ParameterizedPropertyConstraint(String propertyName,
BinaryConstraint expression,
Object parameter)
Creates a BeanPropertyExpressionTester. |
|
PropertiesConstraint(String propertyName,
BinaryConstraint beanPropertyExpression,
String otherPropertyName)
Creates a BeanPropertyExpression |
Uses of BinaryConstraint in org.springframework.rules.factory |
---|
Methods in org.springframework.rules.factory with parameters of type BinaryConstraint | |
---|---|
Constraint |
Constraints.bind(BinaryConstraint constraint,
boolean parameter)
Bind the specified boolean parameter to the second
argument of the BinaryConstraint . |
Constraint |
Constraints.bind(BinaryConstraint constraint,
double parameter)
Bind the specified double parameter to the second argument
of the BinaryConstraint . |
Constraint |
Constraints.bind(BinaryConstraint constraint,
float parameter)
Bind the specified float parameter to the second argument
of the BinaryConstraint . |
Constraint |
Constraints.bind(BinaryConstraint constraint,
int parameter)
Bind the specified int parameter to the second argument of
the BinaryConstraint . |
Constraint |
Constraints.bind(BinaryConstraint constraint,
Object parameter)
Bind the specified parameter to the second argument of the BinaryConstraint . |
PropertyConstraint |
Constraints.valueProperties(String propertyName,
BinaryConstraint constraint,
String otherPropertyName)
|
PropertyConstraint |
Constraints.valueProperty(String propertyName,
BinaryConstraint constraint,
Object value)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |