public abstract class AbstractPojoPropertyAccessorMethodLimited extends AbstractPojoPropertyAccessor
PojoPropertyAccessor for accessing a
Method (getter or setter) in a limited environment (GWT).| Modifier and Type | Field and Description |
|---|---|
private Class<?> |
declaringClass |
private String |
name |
private GenericType<?> |
propertyType |
| Constructor and Description |
|---|
AbstractPojoPropertyAccessorMethodLimited(String propertyName,
GenericType<?> propertyType,
Class<?> declaringClass)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
getModifiers()
This method gets the
modifiers of the accessible object. |
String |
getName()
This method gets the programmatic (technical) name of the according property.
|
GenericType<?> |
getPropertyType()
This method gets the
GenericType of this property. |
getPropertyClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccessibleObject, getMode, getReturnClass, getReturnTypeprivate final GenericType<?> propertyType
getPropertyType()private final Class<?> declaringClass
getDeclaringClass()public AbstractPojoPropertyAccessorMethodLimited(String propertyName, GenericType<?> propertyType, Class<?> declaringClass)
propertyName - is the name of the property.propertyType - is the property type.declaringClass - is the declaring class.public String getAccessibleObjectName()
accessible object.accessible object.Method.getName(),
Constructor.getName(),
Field.getName()public int getModifiers()
modifiers of the accessible object.Modifier,
Field.getModifiers(),
Method.getModifiers()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 Class<?> getDeclaringClass()
field
or method of this accessor is inherited from and is NOT overridden. Object.public String getName()
read
accessor public String getFooBar() the property name would be fooBar.PropertyDescriptorCopyright © 2001–2015 mmm-Team. All rights reserved.