Logo Search packages:      
Sourcecode: acgvision-agent version File versions  Download package

Incident.java

package com.acgvision.core.ws;

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;


/**
 * <p>Java class for incident complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="incident">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="beginEvent" type="{http://ws.core.acgvision.com/}event" minOccurs="0"/>
 *         &lt;element name="control" type="{http://ws.core.acgvision.com/}control" minOccurs="0"/>
 *         &lt;element name="endEvent" type="{http://ws.core.acgvision.com/}event" minOccurs="0"/>
 *         &lt;element name="events" type="{http://ws.core.acgvision.com/}event" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="host" type="{http://ws.core.acgvision.com/}host" minOccurs="0"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="monitor" type="{http://ws.core.acgvision.com/}monitor" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "incident", propOrder = {
    "beginEvent",
    "control",
    "endEvent",
    "events",
    "host",
    "id",
    "monitor"
})
00047 public class Incident {

    protected Event beginEvent;
    protected Control control;
    protected Event endEvent;
    @XmlElement(nillable = true)
    protected List<Event> events;
    protected Host host;
    protected Long id;
    protected Monitor monitor;

    /**
     * Gets the value of the beginEvent property.
     * 
     * @return
     *     possible object is
     *     {@link Event }
     *     
     */
00066     public Event getBeginEvent() {
        return beginEvent;
    }

    /**
     * Sets the value of the beginEvent property.
     * 
     * @param value
     *     allowed object is
     *     {@link Event }
     *     
     */
00078     public void setBeginEvent(Event value) {
        this.beginEvent = value;
    }

    /**
     * Gets the value of the control property.
     * 
     * @return
     *     possible object is
     *     {@link Control }
     *     
     */
00090     public Control getControl() {
        return control;
    }

    /**
     * Sets the value of the control property.
     * 
     * @param value
     *     allowed object is
     *     {@link Control }
     *     
     */
00102     public void setControl(Control value) {
        this.control = value;
    }

    /**
     * Gets the value of the endEvent property.
     * 
     * @return
     *     possible object is
     *     {@link Event }
     *     
     */
00114     public Event getEndEvent() {
        return endEvent;
    }

    /**
     * Sets the value of the endEvent property.
     * 
     * @param value
     *     allowed object is
     *     {@link Event }
     *     
     */
00126     public void setEndEvent(Event value) {
        this.endEvent = value;
    }

    /**
     * Gets the value of the events property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the events property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEvents().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Event }
     * 
     * 
     */
00152     public List<Event> getEvents() {
        if (events == null) {
            events = new ArrayList<Event>();
        }
        return this.events;
    }

    /**
     * Gets the value of the host property.
     * 
     * @return
     *     possible object is
     *     {@link Host }
     *     
     */
00167     public Host getHost() {
        return host;
    }

    /**
     * Sets the value of the host property.
     * 
     * @param value
     *     allowed object is
     *     {@link Host }
     *     
     */
00179     public void setHost(Host value) {
        this.host = value;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
00191     public Long getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
00203     public void setId(Long value) {
        this.id = value;
    }

    /**
     * Gets the value of the monitor property.
     * 
     * @return
     *     possible object is
     *     {@link Monitor }
     *     
     */
00215     public Monitor getMonitor() {
        return monitor;
    }

    /**
     * Sets the value of the monitor property.
     * 
     * @param value
     *     allowed object is
     *     {@link Monitor }
     *     
     */
00227     public void setMonitor(Monitor value) {
        this.monitor = value;
    }

}

Generated by  Doxygen 1.6.0   Back to index