com.bitplan.mediawiki.japi.api.Edit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediawiki-japi Show documentation
Show all versions of mediawiki-japi Show documentation
Java library to call Mediawiki API described at http://www.mediawiki.org/wiki/API:Main_page
/**
*
* This file is part of the https://github.com/WolfgangFahl/Mediawiki-Japi open source project
*
* Copyright 2015-2019 BITPlan GmbH https://github.com/BITPlan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
*
* http:www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.01.04 at 09:50:59 PM MEZ
//
package com.bitplan.mediawiki.japi.api;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="new" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="result" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="pageid" type="{http://www.w3.org/2001/XMLSchema}Integer" />
* <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="contentmodel" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="oldrevid" type="{http://www.w3.org/2001/XMLSchema}Integer" />
* <attribute name="newrevid" type="{http://www.w3.org/2001/XMLSchema}Integer" />
* <attribute name="newtimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public class Edit {
@XmlValue
protected String value;
@XmlAttribute(name = "new")
protected String _new;
@XmlAttribute
protected String result;
@XmlAttribute
protected Integer pageid;
@XmlAttribute
protected String title;
@XmlAttribute
protected String contentmodel;
@XmlAttribute
protected Integer oldrevid;
@XmlAttribute
protected Integer newrevid;
@XmlAttribute
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar newtimestamp;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the new property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNew() {
return _new;
}
/**
* Sets the value of the new property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNew(String value) {
this._new = value;
}
/**
* Gets the value of the result property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResult() {
return result;
}
/**
* Sets the value of the result property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResult(String value) {
this.result = value;
}
/**
* Gets the value of the pageid property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPageid() {
return pageid;
}
/**
* Sets the value of the pageid property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPageid(Integer value) {
this.pageid = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the contentmodel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentmodel() {
return contentmodel;
}
/**
* Sets the value of the contentmodel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentmodel(String value) {
this.contentmodel = value;
}
/**
* Gets the value of the oldrevid property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getOldrevid() {
return oldrevid;
}
/**
* Sets the value of the oldrevid property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setOldrevid(Integer value) {
this.oldrevid = value;
}
/**
* Gets the value of the newrevid property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getNewrevid() {
return newrevid;
}
/**
* Sets the value of the newrevid property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setNewrevid(Integer value) {
this.newrevid = value;
}
/**
* Gets the value of the newtimestamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getNewtimestamp() {
return newtimestamp;
}
/**
* Sets the value of the newtimestamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setNewtimestamp(XMLGregorianCalendar value) {
this.newtimestamp = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy