List < PhoneCallContact > function ( ) { if ( contact == null ) { contact = new ArrayList < PhoneCallContact > ( ) ; } return this . contact ; }
gets the value of the contact 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 contact property . for example , to add a new item , do as follows : getcontact . add newitem ; objects of the following type s are allowed in the list phonecallcontact concode_field_sep List<PhoneCallContact> contact concode_elem_sep Boolean replaceAll concode_field_sep void setReplaceAll concode_elem_sep boolean isReplaceAll