All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bitplan.mediawiki.japi.api.Rc Maven / Gradle / Ivy

Go to download

Java library to call Mediawiki API described at http://www.mediawiki.org/wiki/API:Main_page

There is a newer version: 0.2.3
Show newest version
/**
 *
 * This file is part of the https://github.com/WolfgangFahl/Mediawiki-Japi open source project
 *
 * Copyright 2015-2021 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, v2.2.4-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.01.09 at 03:50:42 PM CET 
//


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.datatype.XMLGregorianCalendar;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="ns" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="pageid" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="revid" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="old_revid" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="rcid" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="oldlen" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="newlen" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public class Rc { @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "ns") protected Integer ns; @XmlAttribute(name = "title") protected String title; @XmlAttribute(name = "pageid") protected Integer pageid; @XmlAttribute(name = "revid") protected Integer revid; @XmlAttribute(name = "old_revid") protected Integer oldRevid; @XmlAttribute(name = "rcid") protected Integer rcid; @XmlAttribute(name = "user") protected String user; @XmlAttribute(name = "oldlen") protected Integer oldlen; @XmlAttribute(name = "newlen") protected Integer newlen; @XmlAttribute(name = "timestamp") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar timestamp; @XmlAttribute(name = "new") protected String _new; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the ns property. * * @return * possible object is * {@link Integer } * */ public Integer getNs() { return ns; } /** * Sets the value of the ns property. * * @param value * allowed object is * {@link Integer } * */ public void setNs(Integer value) { this.ns = 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 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 revid property. * * @return * possible object is * {@link Integer } * */ public Integer getRevid() { return revid; } /** * Sets the value of the revid property. * * @param value * allowed object is * {@link Integer } * */ public void setRevid(Integer value) { this.revid = 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 rcid property. * * @return * possible object is * {@link Integer } * */ public Integer getRcid() { return rcid; } /** * Sets the value of the rcid property. * * @param value * allowed object is * {@link Integer } * */ public void setRcid(Integer value) { this.rcid = value; } /** * Gets the value of the user property. * * @return * possible object is * {@link String } * */ public String getUser() { return user; } /** * Sets the value of the user property. * * @param value * allowed object is * {@link String } * */ public void setUser(String value) { this.user = value; } /** * Gets the value of the oldlen property. * * @return * possible object is * {@link Integer } * */ public Integer getOldlen() { return oldlen; } /** * Sets the value of the oldlen property. * * @param value * allowed object is * {@link Integer } * */ public void setOldlen(Integer value) { this.oldlen = value; } /** * Gets the value of the newlen property. * * @return * possible object is * {@link Integer } * */ public Integer getNewlen() { return newlen; } /** * Sets the value of the newlen property. * * @param value * allowed object is * {@link Integer } * */ public void setNewlen(Integer value) { this.newlen = value; } /** * Gets the value of the timestamp property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTimestamp() { return timestamp; } /** * Sets the value of the timestamp property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTimestamp(XMLGregorianCalendar value) { this.timestamp = 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; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy