List < I18NNonEmptyStringType > function ( ) { if ( givenName == null ) { givenName = new ArrayList < I18NNonEmptyStringType > ( ) ; } return this . givenName ; }
gets the value of the givenname 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 givenname property . for example , to add a new item , do as follows : getgivenname . add newitem ; objects of the following type s are allowed in the list i18nnonemptystringtype concode_field_sep I18NNonEmptyStringType surName concode_elem_sep List<I18NNonEmptyStringType> givenName concode_elem_sep List<I18NNonEmptyStringType> salutation concode_field_sep void setSurName concode_elem_sep Person withSurName concode_elem_sep I18NNonEmptyStringType getSurName concode_elem_sep List<I18NNonEmptyStringType> getSalutation concode_elem_sep Person withSalutation concode_elem_sep Person withSalutation concode_elem_sep Person withGivenName concode_elem_sep Person withGivenName