1
|
//
|
2
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
|
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: 2011.10.17 at 04:06:44 PM CEST
|
6
|
//
|
7
|
|
8
|
|
9
|
package eu.etaxonomy.cdm.io.dwca.jaxb;
|
10
|
|
11
|
import javax.xml.bind.annotation.XmlAccessType;
|
12
|
import javax.xml.bind.annotation.XmlAccessorType;
|
13
|
import javax.xml.bind.annotation.XmlAttribute;
|
14
|
import javax.xml.bind.annotation.XmlRootElement;
|
15
|
import javax.xml.bind.annotation.XmlTransient;
|
16
|
import javax.xml.bind.annotation.XmlType;
|
17
|
|
18
|
|
19
|
/**
|
20
|
* <p>Java class for anonymous complex type.
|
21
|
*
|
22
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
23
|
*
|
24
|
* <pre>
|
25
|
* <complexType>
|
26
|
* <complexContent>
|
27
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
28
|
* <attribute name="term" use="required">
|
29
|
* <simpleType>
|
30
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
|
31
|
* <enumeration value="http://purl.org/dc/terms/description"/>
|
32
|
* <enumeration value="http://purl.org/dc/terms/language"/>
|
33
|
* <enumeration value="http://purl.org/dc/terms/source"/>
|
34
|
* <enumeration value="http://purl.org/dc/terms/type"/>
|
35
|
* <enumeration value="http://rs.tdwg.org/dwc/terms/acceptedNameUsageID"/>
|
36
|
* <enumeration value="http://rs.tdwg.org/dwc/terms/scientificNameID"/>
|
37
|
* <enumeration value="http://rs.tdwg.org/dwc/terms/taxonConceptID"/>
|
38
|
* <enumeration value="http://rs.tdwg.org/dwc/terms/vernacularName"/>
|
39
|
* </restriction>
|
40
|
* </simpleType>
|
41
|
* </attribute>
|
42
|
* <attribute name="index" use="required">
|
43
|
* <simpleType>
|
44
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}byte">
|
45
|
* <enumeration value="1"/>
|
46
|
* <enumeration value="2"/>
|
47
|
* <enumeration value="3"/>
|
48
|
* <enumeration value="4"/>
|
49
|
* </restriction>
|
50
|
* </simpleType>
|
51
|
* </attribute>
|
52
|
* </restriction>
|
53
|
* </complexContent>
|
54
|
* </complexType>
|
55
|
* </pre>
|
56
|
*
|
57
|
*
|
58
|
*/
|
59
|
@XmlAccessorType(XmlAccessType.FIELD)
|
60
|
@XmlType(name = "")
|
61
|
@XmlRootElement(name = "field")
|
62
|
public class Field {
|
63
|
|
64
|
@XmlAttribute(required = true)
|
65
|
protected String term;
|
66
|
@XmlAttribute(required = true)
|
67
|
protected byte index = -1;
|
68
|
@XmlTransient
|
69
|
protected String defaultValue;
|
70
|
|
71
|
|
72
|
public String getTerm() {
|
73
|
return term;
|
74
|
}
|
75
|
public void setTerm(String value) {
|
76
|
this.term = value;
|
77
|
}
|
78
|
|
79
|
|
80
|
public byte getIndex() {
|
81
|
return index;
|
82
|
}
|
83
|
public void setIndex(byte value) {
|
84
|
this.index = value;
|
85
|
}
|
86
|
|
87
|
@XmlAttribute(required = false)
|
88
|
public String getDefault() {
|
89
|
return defaultValue;
|
90
|
}
|
91
|
public void setDefault(String defaultValue) {
|
92
|
this.defaultValue = defaultValue;
|
93
|
}
|
94
|
|
95
|
@Override
|
96
|
public String toString(){
|
97
|
return "[" + index + ";" + term + (defaultValue != null? ";" + defaultValue:"") + "]";
|
98
|
}
|
99
|
|
100
|
}
|