//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09:13:50 PM CEST
//
package net.opengis.gml;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* A Polygon is a special surface that is defined by a single surface patch. The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. It is backwards compatible with the Polygon of GML 2, GM_Polygon of ISO 19107 is implemented by PolygonPatch.
*
* <p>Java-Klasse für PolygonType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="PolygonType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml}AbstractSurfaceType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}exterior" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml}interior" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PolygonType", propOrder = {
"exterior",
"interior"
})
public class PolygonType
extends AbstractSurfaceType
{
@XmlElementRef(name = "exterior", namespace = "http://www.opengis.net/gml", type = JAXBElement.class, required = false)
protected JAXBElement<AbstractRingPropertyType> exterior;
@XmlElementRef(name = "interior", namespace = "http://www.opengis.net/gml", type = JAXBElement.class, required = false)
protected List<JAXBElement<AbstractRingPropertyType>> interior;
/**
* Ruft den Wert der exterior-Eigenschaft ab.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
*
*/
public JAXBElement<AbstractRingPropertyType> getExterior() {
return exterior;
}
/**
* Legt den Wert der exterior-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
*
*/
public void setExterior(JAXBElement<AbstractRingPropertyType> value) {
this.exterior = value;
}
public boolean isSetExterior() {
return (this.exterior!= null);
}
/**
* Gets the value of the interior 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 interior property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getInterior().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
*
*
*/
public List<JAXBElement<AbstractRingPropertyType>> getInterior() {
if (interior == null) {
interior = new ArrayList<JAXBElement<AbstractRingPropertyType>>();
}
return this.interior;
}
public boolean isSetInterior() {
return ((this.interior!= null)&&(!this.interior.isEmpty()));
}
public void unsetInterior() {
this.interior = null;
}
public void setInterior(List<JAXBElement<AbstractRingPropertyType>> value) {
this.interior = value;
}
}