guicamest/InterfaceToDTO — Issue #18: If user wants to change data in a DTO generated with HibernateDTOUtils, provide setters for fields
Author: guicamest
Created: 2011-10-18 00:28:02+00:00
State: open

Depends on #17

Let's say we have the interface:

interface ISimplifiedUser{
String getName();

Image getAvatar();

Location getLocation();
}

if user wants to change the name, he could write a setter for that field:

interface ISimplifiedUser{
String getName();
void setName(String name);

Image getAvatar();

Location getLocation();
}