T - the bean typepublic class DirectBeanBuilder<T extends Bean> extends BasicBeanBuilder<T>
This implementation adds validation on top of basic builder functionality.
| Constructor and Description |
|---|
DirectBeanBuilder(T bean)
Constructs the builder wrapping the target bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
validate(T bean)
Hook to allow a subclass to validate the bean.
|
build, get, get, getTargetBean, set, set, toStringpublic DirectBeanBuilder(T bean)
bean - the target bean, not nullprotected void validate(T bean)
BasicBeanBuildervalidate in class BasicBeanBuilder<T extends Bean>bean - the bean to validate, not nullCopyright © 2007–2017 Joda.org. All rights reserved.