public class To extends Object implements Serializable
Java class for To complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="To">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Credential" type="{http://www.printtalk.org/schema_2_0}Credential" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Credential> |
credentials |
| Constructor and Description |
|---|
To() |
protected List<Credential> credentials
public List<Credential> getCredentials()
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 credentials property.
For example, to add a new item, do as follows:
getCredentials().add(newItem);
Objects of the following type(s) are allowed in the list
Credential
Copyright © 2012. All Rights Reserved.