public class BeanMapper
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
copy(java.lang.Class<T> destination,
java.lang.Object source)
Convert object type.
|
<T> T |
copy(T destination,
java.lang.Object source)
Copy the value from A to B, use Default DozerBeanMapper.
|
<T> java.util.List<T> |
copyList(java.lang.Class<T> destinationClass,
java.util.Collection<?> sourceList)
Map list list.
|
public <T> T copy(T destination,
java.lang.Object source)
T - the generic typedestination - the destination objectsource - the sourcepublic <T> T copy(java.lang.Class<T> destination,
java.lang.Object source)
T - the type parameterdestination - the destination classsource - the sourcepublic <T> java.util.List<T> copyList(java.lang.Class<T> destinationClass,
java.util.Collection<?> sourceList)
T - the type parameterdestinationClass - the destination classsourceList - the source list