Coverage Report - net.opengis.gml.LinearRingType
 
Classes in this File Line Coverage Branch Coverage Complexity
LinearRingType
0% 
0% 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 5  
 // Generated on: 2008.06.11 at 12:15:46 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package net.opengis.gml;
 10  
 
 11  
 import java.util.ArrayList;
 12  
 import java.util.List;
 13  
 import javax.xml.bind.JAXBElement;
 14  
 import javax.xml.bind.annotation.XmlAccessType;
 15  
 import javax.xml.bind.annotation.XmlAccessorType;
 16  
 import javax.xml.bind.annotation.XmlElementRef;
 17  
 import javax.xml.bind.annotation.XmlElementRefs;
 18  
 import javax.xml.bind.annotation.XmlType;
 19  
 
 20  
 
 21  
 /**
 22  
  * A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates must be coincident.
 23  
  * 
 24  
  * <p>Java class for LinearRingType complex type.
 25  
  * 
 26  
  * <p>The following schema fragment specifies the expected content contained within this class.
 27  
  * 
 28  
  * <pre>
 29  
  * &lt;complexType name="LinearRingType">
 30  
  *   &lt;complexContent>
 31  
  *     &lt;extension base="{http://www.opengis.net/gml}AbstractRingType">
 32  
  *       &lt;sequence>
 33  
  *         &lt;choice>
 34  
  *           &lt;choice maxOccurs="unbounded" minOccurs="4">
 35  
  *             &lt;element ref="{http://www.opengis.net/gml}pos"/>
 36  
  *             &lt;element ref="{http://www.opengis.net/gml}pointProperty"/>
 37  
  *             &lt;element ref="{http://www.opengis.net/gml}pointRep"/>
 38  
  *           &lt;/choice>
 39  
  *           &lt;element ref="{http://www.opengis.net/gml}posList"/>
 40  
  *           &lt;element ref="{http://www.opengis.net/gml}coordinates"/>
 41  
  *           &lt;element ref="{http://www.opengis.net/gml}coord" maxOccurs="unbounded" minOccurs="4"/>
 42  
  *         &lt;/choice>
 43  
  *       &lt;/sequence>
 44  
  *     &lt;/extension>
 45  
  *   &lt;/complexContent>
 46  
  * &lt;/complexType>
 47  
  * </pre>
 48  
  * 
 49  
  * 
 50  
  */
 51  
 @XmlAccessorType(XmlAccessType.FIELD)
 52  
 @XmlType(name = "LinearRingType", propOrder = {
 53  
     "posOrPointPropertyOrPointRep",
 54  
     "posList",
 55  
     "coordinates",
 56  
     "coord"
 57  
 })
 58  0
 public class LinearRingType
 59  
     extends AbstractRingType
 60  
 {
 61  
 
 62  
     @XmlElementRefs({
 63  
         @XmlElementRef(name = "pointRep", namespace = "http://www.opengis.net/gml", type = JAXBElement.class),
 64  
         @XmlElementRef(name = "pointProperty", namespace = "http://www.opengis.net/gml", type = JAXBElement.class),
 65  
         @XmlElementRef(name = "pos", namespace = "http://www.opengis.net/gml", type = JAXBElement.class)
 66  
     })
 67  
     protected List<JAXBElement<?>> posOrPointPropertyOrPointRep;
 68  
     protected DirectPositionListType posList;
 69  
     protected CoordinatesType coordinates;
 70  
     protected List<CoordType> coord;
 71  
 
 72  
     /**
 73  
      * Gets the value of the posOrPointPropertyOrPointRep property.
 74  
      * 
 75  
      * <p>
 76  
      * This accessor method returns a reference to the live list,
 77  
      * not a snapshot. Therefore any modification you make to the
 78  
      * returned list will be present inside the JAXB object.
 79  
      * This is why there is not a <CODE>set</CODE> method for the posOrPointPropertyOrPointRep property.
 80  
      * 
 81  
      * <p>
 82  
      * For example, to add a new item, do as follows:
 83  
      * <pre>
 84  
      *    getPosOrPointPropertyOrPointRep().add(newItem);
 85  
      * </pre>
 86  
      * 
 87  
      * 
 88  
      * <p>
 89  
      * Objects of the following type(s) are allowed in the list
 90  
      * {@link JAXBElement }{@code <}{@link PointPropertyType }{@code >}
 91  
      * {@link JAXBElement }{@code <}{@link PointPropertyType }{@code >}
 92  
      * {@link JAXBElement }{@code <}{@link DirectPositionType }{@code >}
 93  
      * 
 94  
      * 
 95  
      */
 96  
     public List<JAXBElement<?>> getPosOrPointPropertyOrPointRep() {
 97  0
         if (posOrPointPropertyOrPointRep == null) {
 98  0
             posOrPointPropertyOrPointRep = new ArrayList<JAXBElement<?>>();
 99  
         }
 100  0
         return this.posOrPointPropertyOrPointRep;
 101  
     }
 102  
 
 103  
     /**
 104  
      * Gets the value of the posList property.
 105  
      * 
 106  
      * @return
 107  
      *     possible object is
 108  
      *     {@link DirectPositionListType }
 109  
      *     
 110  
      */
 111  
     public DirectPositionListType getPosList() {
 112  0
         return posList;
 113  
     }
 114  
 
 115  
     /**
 116  
      * Sets the value of the posList property.
 117  
      * 
 118  
      * @param value
 119  
      *     allowed object is
 120  
      *     {@link DirectPositionListType }
 121  
      *     
 122  
      */
 123  
     public void setPosList(DirectPositionListType value) {
 124  0
         this.posList = value;
 125  0
     }
 126  
 
 127  
     /**
 128  
      * Deprecated with GML version 3.1.0. Use "posList" instead.
 129  
      * 
 130  
      * @return
 131  
      *     possible object is
 132  
      *     {@link CoordinatesType }
 133  
      *     
 134  
      */
 135  
     public CoordinatesType getCoordinates() {
 136  0
         return coordinates;
 137  
     }
 138  
 
 139  
     /**
 140  
      * Sets the value of the coordinates property.
 141  
      * 
 142  
      * @param value
 143  
      *     allowed object is
 144  
      *     {@link CoordinatesType }
 145  
      *     
 146  
      */
 147  
     public void setCoordinates(CoordinatesType value) {
 148  0
         this.coordinates = value;
 149  0
     }
 150  
 
 151  
     /**
 152  
      * 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.
 153  
      * 
 154  
      * <p>
 155  
      * This accessor method returns a reference to the live list,
 156  
      * not a snapshot. Therefore any modification you make to the
 157  
      * returned list will be present inside the JAXB object.
 158  
      * This is why there is not a <CODE>set</CODE> method for the coord property.
 159  
      * 
 160  
      * <p>
 161  
      * For example, to add a new item, do as follows:
 162  
      * <pre>
 163  
      *    getCoord().add(newItem);
 164  
      * </pre>
 165  
      * 
 166  
      * 
 167  
      * <p>
 168  
      * Objects of the following type(s) are allowed in the list
 169  
      * {@link CoordType }
 170  
      * 
 171  
      * 
 172  
      */
 173  
     public List<CoordType> getCoord() {
 174  0
         if (coord == null) {
 175  0
             coord = new ArrayList<CoordType>();
 176  
         }
 177  0
         return this.coord;
 178  
     }
 179  
 
 180  
 }