Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
AbstractGMLType |
|
| 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.annotation.XmlAccessType; |
|
14 | import javax.xml.bind.annotation.XmlAccessorType; |
|
15 | import javax.xml.bind.annotation.XmlAttribute; |
|
16 | import javax.xml.bind.annotation.XmlID; |
|
17 | import javax.xml.bind.annotation.XmlSchemaType; |
|
18 | import javax.xml.bind.annotation.XmlSeeAlso; |
|
19 | import javax.xml.bind.annotation.XmlType; |
|
20 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
|
21 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
|
22 | ||
23 | ||
24 | /** |
|
25 | * All complexContent GML elements are directly or indirectly derived from this abstract supertype |
|
26 | * to establish a hierarchy of GML types that may be distinguished from other XML types by their ancestry. |
|
27 | * Elements in this hierarchy may have an ID and are thus referenceable. |
|
28 | * |
|
29 | * <p>Java class for AbstractGMLType complex type. |
|
30 | * |
|
31 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
32 | * |
|
33 | * <pre> |
|
34 | * <complexType name="AbstractGMLType"> |
|
35 | * <complexContent> |
|
36 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
37 | * <sequence> |
|
38 | * <group ref="{http://www.opengis.net/gml}StandardObjectProperties"/> |
|
39 | * </sequence> |
|
40 | * <attribute ref="{http://www.opengis.net/gml}id"/> |
|
41 | * </restriction> |
|
42 | * </complexContent> |
|
43 | * </complexType> |
|
44 | * </pre> |
|
45 | * |
|
46 | * |
|
47 | */ |
|
48 | @XmlAccessorType(XmlAccessType.FIELD) |
|
49 | @XmlType(name = "AbstractGMLType", propOrder = { |
|
50 | "metaDataProperty", |
|
51 | "description", |
|
52 | "name" |
|
53 | }) |
|
54 | @XmlSeeAlso({ |
|
55 | AbstractGeometryType.class |
|
56 | }) |
|
57 | 6 | public abstract class AbstractGMLType { |
58 | ||
59 | protected List<MetaDataPropertyType> metaDataProperty; |
|
60 | protected StringOrRefType description; |
|
61 | protected List<CodeType> name; |
|
62 | @XmlAttribute(namespace = "http://www.opengis.net/gml") |
|
63 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
|
64 | @XmlID |
|
65 | @XmlSchemaType(name = "ID") |
|
66 | protected String id; |
|
67 | ||
68 | /** |
|
69 | * Gets the value of the metaDataProperty property. |
|
70 | * |
|
71 | * <p> |
|
72 | * This accessor method returns a reference to the live list, |
|
73 | * not a snapshot. Therefore any modification you make to the |
|
74 | * returned list will be present inside the JAXB object. |
|
75 | * This is why there is not a <CODE>set</CODE> method for the metaDataProperty property. |
|
76 | * |
|
77 | * <p> |
|
78 | * For example, to add a new item, do as follows: |
|
79 | * <pre> |
|
80 | * getMetaDataProperty().add(newItem); |
|
81 | * </pre> |
|
82 | * |
|
83 | * |
|
84 | * <p> |
|
85 | * Objects of the following type(s) are allowed in the list |
|
86 | * {@link MetaDataPropertyType } |
|
87 | * |
|
88 | * |
|
89 | */ |
|
90 | public List<MetaDataPropertyType> getMetaDataProperty() { |
|
91 | 0 | if (metaDataProperty == null) { |
92 | 0 | metaDataProperty = new ArrayList<MetaDataPropertyType>(); |
93 | } |
|
94 | 0 | return this.metaDataProperty; |
95 | } |
|
96 | ||
97 | /** |
|
98 | * Gets the value of the description property. |
|
99 | * |
|
100 | * @return |
|
101 | * possible object is |
|
102 | * {@link StringOrRefType } |
|
103 | * |
|
104 | */ |
|
105 | public StringOrRefType getDescription() { |
|
106 | 0 | return description; |
107 | } |
|
108 | ||
109 | /** |
|
110 | * Sets the value of the description property. |
|
111 | * |
|
112 | * @param value |
|
113 | * allowed object is |
|
114 | * {@link StringOrRefType } |
|
115 | * |
|
116 | */ |
|
117 | public void setDescription(StringOrRefType value) { |
|
118 | 0 | this.description = value; |
119 | 0 | } |
120 | ||
121 | /** |
|
122 | * Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority. Gets the value of the name property. |
|
123 | * |
|
124 | * <p> |
|
125 | * This accessor method returns a reference to the live list, |
|
126 | * not a snapshot. Therefore any modification you make to the |
|
127 | * returned list will be present inside the JAXB object. |
|
128 | * This is why there is not a <CODE>set</CODE> method for the name property. |
|
129 | * |
|
130 | * <p> |
|
131 | * For example, to add a new item, do as follows: |
|
132 | * <pre> |
|
133 | * getName().add(newItem); |
|
134 | * </pre> |
|
135 | * |
|
136 | * |
|
137 | * <p> |
|
138 | * Objects of the following type(s) are allowed in the list |
|
139 | * {@link CodeType } |
|
140 | * |
|
141 | * |
|
142 | */ |
|
143 | public List<CodeType> getName() { |
|
144 | 0 | if (name == null) { |
145 | 0 | name = new ArrayList<CodeType>(); |
146 | } |
|
147 | 0 | return this.name; |
148 | } |
|
149 | ||
150 | /** |
|
151 | * Gets the value of the id property. |
|
152 | * |
|
153 | * @return |
|
154 | * possible object is |
|
155 | * {@link String } |
|
156 | * |
|
157 | */ |
|
158 | public String getId() { |
|
159 | 0 | return id; |
160 | } |
|
161 | ||
162 | /** |
|
163 | * Sets the value of the id property. |
|
164 | * |
|
165 | * @param value |
|
166 | * allowed object is |
|
167 | * {@link String } |
|
168 | * |
|
169 | */ |
|
170 | public void setId(String value) { |
|
171 | 0 | this.id = value; |
172 | 0 | } |
173 | ||
174 | } |