List < String > function ( ) { if ( electronicLocator == null ) { electronicLocator = new ArrayList < String > ( ) ; } return this . electronicLocator ; }
gets the value of the electroniclocator 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 electroniclocator property . for example , to add a new item , do as follows : getelectroniclocator . add newitem ; objects of the following type s are allowed in the list string concode_field_sep List<StringPlusDisplayLabelPlusType> note concode_elem_sep List<EnumerationAndChronologyType> enumerationAndChronology concode_elem_sep StringPlusAuthority form concode_elem_sep List<String> shelfLocator concode_elem_sep List<String> electronicLocator concode_elem_sep List<String> subLocation concode_field_sep List<String> getSubLocation concode_elem_sep StringPlusAuthority getForm concode_elem_sep List<EnumerationAndChronologyType> getEnumerationAndChronology concode_elem_sep List<StringPlusDisplayLabelPlusType> getNote concode_elem_sep void setForm concode_elem_sep List<String> getShelfLocator