1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-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: 2007.08.06 at 08:17:38 PM MSD
6 //
7
8
9 package org.riverock.dbrevision.annotation.schema.db;
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.XmlElement;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /**
21 * <p>Java class for DbIndex complex type.
22 *
23 * <p>The following schema fragment specifies the expected content contained within this class.
24 *
25 * <pre>
26 * <complexType name="DbIndex">
27 * <complexContent>
28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * <sequence>
30 * <element name="Column" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbIndexColumn" maxOccurs="unbounded"/>
31 * </sequence>
32 * <attribute name="cardinality" type="{http://www.w3.org/2001/XMLSchema}int" />
33 * <attribute name="catalogName" type="{http://www.w3.org/2001/XMLSchema}string" />
34 * <attribute name="filterCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
35 * <attribute name="indexName" type="{http://www.w3.org/2001/XMLSchema}string" />
36 * <attribute name="indexQualifier" type="{http://www.w3.org/2001/XMLSchema}string" />
37 * <attribute name="isNonUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
38 * <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}int" />
39 * <attribute name="schemaName" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * <attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
41 * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}int" />
42 * </restriction>
43 * </complexContent>
44 * </complexType>
45 * </pre>
46 *
47 *
48 */
49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "DbIndex", propOrder = {
51 "columns"
52 })
53 public class DbIndex {
54
55 @XmlElement(name = "Column", required = true)
56 protected List<DbIndexColumn> columns;
57 @XmlAttribute
58 protected Integer cardinality;
59 @XmlAttribute
60 protected String catalogName;
61 @XmlAttribute
62 protected String filterCondition;
63 @XmlAttribute
64 protected String indexName;
65 @XmlAttribute
66 protected String indexQualifier;
67 @XmlAttribute(name = "isNonUnique")
68 protected Boolean nonUnique;
69 @XmlAttribute
70 protected Integer pages;
71 @XmlAttribute
72 protected String schemaName;
73 @XmlAttribute(required = true)
74 protected String tableName;
75 @XmlAttribute
76 protected Integer type;
77
78 /**
79 * Gets the value of the columns property.
80 *
81 * <p>
82 * This accessor method returns a reference to the live list,
83 * not a snapshot. Therefore any modification you make to the
84 * returned list will be present inside the JAXB object.
85 * This is why there is not a <CODE>set</CODE> method for the columns property.
86 *
87 * <p>
88 * For example, to add a new item, do as follows:
89 * <pre>
90 * getColumns().add(newItem);
91 * </pre>
92 *
93 *
94 * <p>
95 * Objects of the following type(s) are allowed in the list
96 * {@link DbIndexColumn }
97 *
98 *
99 */
100 public List<DbIndexColumn> getColumns() {
101 if (columns == null) {
102 columns = new ArrayList<DbIndexColumn>();
103 }
104 return this.columns;
105 }
106
107 /**
108 * Gets the value of the cardinality property.
109 *
110 * @return
111 * possible object is
112 * {@link Integer }
113 *
114 */
115 public Integer getCardinality() {
116 return cardinality;
117 }
118
119 /**
120 * Sets the value of the cardinality property.
121 *
122 * @param value
123 * allowed object is
124 * {@link Integer }
125 *
126 */
127 public void setCardinality(Integer value) {
128 this.cardinality = value;
129 }
130
131 /**
132 * Gets the value of the catalogName property.
133 *
134 * @return
135 * possible object is
136 * {@link String }
137 *
138 */
139 public String getCatalogName() {
140 return catalogName;
141 }
142
143 /**
144 * Sets the value of the catalogName property.
145 *
146 * @param value
147 * allowed object is
148 * {@link String }
149 *
150 */
151 public void setCatalogName(String value) {
152 this.catalogName = value;
153 }
154
155 /**
156 * Gets the value of the filterCondition property.
157 *
158 * @return
159 * possible object is
160 * {@link String }
161 *
162 */
163 public String getFilterCondition() {
164 return filterCondition;
165 }
166
167 /**
168 * Sets the value of the filterCondition property.
169 *
170 * @param value
171 * allowed object is
172 * {@link String }
173 *
174 */
175 public void setFilterCondition(String value) {
176 this.filterCondition = value;
177 }
178
179 /**
180 * Gets the value of the indexName property.
181 *
182 * @return
183 * possible object is
184 * {@link String }
185 *
186 */
187 public String getIndexName() {
188 return indexName;
189 }
190
191 /**
192 * Sets the value of the indexName property.
193 *
194 * @param value
195 * allowed object is
196 * {@link String }
197 *
198 */
199 public void setIndexName(String value) {
200 this.indexName = value;
201 }
202
203 /**
204 * Gets the value of the indexQualifier property.
205 *
206 * @return
207 * possible object is
208 * {@link String }
209 *
210 */
211 public String getIndexQualifier() {
212 return indexQualifier;
213 }
214
215 /**
216 * Sets the value of the indexQualifier property.
217 *
218 * @param value
219 * allowed object is
220 * {@link String }
221 *
222 */
223 public void setIndexQualifier(String value) {
224 this.indexQualifier = value;
225 }
226
227 /**
228 * Gets the value of the nonUnique property.
229 *
230 * @return
231 * possible object is
232 * {@link Boolean }
233 *
234 */
235 public Boolean isNonUnique() {
236 return nonUnique;
237 }
238
239 /**
240 * Sets the value of the nonUnique property.
241 *
242 * @param value
243 * allowed object is
244 * {@link Boolean }
245 *
246 */
247 public void setNonUnique(Boolean value) {
248 this.nonUnique = value;
249 }
250
251 /**
252 * Gets the value of the pages property.
253 *
254 * @return
255 * possible object is
256 * {@link Integer }
257 *
258 */
259 public Integer getPages() {
260 return pages;
261 }
262
263 /**
264 * Sets the value of the pages property.
265 *
266 * @param value
267 * allowed object is
268 * {@link Integer }
269 *
270 */
271 public void setPages(Integer value) {
272 this.pages = value;
273 }
274
275 /**
276 * Gets the value of the schemaName property.
277 *
278 * @return
279 * possible object is
280 * {@link String }
281 *
282 */
283 public String getSchemaName() {
284 return schemaName;
285 }
286
287 /**
288 * Sets the value of the schemaName property.
289 *
290 * @param value
291 * allowed object is
292 * {@link String }
293 *
294 */
295 public void setSchemaName(String value) {
296 this.schemaName = value;
297 }
298
299 /**
300 * Gets the value of the tableName property.
301 *
302 * @return
303 * possible object is
304 * {@link String }
305 *
306 */
307 public String getTableName() {
308 return tableName;
309 }
310
311 /**
312 * Sets the value of the tableName property.
313 *
314 * @param value
315 * allowed object is
316 * {@link String }
317 *
318 */
319 public void setTableName(String value) {
320 this.tableName = value;
321 }
322
323 /**
324 * Gets the value of the type property.
325 *
326 * @return
327 * possible object is
328 * {@link Integer }
329 *
330 */
331 public Integer getType() {
332 return type;
333 }
334
335 /**
336 * Sets the value of the type property.
337 *
338 * @param value
339 * allowed object is
340 * {@link Integer }
341 *
342 */
343 public void setType(Integer value) {
344 this.type = value;
345 }
346
347 }