List < Role > function ( ) { if ( role == null ) { role = new ArrayList < Role > ( ) ; } return this . role ; }
gets the value of the role 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 role property . for example , to add a new item , do as follows : getrole . add newitem ; objects of the following type s are allowed in the list role concode_field_sep List<Role> role concode_elem_sep List<Resource> resource concode_elem_sep String name concode_elem_sep String description concode_elem_sep String location concode_elem_sep Integer id concode_field_sep void setName concode_elem_sep List<Resource> getResource concode_elem_sep String getLocation concode_elem_sep String getName concode_elem_sep void setLocation concode_elem_sep int hashCode concode_elem_sep boolean equals 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