To call the getter - I need an instance of the Value Object
If I have an instance of the Value Object - then I can anyways make a change to its attributes .
Please let me know your thoughts .
My thoughts are that I don't understand your statement. If you have an instance of an object, why can you necessarily make changes to its attributes? See this example:
---------- javac ----------
AATest1.java:15: num has private access in ValueObject
vObj.num = 30;
^
1 error
Output completed (17 sec consumed) - Normal Termination
[ October 04, 2006: Message edited by: sven studde ]