View | Details | Raw Unified | Return to bug 316785
Collapse All | Expand All

(-)jee-models/org/eclipse/jst/javaee/web/WebAppVersionType.java (+72 lines)
Lines 37-42 Link Here
37
public enum WebAppVersionType implements Enumerator
37
public enum WebAppVersionType implements Enumerator
38
{
38
{
39
	/**
39
	/**
40
	 * The '<em><b>22</b></em>' literal object.
41
	 * <!-- begin-user-doc -->
42
	 * <!-- end-user-doc -->
43
	 * @see #_22
44
	 * @generated
45
	 * @ordered
46
	 */
47
	_22_LITERAL(-1, "_22", "2.2"), //$NON-NLS-1$ //$NON-NLS-2$
48
	/**
49
	 * The '<em><b>23</b></em>' literal object.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * @see #_23
53
	 * @generated
54
	 * @ordered
55
	 */
56
	_23_LITERAL(-2, "_23", "2.3"), //$NON-NLS-1$ //$NON-NLS-2$
57
	/**
58
	 * The '<em><b>24</b></em>' literal object.
59
	 * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
61
	 * @see #_24
62
	 * @generated
63
	 * @ordered
64
	 */
65
	_24_LITERAL(-1, "_24", "2.4"), //$NON-NLS-1$ //$NON-NLS-2$
66
	/**
40
	 * The '<em><b>25</b></em>' literal object.
67
	 * The '<em><b>25</b></em>' literal object.
41
	 * <!-- begin-user-doc -->
68
	 * <!-- begin-user-doc -->
42
	 * <!-- end-user-doc -->
69
	 * <!-- end-user-doc -->
Lines 55-60 Link Here
55
	 */
82
	 */
56
	_30_LITERAL(1, "_30", "3.0"); //$NON-NLS-1$ //$NON-NLS-2$
83
	_30_LITERAL(1, "_30", "3.0"); //$NON-NLS-1$ //$NON-NLS-2$
57
	/**
84
	/**
85
	 * The '<em><b>22</b></em>' literal value.
86
	 * <!-- begin-user-doc -->
87
	 * <p>
88
	 * If the meaning of '<em><b>22</b></em>' literal object isn't clear,
89
	 * there really should be more of a description here...
90
	 * </p>
91
	 * <!-- end-user-doc -->
92
	 * @see #_22_LITERAL
93
	 * @generated
94
	 * @ordered
95
	 */
96
	public static final int _22 = -3;
97
	/**
98
	 * The '<em><b>23</b></em>' literal value.
99
	 * <!-- begin-user-doc -->
100
	 * <p>
101
	 * If the meaning of '<em><b>23</b></em>' literal object isn't clear,
102
	 * there really should be more of a description here...
103
	 * </p>
104
	 * <!-- end-user-doc -->
105
	 * @see #_23_LITERAL
106
	 * @generated
107
	 * @ordered
108
	 */
109
	public static final int _23 = -2;
110
	/**
111
	 * The '<em><b>24</b></em>' literal value.
112
	 * <!-- begin-user-doc -->
113
	 * <p>
114
	 * If the meaning of '<em><b>24</b></em>' literal object isn't clear,
115
	 * there really should be more of a description here...
116
	 * </p>
117
	 * <!-- end-user-doc -->
118
	 * @see #_24_LITERAL
119
	 * @generated
120
	 * @ordered
121
	 */
122
	public static final int _24 = -1;
123
	/**
58
	 * The '<em><b>25</b></em>' literal value.
124
	 * The '<em><b>25</b></em>' literal value.
59
	 * <!-- begin-user-doc -->
125
	 * <!-- begin-user-doc -->
60
	 * <p>
126
	 * <p>
Lines 90-95 Link Here
90
	 */
156
	 */
91
	private static final WebAppVersionType[] VALUES_ARRAY =
157
	private static final WebAppVersionType[] VALUES_ARRAY =
92
		new WebAppVersionType[] {
158
		new WebAppVersionType[] {
159
			_22_LITERAL,
160
			_23_LITERAL,
161
			_24_LITERAL,
93
			_25_LITERAL,
162
			_25_LITERAL,
94
			_30_LITERAL,
163
			_30_LITERAL,
95
		};
164
		};
Lines 142-147 Link Here
142
	 */
211
	 */
143
	public static WebAppVersionType get(int value) {
212
	public static WebAppVersionType get(int value) {
144
		switch (value) {
213
		switch (value) {
214
			case _22: return _25_LITERAL;
215
			case _23: return _25_LITERAL;
216
			case _24: return _25_LITERAL;
145
			case _25: return _25_LITERAL;
217
			case _25: return _25_LITERAL;
146
			case _30: return _30_LITERAL;
218
			case _30: return _30_LITERAL;
147
		}
219
		}

Return to bug 316785