de.elnarion.xwiki.rest.model.jaxb.LogEvent Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.04.18 at 06:54:28 PM CEST
//
package de.elnarion.xwiki.rest.model.jaxb;
import java.util.Calendar;
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;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for LogEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LogEvent">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="level" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="formattedMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LogEvent", propOrder = {
"level",
"date",
"formattedMessage"
})
public class LogEvent {
@XmlElement(required = true)
protected String level;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar date;
@XmlElement(required = true)
protected String formattedMessage;
/**
* Gets the value of the level property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLevel() {
return level;
}
/**
* Sets the value of the level property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLevel(String value) {
this.level = value;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDate(Calendar value) {
this.date = value;
}
/**
* Gets the value of the formattedMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormattedMessage() {
return formattedMessage;
}
/**
* Sets the value of the formattedMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormattedMessage(String value) {
this.formattedMessage = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy