public abstract class AbstractPojoPropertyAccessorGetMethod extends AbstractPojoPropertyAccessorMethodLimited implements PojoPropertyAccessorNonArg
PojoPropertyAccessorNonArg for accessing a getter
Method in a limited environment (GWT).| Constructor and Description |
|---|
AbstractPojoPropertyAccessorGetMethod(String propertyName,
GenericType<?> propertyType,
Class<?> declaringClass)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessibleObject |
getAccessibleObject()
This method gets the
accessible object used to access (read/write) this property. |
PojoPropertyAccessorNonArgMode |
getMode()
This method gets the mode of this accessor.
|
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. |
getAccessibleObjectName, getDeclaringClass, getModifiers, getName, getPropertyTypegetPropertyClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinvokegetAccessibleObjectName, getDeclaringClass, getModifiers, getPropertyClass, getPropertyTypegetNamepublic AbstractPojoPropertyAccessorGetMethod(String propertyName, GenericType<?> propertyType, Class<?> declaringClass)
propertyName - is the name of the property.propertyType - is the property type.declaringClass - is the declaring class.public AccessibleObject getAccessibleObject()
PojoPropertyAccessoraccessible object used to access (read/write) this property.getAccessibleObject in interface PojoPropertyAccessoraccessible object used to access this property.PropertyDescriptor.getReadMethod(),
Method,
Constructor,
Fieldpublic PojoPropertyAccessorNonArgMode getMode()
PojoPropertyAccessorgetMode in interface PojoPropertyAccessorgetMode in interface PojoPropertyAccessorNonArgpublic GenericType<?> getReturnType()
PojoPropertyAccessorGenericType of the object returned when this accessor is invoked.getReturnType in interface PojoPropertyAccessorMethod.getGenericReturnType(),
Field.getGenericType()public Class<?> getReturnClass()
PojoPropertyAccessorClass of the object returned when this accessor is invoked. PojoPropertyAccessor.getReturnType().getRetrievalClass()getReturnClass in interface PojoPropertyAccessorMethod.getReturnType(),
Field.getType()Copyright © 2001–2016 mmm-Team. All rights reserved.