/*******************************************************************************
* Copyright (c) 2015 - 2016
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.01.04 at 06:39:01 PM CET
//
package jsettlers.mapcreator.presetloader.jaxb;
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.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}building" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}object" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}moveable" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="text-id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"building",
"object",
"moveable"
})
@SuppressWarnings("javadoc")
public class Preset {
protected List<Building> building;
protected List<Object> object;
protected List<Moveable> moveable;
@XmlAttribute(name = "text-id", required = true)
protected String textId;
/**
* Gets the value of the building property.
*
* <p>
* 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 <CODE>set</CODE> method for the building property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getBuilding().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Building }
*
*
*/
public List<Building> getBuilding() {
if (building == null) {
building = new ArrayList<Building>();
}
return this.building;
}
/**
* Gets the value of the object property.
*
* <p>
* 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 <CODE>set</CODE> method for the object property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getObject().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Object }
*
*
*/
public List<Object> getObject() {
if (object == null) {
object = new ArrayList<Object>();
}
return this.object;
}
/**
* Gets the value of the moveable property.
*
* <p>
* 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 <CODE>set</CODE> method for the moveable property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getMoveable().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Moveable }
*
*
*/
public List<Moveable> getMoveable() {
if (moveable == null) {
moveable = new ArrayList<Moveable>();
}
return this.moveable;
}
/**
* Gets the value of the textId property.
*
* @return possible object is {@link String }
*
*/
public String getTextId() {
return textId;
}
/**
* Sets the value of the textId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTextId(String value) {
this.textId = value;
}
}