eu.agrosense.api.drmcrop.ProductFormEnumeration 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.07.06 at 10:13:00 AM CEST
//
package eu.agrosense.api.drmcrop;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ProductFormEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ProductFormEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="GRANULATE"/>
* <enumeration value="MULCH"/>
* <enumeration value="GRANULE"/>
* <enumeration value="POWDER"/>
* <enumeration value="Tablets"/>
* <enumeration value="CHRYSTALINE"/>
* <enumeration value="PRILLS"/>
* <enumeration value="FLUID"/>
* <enumeration value="CRUMBS"/>
* <enumeration value="FLOCKS"/>
* <enumeration value="FLAKES"/>
* <enumeration value="SUPER_GRANULE"/>
* <enumeration value="BRIQUETTES"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ProductFormEnumeration", namespace = "http://www.drmCrop.org/schemas/Enumerations")
@XmlEnum
public enum ProductFormEnumeration {
GRANULATE("GRANULATE"),
MULCH("MULCH"),
GRANULE("GRANULE"),
POWDER("POWDER"),
@XmlEnumValue("Tablets")
TABLETS("Tablets"),
CHRYSTALINE("CHRYSTALINE"),
PRILLS("PRILLS"),
FLUID("FLUID"),
CRUMBS("CRUMBS"),
FLOCKS("FLOCKS"),
FLAKES("FLAKES"),
SUPER_GRANULE("SUPER_GRANULE"),
BRIQUETTES("BRIQUETTES");
private final String value;
ProductFormEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static ProductFormEnumeration fromValue(String v) {
for (ProductFormEnumeration c: ProductFormEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy