| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
| SimplePositionType |
|
| 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 org.georss.georss._10; |
|
| 10 | ||
| 11 | import java.util.ArrayList; |
|
| 12 | import java.util.List; |
|
| 13 | import javax.xml.bind.annotation.XmlAccessType; |
|
| 14 | import javax.xml.bind.annotation.XmlAccessorType; |
|
| 15 | import javax.xml.bind.annotation.XmlAttribute; |
|
| 16 | import javax.xml.bind.annotation.XmlSchemaType; |
|
| 17 | import javax.xml.bind.annotation.XmlType; |
|
| 18 | import javax.xml.bind.annotation.XmlValue; |
|
| 19 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
|
| 20 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
|
| 21 | ||
| 22 | ||
| 23 | /** |
|
| 24 | * Extended doubleList with the addition of GeoRSS where attributes |
|
| 25 | * |
|
| 26 | * <p>Java class for SimplePositionType complex type. |
|
| 27 | * |
|
| 28 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 29 | * |
|
| 30 | * <pre> |
|
| 31 | * <complexType name="SimplePositionType"> |
|
| 32 | * <simpleContent> |
|
| 33 | * <extension base="<http://www.georss.org/georss/10>doubleList"> |
|
| 34 | * <attGroup ref="{http://www.georss.org/georss/10}whereAttrGroup"/> |
|
| 35 | * </extension> |
|
| 36 | * </simpleContent> |
|
| 37 | * </complexType> |
|
| 38 | * </pre> |
|
| 39 | * |
|
| 40 | * |
|
| 41 | */ |
|
| 42 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 43 | @XmlType(name = "SimplePositionType", propOrder = { |
|
| 44 | "value" |
|
| 45 | }) |
|
| 46 | 12 | public class SimplePositionType { |
| 47 | ||
| 48 | @XmlValue |
|
| 49 | protected List<Double> value; |
|
| 50 | @XmlAttribute |
|
| 51 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
|
| 52 | @XmlSchemaType(name = "NCName") |
|
| 53 | protected String featuretypetag; |
|
| 54 | @XmlAttribute |
|
| 55 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
|
| 56 | @XmlSchemaType(name = "NCName") |
|
| 57 | protected String relationshiptag; |
|
| 58 | @XmlAttribute |
|
| 59 | protected Double elev; |
|
| 60 | @XmlAttribute |
|
| 61 | protected Double floor; |
|
| 62 | @XmlAttribute |
|
| 63 | protected Double radius; |
|
| 64 | ||
| 65 | /** |
|
| 66 | * XML List based on XML Schema double type, identical to gml:doubleList. An element of this type contains a space-separated list of double values Gets the value of the value property. |
|
| 67 | * |
|
| 68 | * <p> |
|
| 69 | * This accessor method returns a reference to the live list, |
|
| 70 | * not a snapshot. Therefore any modification you make to the |
|
| 71 | * returned list will be present inside the JAXB object. |
|
| 72 | * This is why there is not a <CODE>set</CODE> method for the value property. |
|
| 73 | * |
|
| 74 | * <p> |
|
| 75 | * For example, to add a new item, do as follows: |
|
| 76 | * <pre> |
|
| 77 | * getValue().add(newItem); |
|
| 78 | * </pre> |
|
| 79 | * |
|
| 80 | * |
|
| 81 | * <p> |
|
| 82 | * Objects of the following type(s) are allowed in the list |
|
| 83 | * {@link Double } |
|
| 84 | * |
|
| 85 | * |
|
| 86 | */ |
|
| 87 | public List<Double> getValue() { |
|
| 88 | 6 | if (value == null) { |
| 89 | 6 | value = new ArrayList<Double>(); |
| 90 | } |
|
| 91 | 6 | return this.value; |
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * Gets the value of the featuretypetag property. |
|
| 96 | * |
|
| 97 | * @return |
|
| 98 | * possible object is |
|
| 99 | * {@link String } |
|
| 100 | * |
|
| 101 | */ |
|
| 102 | public String getFeaturetypetag() { |
|
| 103 | 0 | return featuretypetag; |
| 104 | } |
|
| 105 | ||
| 106 | /** |
|
| 107 | * Sets the value of the featuretypetag property. |
|
| 108 | * |
|
| 109 | * @param value |
|
| 110 | * allowed object is |
|
| 111 | * {@link String } |
|
| 112 | * |
|
| 113 | */ |
|
| 114 | public void setFeaturetypetag(String value) { |
|
| 115 | 0 | this.featuretypetag = value; |
| 116 | 0 | } |
| 117 | ||
| 118 | /** |
|
| 119 | * Gets the value of the relationshiptag property. |
|
| 120 | * |
|
| 121 | * @return |
|
| 122 | * possible object is |
|
| 123 | * {@link String } |
|
| 124 | * |
|
| 125 | */ |
|
| 126 | public String getRelationshiptag() { |
|
| 127 | 0 | return relationshiptag; |
| 128 | } |
|
| 129 | ||
| 130 | /** |
|
| 131 | * Sets the value of the relationshiptag property. |
|
| 132 | * |
|
| 133 | * @param value |
|
| 134 | * allowed object is |
|
| 135 | * {@link String } |
|
| 136 | * |
|
| 137 | */ |
|
| 138 | public void setRelationshiptag(String value) { |
|
| 139 | 0 | this.relationshiptag = value; |
| 140 | 0 | } |
| 141 | ||
| 142 | /** |
|
| 143 | * Gets the value of the elev property. |
|
| 144 | * |
|
| 145 | * @return |
|
| 146 | * possible object is |
|
| 147 | * {@link Double } |
|
| 148 | * |
|
| 149 | */ |
|
| 150 | public Double getElev() { |
|
| 151 | 0 | return elev; |
| 152 | } |
|
| 153 | ||
| 154 | /** |
|
| 155 | * Sets the value of the elev property. |
|
| 156 | * |
|
| 157 | * @param value |
|
| 158 | * allowed object is |
|
| 159 | * {@link Double } |
|
| 160 | * |
|
| 161 | */ |
|
| 162 | public void setElev(Double value) { |
|
| 163 | 0 | this.elev = value; |
| 164 | 0 | } |
| 165 | ||
| 166 | /** |
|
| 167 | * Gets the value of the floor property. |
|
| 168 | * |
|
| 169 | * @return |
|
| 170 | * possible object is |
|
| 171 | * {@link Double } |
|
| 172 | * |
|
| 173 | */ |
|
| 174 | public Double getFloor() { |
|
| 175 | 0 | return floor; |
| 176 | } |
|
| 177 | ||
| 178 | /** |
|
| 179 | * Sets the value of the floor property. |
|
| 180 | * |
|
| 181 | * @param value |
|
| 182 | * allowed object is |
|
| 183 | * {@link Double } |
|
| 184 | * |
|
| 185 | */ |
|
| 186 | public void setFloor(Double value) { |
|
| 187 | 0 | this.floor = value; |
| 188 | 0 | } |
| 189 | ||
| 190 | /** |
|
| 191 | * Gets the value of the radius property. |
|
| 192 | * |
|
| 193 | * @return |
|
| 194 | * possible object is |
|
| 195 | * {@link Double } |
|
| 196 | * |
|
| 197 | */ |
|
| 198 | public Double getRadius() { |
|
| 199 | 0 | return radius; |
| 200 | } |
|
| 201 | ||
| 202 | /** |
|
| 203 | * Sets the value of the radius property. |
|
| 204 | * |
|
| 205 | * @param value |
|
| 206 | * allowed object is |
|
| 207 | * {@link Double } |
|
| 208 | * |
|
| 209 | */ |
|
| 210 | public void setRadius(Double value) { |
|
| 211 | 0 | this.radius = value; |
| 212 | 0 | } |
| 213 | ||
| 214 | } |