Coverage Report - net.opengis.gml.PointType
 
Classes in this File Line Coverage Branch Coverage Complexity
PointType
40% 
N/A 
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 javax.xml.bind.annotation.XmlAccessType;
 12  
 import javax.xml.bind.annotation.XmlAccessorType;
 13  
 import javax.xml.bind.annotation.XmlType;
 14  
 
 15  
 
 16  
 /**
 17  
  * A Point is defined by a single coordinate tuple.
 18  
  * 
 19  
  * <p>Java class for PointType complex type.
 20  
  * 
 21  
  * <p>The following schema fragment specifies the expected content contained within this class.
 22  
  * 
 23  
  * <pre>
 24  
  * &lt;complexType name="PointType">
 25  
  *   &lt;complexContent>
 26  
  *     &lt;extension base="{http://www.opengis.net/gml}AbstractGeometricPrimitiveType">
 27  
  *       &lt;sequence>
 28  
  *         &lt;choice>
 29  
  *           &lt;element ref="{http://www.opengis.net/gml}pos"/>
 30  
  *           &lt;element ref="{http://www.opengis.net/gml}coordinates"/>
 31  
  *           &lt;element ref="{http://www.opengis.net/gml}coord"/>
 32  
  *         &lt;/choice>
 33  
  *       &lt;/sequence>
 34  
  *     &lt;/extension>
 35  
  *   &lt;/complexContent>
 36  
  * &lt;/complexType>
 37  
  * </pre>
 38  
  * 
 39  
  * 
 40  
  */
 41  
 @XmlAccessorType(XmlAccessType.FIELD)
 42  
 @XmlType(name = "PointType", propOrder = {
 43  
     "pos",
 44  
     "coordinates",
 45  
     "coord"
 46  
 })
 47  6
 public class PointType
 48  
     extends AbstractGeometricPrimitiveType
 49  
 {
 50  
 
 51  
     protected DirectPositionType pos;
 52  
     protected CoordinatesType coordinates;
 53  
     protected CoordType coord;
 54  
 
 55  
     /**
 56  
      * Gets the value of the pos property.
 57  
      * 
 58  
      * @return
 59  
      *     possible object is
 60  
      *     {@link DirectPositionType }
 61  
      *     
 62  
      */
 63  
     public DirectPositionType getPos() {
 64  0
         return pos;
 65  
     }
 66  
 
 67  
     /**
 68  
      * Sets the value of the pos property.
 69  
      * 
 70  
      * @param value
 71  
      *     allowed object is
 72  
      *     {@link DirectPositionType }
 73  
      *     
 74  
      */
 75  
     public void setPos(DirectPositionType value) {
 76  0
         this.pos = value;
 77  0
     }
 78  
 
 79  
     /**
 80  
      * Deprecated with GML version 3.1.0 for coordinates with ordinate values that are numbers. Use "pos" instead. The "coordinates" element shall only be used for coordinates with ordinates that require a string representation, e.g. DMS representations.
 81  
      * 
 82  
      * @return
 83  
      *     possible object is
 84  
      *     {@link CoordinatesType }
 85  
      *     
 86  
      */
 87  
     public CoordinatesType getCoordinates() {
 88  0
         return coordinates;
 89  
     }
 90  
 
 91  
     /**
 92  
      * Sets the value of the coordinates property.
 93  
      * 
 94  
      * @param value
 95  
      *     allowed object is
 96  
      *     {@link CoordinatesType }
 97  
      *     
 98  
      */
 99  
     public void setCoordinates(CoordinatesType value) {
 100  0
         this.coordinates = value;
 101  0
     }
 102  
 
 103  
     /**
 104  
      * Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for backwards compatibility with GML 2.
 105  
      * 
 106  
      * @return
 107  
      *     possible object is
 108  
      *     {@link CoordType }
 109  
      *     
 110  
      */
 111  
     public CoordType getCoord() {
 112  6
         return coord;
 113  
     }
 114  
 
 115  
     /**
 116  
      * Sets the value of the coord property.
 117  
      * 
 118  
      * @param value
 119  
      *     allowed object is
 120  
      *     {@link CoordType }
 121  
      *     
 122  
      */
 123  
     public void setCoord(CoordType value) {
 124  3
         this.coord = value;
 125  3
     }
 126  
 
 127  
 }