gets the value of the caption 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 caption property . for example , to add a new item , do as follows : getcaption . add newitem ; objects of the following type s are allowed in the list ctcaption concode_field_sep Object parent concode_elem_sep List<CTCaption> caption concode_elem_sep CTAutoCaptions autoCaptions concode_field_sep Object getParent concode_elem_sep void afterUnmarshal concode_elem_sep CTAutoCaptions getAutoCaptions concode_elem_sep void setParent concode_elem_sep void setAutoCaptions
List < CTCaption > function ( ) { if ( caption == null ) { caption = new ArrayList < CTCaption > ( ) ; } return this . caption ; }