Blame | Last modification | View Log | RSS feed
//// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6// 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: 2013.03.04 at 03:57:00 PM IST//package in.shop2020.feeds.products;import javax.xml.bind.annotation.XmlEnum;import javax.xml.bind.annotation.XmlEnumValue;import javax.xml.bind.annotation.XmlType;/*** <p>Java class for HardnessUnitOfMeasure.** <p>The following schema fragment specifies the expected content contained within this class.* <p>* <pre>* <simpleType name="HardnessUnitOfMeasure">* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <enumeration value="brinnell"/>* <enumeration value="vickers"/>* <enumeration value="rockwell_a"/>* <enumeration value="rockwell_b"/>* <enumeration value="rockwell_c"/>* <enumeration value="rockwell_d"/>* <enumeration value="shore_a"/>* <enumeration value="shore_b"/>* <enumeration value="shore_c"/>* <enumeration value="shore_d"/>* <enumeration value="shore_do"/>* <enumeration value="shore_e"/>* <enumeration value="shore_m"/>* <enumeration value="shore_o"/>* <enumeration value="shore_oo"/>* <enumeration value="shore_ooo"/>* <enumeration value="shore_ooo_s"/>* </restriction>* </simpleType>* </pre>**/@XmlType(name = "HardnessUnitOfMeasure")@XmlEnumpublic enum HardnessUnitOfMeasure {@XmlEnumValue("brinnell")BRINNELL("brinnell"),@XmlEnumValue("vickers")VICKERS("vickers"),@XmlEnumValue("rockwell_a")ROCKWELL_A("rockwell_a"),@XmlEnumValue("rockwell_b")ROCKWELL_B("rockwell_b"),@XmlEnumValue("rockwell_c")ROCKWELL_C("rockwell_c"),@XmlEnumValue("rockwell_d")ROCKWELL_D("rockwell_d"),@XmlEnumValue("shore_a")SHORE_A("shore_a"),@XmlEnumValue("shore_b")SHORE_B("shore_b"),@XmlEnumValue("shore_c")SHORE_C("shore_c"),@XmlEnumValue("shore_d")SHORE_D("shore_d"),@XmlEnumValue("shore_do")SHORE_DO("shore_do"),@XmlEnumValue("shore_e")SHORE_E("shore_e"),@XmlEnumValue("shore_m")SHORE_M("shore_m"),@XmlEnumValue("shore_o")SHORE_O("shore_o"),@XmlEnumValue("shore_oo")SHORE_OO("shore_oo"),@XmlEnumValue("shore_ooo")SHORE_OOO("shore_ooo"),@XmlEnumValue("shore_ooo_s")SHORE_OOO_S("shore_ooo_s");private final String value;HardnessUnitOfMeasure(String v) {value = v;}public String value() {return value;}public static HardnessUnitOfMeasure fromValue(String v) {for (HardnessUnitOfMeasure c: HardnessUnitOfMeasure.values()) {if (c.value.equals(v)) {return c;}}throw new IllegalArgumentException(v);}}