Intent:
In analogy it would be a great help to have a similar concept in OOP. While working with PersistentObject or with MessageObject? it is very useful to transfer only a view on the object. E.g. transfer only a predefined subset of fields or new fields which result from predefined calculations.
A first step in this direction has been done in the JavaDataObjects (JDO) definition. One can specify in the mapping specification the fields which should be loaded by default.
However this concept should be part of the programming language.
Comments and suggestions are highly appreciated.