List < SpecificationGroup > function ( ) { if ( characteristic == null ) { characteristic = new ArrayList < SpecificationGroup > ( ) ; } return this . characteristic ; }
gets the value of the characteristic 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 characteristic property . for example , to add a new item , do as follows : getcharacteristic . add newitem ; objects of the following type s are allowed in the list specificationgroup concode_field_sep List<RelatedProduct> relatedProduct concode_elem_sep long serialVersionUID concode_elem_sep String relationshipCode concode_elem_sep List<SpecificationGroup> characteristic concode_field_sep List<RelatedProduct> getRelatedProduct concode_elem_sep void setRelationshipCode concode_elem_sep String getRelationshipCode