List < SerializedInventoryItemNumbers > function ( ) { if ( numbers == null ) { numbers = new ArrayList < SerializedInventoryItemNumbers > ( ) ; } return this . numbers ; }
gets the value of the numbers 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 numbers property . for example , to add a new item , do as follows : getnumbers . add newitem ; objects of the following type s are allowed in the list serializedinventoryitemnumbers concode_field_sep List<SerializedInventoryItemNumbers> numbers concode_elem_sep Boolean replaceAll concode_field_sep void setReplaceAll concode_elem_sep boolean isReplaceAll