org.citygml4j.jaxb.gml._3_1_1
Class LinearRingType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
      extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGeometryType
          extended by org.citygml4j.jaxb.gml._3_1_1.AbstractRingType
              extended by org.citygml4j.jaxb.gml._3_1_1.LinearRingType

public class LinearRingType
extends AbstractRingType

A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates must be coincident.

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}AbstractRingType">
       <sequence>
         <choice>
           <choice maxOccurs="unbounded" minOccurs="4">
             <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"/>
           <element ref="{http://www.opengis.net/gml}coord" maxOccurs="unbounded" minOccurs="4"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Constructor Summary
LinearRingType()
           
 
Method Summary
 java.util.List<CoordType> getCoord()
          Deprecated with GML version 3.0 and included for backwards compatibility with GML 2.
 CoordinatesType getCoordinates()
          Deprecated with GML version 3.1.0.
 DirectPositionListType getPosList()
          Gets the value of the posList property.
 java.util.List<javax.xml.bind.JAXBElement<?>> getPosOrPointPropertyOrPointRep()
          Gets the value of the posOrPointPropertyOrPointRep property.
 boolean isSetCoord()
           
 boolean isSetCoordinates()
           
 boolean isSetPosList()
           
 boolean isSetPosOrPointPropertyOrPointRep()
           
 void setCoord(java.util.List<CoordType> coord)
          Deprecated with GML version 3.0 and included for backwards compatibility with GML 2.
 void setCoordinates(CoordinatesType value)
          Sets the value of the coordinates property.
 void setPosList(DirectPositionListType value)
          Sets the value of the posList property.
 void setPosOrPointPropertyOrPointRep(java.util.List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep)
          Sets the value of the posOrPointPropertyOrPointRep property.
 void unsetCoord()
           
 void unsetPosOrPointPropertyOrPointRep()
           
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, isSetAxisLabels, isSetGid, isSetSrsDimension, isSetSrsName, isSetUomLabels, setAxisLabels, setGid, setSrsDimension, setSrsName, setUomLabels, unsetAxisLabels, unsetUomLabels
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearRingType

public LinearRingType()
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<DirectPositionType> JAXBElement<PointPropertyType>


isSetPosOrPointPropertyOrPointRep

public boolean isSetPosOrPointPropertyOrPointRep()

unsetPosOrPointPropertyOrPointRep

public void unsetPosOrPointPropertyOrPointRep()

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

isSetPosList

public boolean isSetPosList()

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)
Sets the value of the coordinates property.

Parameters:
value - allowed object is CoordinatesType

isSetCoordinates

public boolean isSetCoordinates()

getCoord

public java.util.List<CoordType> getCoord()
Deprecated with GML version 3.0 and included for backwards compatibility with GML 2. Use "pos" elements instead.Gets the value of the coord 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 coord property.

For example, to add a new item, do as follows:

    getCoord().add(newItem);
 

Objects of the following type(s) are allowed in the list CoordType


isSetCoord

public boolean isSetCoord()

unsetCoord

public void unsetCoord()

setPosOrPointPropertyOrPointRep

public void setPosOrPointPropertyOrPointRep(java.util.List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep)
Sets the value of the posOrPointPropertyOrPointRep property.

Parameters:
posOrPointPropertyOrPointRep - allowed object is JAXBElement<PointPropertyType> JAXBElement<DirectPositionType> JAXBElement<PointPropertyType>

setCoord

public void setCoord(java.util.List<CoordType> coord)
Deprecated with GML version 3.0 and included for backwards compatibility with GML 2. Use "pos" elements instead.

Parameters:
coord - allowed object is CoordType