public abstract class AbstractPojoPropertyAccessorSetMethod extends AbstractPojoPropertyAccessorMethodLimited implements PojoPropertyAccessorOneArg
PojoPropertyAccessorOneArg
interface for accessing a setter
Method
in a limited environment (GWT).Constructor and Description |
---|
AbstractPojoPropertyAccessorSetMethod(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. |
PojoPropertyAccessorOneArgMode |
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, getPropertyType
getPropertyClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invoke
getAccessibleObjectName, getDeclaringClass, getModifiers, getPropertyClass, getPropertyType
getName
public AbstractPojoPropertyAccessorSetMethod(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()
PojoPropertyAccessor
accessible object
used to access (read/write) this property.getAccessibleObject
in interface PojoPropertyAccessor
accessible object
used to access this property.PropertyDescriptor.getReadMethod()
,
Method
,
Constructor
,
Field
public PojoPropertyAccessorOneArgMode getMode()
PojoPropertyAccessor
getMode
in interface PojoPropertyAccessor
getMode
in interface PojoPropertyAccessorOneArg
public GenericType<?> getReturnType()
PojoPropertyAccessor
GenericType
of the object returned when this accessor is invoked
.getReturnType
in interface PojoPropertyAccessor
Method.getGenericReturnType()
,
Field.getGenericType()
public Class<?> getReturnClass()
PojoPropertyAccessor
Class
of the object returned when this accessor is invoked
. PojoPropertyAccessor.getReturnType()
.getRetrievalClass()
getReturnClass
in interface PojoPropertyAccessor
Method.getReturnType()
,
Field.getType()
Copyright © 2001–2016 mmm-Team. All rights reserved.