Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`DTOMapper()`

Method Summary
`
`<T> T`
` | `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`

Constructor Detail

### DTOMapper

    public DTOMapper()

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2010 FedICT. All Rights Reserved.