Tizen 2.1 base
[sdk/emulator/qemu.git] / tizen / src / skin / client / jaxb_src / org / tizen / emulator / skin / dbi / RotationNameType.java
1 /**
2  *
3  *
4  * Copyright ( C ) 2011 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:
7  * GiWoong Kim <giwoong.kim@samsung.com>
8  * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or ( at your option ) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
23  *
24  * Contributors:
25  * - S-Core Co., Ltd
26  *
27  */
28
29 //
30 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5 
31 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
32 // Any modifications to this file will be lost upon recompilation of the source schema. 
33 // Generated on: 2012.10.22 at 04:10:02 PM KST 
34 //
35
36
37 package org.tizen.emulator.skin.dbi;
38
39 import javax.xml.bind.annotation.XmlEnum;
40 import javax.xml.bind.annotation.XmlEnumValue;
41 import javax.xml.bind.annotation.XmlType;
42
43
44 /**
45  * <p>Java class for rotationNameType.
46  * 
47  * <p>The following schema fragment specifies the expected content contained within this class.
48  * <p>
49  * <pre>
50  * &lt;simpleType name="rotationNameType">
51  *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
52  *     &lt;enumeration value="Portrait"/>
53  *     &lt;enumeration value="Landscape"/>
54  *     &lt;enumeration value="Reverse Portrait"/>
55  *     &lt;enumeration value="Reverse Landscape"/>
56  *   &lt;/restriction>
57  * &lt;/simpleType>
58  * </pre>
59  * 
60  */
61 @XmlType(name = "rotationNameType")
62 @XmlEnum
63 public enum RotationNameType {
64
65     @XmlEnumValue("Portrait")
66     PORTRAIT("Portrait"),
67     @XmlEnumValue("Landscape")
68     LANDSCAPE("Landscape"),
69     @XmlEnumValue("Reverse Portrait")
70     REVERSE_PORTRAIT("Reverse Portrait"),
71     @XmlEnumValue("Reverse Landscape")
72     REVERSE_LANDSCAPE("Reverse Landscape");
73     private final String value;
74
75     RotationNameType(String v) {
76         value = v;
77     }
78
79     public String value() {
80         return value;
81     }
82
83     public static RotationNameType fromValue(String v) {
84         for (RotationNameType c: RotationNameType.values()) {
85             if (c.value.equals(v)) {
86                 return c;
87             }
88         }
89         throw new IllegalArgumentException(v);
90     }
91
92 }