
org.sweble.wikitext.engine.utils.AdaptedMagicWord Maven / Gradle / Ivy
Show all versions of swc-engine Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.12 at 12:38:33 AM CEST
//
package org.sweble.wikitext.engine.utils;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for MagicWord complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MagicWord">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="caseSensitive" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="aliases">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="alias" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MagicWord", propOrder = {
"name",
"caseSensitive",
"aliases"
})
public class AdaptedMagicWord {
@XmlElement(required = true)
protected String name;
protected boolean caseSensitive;
@XmlElement(required = true)
protected AdaptedMagicWord.Aliases aliases;
/**
* 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;
}
/**
* Gets the value of the caseSensitive property.
*
*/
public boolean isCaseSensitive() {
return caseSensitive;
}
/**
* Sets the value of the caseSensitive property.
*
*/
public void setCaseSensitive(boolean value) {
this.caseSensitive = value;
}
/**
* Gets the value of the aliases property.
*
* @return
* possible object is
* {@link AdaptedMagicWord.Aliases }
*
*/
public AdaptedMagicWord.Aliases getAliases() {
return aliases;
}
/**
* Sets the value of the aliases property.
*
* @param value
* allowed object is
* {@link AdaptedMagicWord.Aliases }
*
*/
public void setAliases(AdaptedMagicWord.Aliases value) {
this.aliases = value;
}
/**
* 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 name="alias" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"alias"
})
public static class Aliases {
protected List alias;
/**
* Gets the value of the alias 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 alias property.
*
*
* For example, to add a new item, do as follows:
*
* getAlias().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAlias() {
if (alias == null) {
alias = new ArrayList();
}
return this.alias;
}
}
}