public class ContactDetails extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.orcid.org/ns/orcid}email" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}address" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address |
protected List<Email> |
email |
| Constructor and Description |
|---|
ContactDetails() |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
Gets the value of the address property.
|
List<Email> |
getEmail()
Gets the value of the email property.
|
void |
setAddress(Address value)
Sets the value of the address property.
|
public List<Email> getEmail()
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 email property.
For example, to add a new item, do as follows:
getEmail().add(newItem);
Objects of the following type(s) are allowed in the list
Email
public Address getAddress()
AddressCopyright © 2017. All rights reserved.