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/3.2}AbstractSurfaceType">
<sequence>
<element ref="{http://www.opengis.net/gml/3.2}exterior" minOccurs="0"/>
<element ref="{http://www.opengis.net/gml/3.2}interior" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractRingPropertyType |
exterior |
protected List<AbstractRingPropertyType> |
interior |
srsDimension, srsNamedescriptionReference, id, identifier, 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.
|
String |
toString()
Generates a String representation of the contents of this type.
|
PolygonType |
withDescriptionReference(ReferenceType value) |
PolygonType |
withExterior(AbstractRingPropertyType value) |
PolygonType |
withId(String value) |
PolygonType |
withIdentifier(CodeWithAuthorityType value) |
PolygonType |
withInterior(AbstractRingPropertyType... values) |
PolygonType |
withInterior(Collection<AbstractRingPropertyType> values) |
PolygonType |
withName(CodeType... values) |
PolygonType |
withName(Collection<CodeType> values) |
PolygonType |
withSrsDimension(BigInteger value) |
PolygonType |
withSrsName(String value) |
getSrsDimension, getSrsName, setSrsDimension, setSrsNamegetDescriptionReference, getId, getIdentifier, getName, setDescriptionReference, setId, setIdentifierprotected 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
public PolygonType withExterior(AbstractRingPropertyType value)
public PolygonType withInterior(AbstractRingPropertyType... values)
public PolygonType withInterior(Collection<AbstractRingPropertyType> values)
public PolygonType withSrsName(String value)
withSrsName in class AbstractSurfaceTypepublic PolygonType withSrsDimension(BigInteger value)
withSrsDimension in class AbstractSurfaceTypepublic PolygonType withDescriptionReference(ReferenceType value)
withDescriptionReference in class AbstractSurfaceTypepublic PolygonType withIdentifier(CodeWithAuthorityType value)
withIdentifier in class AbstractSurfaceTypepublic PolygonType withName(CodeType... values)
withName in class AbstractSurfaceTypepublic PolygonType withName(Collection<CodeType> values)
withName in class AbstractSurfaceTypepublic PolygonType withId(String value)
withId in class AbstractSurfaceTypepublic String toString()
toString in class AbstractSurfaceTypeCopyright © 2018 Entur AS. All rights reserved.