|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.ashridgetech.jamda.uml.PropertyPredicate
A Predicate object for selecting Property objects.
The client subclasses PropertyPredicate,
and provides a select(com.ashridgetech.jamda.uml.Property) method that returns true if the given Property
should be selected.
| Constructor Summary | |
PropertyPredicate()
|
|
| Method Summary | |
boolean |
evaluate(java.lang.Object input)
Implements the Predicate interface. |
abstract boolean |
select(Property property)
Indicate whether property should be selected. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyPredicate()
| Method Detail |
public boolean evaluate(java.lang.Object input)
Predicate interface. Calls the subclass's select(com.ashridgetech.jamda.uml.Property) method.
evaluate in interface org.apache.commons.collections.Predicateinput - - must be a Property
Property should be selectedpublic abstract boolean select(Property property)
property should be selected.
property - the Property to test
property should be selected
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||