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