aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/CE_Type.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/CE_Type.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/CE_Type.java232
1 files changed, 232 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/CE_Type.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/CE_Type.java
new file mode 100644
index 00000000..7d592da3
--- /dev/null
+++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/CE_Type.java
@@ -0,0 +1,232 @@
1/**
2 */
3package TaxationWithRoot;
4
5import java.util.Arrays;
6import java.util.Collections;
7import java.util.List;
8
9import org.eclipse.emf.common.util.Enumerator;
10
11/**
12 * <!-- begin-user-doc -->
13 * A representation of the literals of the enumeration '<em><b>CE Type</b></em>',
14 * and utility methods for working with them.
15 * <!-- end-user-doc -->
16 * @see TaxationWithRoot.TaxationWithRootPackage#getCE_Type()
17 * @model
18 * @generated
19 */
20public enum CE_Type implements Enumerator {
21 /**
22 * The '<em><b>INALIDITY AND INFIRMITY</b></em>' literal object.
23 * <!-- begin-user-doc -->
24 * <!-- end-user-doc -->
25 * @see #INALIDITY_AND_INFIRMITY_VALUE
26 * @generated
27 * @ordered
28 */
29 INALIDITY_AND_INFIRMITY(0, "INALIDITY_AND_INFIRMITY", "INALIDITY_AND_INFIRMITY"),
30
31 /**
32 * The '<em><b>DEPENDENCE AND CARE EXCLUDING CHLIDREN NOT PART OF HOUSEHOLD</b></em>' literal object.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @see #DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD_VALUE
36 * @generated
37 * @ordered
38 */
39 DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD(1, "DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD", "DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD"),
40
41 /**
42 * The '<em><b>CARE FOR CHILDREN NOT BEING PART OF HOUSEHOLD</b></em>' literal object.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @see #CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD_VALUE
46 * @generated
47 * @ordered
48 */
49 CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD(2, "CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD", "CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD");
50
51 /**
52 * The '<em><b>INALIDITY AND INFIRMITY</b></em>' literal value.
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @see #INALIDITY_AND_INFIRMITY
56 * @model
57 * @generated
58 * @ordered
59 */
60 public static final int INALIDITY_AND_INFIRMITY_VALUE = 0;
61
62 /**
63 * The '<em><b>DEPENDENCE AND CARE EXCLUDING CHLIDREN NOT PART OF HOUSEHOLD</b></em>' literal value.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @see #DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD
67 * @model
68 * @generated
69 * @ordered
70 */
71 public static final int DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD_VALUE = 1;
72
73 /**
74 * The '<em><b>CARE FOR CHILDREN NOT BEING PART OF HOUSEHOLD</b></em>' literal value.
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @see #CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD
78 * @model
79 * @generated
80 * @ordered
81 */
82 public static final int CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD_VALUE = 2;
83
84 /**
85 * An array of all the '<em><b>CE Type</b></em>' enumerators.
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @generated
89 */
90 private static final CE_Type[] VALUES_ARRAY =
91 new CE_Type[] {
92 INALIDITY_AND_INFIRMITY,
93 DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD,
94 CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD,
95 };
96
97 /**
98 * A public read-only list of all the '<em><b>CE Type</b></em>' enumerators.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 */
103 public static final List<CE_Type> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
104
105 /**
106 * Returns the '<em><b>CE Type</b></em>' literal with the specified literal value.
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @param literal the literal.
110 * @return the matching enumerator or <code>null</code>.
111 * @generated
112 */
113 public static CE_Type get(String literal) {
114 for (int i = 0; i < VALUES_ARRAY.length; ++i) {
115 CE_Type result = VALUES_ARRAY[i];
116 if (result.toString().equals(literal)) {
117 return result;
118 }
119 }
120 return null;
121 }
122
123 /**
124 * Returns the '<em><b>CE Type</b></em>' literal with the specified name.
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @param name the name.
128 * @return the matching enumerator or <code>null</code>.
129 * @generated
130 */
131 public static CE_Type getByName(String name) {
132 for (int i = 0; i < VALUES_ARRAY.length; ++i) {
133 CE_Type result = VALUES_ARRAY[i];
134 if (result.getName().equals(name)) {
135 return result;
136 }
137 }
138 return null;
139 }
140
141 /**
142 * Returns the '<em><b>CE Type</b></em>' literal with the specified integer value.
143 * <!-- begin-user-doc -->
144 * <!-- end-user-doc -->
145 * @param value the integer value.
146 * @return the matching enumerator or <code>null</code>.
147 * @generated
148 */
149 public static CE_Type get(int value) {
150 switch (value) {
151 case INALIDITY_AND_INFIRMITY_VALUE: return INALIDITY_AND_INFIRMITY;
152 case DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD_VALUE: return DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD;
153 case CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD_VALUE: return CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD;
154 }
155 return null;
156 }
157
158 /**
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @generated
162 */
163 private final int value;
164
165 /**
166 * <!-- begin-user-doc -->
167 * <!-- end-user-doc -->
168 * @generated
169 */
170 private final String name;
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 private final String literal;
178
179 /**
180 * Only this class can construct instances.
181 * <!-- begin-user-doc -->
182 * <!-- end-user-doc -->
183 * @generated
184 */
185 private CE_Type(int value, String name, String literal) {
186 this.value = value;
187 this.name = name;
188 this.literal = literal;
189 }
190
191 /**
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @generated
195 */
196 @Override
197 public int getValue() {
198 return value;
199 }
200
201 /**
202 * <!-- begin-user-doc -->
203 * <!-- end-user-doc -->
204 * @generated
205 */
206 @Override
207 public String getName() {
208 return name;
209 }
210
211 /**
212 * <!-- begin-user-doc -->
213 * <!-- end-user-doc -->
214 * @generated
215 */
216 @Override
217 public String getLiteral() {
218 return literal;
219 }
220
221 /**
222 * Returns the literal value of the enumerator, which is its string representation.
223 * <!-- begin-user-doc -->
224 * <!-- end-user-doc -->
225 * @generated
226 */
227 @Override
228 public String toString() {
229 return literal;
230 }
231
232} //CE_Type