package osm.xmldatatypes;
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.XmlType;
/**
* <p>Java class for osmBasicChange complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="osmBasicChange">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}node" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}way" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}relation" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "osmBasicChange", propOrder = {
"node",
"way",
"relation"
})
public class OsmBasicChange {
protected List<Node> node;
protected List<Way> way;
protected List<Relation> relation;
/**
* Gets the value of the node 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 node property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getNode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Node }
*
*
*/
public List<Node> getNode() {
if (node == null) {
node = new ArrayList<Node>();
}
return this.node;
}
/**
* Gets the value of the way 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 way property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getWay().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Way }
*
*
*/
public List<Way> getWay() {
if (way == null) {
way = new ArrayList<Way>();
}
return this.way;
}
/**
* Gets the value of the relation 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 relation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Relation }
*
*
*/
public List<Relation> getRelation() {
if (relation == null) {
relation = new ArrayList<Relation>();
}
return this.relation;
}
}