java.lang.Object
org.csveed.bean.conversion.BeanWrapper
-
Constructor Summary
ConstructorDescriptionBeanWrapper
(DefaultConverters defaultConverters, Object bean) Instantiates a new bean wrapper. -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter
getConverter
(BeanProperty property) Gets the converter.getProperty
(BeanProperty property) Gets the property.protected Class
getPropertyType
(BeanProperty property) Gets the property type.void
setProperty
(BeanProperty property, String value) Sets the property.
-
Constructor Details
-
BeanWrapper
Instantiates a new bean wrapper.- Parameters:
defaultConverters
- the default convertersbean
- the bean
-
-
Method Details
-
getProperty
Gets the property.- Parameters:
property
- the property- Returns:
- the property
- Throws:
ConversionException
- the conversion exception
-
setProperty
Sets the property.- Parameters:
property
- the propertyvalue
- the value- Throws:
ConversionException
- the conversion exception
-
getConverter
Gets the converter.- Parameters:
property
- the property- Returns:
- the converter
-
getPropertyType
Gets the property type.- Parameters:
property
- the property- Returns:
- the property type
-