| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
| DirectPositionType |
|
| 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.math.BigInteger; |
|
| 12 | import java.util.ArrayList; |
|
| 13 | import java.util.List; |
|
| 14 | import javax.xml.bind.annotation.XmlAccessType; |
|
| 15 | import javax.xml.bind.annotation.XmlAccessorType; |
|
| 16 | import javax.xml.bind.annotation.XmlAttribute; |
|
| 17 | import javax.xml.bind.annotation.XmlSchemaType; |
|
| 18 | import javax.xml.bind.annotation.XmlType; |
|
| 19 | import javax.xml.bind.annotation.XmlValue; |
|
| 20 | ||
| 21 | ||
| 22 | /** |
|
| 23 | * DirectPosition instances hold the coordinates for a position within some coordinate reference system (CRS). Since DirectPositions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the "srsName" attribute will in general be missing, if this particular DirectPosition is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. |
|
| 24 | * |
|
| 25 | * <p>Java class for DirectPositionType complex type. |
|
| 26 | * |
|
| 27 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 28 | * |
|
| 29 | * <pre> |
|
| 30 | * <complexType name="DirectPositionType"> |
|
| 31 | * <simpleContent> |
|
| 32 | * <extension base="<http://www.opengis.net/gml>doubleList"> |
|
| 33 | * <attGroup ref="{http://www.opengis.net/gml}SRSReferenceGroup"/> |
|
| 34 | * </extension> |
|
| 35 | * </simpleContent> |
|
| 36 | * </complexType> |
|
| 37 | * </pre> |
|
| 38 | * |
|
| 39 | * |
|
| 40 | */ |
|
| 41 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 42 | @XmlType(name = "DirectPositionType", propOrder = { |
|
| 43 | "value" |
|
| 44 | }) |
|
| 45 | 0 | public class DirectPositionType { |
| 46 | ||
| 47 | @XmlValue |
|
| 48 | protected List<Double> value; |
|
| 49 | @XmlAttribute |
|
| 50 | @XmlSchemaType(name = "anyURI") |
|
| 51 | protected String srsName; |
|
| 52 | @XmlAttribute |
|
| 53 | @XmlSchemaType(name = "positiveInteger") |
|
| 54 | protected BigInteger srsDimension; |
|
| 55 | @XmlAttribute |
|
| 56 | protected List<String> axisLabels; |
|
| 57 | @XmlAttribute |
|
| 58 | protected List<String> uomLabels; |
|
| 59 | ||
| 60 | /** |
|
| 61 | * XML List based on XML Schema double type. An element of this type contains a space-separated list of double values Gets the value of the value property. |
|
| 62 | * |
|
| 63 | * <p> |
|
| 64 | * This accessor method returns a reference to the live list, |
|
| 65 | * not a snapshot. Therefore any modification you make to the |
|
| 66 | * returned list will be present inside the JAXB object. |
|
| 67 | * This is why there is not a <CODE>set</CODE> method for the value property. |
|
| 68 | * |
|
| 69 | * <p> |
|
| 70 | * For example, to add a new item, do as follows: |
|
| 71 | * <pre> |
|
| 72 | * getValue().add(newItem); |
|
| 73 | * </pre> |
|
| 74 | * |
|
| 75 | * |
|
| 76 | * <p> |
|
| 77 | * Objects of the following type(s) are allowed in the list |
|
| 78 | * {@link Double } |
|
| 79 | * |
|
| 80 | * |
|
| 81 | */ |
|
| 82 | public List<Double> getValue() { |
|
| 83 | 0 | if (value == null) { |
| 84 | 0 | value = new ArrayList<Double>(); |
| 85 | } |
|
| 86 | 0 | return this.value; |
| 87 | } |
|
| 88 | ||
| 89 | /** |
|
| 90 | * Gets the value of the srsName property. |
|
| 91 | * |
|
| 92 | * @return |
|
| 93 | * possible object is |
|
| 94 | * {@link String } |
|
| 95 | * |
|
| 96 | */ |
|
| 97 | public String getSrsName() { |
|
| 98 | 0 | return srsName; |
| 99 | } |
|
| 100 | ||
| 101 | /** |
|
| 102 | * Sets the value of the srsName property. |
|
| 103 | * |
|
| 104 | * @param value |
|
| 105 | * allowed object is |
|
| 106 | * {@link String } |
|
| 107 | * |
|
| 108 | */ |
|
| 109 | public void setSrsName(String value) { |
|
| 110 | 0 | this.srsName = value; |
| 111 | 0 | } |
| 112 | ||
| 113 | /** |
|
| 114 | * Gets the value of the srsDimension property. |
|
| 115 | * |
|
| 116 | * @return |
|
| 117 | * possible object is |
|
| 118 | * {@link BigInteger } |
|
| 119 | * |
|
| 120 | */ |
|
| 121 | public BigInteger getSrsDimension() { |
|
| 122 | 0 | return srsDimension; |
| 123 | } |
|
| 124 | ||
| 125 | /** |
|
| 126 | * Sets the value of the srsDimension property. |
|
| 127 | * |
|
| 128 | * @param value |
|
| 129 | * allowed object is |
|
| 130 | * {@link BigInteger } |
|
| 131 | * |
|
| 132 | */ |
|
| 133 | public void setSrsDimension(BigInteger value) { |
|
| 134 | 0 | this.srsDimension = value; |
| 135 | 0 | } |
| 136 | ||
| 137 | /** |
|
| 138 | * Gets the value of the axisLabels property. |
|
| 139 | * |
|
| 140 | * <p> |
|
| 141 | * This accessor method returns a reference to the live list, |
|
| 142 | * not a snapshot. Therefore any modification you make to the |
|
| 143 | * returned list will be present inside the JAXB object. |
|
| 144 | * This is why there is not a <CODE>set</CODE> method for the axisLabels property. |
|
| 145 | * |
|
| 146 | * <p> |
|
| 147 | * For example, to add a new item, do as follows: |
|
| 148 | * <pre> |
|
| 149 | * getAxisLabels().add(newItem); |
|
| 150 | * </pre> |
|
| 151 | * |
|
| 152 | * |
|
| 153 | * <p> |
|
| 154 | * Objects of the following type(s) are allowed in the list |
|
| 155 | * {@link String } |
|
| 156 | * |
|
| 157 | * |
|
| 158 | */ |
|
| 159 | public List<String> getAxisLabels() { |
|
| 160 | 0 | if (axisLabels == null) { |
| 161 | 0 | axisLabels = new ArrayList<String>(); |
| 162 | } |
|
| 163 | 0 | return this.axisLabels; |
| 164 | } |
|
| 165 | ||
| 166 | /** |
|
| 167 | * Gets the value of the uomLabels property. |
|
| 168 | * |
|
| 169 | * <p> |
|
| 170 | * This accessor method returns a reference to the live list, |
|
| 171 | * not a snapshot. Therefore any modification you make to the |
|
| 172 | * returned list will be present inside the JAXB object. |
|
| 173 | * This is why there is not a <CODE>set</CODE> method for the uomLabels property. |
|
| 174 | * |
|
| 175 | * <p> |
|
| 176 | * For example, to add a new item, do as follows: |
|
| 177 | * <pre> |
|
| 178 | * getUomLabels().add(newItem); |
|
| 179 | * </pre> |
|
| 180 | * |
|
| 181 | * |
|
| 182 | * <p> |
|
| 183 | * Objects of the following type(s) are allowed in the list |
|
| 184 | * {@link String } |
|
| 185 | * |
|
| 186 | * |
|
| 187 | */ |
|
| 188 | public List<String> getUomLabels() { |
|
| 189 | 0 | if (uomLabels == null) { |
| 190 | 0 | uomLabels = new ArrayList<String>(); |
| 191 | } |
|
| 192 | 0 | return this.uomLabels; |
| 193 | } |
|
| 194 | ||
| 195 | } |