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