|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4j.filter.PropertyFilter
org.fuin.utils4j.filter.ComparablePropertyFilter
public abstract class ComparablePropertyFilter
Defines a filter on a Comparable property.
| Constructor Summary | |
|---|---|
ComparablePropertyFilter(java.lang.String newPropertyName,
ComparableFilter filter)
Constructor with a property and an operator. |
|
| Method Summary | |
|---|---|
boolean |
complies(java.lang.Object obj)
Checks if the argument complies with the condition of the filter. |
protected ComparableFilter |
getFilter()
Returns the filter used for compare operations. |
ComparableFilter.Operator |
getOperator()
Returns the operator for compare operations. |
java.lang.String |
getOperatorName()
Returns the operator for compare operations. |
java.lang.String |
toString()
|
| Methods inherited from class org.fuin.utils4j.filter.PropertyFilter |
|---|
createGetterNames, getProperty, getPropertyName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComparablePropertyFilter(java.lang.String newPropertyName,
ComparableFilter filter)
newPropertyName - Name of the property.filter - Filter to use.| Method Detail |
|---|
public final boolean complies(java.lang.Object obj)
obj - Object to be tested for compliance
public final java.lang.String toString()
toString in class java.lang.Objectprotected final ComparableFilter getFilter()
public final ComparableFilter.Operator getOperator()
public final java.lang.String getOperatorName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||