
org.openfuxml.addon.wiki.data.jaxb.Content Maven / Gradle / Ivy
package org.openfuxml.addon.wiki.data.jaxb;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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">
* <sequence>
* <element ref="{http://www.openfuxml.org/wiki}server"/>
* <element ref="{http://www.openfuxml.org/wiki}page"/>
* <element ref="{http://www.openfuxml.org/wiki}category"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"server",
"page",
"category"
})
@XmlRootElement(name = "content")
public class Content implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected Server server;
@XmlElement(required = true)
protected Page page;
@XmlElement(required = true)
protected Category category;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "source")
protected String source;
/**
* Gets the value of the server property.
*
* @return
* possible object is
* {@link Server }
*
*/
public Server getServer() {
return server;
}
/**
* Sets the value of the server property.
*
* @param value
* allowed object is
* {@link Server }
*
*/
public void setServer(Server value) {
this.server = value;
}
public boolean isSetServer() {
return (this.server!= null);
}
/**
* Gets the value of the page property.
*
* @return
* possible object is
* {@link Page }
*
*/
public Page getPage() {
return page;
}
/**
* Sets the value of the page property.
*
* @param value
* allowed object is
* {@link Page }
*
*/
public void setPage(Page value) {
this.page = value;
}
public boolean isSetPage() {
return (this.page!= null);
}
/**
* Gets the value of the category property.
*
* @return
* possible object is
* {@link Category }
*
*/
public Category getCategory() {
return category;
}
/**
* Sets the value of the category property.
*
* @param value
* allowed object is
* {@link Category }
*
*/
public void setCategory(Category value) {
this.category = value;
}
public boolean isSetCategory() {
return (this.category!= null);
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public boolean isSetId() {
return (this.id!= null);
}
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
public boolean isSetSource() {
return (this.source!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy