//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.08.04 at 03:25:13 AM CEST
//
package eu.prestoprime.model.oaipmh;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for verbType.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
* <p>
*
* <pre>
* <simpleType name="verbType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Identify"/>
* <enumeration value="ListMetadataFormats"/>
* <enumeration value="ListSets"/>
* <enumeration value="GetRecord"/>
* <enumeration value="ListIdentifiers"/>
* <enumeration value="ListRecords"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "verbType")
@XmlEnum
public enum VerbType {
@XmlEnumValue("Identify")
IDENTIFY("Identify"), @XmlEnumValue("ListMetadataFormats")
LIST_METADATA_FORMATS("ListMetadataFormats"), @XmlEnumValue("ListSets")
LIST_SETS("ListSets"), @XmlEnumValue("GetRecord")
GET_RECORD("GetRecord"), @XmlEnumValue("ListIdentifiers")
LIST_IDENTIFIERS("ListIdentifiers"), @XmlEnumValue("ListRecords")
LIST_RECORDS("ListRecords");
private final String value;
VerbType(String v) {
value = v;
}
public String value() {
return value;
}
public static VerbType fromValue(String v) {
for (VerbType c : VerbType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}