List < Items . Item > function ( ) { if ( item == null ) { item = new ArrayList < > ( ) ; } return this . item ; }
gets the value of the item 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 item property . for example , to add a new item , do as follows : getitem . add newitem ; objects of the following type s are allowed in the list items.item concode_field_sep List<Items.Item> item concode_elem_sep int quantity concode_elem_sep BigDecimal usPrice concode_elem_sep String comment concode_elem_sep XMLGregorianCalendar shipDate concode_elem_sep String productName concode_elem_sep String partNum concode_field_sep XMLGregorianCalendar getShipDate concode_elem_sep BigDecimal getUSPrice concode_elem_sep int getQuantity concode_elem_sep String getPartNum concode_elem_sep void setShipDate concode_elem_sep void setQuantity concode_elem_sep void setProductName concode_elem_sep void setComment concode_elem_sep String getComment concode_elem_sep void setPartNum concode_elem_sep String getProductName concode_elem_sep void setUSPrice