com.vmware.vim25.ExtendedEvent 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ExtendedEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ExtendedEvent">
* <complexContent>
* <extension base="{urn:vim25}GeneralEvent">
* <sequence>
* <element name="eventTypeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="managedObject" type="{urn:vim25}ManagedObjectReference"/>
* <element name="data" type="{urn:vim25}ExtendedEventPair" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExtendedEvent", propOrder = {
"eventTypeId",
"managedObject",
"data"
})
public class ExtendedEvent
extends GeneralEvent
{
@XmlElement(required = true)
protected String eventTypeId;
@XmlElement(required = true)
protected ManagedObjectReference managedObject;
protected List data;
/**
* Gets the value of the eventTypeId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEventTypeId() {
return eventTypeId;
}
/**
* Sets the value of the eventTypeId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEventTypeId(String value) {
this.eventTypeId = value;
}
/**
* Gets the value of the managedObject property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getManagedObject() {
return managedObject;
}
/**
* Sets the value of the managedObject property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setManagedObject(ManagedObjectReference value) {
this.managedObject = value;
}
/**
* Gets the value of the data 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 data property.
*
*
* For example, to add a new item, do as follows:
*
* getData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtendedEventPair }
*
*
*/
public List getData() {
if (data == null) {
data = new ArrayList();
}
return this.data;
}
}