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