|
||||||||||
| 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.AbstractPojoPropertyAccessorBase
net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessorMethod
public abstract class AbstractPojoPropertyAccessorMethod
This is the abstract implementation of the
PojoPropertyAccessor
interface used to access a Method.
| Field Summary | |
|---|---|
private Method |
method
|
private GenericType<?> |
returnType
|
| Constructor Summary | |
|---|---|
AbstractPojoPropertyAccessorMethod(String propertyName,
Type propertyType,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies,
Method method)
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 Method |
getMethod()
|
int |
getModifiers()
This method gets the modifiers of the
accessible object. |
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.AbstractPojoPropertyAccessorBase |
|---|
getName, getPropertyType |
| Methods inherited from class net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessor |
|---|
getPropertyClass, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.mmm.util.pojo.descriptor.api.accessor.PojoPropertyAccessor |
|---|
getMode |
| Field Detail |
|---|
private final Method method
getMethod()private final GenericType<?> returnType
getReturnType()| Constructor Detail |
|---|
public AbstractPojoPropertyAccessorMethod(String propertyName,
Type propertyType,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies,
Method method)
propertyName - is the name of the property.propertyType - is the generic type of the
property.descriptor - is the descriptor this accessor is intended for.dependencies - are the PojoDescriptorDependencies to use.method - is the method to access.| Method Detail |
|---|
protected Method getMethod()
getAccessibleObject()public int getModifiers()
modifiers of the
accessible object.
Modifier,
Field.getModifiers(),
Method.getModifiers()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 GenericType<?> getReturnType()
GenericType of the object returned when this
accessor is invoked.
Method.getGenericReturnType(),
Field.getGenericType()public Class<?> getReturnClass()
Class of the object returned when this
accessor is invoked.PojoPropertyAccessor.getReturnType().
getUpperBound()
Method.getReturnType(),
Field.getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||