org.drmcrop.PhytophthoraResistanceClassEnumeration Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.10.22 at 06:25:25 PM CEST
//
package org.drmcrop;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PhytophthoraResistanceClassEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PhytophthoraResistanceClassEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="VERY_SUSCEPTIBLE"/>
* <enumeration value="FAIRLY"/>
* <enumeration value="REASONABLE"/>
* <enumeration value="GOOD"/>
* <enumeration value="VERY_GOOD"/>
* <enumeration value="to be completed !!"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PhytophthoraResistanceClassEnumeration", namespace = "http://www.drmCrop.org/schemas/Enumerations")
@XmlEnum
public enum PhytophthoraResistanceClassEnumeration {
VERY_SUSCEPTIBLE("VERY_SUSCEPTIBLE"),
FAIRLY("FAIRLY"),
REASONABLE("REASONABLE"),
GOOD("GOOD"),
VERY_GOOD("VERY_GOOD"),
@XmlEnumValue("to be completed !!")
TO_BE_COMPLETED("to be completed !!");
private final String value;
PhytophthoraResistanceClassEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static PhytophthoraResistanceClassEnumeration fromValue(String v) {
for (PhytophthoraResistanceClassEnumeration c: PhytophthoraResistanceClassEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy