@Exported public class SiteRoles extends Object
Java class for siteRoles complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="siteRoles">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="site" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="roles" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
roles |
protected String |
site |
| Constructor and Description |
|---|
SiteRoles() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getRoles()
Gets the value of the roles property.
|
String |
getSite()
Gets the value of the site property.
|
void |
setSite(String value)
Sets the value of the site property.
|
public String getSite()
Stringpublic void setSite(String value)
value - allowed object is
Stringpublic List<String> getRoles()
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 roles property.
For example, to add a new item, do as follows:
getRoles().add(newItem);
Objects of the following type(s) are allowed in the list
String