public class BeanPropertyDescriptionImpl extends Object implements BeanPropertyDescription
BeanPropertyDescription.| Constructor and Description |
|---|
BeanPropertyDescriptionImpl(String name,
TypeInformation typeInformation,
Method getter,
Method setter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
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 BeanPropertyDescriptionImpl(String name, TypeInformation typeInformation, Method getter, Method setter)
name - name of the property in the exporttypeInformation - type of the propertygetter - getter for the propertysetter - setter for the propertypublic String getName()
getName in interface BeanPropertyDescriptionpublic TypeInformation getTypeInformation()
getTypeInformation in interface BeanPropertyDescription@Nullable public Object getValue(Object bean)
getValue in interface BeanPropertyDescriptionbean - the bean to read the property frompublic void setValue(Object bean, Object value)
setValue in interface BeanPropertyDescriptionbean - the bean to modifyvalue - the value to set the property toCopyright © 2016–2018 The AuthMe Team. All rights reserved.