List < Reviewers . Entry > function ( ) { if ( entry == null ) { entry = new ArrayList < Reviewers . 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 reviewers.entry concode_field_sep List<Reviewers.Entry> entry concode_elem_sep String name concode_elem_sep String id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setId concode_elem_sep String getId