public final class BeanPropertyElementSelector extends ElementSelector
| Constructor and Description |
|---|
BeanPropertyElementSelector(java.lang.String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Must be implemented in a way so that this element can be distinguished from the other ones.
|
java.lang.String |
getPropertyName() |
int |
hashCode()
Make sure to implement this properly.
|
java.lang.String |
toHumanReadableString() |
toStringpublic BeanPropertyElementSelector(java.lang.String propertyName)
public java.lang.String getPropertyName()
public java.lang.String toHumanReadableString()
toHumanReadableString in class ElementSelectorpublic boolean equals(java.lang.Object o)
ElementSelectorequals in class ElementSelectoro - The object to check equality against.true is the given object equals this one, otherwise false.public int hashCode()
ElementSelector0.hashCode in class ElementSelector