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 TorqueUnitOfMeasure.** <p>The following schema fragment specifies the expected content contained within this class.* <p>* <pre>* <simpleType name="TorqueUnitOfMeasure">* <restriction base="{}StringNotNull">* <enumeration value="foot-lbs"/>* <enumeration value="inch-lbs"/>* <enumeration value="centimeter_kilograms"/>* <enumeration value="foot_pounds"/>* <enumeration value="inch_ounces"/>* <enumeration value="inch_pounds"/>* <enumeration value="kilonewtons"/>* <enumeration value="kilograms_per_millimeter"/>* <enumeration value="newton_meters"/>* <enumeration value="newton_millimeters"/>* <enumeration value="newtons"/>* </restriction>* </simpleType>* </pre>**/@XmlType(name = "TorqueUnitOfMeasure")@XmlEnumpublic enum TorqueUnitOfMeasure {@XmlEnumValue("foot-lbs")FOOT_LBS("foot-lbs"),@XmlEnumValue("inch-lbs")INCH_LBS("inch-lbs"),@XmlEnumValue("centimeter_kilograms")CENTIMETER_KILOGRAMS("centimeter_kilograms"),@XmlEnumValue("foot_pounds")FOOT_POUNDS("foot_pounds"),@XmlEnumValue("inch_ounces")INCH_OUNCES("inch_ounces"),@XmlEnumValue("inch_pounds")INCH_POUNDS("inch_pounds"),@XmlEnumValue("kilonewtons")KILONEWTONS("kilonewtons"),@XmlEnumValue("kilograms_per_millimeter")KILOGRAMS_PER_MILLIMETER("kilograms_per_millimeter"),@XmlEnumValue("newton_meters")NEWTON_METERS("newton_meters"),@XmlEnumValue("newton_millimeters")NEWTON_MILLIMETERS("newton_millimeters"),@XmlEnumValue("newtons")NEWTONS("newtons");private final String value;TorqueUnitOfMeasure(String v) {value = v;}public String value() {return value;}public static TorqueUnitOfMeasure fromValue(String v) {for (TorqueUnitOfMeasure c: TorqueUnitOfMeasure.values()) {if (c.value.equals(v)) {return c;}}throw new IllegalArgumentException(v);}}