List < String > function ( ) { if ( familyName == null ) { familyName = new ArrayList < String > ( ) ; } return this . familyName ; }
gets the value of the familyname 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 familyname property . for example , to add a new item , do as follows : getfamilyname . add newitem ; objects of the following type s are allowed in the list string concode_field_sep String lastName concode_elem_sep List<String> aliasName concode_elem_sep String militaryRank concode_elem_sep TimePeriod effectivePeriod concode_elem_sep String prefix concode_elem_sep String fullName concode_elem_sep String maidenName concode_elem_sep long serialVersionUID concode_elem_sep List<String> title concode_elem_sep String suffix concode_elem_sep String nameType concode_elem_sep String firstName concode_elem_sep List<String> familyName concode_elem_sep List<String> middleName concode_elem_sep List<String> salutation concode_elem_sep String preferredName concode_field_sep void setNameType concode_elem_sep String getPreferredName concode_elem_sep String getMilitaryRank concode_elem_sep void setEffectivePeriod concode_elem_sep String getPrefix concode_elem_sep void setPreferredName concode_elem_sep void setMaidenName concode_elem_sep List<String> getMiddleName concode_elem_sep void setMilitaryRank concode_elem_sep List<String> getAliasName concode_elem_sep String getLastName concode_elem_sep List<String> getSalutation concode_elem_sep void setLastName concode_elem_sep String getSuffix concode_elem_sep List<String> getTitle concode_elem_sep String getMaidenName concode_elem_sep String getNameType concode_elem_sep void setFirstName concode_elem_sep void setPrefix concode_elem_sep void setFullName concode_elem_sep void setSuffix concode_elem_sep TimePeriod getEffectivePeriod concode_elem_sep String getFullName concode_elem_sep String getFirstName