public class AuthorizationRole extends DynamicData
Java class for AuthorizationRole complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuthorizationRole">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="roleId" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="system" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="info" type="{urn:vim25}Description"/>
<element name="privilege" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Description |
info |
protected String |
name |
protected List<String> |
privilege |
protected int |
roleId |
protected boolean |
system |
| Constructor and Description |
|---|
AuthorizationRole() |
| Modifier and Type | Method and Description |
|---|---|
Description |
getInfo()
Gets the value of the info property.
|
String |
getName()
Gets the value of the name property.
|
List<String> |
getPrivilege()
Gets the value of the privilege property.
|
int |
getRoleId()
Gets the value of the roleId property.
|
boolean |
isSystem()
Gets the value of the system property.
|
void |
setInfo(Description value)
Sets the value of the info property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRoleId(int value)
Sets the value of the roleId property.
|
void |
setSystem(boolean value)
Sets the value of the system property.
|
protected int roleId
protected boolean system
protected String name
protected Description info
public int getRoleId()
public void setRoleId(int value)
public boolean isSystem()
public void setSystem(boolean value)
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Description getInfo()
Descriptionpublic void setInfo(Description value)
value - allowed object is
Descriptionpublic List<String> getPrivilege()
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 privilege property.
For example, to add a new item, do as follows:
getPrivilege().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2018. All rights reserved.