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

Control.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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for control complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="control">
 *   &lt;complexContent>
 *     &lt;extension base="{http://ws.core.acgvision.com/}job">
 *       &lt;sequence>
 *         &lt;element name="alert" type="{http://ws.core.acgvision.com/}message" minOccurs="0"/>
 *         &lt;element name="automaticAction" type="{http://ws.core.acgvision.com/}automaticAction" minOccurs="0"/>
 *         &lt;element name="close" type="{http://ws.core.acgvision.com/}message" minOccurs="0"/>
 *         &lt;element name="criticity" type="{http://ws.core.acgvision.com/}criticity" minOccurs="0"/>
 *         &lt;element name="incidents" type="{http://ws.core.acgvision.com/}incident" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "control", propOrder = {
    "alert",
    "automaticAction",
    "close",
    "criticity",
    "incidents"
})
@XmlSeeAlso({
    Alive.class,
    LogFile.class,
    LimitValue.class,
    Process.class,
    Average.class
})
00051 public class Control
    extends Job
{

    protected Message alert;
    protected AutomaticAction automaticAction;
    protected Message close;
    protected Criticity criticity;
    @XmlElement(nillable = true)
    protected List<Incident> incidents;

    /**
     * Gets the value of the alert property.
     * 
     * @return
     *     possible object is
     *     {@link Message }
     *     
     */
00070     public Message getAlert() {
        return alert;
    }

    /**
     * Sets the value of the alert property.
     * 
     * @param value
     *     allowed object is
     *     {@link Message }
     *     
     */
00082     public void setAlert(Message value) {
        this.alert = value;
    }

    /**
     * Gets the value of the automaticAction property.
     * 
     * @return
     *     possible object is
     *     {@link AutomaticAction }
     *     
     */
00094     public AutomaticAction getAutomaticAction() {
        return automaticAction;
    }

    /**
     * Sets the value of the automaticAction property.
     * 
     * @param value
     *     allowed object is
     *     {@link AutomaticAction }
     *     
     */
00106     public void setAutomaticAction(AutomaticAction value) {
        this.automaticAction = value;
    }

    /**
     * Gets the value of the close property.
     * 
     * @return
     *     possible object is
     *     {@link Message }
     *     
     */
00118     public Message getClose() {
        return close;
    }

    /**
     * Sets the value of the close property.
     * 
     * @param value
     *     allowed object is
     *     {@link Message }
     *     
     */
00130     public void setClose(Message value) {
        this.close = value;
    }

    /**
     * Gets the value of the criticity property.
     * 
     * @return
     *     possible object is
     *     {@link Criticity }
     *     
     */
00142     public Criticity getCriticity() {
        return criticity;
    }

    /**
     * Sets the value of the criticity property.
     * 
     * @param value
     *     allowed object is
     *     {@link Criticity }
     *     
     */
00154     public void setCriticity(Criticity value) {
        this.criticity = value;
    }

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

}

Generated by  Doxygen 1.6.0   Back to index