List < Technology > function ( ) { if ( mobileCarriers == null ) { mobileCarriers = new ArrayList < Technology > ( ) ; } return this . mobileCarriers ; }
gets the value of the mobilecarriers 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 mobilecarriers property . for example , to add a new item , do as follows : getmobilecarriers . add newitem ; objects of the following type s are allowed in the list technology concode_field_sep List<Technology> mobileCarriers concode_elem_sep Boolean isTargeted concode_field_sep void setIsTargeted concode_elem_sep Boolean isIsTargeted