List < Field > function ( ) { if ( field == null ) { field = new ArrayList < Field > ( ) ; } return this . field ; }
gets the value of the field 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 field property . for example , to add a new item , do as follows : getfield . add newitem ; objects of the following type s are allowed in the list field concode_field_sep List<Field> field concode_elem_sep long serialVersionUID concode_elem_sep String id concode_elem_sep List<Element> element concode_field_sep boolean isSetField concode_elem_sep void unsetField concode_elem_sep void unsetElement concode_elem_sep List<Element> getElement concode_elem_sep boolean isSetElement concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep boolean isSetId