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 String name
private final GenericType<?> propertyType
private final Class<?> declaringClass
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()
PojoPropertyAccessoraccessible object.accessible object.Method.getName(),
Constructor.getName(),
Field.getName()public int getModifiers()
PojoPropertyAccessormodifiers of the accessible
object.Modifier,
Field.getModifiers(),
Method.getModifiers()public GenericType<?> getPropertyType()
PojoPropertyAccessorGenericType 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(),
PropertyDescriptor.getPropertyType()public Class<?> getDeclaringClass()
PojoPropertyAccessorfield or method of this
accessor is inherited from and is NOT overridden. Object.public String getName()
PojoAttributeNameread accessor
public String getFooBar() the property name would be fooBar.FeatureDescriptor.getName()Copyright © 2001–2016 mmm-Team. All rights reserved.