List < String > function ( ) { if ( frequencies == null ) { frequencies = new ArrayList < String > ( ) ; } return this . frequencies ; }
gets the value of the frequencies 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 frequencies property . for example , to add a new item , do as follows : getfrequencies . add newitem ; objects of the following type s are allowed in the list string concode_field_sep String deviceType concode_elem_sep Boolean certifiedOpenBox concode_elem_sep String colorImagePath concode_elem_sep String wearingStyle concode_elem_sep Boolean certifiedPreOwned concode_elem_sep String memory concode_elem_sep String shape concode_elem_sep String color concode_elem_sep String weight concode_elem_sep long serialVersionUID concode_elem_sep String syncMethods concode_elem_sep String compatibleFrequency concode_elem_sep BatteryInfo batteryInfo concode_elem_sep String hearingAid concode_elem_sep String technologies concode_elem_sep String camera concode_elem_sep String dimension concode_elem_sep List<String> frequencies concode_elem_sep String emailPlatform concode_field_sep void setSyncMethods concode_elem_sep String getWeight concode_elem_sep String getWearingStyle concode_elem_sep String getHearingAid concode_elem_sep void setDeviceType concode_elem_sep Boolean isCertifiedOpenBox concode_elem_sep Boolean isCertifiedPreOwned concode_elem_sep String getShape concode_elem_sep void setBatteryInfo concode_elem_sep String getCamera concode_elem_sep String getEmailPlatform concode_elem_sep void setMemory concode_elem_sep BatteryInfo getBatteryInfo concode_elem_sep String getSyncMethods concode_elem_sep void setCertifiedOpenBox concode_elem_sep void setCertifiedPreOwned concode_elem_sep void setHearingAid concode_elem_sep String getDimension concode_elem_sep void setDimension concode_elem_sep void setWearingStyle concode_elem_sep void setCamera concode_elem_sep void setEmailPlatform concode_elem_sep void setWeight concode_elem_sep String getColorImagePath concode_elem_sep String getCompatibleFrequency concode_elem_sep String getColor concode_elem_sep String getTechnologies concode_elem_sep void setShape concode_elem_sep String getMemory concode_elem_sep void setColor concode_elem_sep void setColorImagePath concode_elem_sep String getDeviceType concode_elem_sep void setTechnologies concode_elem_sep void setCompatibleFrequency