aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java
diff options
context:
space:
mode:
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java257
1 files changed, 257 insertions, 0 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java
new file mode 100644
index 00000000..d57ccf81
--- /dev/null
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java
@@ -0,0 +1,257 @@
1/**
2 * generated by Xtext 2.10.0
3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration;
5
6import java.util.Arrays;
7import java.util.Collections;
8import java.util.List;
9
10import org.eclipse.emf.common.util.Enumerator;
11
12/**
13 * <!-- begin-user-doc -->
14 * A representation of the literals of the enumeration '<em><b>Document Level Specification</b></em>',
15 * and utility methods for working with them.
16 * <!-- end-user-doc -->
17 * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentLevelSpecification()
18 * @model
19 * @generated
20 */
21public enum DocumentLevelSpecification implements Enumerator
22{
23 /**
24 * The '<em><b>None</b></em>' literal object.
25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc -->
27 * @see #NONE_VALUE
28 * @generated
29 * @ordered
30 */
31 NONE(0, "none", "none"),
32
33 /**
34 * The '<em><b>Normal</b></em>' literal object.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #NORMAL_VALUE
38 * @generated
39 * @ordered
40 */
41 NORMAL(1, "normal", "normal"),
42
43 /**
44 * The '<em><b>Full</b></em>' literal object.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #FULL_VALUE
48 * @generated
49 * @ordered
50 */
51 FULL(2, "full", "full");
52
53 /**
54 * The '<em><b>None</b></em>' literal value.
55 * <!-- begin-user-doc -->
56 * <p>
57 * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
58 * there really should be more of a description here...
59 * </p>
60 * <!-- end-user-doc -->
61 * @see #NONE
62 * @model name="none"
63 * @generated
64 * @ordered
65 */
66 public static final int NONE_VALUE = 0;
67
68 /**
69 * The '<em><b>Normal</b></em>' literal value.
70 * <!-- begin-user-doc -->
71 * <p>
72 * If the meaning of '<em><b>Normal</b></em>' literal object isn't clear,
73 * there really should be more of a description here...
74 * </p>
75 * <!-- end-user-doc -->
76 * @see #NORMAL
77 * @model name="normal"
78 * @generated
79 * @ordered
80 */
81 public static final int NORMAL_VALUE = 1;
82
83 /**
84 * The '<em><b>Full</b></em>' literal value.
85 * <!-- begin-user-doc -->
86 * <p>
87 * If the meaning of '<em><b>Full</b></em>' literal object isn't clear,
88 * there really should be more of a description here...
89 * </p>
90 * <!-- end-user-doc -->
91 * @see #FULL
92 * @model name="full"
93 * @generated
94 * @ordered
95 */
96 public static final int FULL_VALUE = 2;
97
98 /**
99 * An array of all the '<em><b>Document Level Specification</b></em>' enumerators.
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @generated
103 */
104 private static final DocumentLevelSpecification[] VALUES_ARRAY =
105 new DocumentLevelSpecification[]
106 {
107 NONE,
108 NORMAL,
109 FULL,
110 };
111
112 /**
113 * A public read-only list of all the '<em><b>Document Level Specification</b></em>' enumerators.
114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc -->
116 * @generated
117 */
118 public static final List<DocumentLevelSpecification> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
119
120 /**
121 * Returns the '<em><b>Document Level Specification</b></em>' literal with the specified literal value.
122 * <!-- begin-user-doc -->
123 * <!-- end-user-doc -->
124 * @param literal the literal.
125 * @return the matching enumerator or <code>null</code>.
126 * @generated
127 */
128 public static DocumentLevelSpecification get(String literal)
129 {
130 for (int i = 0; i < VALUES_ARRAY.length; ++i)
131 {
132 DocumentLevelSpecification result = VALUES_ARRAY[i];
133 if (result.toString().equals(literal))
134 {
135 return result;
136 }
137 }
138 return null;
139 }
140
141 /**
142 * Returns the '<em><b>Document Level Specification</b></em>' literal with the specified name.
143 * <!-- begin-user-doc -->
144 * <!-- end-user-doc -->
145 * @param name the name.
146 * @return the matching enumerator or <code>null</code>.
147 * @generated
148 */
149 public static DocumentLevelSpecification getByName(String name)
150 {
151 for (int i = 0; i < VALUES_ARRAY.length; ++i)
152 {
153 DocumentLevelSpecification result = VALUES_ARRAY[i];
154 if (result.getName().equals(name))
155 {
156 return result;
157 }
158 }
159 return null;
160 }
161
162 /**
163 * Returns the '<em><b>Document Level Specification</b></em>' literal with the specified integer value.
164 * <!-- begin-user-doc -->
165 * <!-- end-user-doc -->
166 * @param value the integer value.
167 * @return the matching enumerator or <code>null</code>.
168 * @generated
169 */
170 public static DocumentLevelSpecification get(int value)
171 {
172 switch (value)
173 {
174 case NONE_VALUE: return NONE;
175 case NORMAL_VALUE: return NORMAL;
176 case FULL_VALUE: return FULL;
177 }
178 return null;
179 }
180
181 /**
182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc -->
184 * @generated
185 */
186 private final int value;
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 private final String name;
194
195 /**
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @generated
199 */
200 private final String literal;
201
202 /**
203 * Only this class can construct instances.
204 * <!-- begin-user-doc -->
205 * <!-- end-user-doc -->
206 * @generated
207 */
208 private DocumentLevelSpecification(int value, String name, String literal)
209 {
210 this.value = value;
211 this.name = name;
212 this.literal = literal;
213 }
214
215 /**
216 * <!-- begin-user-doc -->
217 * <!-- end-user-doc -->
218 * @generated
219 */
220 public int getValue()
221 {
222 return value;
223 }
224
225 /**
226 * <!-- begin-user-doc -->
227 * <!-- end-user-doc -->
228 * @generated
229 */
230 public String getName()
231 {
232 return name;
233 }
234
235 /**
236 * <!-- begin-user-doc -->
237 * <!-- end-user-doc -->
238 * @generated
239 */
240 public String getLiteral()
241 {
242 return literal;
243 }
244
245 /**
246 * Returns the literal value of the enumerator, which is its string representation.
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public String toString()
253 {
254 return literal;
255 }
256
257} //DocumentLevelSpecification