Is it always a good way, you need to map "VOUser" for this.
Sometimes this way is better:
class VOUser extends UIObject{
_User getUser()
.....
fields and methods than doesn't need to persist in database
}
or
class VOUser extends UIObject{
void paint(_User user);
.....
fields and methods than doesn't need to persist in database
}
fmourioux wrote:
Is it always a good or better way to do this :
---------------------------------------------------
A generate file from mapping like this :
class _User {
.....
}
A entreprise object like :
class VOUser extends _User{
.....
fields and methods than doesn't need to persist in database
}