T - the bean typepublic class DirectBeanBuilder<T extends DirectBean> extends BasicBeanBuilder<T>
BeanBuilder that validates the resulting bean.
This implementation ensures that all the setters are called.
| Constructor and Description |
|---|
DirectBeanBuilder(T bean)
Constructs the builder wrapping the target bean.
|
public DirectBeanBuilder(T bean)
bean - the target bean, not nullprotected void validate(T bean)
BasicBeanBuildervalidate in class BasicBeanBuilder<T extends DirectBean>bean - the bean to validate, not nullCopyright © 2007–2013 Joda.org. All rights reserved.