|
||||||||||
| 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.BooleanPropertyFilter
public class BooleanPropertyFilter
Defines a filter on a Boolean value.
| Constructor Summary | |
|---|---|
BooleanPropertyFilter(String newPropertyName,
Boolean constValue)
Constructor with all necessary values. |
|
| Method Summary | |
|---|---|
boolean |
complies(Object obj)
Checks if the argument complies with the condition of the filter. |
protected String[] |
createGetterNames(String property)
Creates the appropriate getter names for the type. |
Boolean |
getConstValue()
Returns the value the property is compared with. |
String |
toString()
|
| Methods inherited from class org.fuin.utils4j.filter.PropertyFilter |
|---|
getProperty, getPropertyName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanPropertyFilter(String newPropertyName,
Boolean constValue)
newPropertyName - Property name.constValue - Value the property is compared with.| Method Detail |
|---|
protected final String[] createGetterNames(String property)
createGetterNames in class PropertyFilterproperty - Name of the Property.
public final Boolean getConstValue()
public final boolean complies(Object obj)
obj - Object to be tested for compliance
public final String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||