1 | /**
|
---|
2 | */
|
---|
3 | package de.ugoe.cs.cpdp.decentApp.models.arffx.impl;
|
---|
4 |
|
---|
5 | import java.util.Map;
|
---|
6 |
|
---|
7 | import org.eclipse.emf.ecore.EAttribute;
|
---|
8 | import org.eclipse.emf.ecore.EClass;
|
---|
9 | import org.eclipse.emf.ecore.EPackage;
|
---|
10 | import org.eclipse.emf.ecore.EReference;
|
---|
11 | import org.eclipse.emf.ecore.impl.EPackageImpl;
|
---|
12 |
|
---|
13 | import de.ugoe.cs.cpdp.decentApp.models.arffx.ARFFxFactory;
|
---|
14 | import de.ugoe.cs.cpdp.decentApp.models.arffx.ARFFxPackage;
|
---|
15 | import de.ugoe.cs.cpdp.decentApp.models.arffx.Attribute;
|
---|
16 | import de.ugoe.cs.cpdp.decentApp.models.arffx.Dimension;
|
---|
17 | import de.ugoe.cs.cpdp.decentApp.models.arffx.Instance;
|
---|
18 | import de.ugoe.cs.cpdp.decentApp.models.arffx.Model;
|
---|
19 | import de.ugoe.cs.cpdp.decentApp.models.arffx.Type;
|
---|
20 | import de.ugoe.cs.cpdp.decentApp.models.arffx.Value;
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * <!-- begin-user-doc -->
|
---|
24 | * An implementation of the model <b>Package</b>.
|
---|
25 | * <!-- end-user-doc -->
|
---|
26 | * @generated
|
---|
27 | */
|
---|
28 | public class ARFFxPackageImpl extends EPackageImpl implements ARFFxPackage {
|
---|
29 | /**
|
---|
30 | * <!-- begin-user-doc -->
|
---|
31 | * <!-- end-user-doc -->
|
---|
32 | * @generated
|
---|
33 | */
|
---|
34 | private EClass modelEClass = null;
|
---|
35 |
|
---|
36 | /**
|
---|
37 | * <!-- begin-user-doc -->
|
---|
38 | * <!-- end-user-doc -->
|
---|
39 | * @generated
|
---|
40 | */
|
---|
41 | private EClass attributeEClass = null;
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * <!-- begin-user-doc -->
|
---|
45 | * <!-- end-user-doc -->
|
---|
46 | * @generated
|
---|
47 | */
|
---|
48 | private EClass instanceEClass = null;
|
---|
49 |
|
---|
50 | /**
|
---|
51 | * <!-- begin-user-doc -->
|
---|
52 | * <!-- end-user-doc -->
|
---|
53 | * @generated
|
---|
54 | */
|
---|
55 | private EClass valueEClass = null;
|
---|
56 |
|
---|
57 | /**
|
---|
58 | * <!-- begin-user-doc -->
|
---|
59 | * <!-- end-user-doc -->
|
---|
60 | * @generated
|
---|
61 | */
|
---|
62 | private EClass dimensionEClass = null;
|
---|
63 |
|
---|
64 | /**
|
---|
65 | * <!-- begin-user-doc -->
|
---|
66 | * <!-- end-user-doc -->
|
---|
67 | * @generated
|
---|
68 | */
|
---|
69 | private EClass typeEClass = null;
|
---|
70 |
|
---|
71 | /**
|
---|
72 | * <!-- begin-user-doc -->
|
---|
73 | * <!-- end-user-doc -->
|
---|
74 | * @generated
|
---|
75 | */
|
---|
76 | private EClass metaDataEClass = null;
|
---|
77 |
|
---|
78 | /**
|
---|
79 | * Creates an instance of the model <b>Package</b>, registered with
|
---|
80 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
|
---|
81 | * package URI value.
|
---|
82 | * <p>Note: the correct way to create the package is via the static
|
---|
83 | * factory method {@link #init init()}, which also performs
|
---|
84 | * initialization of the package, or returns the registered package,
|
---|
85 | * if one already exists.
|
---|
86 | * <!-- begin-user-doc -->
|
---|
87 | * <!-- end-user-doc -->
|
---|
88 | * @see org.eclipse.emf.ecore.EPackage.Registry
|
---|
89 | * @see de.ugoe.cs.cpdp.decentApp.models.arffx.ARFFxPackage#eNS_URI
|
---|
90 | * @see #init()
|
---|
91 | * @generated
|
---|
92 | */
|
---|
93 | private ARFFxPackageImpl() {
|
---|
94 | super(eNS_URI, ARFFxFactory.eINSTANCE);
|
---|
95 | }
|
---|
96 |
|
---|
97 | /**
|
---|
98 | * <!-- begin-user-doc -->
|
---|
99 | * <!-- end-user-doc -->
|
---|
100 | * @generated
|
---|
101 | */
|
---|
102 | private static boolean isInited = false;
|
---|
103 |
|
---|
104 | /**
|
---|
105 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
|
---|
106 | *
|
---|
107 | * <p>This method is used to initialize {@link ARFFxPackage#eINSTANCE} when that field is accessed.
|
---|
108 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
|
---|
109 | * <!-- begin-user-doc -->
|
---|
110 | * <!-- end-user-doc -->
|
---|
111 | * @see #eNS_URI
|
---|
112 | * @see #createPackageContents()
|
---|
113 | * @see #initializePackageContents()
|
---|
114 | * @generated
|
---|
115 | */
|
---|
116 | public static ARFFxPackage init() {
|
---|
117 | if (isInited) return (ARFFxPackage)EPackage.Registry.INSTANCE.getEPackage(ARFFxPackage.eNS_URI);
|
---|
118 |
|
---|
119 | // Obtain or create and register package
|
---|
120 | ARFFxPackageImpl theARFFxPackage = (ARFFxPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ARFFxPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ARFFxPackageImpl());
|
---|
121 |
|
---|
122 | isInited = true;
|
---|
123 |
|
---|
124 | // Create package meta-data objects
|
---|
125 | theARFFxPackage.createPackageContents();
|
---|
126 |
|
---|
127 | // Initialize created meta-data
|
---|
128 | theARFFxPackage.initializePackageContents();
|
---|
129 |
|
---|
130 | // Mark meta-data to indicate it can't be changed
|
---|
131 | theARFFxPackage.freeze();
|
---|
132 |
|
---|
133 |
|
---|
134 | // Update the registry and return the package
|
---|
135 | EPackage.Registry.INSTANCE.put(ARFFxPackage.eNS_URI, theARFFxPackage);
|
---|
136 | return theARFFxPackage;
|
---|
137 | }
|
---|
138 |
|
---|
139 | /**
|
---|
140 | * <!-- begin-user-doc -->
|
---|
141 | * <!-- end-user-doc -->
|
---|
142 | * @generated
|
---|
143 | */
|
---|
144 | public EClass getModel() {
|
---|
145 | return modelEClass;
|
---|
146 | }
|
---|
147 |
|
---|
148 | /**
|
---|
149 | * <!-- begin-user-doc -->
|
---|
150 | * <!-- end-user-doc -->
|
---|
151 | * @generated
|
---|
152 | */
|
---|
153 | public EAttribute getModel_Name() {
|
---|
154 | return (EAttribute)modelEClass.getEStructuralFeatures().get(0);
|
---|
155 | }
|
---|
156 |
|
---|
157 | /**
|
---|
158 | * <!-- begin-user-doc -->
|
---|
159 | * <!-- end-user-doc -->
|
---|
160 | * @generated
|
---|
161 | */
|
---|
162 | public EReference getModel_Meta() {
|
---|
163 | return (EReference)modelEClass.getEStructuralFeatures().get(1);
|
---|
164 | }
|
---|
165 |
|
---|
166 | /**
|
---|
167 | * <!-- begin-user-doc -->
|
---|
168 | * <!-- end-user-doc -->
|
---|
169 | * @generated
|
---|
170 | */
|
---|
171 | public EReference getModel_Attributes() {
|
---|
172 | return (EReference)modelEClass.getEStructuralFeatures().get(2);
|
---|
173 | }
|
---|
174 |
|
---|
175 | /**
|
---|
176 | * <!-- begin-user-doc -->
|
---|
177 | * <!-- end-user-doc -->
|
---|
178 | * @generated
|
---|
179 | */
|
---|
180 | public EReference getModel_Data() {
|
---|
181 | return (EReference)modelEClass.getEStructuralFeatures().get(3);
|
---|
182 | }
|
---|
183 |
|
---|
184 | /**
|
---|
185 | * <!-- begin-user-doc -->
|
---|
186 | * <!-- end-user-doc -->
|
---|
187 | * @generated
|
---|
188 | */
|
---|
189 | public EReference getModel_Dimensions() {
|
---|
190 | return (EReference)modelEClass.getEStructuralFeatures().get(4);
|
---|
191 | }
|
---|
192 |
|
---|
193 | /**
|
---|
194 | * <!-- begin-user-doc -->
|
---|
195 | * <!-- end-user-doc -->
|
---|
196 | * @generated
|
---|
197 | */
|
---|
198 | public EReference getModel_Types() {
|
---|
199 | return (EReference)modelEClass.getEStructuralFeatures().get(5);
|
---|
200 | }
|
---|
201 |
|
---|
202 | /**
|
---|
203 | * <!-- begin-user-doc -->
|
---|
204 | * <!-- end-user-doc -->
|
---|
205 | * @generated
|
---|
206 | */
|
---|
207 | public EClass getAttribute() {
|
---|
208 | return attributeEClass;
|
---|
209 | }
|
---|
210 |
|
---|
211 | /**
|
---|
212 | * <!-- begin-user-doc -->
|
---|
213 | * <!-- end-user-doc -->
|
---|
214 | * @generated
|
---|
215 | */
|
---|
216 | public EAttribute getAttribute_Name() {
|
---|
217 | return (EAttribute)attributeEClass.getEStructuralFeatures().get(0);
|
---|
218 | }
|
---|
219 |
|
---|
220 | /**
|
---|
221 | * <!-- begin-user-doc -->
|
---|
222 | * <!-- end-user-doc -->
|
---|
223 | * @generated
|
---|
224 | */
|
---|
225 | public EReference getAttribute_Type() {
|
---|
226 | return (EReference)attributeEClass.getEStructuralFeatures().get(1);
|
---|
227 | }
|
---|
228 |
|
---|
229 | /**
|
---|
230 | * <!-- begin-user-doc -->
|
---|
231 | * <!-- end-user-doc -->
|
---|
232 | * @generated
|
---|
233 | */
|
---|
234 | public EReference getAttribute_Dimension() {
|
---|
235 | return (EReference)attributeEClass.getEStructuralFeatures().get(2);
|
---|
236 | }
|
---|
237 |
|
---|
238 | /**
|
---|
239 | * <!-- begin-user-doc -->
|
---|
240 | * <!-- end-user-doc -->
|
---|
241 | * @generated
|
---|
242 | */
|
---|
243 | public EClass getInstance() {
|
---|
244 | return instanceEClass;
|
---|
245 | }
|
---|
246 |
|
---|
247 | /**
|
---|
248 | * <!-- begin-user-doc -->
|
---|
249 | * <!-- end-user-doc -->
|
---|
250 | * @generated
|
---|
251 | */
|
---|
252 | public EReference getInstance_Values() {
|
---|
253 | return (EReference)instanceEClass.getEStructuralFeatures().get(0);
|
---|
254 | }
|
---|
255 |
|
---|
256 | /**
|
---|
257 | * <!-- begin-user-doc -->
|
---|
258 | * <!-- end-user-doc -->
|
---|
259 | * @generated
|
---|
260 | */
|
---|
261 | public EClass getValue() {
|
---|
262 | return valueEClass;
|
---|
263 | }
|
---|
264 |
|
---|
265 | /**
|
---|
266 | * <!-- begin-user-doc -->
|
---|
267 | * <!-- end-user-doc -->
|
---|
268 | * @generated
|
---|
269 | */
|
---|
270 | public EReference getValue_OfAttribute() {
|
---|
271 | return (EReference)valueEClass.getEStructuralFeatures().get(0);
|
---|
272 | }
|
---|
273 |
|
---|
274 | /**
|
---|
275 | * <!-- begin-user-doc -->
|
---|
276 | * <!-- end-user-doc -->
|
---|
277 | * @generated
|
---|
278 | */
|
---|
279 | public EAttribute getValue_Content() {
|
---|
280 | return (EAttribute)valueEClass.getEStructuralFeatures().get(1);
|
---|
281 | }
|
---|
282 |
|
---|
283 | /**
|
---|
284 | * <!-- begin-user-doc -->
|
---|
285 | * <!-- end-user-doc -->
|
---|
286 | * @generated
|
---|
287 | */
|
---|
288 | public EClass getDimension() {
|
---|
289 | return dimensionEClass;
|
---|
290 | }
|
---|
291 |
|
---|
292 | /**
|
---|
293 | * <!-- begin-user-doc -->
|
---|
294 | * <!-- end-user-doc -->
|
---|
295 | * @generated
|
---|
296 | */
|
---|
297 | public EAttribute getDimension_Name() {
|
---|
298 | return (EAttribute)dimensionEClass.getEStructuralFeatures().get(0);
|
---|
299 | }
|
---|
300 |
|
---|
301 | /**
|
---|
302 | * <!-- begin-user-doc -->
|
---|
303 | * <!-- end-user-doc -->
|
---|
304 | * @generated
|
---|
305 | */
|
---|
306 | public EClass getType() {
|
---|
307 | return typeEClass;
|
---|
308 | }
|
---|
309 |
|
---|
310 | /**
|
---|
311 | * <!-- begin-user-doc -->
|
---|
312 | * <!-- end-user-doc -->
|
---|
313 | * @generated
|
---|
314 | */
|
---|
315 | public EAttribute getType_Name() {
|
---|
316 | return (EAttribute)typeEClass.getEStructuralFeatures().get(0);
|
---|
317 | }
|
---|
318 |
|
---|
319 | /**
|
---|
320 | * <!-- begin-user-doc -->
|
---|
321 | * <!-- end-user-doc -->
|
---|
322 | * @generated
|
---|
323 | */
|
---|
324 | public EClass getMetaData() {
|
---|
325 | return metaDataEClass;
|
---|
326 | }
|
---|
327 |
|
---|
328 | /**
|
---|
329 | * <!-- begin-user-doc -->
|
---|
330 | * <!-- end-user-doc -->
|
---|
331 | * @generated
|
---|
332 | */
|
---|
333 | public EAttribute getMetaData_Key() {
|
---|
334 | return (EAttribute)metaDataEClass.getEStructuralFeatures().get(0);
|
---|
335 | }
|
---|
336 |
|
---|
337 | /**
|
---|
338 | * <!-- begin-user-doc -->
|
---|
339 | * <!-- end-user-doc -->
|
---|
340 | * @generated
|
---|
341 | */
|
---|
342 | public EAttribute getMetaData_Value() {
|
---|
343 | return (EAttribute)metaDataEClass.getEStructuralFeatures().get(1);
|
---|
344 | }
|
---|
345 |
|
---|
346 | /**
|
---|
347 | * <!-- begin-user-doc -->
|
---|
348 | * <!-- end-user-doc -->
|
---|
349 | * @generated
|
---|
350 | */
|
---|
351 | public ARFFxFactory getARFFxFactory() {
|
---|
352 | return (ARFFxFactory)getEFactoryInstance();
|
---|
353 | }
|
---|
354 |
|
---|
355 | /**
|
---|
356 | * <!-- begin-user-doc -->
|
---|
357 | * <!-- end-user-doc -->
|
---|
358 | * @generated
|
---|
359 | */
|
---|
360 | private boolean isCreated = false;
|
---|
361 |
|
---|
362 | /**
|
---|
363 | * Creates the meta-model objects for the package. This method is
|
---|
364 | * guarded to have no affect on any invocation but its first.
|
---|
365 | * <!-- begin-user-doc -->
|
---|
366 | * <!-- end-user-doc -->
|
---|
367 | * @generated
|
---|
368 | */
|
---|
369 | public void createPackageContents() {
|
---|
370 | if (isCreated) return;
|
---|
371 | isCreated = true;
|
---|
372 |
|
---|
373 | // Create classes and their features
|
---|
374 | modelEClass = createEClass(MODEL);
|
---|
375 | createEAttribute(modelEClass, MODEL__NAME);
|
---|
376 | createEReference(modelEClass, MODEL__META);
|
---|
377 | createEReference(modelEClass, MODEL__ATTRIBUTES);
|
---|
378 | createEReference(modelEClass, MODEL__DATA);
|
---|
379 | createEReference(modelEClass, MODEL__DIMENSIONS);
|
---|
380 | createEReference(modelEClass, MODEL__TYPES);
|
---|
381 |
|
---|
382 | attributeEClass = createEClass(ATTRIBUTE);
|
---|
383 | createEAttribute(attributeEClass, ATTRIBUTE__NAME);
|
---|
384 | createEReference(attributeEClass, ATTRIBUTE__TYPE);
|
---|
385 | createEReference(attributeEClass, ATTRIBUTE__DIMENSION);
|
---|
386 |
|
---|
387 | instanceEClass = createEClass(INSTANCE);
|
---|
388 | createEReference(instanceEClass, INSTANCE__VALUES);
|
---|
389 |
|
---|
390 | valueEClass = createEClass(VALUE);
|
---|
391 | createEReference(valueEClass, VALUE__OF_ATTRIBUTE);
|
---|
392 | createEAttribute(valueEClass, VALUE__CONTENT);
|
---|
393 |
|
---|
394 | dimensionEClass = createEClass(DIMENSION);
|
---|
395 | createEAttribute(dimensionEClass, DIMENSION__NAME);
|
---|
396 |
|
---|
397 | typeEClass = createEClass(TYPE);
|
---|
398 | createEAttribute(typeEClass, TYPE__NAME);
|
---|
399 |
|
---|
400 | metaDataEClass = createEClass(META_DATA);
|
---|
401 | createEAttribute(metaDataEClass, META_DATA__KEY);
|
---|
402 | createEAttribute(metaDataEClass, META_DATA__VALUE);
|
---|
403 | }
|
---|
404 |
|
---|
405 | /**
|
---|
406 | * <!-- begin-user-doc -->
|
---|
407 | * <!-- end-user-doc -->
|
---|
408 | * @generated
|
---|
409 | */
|
---|
410 | private boolean isInitialized = false;
|
---|
411 |
|
---|
412 | /**
|
---|
413 | * Complete the initialization of the package and its meta-model. This
|
---|
414 | * method is guarded to have no affect on any invocation but its first.
|
---|
415 | * <!-- begin-user-doc -->
|
---|
416 | * <!-- end-user-doc -->
|
---|
417 | * @generated
|
---|
418 | */
|
---|
419 | public void initializePackageContents() {
|
---|
420 | if (isInitialized) return;
|
---|
421 | isInitialized = true;
|
---|
422 |
|
---|
423 | // Initialize package
|
---|
424 | setName(eNAME);
|
---|
425 | setNsPrefix(eNS_PREFIX);
|
---|
426 | setNsURI(eNS_URI);
|
---|
427 |
|
---|
428 | // Create type parameters
|
---|
429 |
|
---|
430 | // Set bounds for type parameters
|
---|
431 |
|
---|
432 | // Add supertypes to classes
|
---|
433 |
|
---|
434 | // Initialize classes, features, and operations; add parameters
|
---|
435 | initEClass(modelEClass, Model.class, "Model", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
436 | initEAttribute(getModel_Name(), ecorePackage.getEString(), "name", null, 1, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
437 | initEReference(getModel_Meta(), this.getMetaData(), null, "meta", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
438 | initEReference(getModel_Attributes(), this.getAttribute(), null, "attributes", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
439 | initEReference(getModel_Data(), this.getInstance(), null, "data", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
440 | initEReference(getModel_Dimensions(), this.getDimension(), null, "dimensions", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
441 | initEReference(getModel_Types(), this.getType(), null, "types", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
442 |
|
---|
443 | initEClass(attributeEClass, Attribute.class, "Attribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
444 | initEAttribute(getAttribute_Name(), ecorePackage.getEString(), "name", null, 1, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
445 | initEReference(getAttribute_Type(), this.getType(), null, "type", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
446 | initEReference(getAttribute_Dimension(), this.getDimension(), null, "dimension", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
447 |
|
---|
448 | initEClass(instanceEClass, Instance.class, "Instance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
449 | initEReference(getInstance_Values(), this.getValue(), null, "values", null, 0, -1, Instance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
450 |
|
---|
451 | initEClass(valueEClass, Value.class, "Value", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
452 | initEReference(getValue_OfAttribute(), this.getAttribute(), null, "ofAttribute", null, 0, 1, Value.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
453 | initEAttribute(getValue_Content(), ecorePackage.getEString(), "content", null, 0, 1, Value.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
454 |
|
---|
455 | initEClass(dimensionEClass, Dimension.class, "Dimension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
456 | initEAttribute(getDimension_Name(), ecorePackage.getEString(), "name", null, 1, 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
457 |
|
---|
458 | initEClass(typeEClass, Type.class, "Type", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
459 | initEAttribute(getType_Name(), ecorePackage.getEString(), "name", null, 1, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
460 |
|
---|
461 | initEClass(metaDataEClass, Map.Entry.class, "MetaData", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
|
---|
462 | initEAttribute(getMetaData_Key(), ecorePackage.getEString(), "key", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
463 | initEAttribute(getMetaData_Value(), ecorePackage.getEString(), "value", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
464 |
|
---|
465 | // Create resource
|
---|
466 | createResource(eNS_URI);
|
---|
467 |
|
---|
468 | // Create annotations
|
---|
469 | // http://www.eclipse.org/OCL/Import
|
---|
470 | createImportAnnotations();
|
---|
471 | }
|
---|
472 |
|
---|
473 | /**
|
---|
474 | * Initializes the annotations for <b>http://www.eclipse.org/OCL/Import</b>.
|
---|
475 | * <!-- begin-user-doc -->
|
---|
476 | * <!-- end-user-doc -->
|
---|
477 | * @generated
|
---|
478 | */
|
---|
479 | protected void createImportAnnotations() {
|
---|
480 | String source = "http://www.eclipse.org/OCL/Import";
|
---|
481 | addAnnotation
|
---|
482 | (this,
|
---|
483 | source,
|
---|
484 | new String[] {
|
---|
485 | "ecore", "http://www.eclipse.org/emf/2002/Ecore#/"
|
---|
486 | });
|
---|
487 | }
|
---|
488 |
|
---|
489 | } //ARFFxPackageImpl
|
---|