public abstract class AbstractPojoPropertyAccessorProxy extends AbstractPojoPropertyAccessor
PojoPropertyAccessor interface that delegates to another
accessor.| Constructor and Description |
|---|
AbstractPojoPropertyAccessorProxy()
The constructor.
|
| 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.
|
protected abstract PojoPropertyAccessor |
getDelegate()
This method gets the
accessor this proxy delegates to. |
PojoPropertyAccessorMode<? extends PojoPropertyAccessor> |
getMode()
This method gets the mode of this accessor.
|
int |
getModifiers()
This method gets the
modifiers of the accessible
object. |
String |
getName()
This method gets the programmatic (technical) name of the according property.
|
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. |
toStringpublic AbstractPojoPropertyAccessorProxy()
protected abstract PojoPropertyAccessor getDelegate()
accessor this proxy delegates to.public AccessibleObject getAccessibleObject()
PojoPropertyAccessoraccessible object used to access (read/write) this property.accessible object used to access this property.PropertyDescriptor.getReadMethod(),
Method,
Constructor,
Fieldpublic String getAccessibleObjectName()
PojoPropertyAccessoraccessible object.accessible object.Method.getName(),
Constructor.getName(),
Field.getName()public Class<?> getDeclaringClass()
PojoPropertyAccessorfield or method of this
accessor is inherited from and is NOT overridden. Object.public int getModifiers()
PojoPropertyAccessormodifiers of the accessible
object.Modifier,
Field.getModifiers(),
Method.getModifiers()public Class<?> getReturnClass()
PojoPropertyAccessorClass of the object returned when this accessor is invoked. PojoPropertyAccessor.getReturnType().getRetrievalClass()Method.getReturnType(),
Field.getType()public GenericType<?> getReturnType()
PojoPropertyAccessorGenericType of the object returned when this accessor is invoked.Method.getGenericReturnType(),
Field.getGenericType()public Class<?> getPropertyClass()
PojoPropertyAccessortype as Class. It is a convenience method for
PojoPropertyAccessor.getPropertyType(). getRetrievalClass() if the mode is for reading and PojoPropertyAccessor.getPropertyType().
getAssignmentClass() otherwise.getPropertyClass in interface PojoPropertyAccessorgetPropertyClass in class AbstractPojoPropertyAccessorClass reflecting the property.public GenericType<?> getPropertyType()
PojoPropertyAccessorGenericType 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.PojoPropertyAccessor.getPropertyClass(),
PropertyDescriptor.getPropertyType()public String getName()
PojoAttributeNameread accessor
public String getFooBar() the property name would be fooBar.FeatureDescriptor.getName()public PojoPropertyAccessorMode<? extends PojoPropertyAccessor> getMode()
PojoPropertyAccessorCopyright © 2001–2016 mmm-Team. All rights reserved.