PropertyElement
public 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, toString
public String getElementName()
PropertyElement
public String getType()
PropertyElement
public Class<?> getPropertyType()
PropertyElement
Copyright © 2008–2018. All rights reserved.