|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4j.filter.PropertyFilter
public abstract class PropertyFilter
Defines a filter on an object property.
| Constructor Summary | |
|---|---|
PropertyFilter(java.lang.String newPropertyName)
Constructor with property. |
|
| Method Summary | |
|---|---|
protected abstract java.lang.String[] |
createGetterNames(java.lang.String property)
Creates the appropriate getter names for the type. |
protected java.lang.Object |
getProperty(java.lang.Object obj,
java.lang.String property)
Return the value of a property via reflection. |
java.lang.String |
getPropertyName()
Returns the property to be used for filtering. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.fuin.utils4j.filter.Filter |
|---|
complies |
| Constructor Detail |
|---|
public PropertyFilter(java.lang.String newPropertyName)
newPropertyName - Property name.| Method Detail |
|---|
public final java.lang.String getPropertyName()
protected abstract java.lang.String[] createGetterNames(java.lang.String property)
property - Name of the Property.
protected final java.lang.Object getProperty(java.lang.Object obj,
java.lang.String property)
obj - Object to retrieve a value from.property - Name of the property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||