Someone offers a "public getter, but not a public setter for a private field."
Note: this will only work if the field is a primitive type.
If it is an object with setters, the content can still be changed; therefore, not read-only.
It will be interesting to see that the Java language provides some constructs to make the return type read-only, without having to make a deep copy / clone.
I look like ReadOnly getEmployee () {...}
source share