public interface HasOther
List<Other> getOther()
This accessor method returns a reference to the live list,
not a snapshot. Therefore, any modification made to the
returned list will be present inside the object.
This is why there is not a set
method for the role property.
For example, to add a new item, do as follows:
getOther().add(newItem);
Other
Copyright © 2013. All Rights Reserved.