Project

General

Profile

Download (2.91 KB) Statistics
| Branch: | Tag: | Revision:
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.XmlType;
16

    
17

    
18
/**
19
 * <p>Java class for anonymous complex type.
20
 *
21
 * <p>The following schema fragment specifies the expected content contained within this class.
22
 *
23
 * <pre>
24
 * &lt;complexType>
25
 *   &lt;complexContent>
26
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27
 *       &lt;attribute name="term" use="required">
28
 *         &lt;simpleType>
29
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
30
 *             &lt;enumeration value="http://purl.org/dc/terms/description"/>
31
 *             &lt;enumeration value="http://purl.org/dc/terms/language"/>
32
 *             &lt;enumeration value="http://purl.org/dc/terms/source"/>
33
 *             &lt;enumeration value="http://purl.org/dc/terms/type"/>
34
 *             &lt;enumeration value="http://rs.tdwg.org/dwc/terms/acceptedNameUsageID"/>
35
 *             &lt;enumeration value="http://rs.tdwg.org/dwc/terms/scientificNameID"/>
36
 *             &lt;enumeration value="http://rs.tdwg.org/dwc/terms/taxonConceptID"/>
37
 *             &lt;enumeration value="http://rs.tdwg.org/dwc/terms/vernacularName"/>
38
 *           &lt;/restriction>
39
 *         &lt;/simpleType>
40
 *       &lt;/attribute>
41
 *       &lt;attribute name="index" use="required">
42
 *         &lt;simpleType>
43
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}byte">
44
 *             &lt;enumeration value="1"/>
45
 *             &lt;enumeration value="2"/>
46
 *             &lt;enumeration value="3"/>
47
 *             &lt;enumeration value="4"/>
48
 *           &lt;/restriction>
49
 *         &lt;/simpleType>
50
 *       &lt;/attribute>
51
 *     &lt;/restriction>
52
 *   &lt;/complexContent>
53
 * &lt;/complexType>
54
 * </pre>
55
 *
56
 *
57
 */
58
@XmlAccessorType(XmlAccessType.FIELD)
59
@XmlType(name = "")
60
@XmlRootElement(name = "field")
61
public class Field {
62

    
63
    @XmlAttribute(required = true)
64
    protected String term;
65
    @XmlAttribute(required = true)
66
    protected byte index;
67

    
68
    public String getTerm() {
69
        return term;
70
    }
71
    public void setTerm(String value) {
72
        this.term = value;
73
    }
74

    
75

    
76
    public byte getIndex() {
77
        return index;
78
    }
79
    public void setIndex(byte value) {
80
        this.index = value;
81
    }
82
    
83
    @Override
84
    public String toString(){
85
    	return "[" + index + ";" + term + "]";
86
    }
87

    
88
}
(6-6/10)