mapperFactory.registerClassMap(
mapperFactory.classMap(Order.class, OrderData.class)
.field("entityID", "orderId").byDefault().toClassMap());
mapperFactory.getConverterFactory().registerConverter(new OrderIDConverter());
MapperFacade facade = mapperFactory.getMapperFacade();
OrderData data = new OrderData(1234l);
Order order = facade.map(data, Order.class);
Assert.assertEquals(new OrderID(1234l), order.getEntityID());