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

org.openfuxml.addon.wiki.data.jaxb.Template Maven / Gradle / Ivy


package org.openfuxml.addon.wiki.data.jaxb;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
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}markup"/>
 *         <element ref="{http://www.openfuxml.org/wiki}templateKv" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="external" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "markup", "templateKv" }) @XmlRootElement(name = "template") public class Template implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected Markup markup; @XmlElement(required = true) protected List templateKv; @XmlAttribute(name = "id") protected String id; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "class") protected String clazz; @XmlAttribute(name = "external") protected Boolean external; @XmlAttribute(name = "source") protected String source; /** * Gets the value of the markup property. * * @return * possible object is * {@link Markup } * */ public Markup getMarkup() { return markup; } /** * Sets the value of the markup property. * * @param value * allowed object is * {@link Markup } * */ public void setMarkup(Markup value) { this.markup = value; } public boolean isSetMarkup() { return (this.markup!= null); } /** * Gets the value of the templateKv property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the templateKv property. * *

* For example, to add a new item, do as follows: *

     *    getTemplateKv().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TemplateKv } * * */ public List getTemplateKv() { if (templateKv == null) { templateKv = new ArrayList(); } return this.templateKv; } public boolean isSetTemplateKv() { return ((this.templateKv!= null)&&(!this.templateKv.isEmpty())); } public void unsetTemplateKv() { this.templateKv = 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 name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } public boolean isSetName() { return (this.name!= null); } /** * Gets the value of the clazz property. * * @return * possible object is * {@link String } * */ public String getClazz() { return clazz; } /** * Sets the value of the clazz property. * * @param value * allowed object is * {@link String } * */ public void setClazz(String value) { this.clazz = value; } public boolean isSetClazz() { return (this.clazz!= null); } /** * Gets the value of the external property. * * @return * possible object is * {@link Boolean } * */ public boolean isExternal() { return external; } /** * Sets the value of the external property. * * @param value * allowed object is * {@link Boolean } * */ public void setExternal(boolean value) { this.external = value; } public boolean isSetExternal() { return (this.external!= null); } public void unsetExternal() { this.external = 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