com.hubject.datex.energyinfrastructure.generated.location_referencing.GmlPolygon Maven / Gradle / Ivy
Show all versions of convert Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 11:44:34 AM CEST
//
package com.hubject.datex.energyinfrastructure.generated.location_referencing;
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;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
/**
* Java class for GmlPolygon complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GmlPolygon">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="exterior" type="{http://datex2.eu/schema/3/locationReferencing}GmlLinearRing"/>
* <element name="interior" type="{http://datex2.eu/schema/3/locationReferencing}GmlLinearRing" maxOccurs="unbounded" minOccurs="0"/>
* <element name="_gmlPolygonExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GmlPolygon", propOrder = {
"exterior",
"interior",
"gmlPolygonExtension"
})
public class GmlPolygon {
@XmlElement(required = true)
protected GmlLinearRing exterior;
protected List interior;
@XmlElement(name = "_gmlPolygonExtension")
protected ExtensionType gmlPolygonExtension;
/**
* Gets the value of the exterior property.
*
* @return
* possible object is
* {@link GmlLinearRing }
*
*/
public GmlLinearRing getExterior() {
return exterior;
}
/**
* Sets the value of the exterior property.
*
* @param value
* allowed object is
* {@link GmlLinearRing }
*
*/
public void setExterior(GmlLinearRing value) {
this.exterior = value;
}
/**
* Gets the value of the interior 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 interior property.
*
*
* For example, to add a new item, do as follows:
*
* getInterior().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GmlLinearRing }
*
*
*/
public List getInterior() {
if (interior == null) {
interior = new ArrayList();
}
return this.interior;
}
/**
* Gets the value of the gmlPolygonExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getGmlPolygonExtension() {
return gmlPolygonExtension;
}
/**
* Sets the value of the gmlPolygonExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setGmlPolygonExtension(ExtensionType value) {
this.gmlPolygonExtension = value;
}
}