public class LineStringType extends AbstractCurveType
Java class for LineStringType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LineStringType">
<complexContent>
<extension base="{http://www.opengis.net/gml/3.2}AbstractCurveType">
<sequence>
<choice>
<choice maxOccurs="unbounded" minOccurs="2">
<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 |
srsDimension, srsNamedescriptionReference, id, identifier, name| Constructor and Description |
|---|
LineStringType() |
| 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.
|
LineStringType |
withDescriptionReference(ReferenceType value) |
LineStringType |
withId(String value) |
LineStringType |
withIdentifier(CodeWithAuthorityType value) |
LineStringType |
withName(CodeType... values) |
LineStringType |
withName(Collection<CodeType> values) |
LineStringType |
withPosList(DirectPositionListType value) |
LineStringType |
withPosOrPointProperty(Collection<Object> values) |
LineStringType |
withPosOrPointProperty(Object... values) |
LineStringType |
withSrsDimension(BigInteger value) |
LineStringType |
withSrsName(String value) |
getSrsDimension, getSrsName, setSrsDimension, setSrsNamegetDescriptionReference, getId, getIdentifier, getName, setDescriptionReference, setId, setIdentifierprotected 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 LineStringType withPosOrPointProperty(Object... values)
public LineStringType withPosOrPointProperty(Collection<Object> values)
public LineStringType withPosList(DirectPositionListType value)
public LineStringType withSrsName(String value)
withSrsName in class AbstractCurveTypepublic LineStringType withSrsDimension(BigInteger value)
withSrsDimension in class AbstractCurveTypepublic LineStringType withDescriptionReference(ReferenceType value)
withDescriptionReference in class AbstractCurveTypepublic LineStringType withIdentifier(CodeWithAuthorityType value)
withIdentifier in class AbstractCurveTypepublic LineStringType withName(CodeType... values)
withName in class AbstractCurveTypepublic LineStringType withName(Collection<CodeType> values)
withName in class AbstractCurveTypepublic LineStringType withId(String value)
withId in class AbstractCurveTypepublic String toString()
toString in class AbstractCurveTypeCopyright © 2018 Entur AS. All rights reserved.