Page.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// 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: 2016.10.23 at 07:13:20 AM UTC
//
package org.exoplatform.wiki.service.rest.model;
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;
/**
* <p>Java class for Page complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Page">
* <complexContent>
* <extension base="{http://www.xwiki.org}PageSummary">
* <sequence>
* <element name="language" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="majorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="minorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="creator" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="modifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Page", propOrder = {
"language",
"version",
"majorVersion",
"minorVersion",
"created",
"creator",
"modified",
"modifier",
"content"
})
@XmlRootElement(name = "page")
public class Page
extends PageSummary
{
@XmlElement(required = true)
protected String language;
@XmlElement(required = true)
protected String version;
protected int majorVersion;
protected int minorVersion;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar created;
@XmlElement(required = true)
protected String creator;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar modified;
@XmlElement(required = true)
protected String modifier;
@XmlElement(required = true)
protected String content;
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(String value) {
this.language = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the majorVersion property.
*
*/
public int getMajorVersion() {
return majorVersion;
}
/**
* Sets the value of the majorVersion property.
*
*/
public void setMajorVersion(int value) {
this.majorVersion = value;
}
/**
* Gets the value of the minorVersion property.
*
*/
public int getMinorVersion() {
return minorVersion;
}
/**
* Sets the value of the minorVersion property.
*
*/
public void setMinorVersion(int value) {
this.minorVersion = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreated(Calendar value) {
this.created = value;
}
/**
* Gets the value of the creator property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreator() {
return creator;
}
/**
* Sets the value of the creator property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreator(String value) {
this.creator = value;
}
/**
* Gets the value of the modified property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getModified() {
return modified;
}
/**
* Sets the value of the modified property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setModified(Calendar value) {
this.modified = value;
}
/**
* Gets the value of the modifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getModifier() {
return modifier;
}
/**
* Sets the value of the modifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setModifier(String value) {
this.modifier = value;
}
/**
* Gets the value of the content property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContent() {
return content;
}
/**
* Sets the value of the content property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContent(String value) {
this.content = value;
}
}