public class LinearRingType extends AbstractRingType
Java class for LinearRingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LinearRingType">
<complexContent>
<extension base="{http://www.opengis.net/gml/3.2}AbstractRingType">
<sequence>
<choice>
<choice maxOccurs="unbounded" minOccurs="4">
<element ref="{http://www.opengis.net/gml/3.2}pos"/>
<element ref="{http://www.opengis.net/gml/3.2}pointProperty"/>
</choice>
<element ref="{http://www.opengis.net/gml/3.2}posList"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DirectPositionListType |
posList |
protected List<Object> |
posOrPointProperty |
| Constructor and Description |
|---|
LinearRingType() |
| Modifier and Type | Method and Description |
|---|---|
DirectPositionListType |
getPosList()
Gets the value of the posList property.
|
List<Object> |
getPosOrPointProperty()
Gets the value of the posOrPointProperty property.
|
void |
setPosList(DirectPositionListType value)
Sets the value of the posList property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
LinearRingType |
withPosList(DirectPositionListType value) |
LinearRingType |
withPosOrPointProperty(Collection<Object> values) |
LinearRingType |
withPosOrPointProperty(Object... values) |
protected DirectPositionListType posList
public List<Object> getPosOrPointProperty()
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 posOrPointProperty property.
For example, to add a new item, do as follows:
getPosOrPointProperty().add(newItem);
Objects of the following type(s) are allowed in the list
DirectPositionType
PointPropertyType
public DirectPositionListType getPosList()
DirectPositionListTypepublic void setPosList(DirectPositionListType value)
value - allowed object is
DirectPositionListTypepublic LinearRingType withPosOrPointProperty(Object... values)
public LinearRingType withPosOrPointProperty(Collection<Object> values)
public LinearRingType withPosList(DirectPositionListType value)
public String toString()
toString in class AbstractRingTypeCopyright © 2018 Entur AS. All rights reserved.