public static final class PropertySetter.Method extends PropertySetter
PropertySetter implementation that
uses setter method to access the property.PropertySetter.Field, PropertySetter.Method| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines if this property setter equals to the specified one.
|
Type |
getGenericType()
Returns generic return type of the method.
|
Class<?> |
getType()
Returns raw return type of the method.
|
int |
hashCode()
Returns a hash code value for this property setter.
|
void |
setValue(Object object,
Object value)
Invokes the method on the specified object with the specified value
as method parameter.
|
String |
toString()
Returns string representing signature of the method.
|
newSetterpublic Class<?> getType()
getType in class PropertySetterpublic Type getGenericType()
getGenericType in class PropertySetterpublic void setValue(Object object, Object value)
setValue in class PropertySetterobject - Object whose property value should be assigned.value - New property value.PropertyAccessException - if an error occured when accessing
property.public int hashCode()
public boolean equals(Object obj)
Copyright © 2010-2012 FoxLabs. All Rights Reserved.