PropertyElementpublic class PropertyAccessor extends AbstractPropertyElement<Method>
element| Constructor | Description |
|---|---|
PropertyAccessor(Method method,
String name) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getElementName() |
Get the name of the underlying field or method.
|
Class<?> |
getPropertyType() |
Get the type of this property - the return type of a method, or the type of a field
|
String |
getType() |
Get the type of element returns either "field" or "method".
|
equals, getDeclaringClass, getElement, getName, hashCode, toStringpublic String getElementName()
PropertyElementpublic String getType()
PropertyElementpublic Class<?> getPropertyType()
PropertyElementCopyright © 2008–2018. All rights reserved.