gets the value of the doc 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 doc property . for example , to add a new item , do as follows : getdoc . add newitem ; objects of the following type s are allowed in the list doc concode_field_sep List<Param> param concode_elem_sep List<String> profile concode_elem_sep List<Doc> doc concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep String mediaType concode_elem_sep String id concode_elem_sep String href concode_elem_sep List<Object> any concode_elem_sep QName element concode_field_sep String getHref concode_elem_sep List<Param> getParam concode_elem_sep void setHref concode_elem_sep QName getElement concode_elem_sep List<String> getProfile concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep String getMediaType concode_elem_sep void setMediaType concode_elem_sep void setElement concode_elem_sep Map<QName,String> getOtherAttributes concode_elem_sep List<Object> getAny
List < Doc > function ( ) { if ( doc == null ) { doc = new ArrayList < Doc > ( ) ; } return this . doc ; }