de.elnarion.xwiki.rest.model.jaxb.Comment 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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for Comment complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Comment">
* <complexContent>
* <extension base="{http://www.xwiki.org}LinkCollection">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="pageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="author" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="authorName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="highlight" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="replyTo" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Comment", propOrder = {
"id",
"pageId",
"author",
"authorName",
"date",
"highlight",
"text",
"replyTo"
})
@XmlRootElement(name = "comment")
public class Comment
extends LinkCollection
{
protected int id;
@XmlElement(required = true)
protected String pageId;
@XmlElement(required = true)
protected String author;
@XmlElement(required = true)
protected String authorName;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar date;
@XmlElement(required = true)
protected String highlight;
@XmlElement(required = true)
protected String text;
@XmlElement(required = true, type = Integer.class, nillable = true)
protected Integer replyTo;
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
/**
* Gets the value of the pageId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPageId() {
return pageId;
}
/**
* Sets the value of the pageId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPageId(String value) {
this.pageId = value;
}
/**
* Gets the value of the author property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthor() {
return author;
}
/**
* Sets the value of the author property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthor(String value) {
this.author = value;
}
/**
* Gets the value of the authorName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthorName() {
return authorName;
}
/**
* Sets the value of the authorName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthorName(String value) {
this.authorName = 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 highlight property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHighlight() {
return highlight;
}
/**
* Sets the value of the highlight property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHighlight(String value) {
this.highlight = value;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
/**
* Gets the value of the replyTo property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getReplyTo() {
return replyTo;
}
/**
* Sets the value of the replyTo property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setReplyTo(Integer value) {
this.replyTo = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy