com.vmware.vim25.EventDescription 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 EventDescription complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EventDescription">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="category" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
* <element name="eventInfo" type="{urn:vim25}EventDescriptionEventDetail" maxOccurs="unbounded"/>
* <element name="enumeratedTypes" type="{urn:vim25}EnumDescription" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EventDescription", propOrder = {
"category",
"eventInfo",
"enumeratedTypes"
})
public class EventDescription
extends DynamicData
{
@XmlElement(required = true)
protected List category;
@XmlElement(required = true)
protected List eventInfo;
protected List enumeratedTypes;
/**
* Gets the value of the category 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 category property.
*
*
* For example, to add a new item, do as follows:
*
* getCategory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getCategory() {
if (category == null) {
category = new ArrayList();
}
return this.category;
}
/**
* Gets the value of the eventInfo 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 eventInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getEventInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EventDescriptionEventDetail }
*
*
*/
public List getEventInfo() {
if (eventInfo == null) {
eventInfo = new ArrayList();
}
return this.eventInfo;
}
/**
* Gets the value of the enumeratedTypes 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 enumeratedTypes property.
*
*
* For example, to add a new item, do as follows:
*
* getEnumeratedTypes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EnumDescription }
*
*
*/
public List getEnumeratedTypes() {
if (enumeratedTypes == null) {
enumeratedTypes = new ArrayList();
}
return this.enumeratedTypes;
}
}