![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.RoleUpdatedEvent Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for RoleUpdatedEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RoleUpdatedEvent">
* <complexContent>
* <extension base="{urn:vim25}RoleEvent">
* <sequence>
* <element name="privilegeList" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="prevRoleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="privilegesAdded" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="privilegesRemoved" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RoleUpdatedEvent", propOrder = {
"privilegeList",
"prevRoleName",
"privilegesAdded",
"privilegesRemoved"
})
public class RoleUpdatedEvent
extends RoleEvent
{
protected List privilegeList;
protected String prevRoleName;
protected List privilegesAdded;
protected List privilegesRemoved;
/**
* Gets the value of the privilegeList property.
*
*
* 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 privilegeList property.
*
*
* For example, to add a new item, do as follows:
*
* getPrivilegeList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPrivilegeList() {
if (privilegeList == null) {
privilegeList = new ArrayList();
}
return this.privilegeList;
}
/**
* Gets the value of the prevRoleName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrevRoleName() {
return prevRoleName;
}
/**
* Sets the value of the prevRoleName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrevRoleName(String value) {
this.prevRoleName = value;
}
/**
* Gets the value of the privilegesAdded property.
*
*
* 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 privilegesAdded property.
*
*
* For example, to add a new item, do as follows:
*
* getPrivilegesAdded().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPrivilegesAdded() {
if (privilegesAdded == null) {
privilegesAdded = new ArrayList();
}
return this.privilegesAdded;
}
/**
* Gets the value of the privilegesRemoved property.
*
*
* 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 privilegesRemoved property.
*
*
* For example, to add a new item, do as follows:
*
* getPrivilegesRemoved().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPrivilegesRemoved() {
if (privilegesRemoved == null) {
privilegesRemoved = new ArrayList();
}
return this.privilegesRemoved;
}
}