List < ContentDescriptor > function ( ) { if ( contentDescriptor == null ) { contentDescriptor = new ArrayList < ContentDescriptor > ( ) ; } return this . contentDescriptor ; }
gets the value of the contentdescriptor 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 contentdescriptor property . for example , to add a new item , do as follows : getcontentdescriptor . add newitem ; objects of the following type s are allowed in the list contentdescriptor concode_field_sep ContentResources contentResources concode_elem_sep List<ContentDescriptor> contentDescriptor concode_field_sep ContentResources getContentResources concode_elem_sep void setContentResources