List < ResponsibleParty > function ( ) { if ( institution == null ) { institution = new ArrayList < ResponsibleParty > ( ) ; } return this . institution ; }
gets the value of the institution 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 institution property . for example , to add a new item , do as follows : getinstitution . add newitem ; objects of the following type s are allowed in the list responsibleparty concode_field_sep List<ResponsibleParty> institution concode_elem_sep String totalPages concode_field_sep Manuscript withInstitution concode_elem_sep Manuscript withInstitution concode_elem_sep Manuscript withTotalPages concode_elem_sep String getTotalPages concode_elem_sep void setTotalPages