@Exported public class SiteUserBean 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 name="name" 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 String |
name |
protected List<String> |
roles |
| Constructor and Description |
|---|
SiteUserBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
List<String> |
getRoles()
Gets the value of the roles property.
|
void |
setName(String value)
Sets the value of the name property.
|
public String getName()
Stringpublic void setName(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