| Constructor and Description |
|---|
OrderServiceInterfacecreateOrders() |
| Modifier and Type | Method and Description |
|---|---|
List<Order> |
getOrders()
Gets the value of the orders property.
|
public List<Order> getOrders()
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 orders property.
For example, to add a new item, do as follows:
getOrders().add(newItem);
Objects of the following type(s) are allowed in the list
Order
Copyright © 2018. All Rights Reserved.