public interface Constraint
Query
node
- a single member of a class.Query.constrain()
.
Modifier and Type | Method and Description |
---|---|
Constraint |
and(Constraint andWith)
links two Constraints for AND evaluation
|
Constraint |
contains()
sets the evaluation mode to containment comparison
|
Constraint |
equal()
sets the evaluation mode to "=="
|
Constraint |
greater()
sets the evaluation mode to ">"
|
Constraint |
greaterOrEqual()
sets the evaluation mode to ">="
|
Constraint |
identity()
sets the evaluation mode to identity comparison
|
Constraint |
is()
turns off not() comparison
|
Constraint |
like()
sets the evaluation mode to "like" comparison
|
Constraint |
not()
turns on not() comparison
|
Constraint |
or(Constraint orWith)
links two Constraints for OR evaluation
|
Constraint |
smaller()
sets the evaluation mode to "<"
|
Constraint |
smallerOrEqual()
sets the evaluation mode to "<="
|
Constraint and(Constraint andWith)
andWith
- the other ConstraintConstraint or(Constraint orWith)
orWith
- the other ConstraintConstraint equal()
Constraint greater()
Constraint greaterOrEqual()
Constraint smaller()
Constraint smallerOrEqual()
Constraint identity()
Constraint like()
Constraint contains()
Constraint is()
Constraint not()
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30