|
||||||||||
| 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.AbstractPojoPropertyAccessorField
public abstract class AbstractPojoPropertyAccessorField
This is the abstract implementation of the
PojoPropertyAccessor
interface used to access a Field.
| Field Summary | |
|---|---|
private Field |
field
|
| Constructor Summary | |
|---|---|
AbstractPojoPropertyAccessorField(PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies,
Field field)
The constructor. |
|
AbstractPojoPropertyAccessorField(String propertyName,
Type propertyType,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies,
Field field)
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 Field |
getField()
|
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 Field field
getField()| Constructor Detail |
|---|
public AbstractPojoPropertyAccessorField(PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies,
Field field)
descriptor - is the descriptor this accessor is intended for.dependencies - are the PojoDescriptorDependencies to use.field - is the field to access.
public AbstractPojoPropertyAccessorField(String propertyName,
Type propertyType,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies,
Field field)
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.field - is the field to access.| Method Detail |
|---|
protected Field getField()
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 | |||||||||