Constructor and Description |
---|
Setter(Class<B> clazz,
Method method)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName()
Obtains the property name for this setter.
|
void |
setPropertyValue(B bean,
String value)
Sets the property value onto the bean.
|
void |
setValue(B bean,
Object value)
Sets the value onto the bean.
|
public String getPropertyName()
public void setValue(B bean, Object value) throws Exception
bean
- Bean to have the value loaded.value
- Value to set on the bean.Exception
- If fails to set the value.Copyright © 2005–2016. All rights reserved.