List < ABCOrder . OrderItems . Item > function ( ) { if ( item == null ) { item = new ArrayList < ABCOrder . OrderItems . Item > ( ) ; } 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 abcorder.orderitems.item concode_field_sep List<ABCOrder.OrderItems.Item> item concode_elem_sep short quantity concode_elem_sep float price concode_elem_sep String customerNum concode_elem_sep ABCOrder.Header header concode_elem_sep String orderNum concode_elem_sep String id concode_elem_sep ABCOrder.OrderItems orderItems concode_elem_sep String status concode_field_sep short getQuantity concode_elem_sep String getCustomerNum concode_elem_sep String getOrderNum concode_elem_sep ABCOrder.OrderItems getOrderItems concode_elem_sep String getId concode_elem_sep String getStatus concode_elem_sep void setPrice concode_elem_sep void setHeader concode_elem_sep void setStatus concode_elem_sep float getPrice concode_elem_sep ABCOrder.Header getHeader concode_elem_sep void setOrderItems concode_elem_sep void setQuantity concode_elem_sep void setId concode_elem_sep void setCustomerNum concode_elem_sep void setOrderNum concode_elem_sep void setItem