| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
| AbstractGeometryType |
|
| 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.XmlSeeAlso; |
|
| 19 | import javax.xml.bind.annotation.XmlType; |
|
| 20 | ||
| 21 | ||
| 22 | /** |
|
| 23 | * All geometry elements are derived directly or indirectly from this abstract supertype. A geometry element may have an identifying attribute ("gml:id"), a name (attribute "name") and a description (attribute "description"). It may be associated with a spatial reference system (attribute "srsName"). The following rules shall be adhered: - Every geometry type shall derive from this abstract type. - Every geometry element (i.e. an element of a geometry type) shall be directly or indirectly in the substitution group of _Geometry. |
|
| 24 | * |
|
| 25 | * <p>Java class for AbstractGeometryType complex type. |
|
| 26 | * |
|
| 27 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 28 | * |
|
| 29 | * <pre> |
|
| 30 | * <complexType name="AbstractGeometryType"> |
|
| 31 | * <complexContent> |
|
| 32 | * <extension base="{http://www.opengis.net/gml}AbstractGMLType"> |
|
| 33 | * <attGroup ref="{http://www.opengis.net/gml}SRSReferenceGroup"/> |
|
| 34 | * <attribute name="gid" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|
| 35 | * </extension> |
|
| 36 | * </complexContent> |
|
| 37 | * </complexType> |
|
| 38 | * </pre> |
|
| 39 | * |
|
| 40 | * |
|
| 41 | */ |
|
| 42 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 43 | @XmlType(name = "AbstractGeometryType") |
|
| 44 | @XmlSeeAlso({ |
|
| 45 | AbstractRingType.class, |
|
| 46 | AbstractGeometricPrimitiveType.class |
|
| 47 | }) |
|
| 48 | 6 | public abstract class AbstractGeometryType |
| 49 | extends AbstractGMLType |
|
| 50 | { |
|
| 51 | ||
| 52 | @XmlAttribute |
|
| 53 | protected String gid; |
|
| 54 | @XmlAttribute |
|
| 55 | @XmlSchemaType(name = "anyURI") |
|
| 56 | protected String srsName; |
|
| 57 | @XmlAttribute |
|
| 58 | @XmlSchemaType(name = "positiveInteger") |
|
| 59 | protected BigInteger srsDimension; |
|
| 60 | @XmlAttribute |
|
| 61 | protected List<String> axisLabels; |
|
| 62 | @XmlAttribute |
|
| 63 | protected List<String> uomLabels; |
|
| 64 | ||
| 65 | /** |
|
| 66 | * Gets the value of the gid property. |
|
| 67 | * |
|
| 68 | * @return |
|
| 69 | * possible object is |
|
| 70 | * {@link String } |
|
| 71 | * |
|
| 72 | */ |
|
| 73 | public String getGid() { |
|
| 74 | 0 | return gid; |
| 75 | } |
|
| 76 | ||
| 77 | /** |
|
| 78 | * Sets the value of the gid property. |
|
| 79 | * |
|
| 80 | * @param value |
|
| 81 | * allowed object is |
|
| 82 | * {@link String } |
|
| 83 | * |
|
| 84 | */ |
|
| 85 | public void setGid(String value) { |
|
| 86 | 0 | this.gid = value; |
| 87 | 0 | } |
| 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 | } |