//
// 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 deletedRecordType.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
* <p>
*
* <pre>
* <simpleType name="deletedRecordType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="no"/>
* <enumeration value="persistent"/>
* <enumeration value="transient"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "deletedRecordType")
@XmlEnum
public enum DeletedRecordType {
@XmlEnumValue("no")
NO("no"), @XmlEnumValue("persistent")
PERSISTENT("persistent"), @XmlEnumValue("transient")
TRANSIENT("transient");
private final String value;
DeletedRecordType(String v) {
value = v;
}
public String value() {
return value;
}
public static DeletedRecordType fromValue(String v) {
for (DeletedRecordType c : DeletedRecordType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}