| 7481 |
vikram.rag |
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 HardnessUnitOfMeasure.
|
|
|
18 |
*
|
|
|
19 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
20 |
* <p>
|
|
|
21 |
* <pre>
|
|
|
22 |
* <simpleType name="HardnessUnitOfMeasure">
|
|
|
23 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
24 |
* <enumeration value="brinnell"/>
|
|
|
25 |
* <enumeration value="vickers"/>
|
|
|
26 |
* <enumeration value="rockwell_a"/>
|
|
|
27 |
* <enumeration value="rockwell_b"/>
|
|
|
28 |
* <enumeration value="rockwell_c"/>
|
|
|
29 |
* <enumeration value="rockwell_d"/>
|
|
|
30 |
* <enumeration value="shore_a"/>
|
|
|
31 |
* <enumeration value="shore_b"/>
|
|
|
32 |
* <enumeration value="shore_c"/>
|
|
|
33 |
* <enumeration value="shore_d"/>
|
|
|
34 |
* <enumeration value="shore_do"/>
|
|
|
35 |
* <enumeration value="shore_e"/>
|
|
|
36 |
* <enumeration value="shore_m"/>
|
|
|
37 |
* <enumeration value="shore_o"/>
|
|
|
38 |
* <enumeration value="shore_oo"/>
|
|
|
39 |
* <enumeration value="shore_ooo"/>
|
|
|
40 |
* <enumeration value="shore_ooo_s"/>
|
|
|
41 |
* </restriction>
|
|
|
42 |
* </simpleType>
|
|
|
43 |
* </pre>
|
|
|
44 |
*
|
|
|
45 |
*/
|
|
|
46 |
@XmlType(name = "HardnessUnitOfMeasure")
|
|
|
47 |
@XmlEnum
|
|
|
48 |
public enum HardnessUnitOfMeasure {
|
|
|
49 |
|
|
|
50 |
@XmlEnumValue("brinnell")
|
|
|
51 |
BRINNELL("brinnell"),
|
|
|
52 |
@XmlEnumValue("vickers")
|
|
|
53 |
VICKERS("vickers"),
|
|
|
54 |
@XmlEnumValue("rockwell_a")
|
|
|
55 |
ROCKWELL_A("rockwell_a"),
|
|
|
56 |
@XmlEnumValue("rockwell_b")
|
|
|
57 |
ROCKWELL_B("rockwell_b"),
|
|
|
58 |
@XmlEnumValue("rockwell_c")
|
|
|
59 |
ROCKWELL_C("rockwell_c"),
|
|
|
60 |
@XmlEnumValue("rockwell_d")
|
|
|
61 |
ROCKWELL_D("rockwell_d"),
|
|
|
62 |
@XmlEnumValue("shore_a")
|
|
|
63 |
SHORE_A("shore_a"),
|
|
|
64 |
@XmlEnumValue("shore_b")
|
|
|
65 |
SHORE_B("shore_b"),
|
|
|
66 |
@XmlEnumValue("shore_c")
|
|
|
67 |
SHORE_C("shore_c"),
|
|
|
68 |
@XmlEnumValue("shore_d")
|
|
|
69 |
SHORE_D("shore_d"),
|
|
|
70 |
@XmlEnumValue("shore_do")
|
|
|
71 |
SHORE_DO("shore_do"),
|
|
|
72 |
@XmlEnumValue("shore_e")
|
|
|
73 |
SHORE_E("shore_e"),
|
|
|
74 |
@XmlEnumValue("shore_m")
|
|
|
75 |
SHORE_M("shore_m"),
|
|
|
76 |
@XmlEnumValue("shore_o")
|
|
|
77 |
SHORE_O("shore_o"),
|
|
|
78 |
@XmlEnumValue("shore_oo")
|
|
|
79 |
SHORE_OO("shore_oo"),
|
|
|
80 |
@XmlEnumValue("shore_ooo")
|
|
|
81 |
SHORE_OOO("shore_ooo"),
|
|
|
82 |
@XmlEnumValue("shore_ooo_s")
|
|
|
83 |
SHORE_OOO_S("shore_ooo_s");
|
|
|
84 |
private final String value;
|
|
|
85 |
|
|
|
86 |
HardnessUnitOfMeasure(String v) {
|
|
|
87 |
value = v;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
public String value() {
|
|
|
91 |
return value;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
public static HardnessUnitOfMeasure fromValue(String v) {
|
|
|
95 |
for (HardnessUnitOfMeasure c: HardnessUnitOfMeasure.values()) {
|
|
|
96 |
if (c.value.equals(v)) {
|
|
|
97 |
return c;
|
|
|
98 |
}
|
|
|
99 |
}
|
|
|
100 |
throw new IllegalArgumentException(v);
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
}
|