List < Entry > function ( ) { if ( entry == null ) { entry = new ArrayList < Entry > ( ) ; } return this . entry ; }
gets the value of the entry 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 entry property . for example , to add a new item , do as follows : getentry . add newitem ; objects of the following type s are allowed in the list entry concode_field_sep List<Entry> entry concode_elem_sep String copyright concode_field_sep String getCopyright concode_elem_sep void setCopyright