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