gets the value of the list property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the list property . for example , to add a new item , do as follows : getlist . add newitem ; objects of the following type s are allowed in the list managedobjectreference concode_field_sep ManagedObjectReference _this concode_elem_sep List<ManagedObjectReference> list concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis
List < ManagedObjectReference > function ( ) { if ( list == null ) { list = new ArrayList < ManagedObjectReference > ( ) ; } return this . list ; }