be.fedict.eid.applet.service.dto
Class DTOMapper
java.lang.Object
be.fedict.eid.applet.service.dto.DTOMapper
public class DTOMapper
- extends Object
Data Transfer Object Mapper.
- Author:
- Frank Cornelis
Method Summary |
|
map(Object from,
Class<T> toClass)
Maps an object to an object of the given class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTOMapper
public DTOMapper()
map
public <T> T map(Object from,
Class<T> toClass)
- Maps an object to an object of the given class.
- Type Parameters:
T
- the type of the class to map to.- Parameters:
from
- the object to map from.toClass
- the class to map to.
- Returns:
- the mapped object.
Copyright © 2008-2012 FedICT. All Rights Reserved.