I\'ve seen a lot of questions related to mapping DTOs to Domain Objects, but I didn\'t feel they answered my question. I\'ve used many methods before and have my own opinio
How do you see to implement a constructor inside the DTO class that takes as a parameter a domain object?
Say... Something like this
class DTO { // attributes public DTO (DomainObject domainObject) { this.prop = domainObject.getProp(); } // methods }