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