Package nl.b3p.csw.jaxb.gml
Class LineStringSegmentType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
-
- nl.b3p.csw.jaxb.gml.LineStringSegmentType
-
public class LineStringSegmentType extends AbstractCurveSegmentType
A LineStringSegment is a curve segment that is defined by two or more coordinate tuples, with linear interpolation between them. Note: LineStringSegment implements GM_LineString of ISO 19107.Java class for LineStringSegmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LineStringSegmentType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractCurveSegmentType"> <sequence> <choice> <choice maxOccurs="unbounded" minOccurs="2"> <element ref="{http://www.opengis.net/gml}pos"/> <element ref="{http://www.opengis.net/gml}pointProperty"/> <element ref="{http://www.opengis.net/gml}pointRep"/> </choice> <element ref="{http://www.opengis.net/gml}posList"/> <element ref="{http://www.opengis.net/gml}coordinates"/> </choice> </sequence> <attribute name="interpolation" type="{http://www.opengis.net/gml}CurveInterpolationType" fixed="linear" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Coordinatescoordinatesprotected CurveInterpolationTypeinterpolationprotected PosListposListprotected List<javax.xml.bind.JAXBElement<?>>posOrPointPropertyOrPointRep-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
numDerivativeInterior, numDerivativesAtEnd, numDerivativesAtStart
-
-
Constructor Summary
Constructors Constructor Description LineStringSegmentType()Default no-arg constructorLineStringSegmentType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep, PosList posList, Coordinates coordinates, CurveInterpolationType interpolation)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinatesgetCoordinates()Deprecated with GML version 3.1.0.CurveInterpolationTypegetInterpolation()Gets the value of the interpolation property.PosListgetPosList()Gets the value of the posList property.List<javax.xml.bind.JAXBElement<?>>getPosOrPointPropertyOrPointRep()Gets the value of the posOrPointPropertyOrPointRep property.voidsetCoordinates(Coordinates value)Sets the value of the coordinates property.voidsetInterpolation(CurveInterpolationType value)Sets the value of the interpolation property.voidsetPosList(PosList value)Sets the value of the posList property.-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart
-
-
-
-
Field Detail
-
posOrPointPropertyOrPointRep
protected List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep
-
posList
protected PosList posList
-
coordinates
protected Coordinates coordinates
-
interpolation
protected CurveInterpolationType interpolation
-
-
Constructor Detail
-
LineStringSegmentType
public LineStringSegmentType()
Default no-arg constructor
-
LineStringSegmentType
public LineStringSegmentType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep, PosList posList, Coordinates coordinates, CurveInterpolationType interpolation)
Fully-initialising value constructor
-
-
Method Detail
-
getPosOrPointPropertyOrPointRep
public List<javax.xml.bind.JAXBElement<?>> getPosOrPointPropertyOrPointRep()
Gets the value of the posOrPointPropertyOrPointRep 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 posOrPointPropertyOrPointRep property.For example, to add a new item, do as follows:
getPosOrPointPropertyOrPointRep().add(newItem);Objects of the following type(s) are allowed in the list
PosPointRepPointProperty
-
getPosList
public PosList getPosList()
Gets the value of the posList property.- Returns:
- possible object is
PosList
-
setPosList
public void setPosList(PosList value)
Sets the value of the posList property.- Parameters:
value- allowed object isPosList
-
getCoordinates
public Coordinates getCoordinates()
Deprecated with GML version 3.1.0. Use "posList" instead.- Returns:
- possible object is
Coordinates
-
setCoordinates
public void setCoordinates(Coordinates value)
Sets the value of the coordinates property.- Parameters:
value- allowed object isCoordinates
-
getInterpolation
public CurveInterpolationType getInterpolation()
Gets the value of the interpolation property.- Returns:
- possible object is
CurveInterpolationType
-
setInterpolation
public void setInterpolation(CurveInterpolationType value)
Sets the value of the interpolation property.- Parameters:
value- allowed object isCurveInterpolationType
-
-