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 . |
toString
public AbstractPojoPropertyAccessorProxy()
protected abstract PojoPropertyAccessor getDelegate()
accessor
this proxy delegates to.public AccessibleObject getAccessibleObject()
PojoPropertyAccessor
accessible object
used to access (read/write) this property.accessible object
used to access this property.PropertyDescriptor.getReadMethod()
,
Method
,
Constructor
,
Field
public String getAccessibleObjectName()
PojoPropertyAccessor
accessible object
.accessible object
.Method.getName()
,
Constructor.getName()
,
Field.getName()
public Class<?> getDeclaringClass()
PojoPropertyAccessor
field or method
of this
accessor is inherited from and is NOT overridden. Object
.public int getModifiers()
PojoPropertyAccessor
modifiers
of the accessible
object
.Modifier
,
Field.getModifiers()
,
Method.getModifiers()
public Class<?> getReturnClass()
PojoPropertyAccessor
Class
of the object returned when this accessor is invoked
. PojoPropertyAccessor.getReturnType()
.getRetrievalClass()
Method.getReturnType()
,
Field.getType()
public GenericType<?> getReturnType()
PojoPropertyAccessor
GenericType
of the object returned when this accessor is invoked
.Method.getGenericReturnType()
,
Field.getGenericType()
public Class<?> getPropertyClass()
PojoPropertyAccessor
type
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 PojoPropertyAccessor
getPropertyClass
in class AbstractPojoPropertyAccessor
Class
reflecting the property.public GenericType<?> getPropertyType()
PojoPropertyAccessor
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.PojoPropertyAccessor.getPropertyClass()
,
PropertyDescriptor.getPropertyType()
public String getName()
PojoAttributeName
read
accessor
public String getFooBar()
the property name would be fooBar
.FeatureDescriptor.getName()
public PojoPropertyAccessorMode<? extends PojoPropertyAccessor> getMode()
PojoPropertyAccessor
Copyright © 2001–2016 mmm-Team. All rights reserved.