Package nl.b3p.csw.jaxb.gml
Class PolygonType
-
public class PolygonType extends AbstractSurfaceType
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.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.bind.JAXBElement<AbstractRingPropertyType>exteriorprotected List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>>interior-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractGeometryType
axisLabels, gid, srsDimension, srsName, uomLabels
-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractGMLType
description, id, metaDataProperty, name
-
-
Constructor Summary
Constructors Constructor Description PolygonType()Default no-arg constructorPolygonType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id, String gid, String srsName, BigInteger srsDimension, List<String> axisLabels, List<String> uomLabels, javax.xml.bind.JAXBElement<AbstractRingPropertyType> exterior, List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> interior)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.JAXBElement<AbstractRingPropertyType>getExterior()Gets the value of the exterior property.List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>>getInterior()Gets the value of the interior property.voidsetExterior(javax.xml.bind.JAXBElement<AbstractRingPropertyType> value)Sets the value of the exterior property.-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, setGid, setSrsDimension, setSrsName
-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
-
-
-
-
Field Detail
-
exterior
protected javax.xml.bind.JAXBElement<AbstractRingPropertyType> exterior
-
interior
protected List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> interior
-
-
Constructor Detail
-
PolygonType
public PolygonType()
Default no-arg constructor
-
PolygonType
public PolygonType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id, String gid, String srsName, BigInteger srsDimension, List<String> axisLabels, List<String> uomLabels, javax.xml.bind.JAXBElement<AbstractRingPropertyType> exterior, List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> interior)
Fully-initialising value constructor
-
-
Method Detail
-
getExterior
public javax.xml.bind.JAXBElement<AbstractRingPropertyType> getExterior()
Gets the value of the exterior property.- Returns:
- possible object is
OuterBoundaryIsExterior
-
setExterior
public void setExterior(javax.xml.bind.JAXBElement<AbstractRingPropertyType> value)
Sets the value of the exterior property.- Parameters:
value- allowed object isOuterBoundaryIsExterior
-
getInterior
public List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> getInterior()
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
setmethod 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
InnerBoundaryIsInterior
-
-