List < Description > function ( ) { if ( descriptions == null ) { descriptions = new ArrayList < Description > ( ) ; } return this . descriptions ; }
gets the value of the descriptions 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 descriptions property . for example , to add a new item , do as follows : getdescriptions . add newitem ; objects of the following type s are allowed in the list description concode_field_sep MultiplicityEnum multiplicity concode_elem_sep List<RoleSource> sources concode_elem_sep List<CMRField> cmrFields concode_elem_sep String description concode_elem_sep String label concode_elem_sep QName type concode_elem_sep List<Description> descriptions concode_elem_sep String version concode_elem_sep String uuid concode_elem_sep Object idref concode_elem_sep List<Extension> extensions concode_elem_sep String roleName concode_elem_sep String id concode_elem_sep String href concode_elem_sep Boolean cascadeDelete concode_field_sep String getLabel concode_elem_sep MultiplicityEnum getMultiplicity concode_elem_sep void setRoleName concode_elem_sep String getId concode_elem_sep List<RoleSource> getSources concode_elem_sep void setDescription concode_elem_sep String getDescription concode_elem_sep Boolean isCascadeDelete concode_elem_sep void setId concode_elem_sep List<CMRField> getCmrFields concode_elem_sep String getVersion concode_elem_sep String getHref concode_elem_sep String getRoleName concode_elem_sep void setCascadeDelete concode_elem_sep void setVersion concode_elem_sep void setHref concode_elem_sep void setType concode_elem_sep void setUuid concode_elem_sep List<Extension> getExtensions concode_elem_sep void setIdref concode_elem_sep QName getType concode_elem_sep Object getIdref concode_elem_sep String getUuid concode_elem_sep void setMultiplicity concode_elem_sep void setLabel