|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--Predicate
The head of a hierarchy of classes that can evaluate conditions
on objects. All the non-abstract classes in the hierarchy have
names of the form CheckXxxx, where Xxxx
is the predicate type
passed in to RealObject.isPredicate. These classes logically
belong as inner classes within RealObject, but as the names of
the specific classes to instantiate are not determined until
run time, they need to be instantiated using the
Class.newInstance() method which is unable to create
instances of inner classes (not that you could tell from the
documentation).
RealObject.isPredicate(java.lang.String)| Constructor Summary | |
(package private) |
Predicate()
|
| Method Summary | |
abstract boolean |
evaluate(RealObject ro,
java.lang.String details)
Evaluate a predicate on an object. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
Predicate()
| Method Detail |
public abstract boolean evaluate(RealObject ro,
java.lang.String details)
ro - the object on which we want to evaluate the predicate.details - further details used in a subclass-specific manner
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||