public interface PojoPropertyAccessor extends PojoAttributeName
PojoPropertyDescriptor| Modifier and Type | Method and Description |
|---|---|
AccessibleObject |
getAccessibleObject()
This method gets the
accessible object used to access (read/write) this property. |
String |
getAccessibleObjectName()
This method gets the name of the
accessible object. |
Class<?> |
getDeclaringClass()
This method gets the class reflecting the type that declared this accessor.
|
PojoPropertyAccessorMode<? extends PojoPropertyAccessor> |
getMode()
This method gets the mode of this accessor.
|
int |
getModifiers()
This method gets the
modifiers of the accessible
object. |
Class<?> |
getPropertyClass()
|
GenericType<?> |
getPropertyType()
This method gets the
GenericType of this property. |
Class<?> |
getReturnClass()
This method gets the
Class of the object returned when this accessor is invoked. |
GenericType<?> |
getReturnType()
This method gets the
GenericType of the object returned when this accessor is invoked. |
getNamePojoPropertyAccessorMode<? extends PojoPropertyAccessor> getMode()
AccessibleObject getAccessibleObject()
accessible object used to access (read/write) this property.accessible object used to access this property.PropertyDescriptor.getReadMethod(),
Method,
Constructor,
FieldString getAccessibleObjectName()
accessible object.accessible object.Method.getName(),
Constructor.getName(),
Field.getName()int getModifiers()
modifiers of the accessible
object.Modifier,
Field.getModifiers(),
Method.getModifiers()GenericType<?> getReturnType()
GenericType of the object returned when this accessor is invoked.Method.getGenericReturnType(),
Field.getGenericType()Class<?> getReturnClass()
Class of the object returned when this accessor is invoked. getReturnType().getRetrievalClass()Method.getReturnType(),
Field.getType()GenericType<?> getPropertyType()
GenericType of this property. getter this will be the return-type while
a setter typically has void as return-type and this method will return the type of its argument. For mapped or indexed getters/setters this
method will return the item type.GenericType reflecting the property.getPropertyClass(),
PropertyDescriptor.getPropertyType()Class<?> getPropertyClass()
type as Class. It is a convenience method for
getPropertyType(). getRetrievalClass() if the mode is for reading and getPropertyType().
getAssignmentClass() otherwise.Class reflecting the property.Class<?> getDeclaringClass()
field or method of this
accessor is inherited from and is NOT overridden. Object.Copyright © 2001–2016 mmm-Team. All rights reserved.