org.datacleaner.monitor.jaxb.Alert Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.08.12 at 03:01:53 PM CEST
//
package org.datacleaner.monitor.jaxb;
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 alert complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="alert">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element ref="{http://eobjects.org/datacleaner/shared/1.0}metric"/>
* <element name="minimum-value" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="maximum-value" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="severity" type="{http://eobjects.org/datacleaner/schedule/1.0}alertSeverityType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "alert", propOrder = {
"description",
"metric",
"minimumValue",
"maximumValue",
"severity"
})
public class Alert {
protected String description;
@XmlElement(namespace = "http://eobjects.org/datacleaner/shared/1.0", required = true)
protected MetricType metric;
@XmlElement(name = "minimum-value")
protected Integer minimumValue;
@XmlElement(name = "maximum-value")
protected Integer maximumValue;
@XmlSchemaType(name = "string")
protected AlertSeverityType severity;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the metric property.
*
* @return
* possible object is
* {@link MetricType }
*
*/
public MetricType getMetric() {
return metric;
}
/**
* Sets the value of the metric property.
*
* @param value
* allowed object is
* {@link MetricType }
*
*/
public void setMetric(MetricType value) {
this.metric = value;
}
/**
* Gets the value of the minimumValue property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMinimumValue() {
return minimumValue;
}
/**
* Sets the value of the minimumValue property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMinimumValue(Integer value) {
this.minimumValue = value;
}
/**
* Gets the value of the maximumValue property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMaximumValue() {
return maximumValue;
}
/**
* Sets the value of the maximumValue property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaximumValue(Integer value) {
this.maximumValue = value;
}
/**
* Gets the value of the severity property.
*
* @return
* possible object is
* {@link AlertSeverityType }
*
*/
public AlertSeverityType getSeverity() {
return severity;
}
/**
* Sets the value of the severity property.
*
* @param value
* allowed object is
* {@link AlertSeverityType }
*
*/
public void setSeverity(AlertSeverityType value) {
this.severity = value;
}
}