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