When a bean is returned, it has lost all its context. So when you do something with that bean and it fails because of a fault in one of its values, it is not possible to report this back to its root cause.
What we need is the option to return a BeanContext.
This context must allow us to:
get the wrapped Bean instance
generate a report on a column within a row, based on the property name
Make sure the BeanContext is used all the way up to returning a non-contextual Bean.
When a bean is returned, it has lost all its context. So when you do something with that bean and it fails because of a fault in one of its values, it is not possible to report this back to its root cause.
What we need is the option to return a BeanContext.
This context must allow us to:
Make sure the BeanContext is used all the way up to returning a non-contextual Bean.