public class PolygonType extends AbstractSurfaceType
Java class for PolygonType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractRingPropertyType |
exterior |
protected List<AbstractRingPropertyType> |
interior |
axisLabels, gid, srsDimension, srsName, uomLabelsdescription, id, metaDataProperty, name| Constructor and Description |
|---|
PolygonType() |
| Modifier and Type | Method and Description |
|---|---|
AbstractRingPropertyType |
getExterior()
Gets the value of the exterior property.
|
List<AbstractRingPropertyType> |
getInterior()
Gets the value of the interior property.
|
void |
setExterior(AbstractRingPropertyType value)
Sets the value of the exterior property.
|
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, setGid, setSrsDimension, setSrsNamegetDescription, getId, getMetaDataProperty, getName, setDescription, setIdprotected AbstractRingPropertyType exterior
protected List<AbstractRingPropertyType> interior
public AbstractRingPropertyType getExterior()
AbstractRingPropertyTypepublic void setExterior(AbstractRingPropertyType value)
value - allowed object is
AbstractRingPropertyTypepublic List<AbstractRingPropertyType> getInterior()
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
AbstractRingPropertyType
Copyright © 2018. All rights reserved.