P - the base type of the Pojos to convert (e.g. Object or
Entity).B - the base type of the Bean to map (e.g. Bean or EntityBean).public interface PojoBeanMapper<P,B extends Bean>
POJOs
to amd from a corresponding hierarchy of Beans.
E.g. it will be used to map from FooEntity to FooBean or from BarBean to BarEntity.
To map from a fixed generic container object see DocumentBeanMapper instead.| Modifier and Type | Method and Description |
|---|---|
<T extends P> |
fromBean(B bean,
Class<T> type) |
<T extends B> |
toBean(P pojo,
T prototype) |
Copyright © 2001–2016 mmm-Team. All rights reserved.