List < User > function ( ) { if ( user == null ) { user = new ArrayList < User > ( ) ; } return this . user ; }
gets the value of the user 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 user property . for example , to add a new item , do as follows : getuser . add newitem ; objects of the following type s are allowed in the list user concode_field_sep String name concode_elem_sep String description concode_elem_sep Integer id concode_elem_sep List<Operation> operation concode_elem_sep List<User> user concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep List<Operation> getOperation concode_elem_sep void setId concode_elem_sep Integer getId concode_elem_sep String toString concode_elem_sep void setDescription concode_elem_sep String getDescription