it.cnr.imaa.essi.ncml.binding.gml
Class LineStringSegmentType

java.lang.Object
  extended by it.cnr.imaa.essi.ncml.binding.gml.AbstractCurveSegmentType
      extended by it.cnr.imaa.essi.ncml.binding.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
protected  CoordinatesType coordinates
           
protected  CurveInterpolationType interpolation
           
protected  DirectPositionListType posList
           
protected  java.util.List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep
           
 
Fields inherited from class it.cnr.imaa.essi.ncml.binding.gml.AbstractCurveSegmentType
numDerivativeInterior, numDerivativesAtEnd, numDerivativesAtStart
 
Constructor Summary
LineStringSegmentType()
           
 
Method Summary
 CoordinatesType getCoordinates()
          Deprecated with GML version 3.1.0.
 CurveInterpolationType getInterpolation()
          Gets the value of the interpolation property.
 DirectPositionListType getPosList()
          Gets the value of the posList property.
 java.util.List<javax.xml.bind.JAXBElement<?>> getPosOrPointPropertyOrPointRep()
          Gets the value of the posOrPointPropertyOrPointRep property.
 void setCoordinates(CoordinatesType value)
          Deprecated with GML version 3.1.0.
 void setInterpolation(CurveInterpolationType value)
          Sets the value of the interpolation property.
 void setPosList(DirectPositionListType value)
          Sets the value of the posList property.
 
Methods inherited from class it.cnr.imaa.essi.ncml.binding.gml.AbstractCurveSegmentType
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

posOrPointPropertyOrPointRep

protected java.util.List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep

posList

protected DirectPositionListType posList

coordinates

protected CoordinatesType coordinates

interpolation

protected CurveInterpolationType interpolation
Constructor Detail

LineStringSegmentType

public LineStringSegmentType()
Method Detail

getPosOrPointPropertyOrPointRep

public java.util.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 set method 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 JAXBElement<PointPropertyType> JAXBElement<PointPropertyType> JAXBElement<DirectPositionType>


getPosList

public DirectPositionListType getPosList()
Gets the value of the posList property.

Returns:
possible object is DirectPositionListType

setPosList

public void setPosList(DirectPositionListType value)
Sets the value of the posList property.

Parameters:
value - allowed object is DirectPositionListType

getCoordinates

public CoordinatesType getCoordinates()
Deprecated with GML version 3.1.0. Use "posList" instead.

Returns:
possible object is CoordinatesType

setCoordinates

public void setCoordinates(CoordinatesType value)
Deprecated with GML version 3.1.0. Use "posList" instead.

Parameters:
value - allowed object is CoordinatesType

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 is CurveInterpolationType


Copyright © 2007. All Rights Reserved.