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