/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* OpenNMS(R) is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenNMS(R). If not, see:
* http://www.gnu.org/licenses/
*
* For more information contact:
* OpenNMS(R) Licensing <license@opennms.org>
* http://www.opennms.org/
* http://www.opennms.com/
*******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.03.17 at 12:58:43 PM EDT
//
package org.opennms.xmlns.xsd.event;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="cuei" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="cmin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="cmax" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ctime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="state" default="off">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <pattern value="(on|off)"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="path" default="suppressDuplicates">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <pattern value="(suppressDuplicates|cancellingEvent|suppressAndCancel|pathOutage)"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"cuei",
"cmin",
"cmax",
"ctime"
})
@XmlRootElement(name = "correlation")
public class Correlation {
protected List<String> cuei;
protected String cmin;
protected String cmax;
protected String ctime;
@XmlAttribute(name = "state")
protected String state;
@XmlAttribute(name = "path")
protected String path;
/**
* Gets the value of the cuei 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 cuei property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCuei().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getCuei() {
if (cuei == null) {
cuei = new ArrayList<String>();
}
return this.cuei;
}
/**
* Gets the value of the cmin property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmin() {
return cmin;
}
/**
* Sets the value of the cmin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCmin(String value) {
this.cmin = value;
}
/**
* Gets the value of the cmax property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmax() {
return cmax;
}
/**
* Sets the value of the cmax property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCmax(String value) {
this.cmax = value;
}
/**
* Gets the value of the ctime property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtime() {
return ctime;
}
/**
* Sets the value of the ctime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCtime(String value) {
this.ctime = value;
}
/**
* Gets the value of the state property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getState() {
if (state == null) {
return "off";
} else {
return state;
}
}
/**
* Sets the value of the state property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setState(String value) {
this.state = value;
}
/**
* Gets the value of the path property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPath() {
if (path == null) {
return "suppressDuplicates";
} else {
return path;
}
}
/**
* Sets the value of the path property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPath(String value) {
this.path = value;
}
}