| 7487 |
kshitij.so |
1 |
//
|
|
|
2 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
|
|
3 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
|
|
4 |
// Any modifications to this file will be lost upon recompilation of the source schema.
|
|
|
5 |
// Generated on: 2013.03.04 at 03:57:00 PM IST
|
|
|
6 |
//
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
package in.shop2020.feeds.products;
|
|
|
10 |
|
|
|
11 |
import javax.xml.bind.annotation.XmlEnum;
|
|
|
12 |
import javax.xml.bind.annotation.XmlEnumValue;
|
|
|
13 |
import javax.xml.bind.annotation.XmlType;
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
/**
|
|
|
17 |
* <p>Java class for TorqueUnitOfMeasure.
|
|
|
18 |
*
|
|
|
19 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
20 |
* <p>
|
|
|
21 |
* <pre>
|
|
|
22 |
* <simpleType name="TorqueUnitOfMeasure">
|
|
|
23 |
* <restriction base="{}StringNotNull">
|
|
|
24 |
* <enumeration value="foot-lbs"/>
|
|
|
25 |
* <enumeration value="inch-lbs"/>
|
|
|
26 |
* <enumeration value="centimeter_kilograms"/>
|
|
|
27 |
* <enumeration value="foot_pounds"/>
|
|
|
28 |
* <enumeration value="inch_ounces"/>
|
|
|
29 |
* <enumeration value="inch_pounds"/>
|
|
|
30 |
* <enumeration value="kilonewtons"/>
|
|
|
31 |
* <enumeration value="kilograms_per_millimeter"/>
|
|
|
32 |
* <enumeration value="newton_meters"/>
|
|
|
33 |
* <enumeration value="newton_millimeters"/>
|
|
|
34 |
* <enumeration value="newtons"/>
|
|
|
35 |
* </restriction>
|
|
|
36 |
* </simpleType>
|
|
|
37 |
* </pre>
|
|
|
38 |
*
|
|
|
39 |
*/
|
|
|
40 |
@XmlType(name = "TorqueUnitOfMeasure")
|
|
|
41 |
@XmlEnum
|
|
|
42 |
public enum TorqueUnitOfMeasure {
|
|
|
43 |
|
|
|
44 |
@XmlEnumValue("foot-lbs")
|
|
|
45 |
FOOT_LBS("foot-lbs"),
|
|
|
46 |
@XmlEnumValue("inch-lbs")
|
|
|
47 |
INCH_LBS("inch-lbs"),
|
|
|
48 |
@XmlEnumValue("centimeter_kilograms")
|
|
|
49 |
CENTIMETER_KILOGRAMS("centimeter_kilograms"),
|
|
|
50 |
@XmlEnumValue("foot_pounds")
|
|
|
51 |
FOOT_POUNDS("foot_pounds"),
|
|
|
52 |
@XmlEnumValue("inch_ounces")
|
|
|
53 |
INCH_OUNCES("inch_ounces"),
|
|
|
54 |
@XmlEnumValue("inch_pounds")
|
|
|
55 |
INCH_POUNDS("inch_pounds"),
|
|
|
56 |
@XmlEnumValue("kilonewtons")
|
|
|
57 |
KILONEWTONS("kilonewtons"),
|
|
|
58 |
@XmlEnumValue("kilograms_per_millimeter")
|
|
|
59 |
KILOGRAMS_PER_MILLIMETER("kilograms_per_millimeter"),
|
|
|
60 |
@XmlEnumValue("newton_meters")
|
|
|
61 |
NEWTON_METERS("newton_meters"),
|
|
|
62 |
@XmlEnumValue("newton_millimeters")
|
|
|
63 |
NEWTON_MILLIMETERS("newton_millimeters"),
|
|
|
64 |
@XmlEnumValue("newtons")
|
|
|
65 |
NEWTONS("newtons");
|
|
|
66 |
private final String value;
|
|
|
67 |
|
|
|
68 |
TorqueUnitOfMeasure(String v) {
|
|
|
69 |
value = v;
|
|
|
70 |
}
|
|
|
71 |
|
|
|
72 |
public String value() {
|
|
|
73 |
return value;
|
|
|
74 |
}
|
|
|
75 |
|
|
|
76 |
public static TorqueUnitOfMeasure fromValue(String v) {
|
|
|
77 |
for (TorqueUnitOfMeasure c: TorqueUnitOfMeasure.values()) {
|
|
|
78 |
if (c.value.equals(v)) {
|
|
|
79 |
return c;
|
|
|
80 |
}
|
|
|
81 |
}
|
|
|
82 |
throw new IllegalArgumentException(v);
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
}
|