|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessor
net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessorProxy
public abstract class AbstractPojoPropertyAccessorProxy
This is the abstract implementation of the PojoPropertyAccessor
interface that delegates to another accessor.
| Constructor Summary | |
|---|---|
AbstractPojoPropertyAccessorProxy()
The constructor. |
|
| Method Summary | |
|---|---|
AccessibleObject |
getAccessibleObject()
This method gets the accessible object used to
access (read/write) this property. |
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()
This method gets the type as Class. |
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. |
| Methods inherited from class net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessor |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPojoPropertyAccessorProxy()
| Method Detail |
|---|
protected abstract PojoPropertyAccessor getDelegate()
accessor this proxy
delegates to.
public AccessibleObject getAccessibleObject()
accessible object used to
access (read/write) this property.
null if this
property is NOT readable.PropertyDescriptor,
Method,
Constructor,
Fieldpublic Class<?> getDeclaringClass()
field or method of
this accessor is inherited from and is NOT overridden.Object.
public int getModifiers()
modifiers of the
accessible object.
Modifier,
Field.getModifiers(),
Method.getModifiers()public Class<?> getReturnClass()
Class of the object returned when this
accessor is invoked.PojoPropertyAccessor.getReturnType().
getUpperBound()
Method.getReturnType(),
Field.getType()public GenericType<?> getReturnType()
GenericType of the object returned when this
accessor is invoked.
Method.getGenericReturnType(),
Field.getGenericType()public Class<?> getPropertyClass()
type as Class. It
is a convenience method for PojoPropertyAccessor.getPropertyType().
getUpperBound() if the
mode is for reading and PojoPropertyAccessor.getPropertyType().
getLowerBound() otherwise.
getPropertyClass in interface PojoPropertyAccessorgetPropertyClass in class AbstractPojoPropertyAccessorClass reflecting the property.public 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.PojoPropertyAccessor.getPropertyClass(),
PropertyDescriptorpublic String getName()
read accessor public String getFooBar() the property name
would be fooBar.
PropertyDescriptorpublic PojoPropertyAccessorMode<? extends PojoPropertyAccessor> getMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||