List < Note > function ( ) { if ( note == null ) { note = new ArrayList < Note > ( ) ; } return this . note ; }
gets the value of the note 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 note property . for example , to add a new item , do as follows : getnote . add newitem ; objects of the following type s are allowed in the list note concode_field_sep List<Note> note concode_elem_sep String textualHoldings concode_elem_sep String type concode_field_sep String getType concode_elem_sep String getTextualHoldings concode_elem_sep void setTextualHoldings concode_elem_sep void setType