1
|
//
|
2
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-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: 2009.11.02 at 12:58:05 PM GMT
|
6
|
//
|
7
|
|
8
|
|
9
|
package eu.etaxonomy.cdm.remote.dto.oaipmh;
|
10
|
|
11
|
import javax.xml.bind.annotation.XmlEnum;
|
12
|
import javax.xml.bind.annotation.XmlEnumValue;
|
13
|
|
14
|
|
15
|
/**
|
16
|
* <p>Java class for verbType.
|
17
|
*
|
18
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
19
|
* <p>
|
20
|
* <pre>
|
21
|
* <simpleType name="verbType">
|
22
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
23
|
* <enumeration value="Identify"/>
|
24
|
* <enumeration value="ListMetadataFormats"/>
|
25
|
* <enumeration value="ListSets"/>
|
26
|
* <enumeration value="GetRecord"/>
|
27
|
* <enumeration value="ListIdentifiers"/>
|
28
|
* <enumeration value="ListRecords"/>
|
29
|
* </restriction>
|
30
|
* </simpleType>
|
31
|
* </pre>
|
32
|
*
|
33
|
*/
|
34
|
@XmlEnum
|
35
|
public enum Verb {
|
36
|
|
37
|
@XmlEnumValue("Identify")
|
38
|
IDENTIFY("Identify"),
|
39
|
@XmlEnumValue("ListMetadataFormats")
|
40
|
LIST_METADATA_FORMATS("ListMetadataFormats"),
|
41
|
@XmlEnumValue("ListSets")
|
42
|
LIST_SETS("ListSets"),
|
43
|
@XmlEnumValue("GetRecord")
|
44
|
GET_RECORD("GetRecord"),
|
45
|
@XmlEnumValue("ListIdentifiers")
|
46
|
LIST_IDENTIFIERS("ListIdentifiers"),
|
47
|
@XmlEnumValue("ListRecords")
|
48
|
LIST_RECORDS("ListRecords");
|
49
|
private final String value;
|
50
|
|
51
|
Verb(String v) {
|
52
|
value = v;
|
53
|
}
|
54
|
|
55
|
public String value() {
|
56
|
return value;
|
57
|
}
|
58
|
|
59
|
public static Verb fromValue(String v) {
|
60
|
for (Verb c: Verb.values()) {
|
61
|
if (c.value.equals(v)) {
|
62
|
return c;
|
63
|
}
|
64
|
}
|
65
|
throw new IllegalArgumentException(v);
|
66
|
}
|
67
|
|
68
|
}
|