public class BeanPropertyDescription extends Object
| Constructor and Description |
|---|
BeanPropertyDescription(String name,
TypeInformation typeInformation,
Method getter,
Method setter) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the property for the purpose of reading from and writing to a property resource.
|
TypeInformation |
getTypeInformation() |
Object |
getValue(Object bean)
Returns the value of the property for the given bean.
|
void |
setValue(Object bean,
Object value)
Sets the given property to the given value on the provided bean.
|
String |
toString() |
public BeanPropertyDescription(String name, TypeInformation typeInformation, Method getter, Method setter)
public String getName()
public TypeInformation getTypeInformation()
@Nullable public Object getValue(Object bean)
bean - the bean to read the property frompublic void setValue(Object bean, Object value)
bean - the bean to modifyvalue - the value to set the property toCopyright © 2016–2018 The AuthMe Team. All rights reserved.