I have a immutable Money class which I want to copy by reference. Is there any way to do this at the class level using the Dozer API? Currently I am specifying this at a field level everywhere Money is used:
mapping(Order.class, OrderVO.class) .fields("limitPrice", "limitPrice", copyByReference());
mapping(Execution.class, ExecutionVO.class) .fields("price", "price", copyByReference());
Log in to post a comment.
I have a immutable Money class which I want to copy by reference. Is there any way to do this at the class level using the Dozer API? Currently I am specifying this at a field level everywhere Money is used:
mapping(Order.class, OrderVO.class)
.fields("limitPrice", "limitPrice", copyByReference());
mapping(Execution.class, ExecutionVO.class)
.fields("price", "price", copyByReference());