Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 255469 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/emf/ecore/EObject.java (-1 / +29 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 * 
9
 * 
10
 * Contributors: 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore;
18
package org.eclipse.emf.ecore;
18
19
19
20
21
import java.lang.reflect.InvocationTargetException;
22
20
import org.eclipse.emf.common.notify.Notifier;
23
import org.eclipse.emf.common.notify.Notifier;
21
import org.eclipse.emf.common.util.EList;
24
import org.eclipse.emf.common.util.EList;
22
import org.eclipse.emf.common.util.TreeIterator;
25
import org.eclipse.emf.common.util.TreeIterator;
Lines 427-430 Link Here
427
   */
430
   */
428
  void eUnset(EStructuralFeature feature);
431
  void eUnset(EStructuralFeature feature);
429
432
433
  /**
434
   * <!-- begin-user-doc -->
435
   * <p>
436
   * Invokes the specified operation of the object.  If the operation has
437
   * parameters, then corresponding arguments must be supplied.  There are no
438
   * optional parameters in Ecore operations.
439
   * </p><p>
440
   * If the operation is a void operation, then on successful execution, the
441
   * result of this invocation is <code>null</code>.  Otherwise, if the
442
   * operation is {@linkplain ETypedElement#isMany() multi-valued}, then an
443
   * {@link EList} is returned (possibly empty).  If single-valued, then an
444
   * instance of the operation's {@linkplain ETypedElement#getEType() type} is
445
   * returned, or possibly <code>null</code>.
446
   * </p><p>
447
   * If the invoked operation fails with an
448
   * {@linkplain EOperation#getEExceptions() exception}, then it is re-thrown,
449
   * wrapped in an {@link InvocationTargetException}.
450
   * </p>
451
   * @since 2.6
452
   * <!-- end-user-doc -->
453
   * @model exceptions="org.eclipse.emf.ecore.EInvocationTargetException" argumentsMany="false"
454
   * @generated
455
   */
456
  Object eInvoke(EOperation operation, EList<?> arguments) throws InvocationTargetException;
457
430
}
458
}
(-)src/org/eclipse/emf/ecore/EOperation.java (-1 / +119 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 * 
9
 * 
10
 * Contributors: 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore;
18
package org.eclipse.emf.ecore;
18
19
19
20
21
import java.lang.reflect.InvocationTargetException;
22
import java.util.HashMap;
23
import java.util.Map;
24
20
import org.eclipse.emf.common.util.EList;
25
import org.eclipse.emf.common.util.EList;
21
26
22
27
Lines 111-116 Link Here
111
  EList<EGenericType> getEGenericExceptions();
116
  EList<EGenericType> getEGenericExceptions();
112
117
113
  /**
118
  /**
119
   * <!-- begin-user-doc -->
120
   * Returns the ID relative to the {@link #getEContainingClass containing} class.
121
   * @return  the relative ID.
122
   * @since 2.6
123
   * <!-- end-user-doc -->
124
   * @model kind="operation"
125
   * @generated
126
   */
127
  int getOperationID();
128
129
  /**
114
   * Returns the value of the '<em><b>EType Parameters</b></em>' containment reference list.
130
   * Returns the value of the '<em><b>EType Parameters</b></em>' containment reference list.
115
   * The list contents are of type {@link org.eclipse.emf.ecore.ETypeParameter}.
131
   * The list contents are of type {@link org.eclipse.emf.ecore.ETypeParameter}.
116
   * <!-- begin-user-doc -->
132
   * <!-- begin-user-doc -->
Lines 126-129 Link Here
126
   */
142
   */
127
  EList<ETypeParameter> getETypeParameters();
143
  EList<ETypeParameter> getETypeParameters();
128
144
145
  /**
146
   * Internal API implemented by all operations.
147
   * 
148
   * @since 2.6
149
   */
150
  interface Internal extends EOperation, InternalEObject
151
  {
152
	/**
153
	 * A pluggable, dynamic implementation of operation behavior.
154
	 */
155
    interface InvocationDelegate
156
    {
157
      /**
158
       * A factory for creating invocation delegates.
159
       */
160
      interface Factory
161
      {
162
        /**
163
         * Creates the invocation delegate for the specified <tt>operation</tt>.
164
         * 
165
         * @param operation the operation
166
         * @return its invocation delegate
167
         */
168
        InvocationDelegate createInvocationDelegate(EOperation operation);
169
170
        /**
171
         * A <code>Factory</code> wrapper that is used by the {@link Factory.Registry}.
172
         */
173
        interface Descriptor
174
        {
175
          Factory getFactory();
176
        }
177
178
        /**
179
         * A registry of invocation-delegate factories.
180
         */
181
        interface Registry extends Map<String, Object>
182
        {
183
          Registry INSTANCE = new Impl();
184
          
185
          Factory getFactory(String uri);
186
          
187
          class Impl extends HashMap<String, Object> implements Registry
188
          {
189
            private static final long serialVersionUID = 1L;
190
            
191
            @Override
192
            public Object get(Object key)
193
            {
194
              Object factory = super.get(key);
195
              if (factory instanceof Descriptor)
196
              {
197
                Descriptor factoryDescriptor = (Descriptor)factory;
198
                factory = factoryDescriptor.getFactory();
199
                put((String)key, factory);
200
                return factory;
201
              }
202
              else
203
              {
204
                return factory;
205
              }
206
            }
207
208
            public Factory getFactory(String uri)
209
            {
210
              return (Factory)get(uri);
211
            }
212
          }
213
        }
214
      }
215
      
216
      /**
217
       * Invokes the operation behaviour for the specified <tt>target</tt>
218
       * object.
219
       * 
220
       * @param target the object on which to invoke the operation
221
       * @param arguments the arguments for the operation parameters (an
222
       *    empty list if the operation has no parameters)
223
       * @return the operation's return result, or <code>null</code> if it is
224
       *    a void operation
225
       * @throws InvocationTargetException in case of failure to execute the
226
       *    operation behaviour, usually because of an exception
227
       */
228
      Object dynamicInvoke(InternalEObject target, EList<?> arguments) throws InvocationTargetException;
229
    }
230
    
231
    /**
232
     * Obtains the delegate for this operation.
233
     * A default delegate is always available, so this should not return
234
     * <code>null</code>.
235
     * 
236
     * @return the operation delegate
237
     */
238
    InvocationDelegate getInvocationDelegate();
239
    
240
    /**
241
     * Assigns a delegate to this operation.
242
     * 
243
     * @param invocationDelegate the new operation delegate
244
     */
245
    void setInvocationDelegate(InvocationDelegate invocationDelegate);
246
  }
129
} //EOperation
247
} //EOperation
(-)src/org/eclipse/emf/ecore/EClass.java (-1 / +34 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 384-389 Link Here
384
384
385
  /**
385
  /**
386
   * <!-- begin-user-doc -->
386
   * <!-- begin-user-doc -->
387
   * Returns the number of operations.
388
   * @return the number of operations.
389
   * @since 2.6
390
   * <!-- end-user-doc -->
391
   * @model kind="operation"
392
   * @generated
393
   */
394
  int getOperationCount();
395
396
  /**
397
   * <!-- begin-user-doc -->
398
   * Returns the operation with this ID.
399
   * @return the operation with this ID.
400
   * @since 2.6
401
   * <!-- end-user-doc -->
402
   * @model
403
   * @generated
404
   */
405
  EOperation getEOperation(int operationID);
406
407
  /**
408
   * <!-- begin-user-doc -->
409
   * Returns the ID of the operation relative to this class, or -1 if the operation is not in this class.
410
   * @return the ID of the operation relative to this class, or -1 if the operation is not in this class.
411
   * @since 2.6
412
   * <!-- end-user-doc -->
413
   * @model
414
   * @generated
415
   */
416
  int getOperationID(EOperation operation);
417
418
  /**
419
   * <!-- begin-user-doc -->
387
   * Returns the ID of the feature relative to this class, or -1 if the feature is not in this class.
420
   * Returns the ID of the feature relative to this class, or -1 if the feature is not in this class.
388
   * @return the ID of the feature relative to this class, or -1 if the feature is not in this class.
421
   * @return the ID of the feature relative to this class, or -1 if the feature is not in this class.
389
   * <!-- end-user-doc -->
422
   * <!-- end-user-doc -->
(-)src/org/eclipse/emf/ecore/EcorePackage.java (-482 / +4330 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 * 
9
 * 
10
 * Contributors: 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 91-96 Link Here
91
  int EOBJECT_FEATURE_COUNT = 0;
92
  int EOBJECT_FEATURE_COUNT = 0;
92
93
93
  /**
94
  /**
95
   * The operation id for the '<em>EClass</em>' operation.
96
   * <!-- begin-user-doc -->
97
   * <!-- end-user-doc -->
98
   * @generated
99
   * @ordered
100
   */
101
  int EOBJECT___ECLASS = 0;
102
103
  /**
104
   * The operation id for the '<em>EIs Proxy</em>' operation.
105
   * <!-- begin-user-doc -->
106
   * <!-- end-user-doc -->
107
   * @generated
108
   * @ordered
109
   */
110
  int EOBJECT___EIS_PROXY = 1;
111
112
  /**
113
   * The operation id for the '<em>EResource</em>' operation.
114
   * <!-- begin-user-doc -->
115
   * <!-- end-user-doc -->
116
   * @generated
117
   * @ordered
118
   */
119
  int EOBJECT___ERESOURCE = 2;
120
121
  /**
122
   * The operation id for the '<em>EContainer</em>' operation.
123
   * <!-- begin-user-doc -->
124
   * <!-- end-user-doc -->
125
   * @generated
126
   * @ordered
127
   */
128
  int EOBJECT___ECONTAINER = 3;
129
130
  /**
131
   * The operation id for the '<em>EContaining Feature</em>' operation.
132
   * <!-- begin-user-doc -->
133
   * <!-- end-user-doc -->
134
   * @generated
135
   * @ordered
136
   */
137
  int EOBJECT___ECONTAINING_FEATURE = 4;
138
139
  /**
140
   * The operation id for the '<em>EContainment Feature</em>' operation.
141
   * <!-- begin-user-doc -->
142
   * <!-- end-user-doc -->
143
   * @generated
144
   * @ordered
145
   */
146
  int EOBJECT___ECONTAINMENT_FEATURE = 5;
147
148
  /**
149
   * The operation id for the '<em>EContents</em>' operation.
150
   * <!-- begin-user-doc -->
151
   * <!-- end-user-doc -->
152
   * @generated
153
   * @ordered
154
   */
155
  int EOBJECT___ECONTENTS = 6;
156
157
  /**
158
   * The operation id for the '<em>EAll Contents</em>' operation.
159
   * <!-- begin-user-doc -->
160
   * <!-- end-user-doc -->
161
   * @generated
162
   * @ordered
163
   */
164
  int EOBJECT___EALL_CONTENTS = 7;
165
166
  /**
167
   * The operation id for the '<em>ECross References</em>' operation.
168
   * <!-- begin-user-doc -->
169
   * <!-- end-user-doc -->
170
   * @generated
171
   * @ordered
172
   */
173
  int EOBJECT___ECROSS_REFERENCES = 8;
174
175
  /**
176
   * The operation id for the '<em>EGet</em>' operation.
177
   * <!-- begin-user-doc -->
178
   * <!-- end-user-doc -->
179
   * @generated
180
   * @ordered
181
   */
182
  int EOBJECT___EGET__ESTRUCTURALFEATURE = 9;
183
184
  /**
185
   * The operation id for the '<em>EGet</em>' operation.
186
   * <!-- begin-user-doc -->
187
   * <!-- end-user-doc -->
188
   * @generated
189
   * @ordered
190
   */
191
  int EOBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN = 10;
192
193
  /**
194
   * The operation id for the '<em>ESet</em>' operation.
195
   * <!-- begin-user-doc -->
196
   * <!-- end-user-doc -->
197
   * @generated
198
   * @ordered
199
   */
200
  int EOBJECT___ESET__ESTRUCTURALFEATURE_OBJECT = 11;
201
202
  /**
203
   * The operation id for the '<em>EIs Set</em>' operation.
204
   * <!-- begin-user-doc -->
205
   * <!-- end-user-doc -->
206
   * @generated
207
   * @ordered
208
   */
209
  int EOBJECT___EIS_SET__ESTRUCTURALFEATURE = 12;
210
211
  /**
212
   * The operation id for the '<em>EUnset</em>' operation.
213
   * <!-- begin-user-doc -->
214
   * <!-- end-user-doc -->
215
   * @generated
216
   * @ordered
217
   */
218
  int EOBJECT___EUNSET__ESTRUCTURALFEATURE = 13;
219
220
  /**
221
   * The operation id for the '<em>EInvoke</em>' operation.
222
   * <!-- begin-user-doc -->
223
   * <!-- end-user-doc -->
224
   * @generated
225
   * @ordered
226
   */
227
  int EOBJECT___EINVOKE__EOPERATION_ELIST = 14;
228
229
  /**
230
   * The number of operations of the '<em>EObject</em>' class.
231
   * <!-- begin-user-doc -->
232
   * <!-- end-user-doc -->
233
   * @generated
234
   * @ordered
235
   */
236
  int EOBJECT_OPERATION_COUNT = 15;
237
238
  /**
94
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EModelElementImpl <em>EModel Element</em>}' class.
239
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EModelElementImpl <em>EModel Element</em>}' class.
95
   * <!-- begin-user-doc -->
240
   * <!-- begin-user-doc -->
96
   * <!-- end-user-doc -->
241
   * <!-- end-user-doc -->
Lines 119-279 Link Here
119
  int EMODEL_ELEMENT_FEATURE_COUNT = EOBJECT_FEATURE_COUNT + 1;
264
  int EMODEL_ELEMENT_FEATURE_COUNT = EOBJECT_FEATURE_COUNT + 1;
120
265
121
  /**
266
  /**
122
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.ENamedElementImpl <em>ENamed Element</em>}' class.
267
   * The operation id for the '<em>EClass</em>' operation.
123
   * <!-- begin-user-doc -->
268
   * <!-- begin-user-doc -->
124
   * <!-- end-user-doc -->
269
   * <!-- end-user-doc -->
125
   * @see org.eclipse.emf.ecore.impl.ENamedElementImpl
126
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getENamedElement()
127
   * @generated
270
   * @generated
271
   * @ordered
128
   */
272
   */
129
  int ENAMED_ELEMENT = 9;
273
  int EMODEL_ELEMENT___ECLASS = EOBJECT___ECLASS;
130
274
131
  /**
275
  /**
132
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
276
   * The operation id for the '<em>EIs Proxy</em>' operation.
133
   * <!-- begin-user-doc -->
277
   * <!-- begin-user-doc -->
134
   * <!-- end-user-doc -->
278
   * <!-- end-user-doc -->
135
   * @generated
279
   * @generated
136
   * @ordered
280
   * @ordered
137
   */
281
   */
138
  int ENAMED_ELEMENT__EANNOTATIONS = EMODEL_ELEMENT__EANNOTATIONS;
282
  int EMODEL_ELEMENT___EIS_PROXY = EOBJECT___EIS_PROXY;
139
283
140
  /**
284
  /**
141
   * The feature id for the '<em><b>Name</b></em>' attribute.
285
   * The operation id for the '<em>EResource</em>' operation.
142
   * <!-- begin-user-doc -->
286
   * <!-- begin-user-doc -->
143
   * <!-- end-user-doc -->
287
   * <!-- end-user-doc -->
144
   * @generated
288
   * @generated
145
   * @ordered
289
   * @ordered
146
   */
290
   */
147
  int ENAMED_ELEMENT__NAME = EMODEL_ELEMENT_FEATURE_COUNT + 0;
291
  int EMODEL_ELEMENT___ERESOURCE = EOBJECT___ERESOURCE;
148
292
149
  /**
293
  /**
150
   * The number of structural features of the '<em>ENamed Element</em>' class.
294
   * The operation id for the '<em>EContainer</em>' operation.
151
   * <!-- begin-user-doc -->
295
   * <!-- begin-user-doc -->
152
   * <!-- end-user-doc -->
296
   * <!-- end-user-doc -->
153
   * @generated
297
   * @generated
154
   * @ordered
298
   * @ordered
155
   */
299
   */
156
  int ENAMED_ELEMENT_FEATURE_COUNT = EMODEL_ELEMENT_FEATURE_COUNT + 1;
300
  int EMODEL_ELEMENT___ECONTAINER = EOBJECT___ECONTAINER;
157
301
158
  /**
302
  /**
159
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EStructuralFeatureImpl <em>EStructural Feature</em>}' class.
303
   * The operation id for the '<em>EContaining Feature</em>' operation.
160
   * <!-- begin-user-doc -->
304
   * <!-- begin-user-doc -->
161
   * <!-- end-user-doc -->
305
   * <!-- end-user-doc -->
162
   * @see org.eclipse.emf.ecore.impl.EStructuralFeatureImpl
163
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEStructuralFeature()
164
   * @generated
306
   * @generated
307
   * @ordered
165
   */
308
   */
166
  int ESTRUCTURAL_FEATURE = 15;
309
  int EMODEL_ELEMENT___ECONTAINING_FEATURE = EOBJECT___ECONTAINING_FEATURE;
167
310
168
  /**
311
  /**
169
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EAttributeImpl <em>EAttribute</em>}' class.
312
   * The operation id for the '<em>EContainment Feature</em>' operation.
170
   * <!-- begin-user-doc -->
313
   * <!-- begin-user-doc -->
171
   * <!-- end-user-doc -->
314
   * <!-- end-user-doc -->
172
   * @see org.eclipse.emf.ecore.impl.EAttributeImpl
173
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEAttribute()
174
   * @generated
315
   * @generated
316
   * @ordered
175
   */
317
   */
176
  int EATTRIBUTE = 0;
318
  int EMODEL_ELEMENT___ECONTAINMENT_FEATURE = EOBJECT___ECONTAINMENT_FEATURE;
177
319
178
  /**
320
  /**
179
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EClassImpl <em>EClass</em>}' class.
321
   * The operation id for the '<em>EContents</em>' operation.
180
   * <!-- begin-user-doc -->
322
   * <!-- begin-user-doc -->
181
   * <!-- end-user-doc -->
323
   * <!-- end-user-doc -->
182
   * @see org.eclipse.emf.ecore.impl.EClassImpl
183
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEClass()
184
   * @generated
324
   * @generated
325
   * @ordered
185
   */
326
   */
186
  int ECLASS = 2;
327
  int EMODEL_ELEMENT___ECONTENTS = EOBJECT___ECONTENTS;
187
328
188
  /**
329
  /**
189
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.ETypedElementImpl <em>ETyped Element</em>}' class.
330
   * The operation id for the '<em>EAll Contents</em>' operation.
190
   * <!-- begin-user-doc -->
331
   * <!-- begin-user-doc -->
191
   * <!-- end-user-doc -->
332
   * <!-- end-user-doc -->
192
   * @see org.eclipse.emf.ecore.impl.ETypedElementImpl
193
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getETypedElement()
194
   * @generated
333
   * @generated
334
   * @ordered
195
   */
335
   */
196
  int ETYPED_ELEMENT = 16;
336
  int EMODEL_ELEMENT___EALL_CONTENTS = EOBJECT___EALL_CONTENTS;
197
337
198
  /**
338
  /**
199
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EDataTypeImpl <em>EData Type</em>}' class.
339
   * The operation id for the '<em>ECross References</em>' operation.
200
   * <!-- begin-user-doc -->
340
   * <!-- begin-user-doc -->
201
   * <!-- end-user-doc -->
341
   * <!-- end-user-doc -->
202
   * @see org.eclipse.emf.ecore.impl.EDataTypeImpl
203
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEDataType()
204
   * @generated
342
   * @generated
343
   * @ordered
205
   */
344
   */
206
  int EDATA_TYPE = 4;
345
  int EMODEL_ELEMENT___ECROSS_REFERENCES = EOBJECT___ECROSS_REFERENCES;
207
346
208
  /**
347
  /**
209
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EEnumImpl <em>EEnum</em>}' class.
348
   * The operation id for the '<em>EGet</em>' operation.
210
   * <!-- begin-user-doc -->
349
   * <!-- begin-user-doc -->
211
   * <!-- end-user-doc -->
350
   * <!-- end-user-doc -->
212
   * @see org.eclipse.emf.ecore.impl.EEnumImpl
213
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEEnum()
214
   * @generated
351
   * @generated
352
   * @ordered
215
   */
353
   */
216
  int EENUM = 5;
354
  int EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE = EOBJECT___EGET__ESTRUCTURALFEATURE;
217
355
218
  /**
356
  /**
219
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EEnumLiteralImpl <em>EEnum Literal</em>}' class.
357
   * The operation id for the '<em>EGet</em>' operation.
220
   * <!-- begin-user-doc -->
358
   * <!-- begin-user-doc -->
221
   * <!-- end-user-doc -->
359
   * <!-- end-user-doc -->
222
   * @see org.eclipse.emf.ecore.impl.EEnumLiteralImpl
223
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEEnumLiteral()
224
   * @generated
360
   * @generated
361
   * @ordered
225
   */
362
   */
226
  int EENUM_LITERAL = 6;
363
  int EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN = EOBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
227
364
228
  /**
365
  /**
229
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EFactoryImpl <em>EFactory</em>}' class.
366
   * The operation id for the '<em>ESet</em>' operation.
230
   * <!-- begin-user-doc -->
367
   * <!-- begin-user-doc -->
231
   * <!-- end-user-doc -->
368
   * <!-- end-user-doc -->
232
   * @see org.eclipse.emf.ecore.impl.EFactoryImpl
233
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEFactory()
234
   * @generated
369
   * @generated
370
   * @ordered
235
   */
371
   */
236
  int EFACTORY = 7;
372
  int EMODEL_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT = EOBJECT___ESET__ESTRUCTURALFEATURE_OBJECT;
237
373
238
  /**
374
  /**
239
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EOperationImpl <em>EOperation</em>}' class.
375
   * The operation id for the '<em>EIs Set</em>' operation.
240
   * <!-- begin-user-doc -->
376
   * <!-- begin-user-doc -->
241
   * <!-- end-user-doc -->
377
   * <!-- end-user-doc -->
242
   * @see org.eclipse.emf.ecore.impl.EOperationImpl
243
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEOperation()
244
   * @generated
378
   * @generated
379
   * @ordered
245
   */
380
   */
246
  int EOPERATION = 11;
381
  int EMODEL_ELEMENT___EIS_SET__ESTRUCTURALFEATURE = EOBJECT___EIS_SET__ESTRUCTURALFEATURE;
247
382
248
  /**
383
  /**
249
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EPackageImpl <em>EPackage</em>}' class.
384
   * The operation id for the '<em>EUnset</em>' operation.
250
   * <!-- begin-user-doc -->
385
   * <!-- begin-user-doc -->
251
   * <!-- end-user-doc -->
386
   * <!-- end-user-doc -->
252
   * @see org.eclipse.emf.ecore.impl.EPackageImpl
253
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEPackage()
254
   * @generated
387
   * @generated
388
   * @ordered
255
   */
389
   */
256
  int EPACKAGE = 12;
390
  int EMODEL_ELEMENT___EUNSET__ESTRUCTURALFEATURE = EOBJECT___EUNSET__ESTRUCTURALFEATURE;
257
391
258
  /**
392
  /**
259
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EParameterImpl <em>EParameter</em>}' class.
393
   * The operation id for the '<em>EInvoke</em>' operation.
260
   * <!-- begin-user-doc -->
394
   * <!-- begin-user-doc -->
261
   * <!-- end-user-doc -->
395
   * <!-- end-user-doc -->
262
   * @see org.eclipse.emf.ecore.impl.EParameterImpl
263
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEParameter()
264
   * @generated
396
   * @generated
397
   * @ordered
265
   */
398
   */
266
  int EPARAMETER = 13;
399
  int EMODEL_ELEMENT___EINVOKE__EOPERATION_ELIST = EOBJECT___EINVOKE__EOPERATION_ELIST;
267
400
268
  /**
401
  /**
269
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EReferenceImpl <em>EReference</em>}' class.
402
   * The operation id for the '<em>Get EAnnotation</em>' operation.
270
   * <!-- begin-user-doc -->
403
   * <!-- begin-user-doc -->
271
   * <!-- end-user-doc -->
404
   * <!-- end-user-doc -->
272
   * @see org.eclipse.emf.ecore.impl.EReferenceImpl
273
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEReference()
274
   * @generated
405
   * @generated
406
   * @ordered
275
   */
407
   */
276
  int EREFERENCE = 14;
408
  int EMODEL_ELEMENT___GET_EANNOTATION__STRING = EOBJECT_OPERATION_COUNT + 0;
409
410
  /**
411
   * The number of operations of the '<em>EModel Element</em>' class.
412
   * <!-- begin-user-doc -->
413
   * <!-- end-user-doc -->
414
   * @generated
415
   * @ordered
416
   */
417
  int EMODEL_ELEMENT_OPERATION_COUNT = EOBJECT_OPERATION_COUNT + 1;
418
419
  /**
420
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.ENamedElementImpl <em>ENamed Element</em>}' class.
421
   * <!-- begin-user-doc -->
422
   * <!-- end-user-doc -->
423
   * @see org.eclipse.emf.ecore.impl.ENamedElementImpl
424
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getENamedElement()
425
   * @generated
426
   */
427
  int ENAMED_ELEMENT = 9;
277
428
278
  /**
429
  /**
279
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
430
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
Lines 282-288 Link Here
282
   * @generated
433
   * @generated
283
   * @ordered
434
   * @ordered
284
   */
435
   */
285
  int ETYPED_ELEMENT__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
436
  int ENAMED_ELEMENT__EANNOTATIONS = EMODEL_ELEMENT__EANNOTATIONS;
286
437
287
  /**
438
  /**
288
   * The feature id for the '<em><b>Name</b></em>' attribute.
439
   * The feature id for the '<em><b>Name</b></em>' attribute.
Lines 291-2120 Link Here
291
   * @generated
442
   * @generated
292
   * @ordered
443
   * @ordered
293
   */
444
   */
294
  int ETYPED_ELEMENT__NAME = ENAMED_ELEMENT__NAME;
445
  int ENAMED_ELEMENT__NAME = EMODEL_ELEMENT_FEATURE_COUNT + 0;
295
446
296
  /**
447
  /**
297
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
448
   * The number of structural features of the '<em>ENamed Element</em>' class.
298
   * <!-- begin-user-doc -->
449
   * <!-- begin-user-doc -->
299
   * <!-- end-user-doc -->
450
   * <!-- end-user-doc -->
300
   * @generated
451
   * @generated
301
   * @ordered
452
   * @ordered
302
   */
453
   */
303
  int ETYPED_ELEMENT__ORDERED = ENAMED_ELEMENT_FEATURE_COUNT + 0;
454
  int ENAMED_ELEMENT_FEATURE_COUNT = EMODEL_ELEMENT_FEATURE_COUNT + 1;
304
455
305
  /**
456
  /**
306
   * The feature id for the '<em><b>Unique</b></em>' attribute.
457
   * The operation id for the '<em>EClass</em>' operation.
307
   * <!-- begin-user-doc -->
458
   * <!-- begin-user-doc -->
308
   * <!-- end-user-doc -->
459
   * <!-- end-user-doc -->
309
   * @generated
460
   * @generated
310
   * @ordered
461
   * @ordered
311
   */
462
   */
312
  int ETYPED_ELEMENT__UNIQUE = ENAMED_ELEMENT_FEATURE_COUNT + 1;
463
  int ENAMED_ELEMENT___ECLASS = EMODEL_ELEMENT___ECLASS;
313
464
314
  /**
465
  /**
315
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
466
   * The operation id for the '<em>EIs Proxy</em>' operation.
316
   * <!-- begin-user-doc -->
467
   * <!-- begin-user-doc -->
317
   * <!-- end-user-doc -->
468
   * <!-- end-user-doc -->
318
   * @generated
469
   * @generated
319
   * @ordered
470
   * @ordered
320
   */
471
   */
321
  int ETYPED_ELEMENT__LOWER_BOUND = ENAMED_ELEMENT_FEATURE_COUNT + 2;
472
  int ENAMED_ELEMENT___EIS_PROXY = EMODEL_ELEMENT___EIS_PROXY;
322
473
323
  /**
474
  /**
324
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
475
   * The operation id for the '<em>EResource</em>' operation.
325
   * <!-- begin-user-doc -->
476
   * <!-- begin-user-doc -->
326
   * <!-- end-user-doc -->
477
   * <!-- end-user-doc -->
327
   * @generated
478
   * @generated
328
   * @ordered
479
   * @ordered
329
   */
480
   */
330
  int ETYPED_ELEMENT__UPPER_BOUND = ENAMED_ELEMENT_FEATURE_COUNT + 3;
481
  int ENAMED_ELEMENT___ERESOURCE = EMODEL_ELEMENT___ERESOURCE;
331
482
332
  /**
483
  /**
333
   * The feature id for the '<em><b>Many</b></em>' attribute.
484
   * The operation id for the '<em>EContainer</em>' operation.
334
   * <!-- begin-user-doc -->
485
   * <!-- begin-user-doc -->
335
   * <!-- end-user-doc -->
486
   * <!-- end-user-doc -->
336
   * @generated
487
   * @generated
337
   * @ordered
488
   * @ordered
338
   */
489
   */
339
  int ETYPED_ELEMENT__MANY = ENAMED_ELEMENT_FEATURE_COUNT + 4;
490
  int ENAMED_ELEMENT___ECONTAINER = EMODEL_ELEMENT___ECONTAINER;
340
491
341
  /**
492
  /**
342
   * The feature id for the '<em><b>Required</b></em>' attribute.
493
   * The operation id for the '<em>EContaining Feature</em>' operation.
343
   * <!-- begin-user-doc -->
494
   * <!-- begin-user-doc -->
344
   * <!-- end-user-doc -->
495
   * <!-- end-user-doc -->
345
   * @generated
496
   * @generated
346
   * @ordered
497
   * @ordered
347
   */
498
   */
348
  int ETYPED_ELEMENT__REQUIRED = ENAMED_ELEMENT_FEATURE_COUNT + 5;
499
  int ENAMED_ELEMENT___ECONTAINING_FEATURE = EMODEL_ELEMENT___ECONTAINING_FEATURE;
349
500
350
  /**
501
  /**
351
   * The feature id for the '<em><b>EType</b></em>' reference.
502
   * The operation id for the '<em>EContainment Feature</em>' operation.
352
   * <!-- begin-user-doc -->
503
   * <!-- begin-user-doc -->
353
   * <!-- end-user-doc -->
504
   * <!-- end-user-doc -->
354
   * @generated
505
   * @generated
355
   * @ordered
506
   * @ordered
356
   */
507
   */
357
  int ETYPED_ELEMENT__ETYPE = ENAMED_ELEMENT_FEATURE_COUNT + 6;
508
  int ENAMED_ELEMENT___ECONTAINMENT_FEATURE = EMODEL_ELEMENT___ECONTAINMENT_FEATURE;
358
509
359
  /**
510
  /**
360
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
511
   * The operation id for the '<em>EContents</em>' operation.
361
   * <!-- begin-user-doc -->
512
   * <!-- begin-user-doc -->
362
   * <!-- end-user-doc -->
513
   * <!-- end-user-doc -->
363
   * @generated
514
   * @generated
364
   * @ordered
515
   * @ordered
365
   */
516
   */
366
  int ETYPED_ELEMENT__EGENERIC_TYPE = ENAMED_ELEMENT_FEATURE_COUNT + 7;
517
  int ENAMED_ELEMENT___ECONTENTS = EMODEL_ELEMENT___ECONTENTS;
367
518
368
  /**
519
  /**
369
   * The number of structural features of the '<em>ETyped Element</em>' class.
520
   * The operation id for the '<em>EAll Contents</em>' operation.
370
   * <!-- begin-user-doc -->
521
   * <!-- begin-user-doc -->
371
   * <!-- end-user-doc -->
522
   * <!-- end-user-doc -->
372
   * @generated
523
   * @generated
373
   * @ordered
524
   * @ordered
374
   */
525
   */
375
  int ETYPED_ELEMENT_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 8;
526
  int ENAMED_ELEMENT___EALL_CONTENTS = EMODEL_ELEMENT___EALL_CONTENTS;
376
527
377
  /**
528
  /**
378
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
529
   * The operation id for the '<em>ECross References</em>' operation.
379
   * <!-- begin-user-doc -->
530
   * <!-- begin-user-doc -->
380
   * <!-- end-user-doc -->
531
   * <!-- end-user-doc -->
381
   * @generated
532
   * @generated
382
   * @ordered
533
   * @ordered
383
   */
534
   */
384
  int ESTRUCTURAL_FEATURE__EANNOTATIONS = ETYPED_ELEMENT__EANNOTATIONS;
535
  int ENAMED_ELEMENT___ECROSS_REFERENCES = EMODEL_ELEMENT___ECROSS_REFERENCES;
536
537
  /**
538
   * The operation id for the '<em>EGet</em>' operation.
539
   * <!-- begin-user-doc -->
540
   * <!-- end-user-doc -->
541
   * @generated
542
   * @ordered
543
   */
544
  int ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE;
545
546
  /**
547
   * The operation id for the '<em>EGet</em>' operation.
548
   * <!-- begin-user-doc -->
549
   * <!-- end-user-doc -->
550
   * @generated
551
   * @ordered
552
   */
553
  int ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN = EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
554
555
  /**
556
   * The operation id for the '<em>ESet</em>' operation.
557
   * <!-- begin-user-doc -->
558
   * <!-- end-user-doc -->
559
   * @generated
560
   * @ordered
561
   */
562
  int ENAMED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT = EMODEL_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
563
564
  /**
565
   * The operation id for the '<em>EIs Set</em>' operation.
566
   * <!-- begin-user-doc -->
567
   * <!-- end-user-doc -->
568
   * @generated
569
   * @ordered
570
   */
571
  int ENAMED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
572
573
  /**
574
   * The operation id for the '<em>EUnset</em>' operation.
575
   * <!-- begin-user-doc -->
576
   * <!-- end-user-doc -->
577
   * @generated
578
   * @ordered
579
   */
580
  int ENAMED_ELEMENT___EUNSET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
581
582
  /**
583
   * The operation id for the '<em>EInvoke</em>' operation.
584
   * <!-- begin-user-doc -->
585
   * <!-- end-user-doc -->
586
   * @generated
587
   * @ordered
588
   */
589
  int ENAMED_ELEMENT___EINVOKE__EOPERATION_ELIST = EMODEL_ELEMENT___EINVOKE__EOPERATION_ELIST;
590
591
  /**
592
   * The operation id for the '<em>Get EAnnotation</em>' operation.
593
   * <!-- begin-user-doc -->
594
   * <!-- end-user-doc -->
595
   * @generated
596
   * @ordered
597
   */
598
  int ENAMED_ELEMENT___GET_EANNOTATION__STRING = EMODEL_ELEMENT___GET_EANNOTATION__STRING;
599
600
  /**
601
   * The number of operations of the '<em>ENamed Element</em>' class.
602
   * <!-- begin-user-doc -->
603
   * <!-- end-user-doc -->
604
   * @generated
605
   * @ordered
606
   */
607
  int ENAMED_ELEMENT_OPERATION_COUNT = EMODEL_ELEMENT_OPERATION_COUNT + 0;
608
609
  /**
610
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EStructuralFeatureImpl <em>EStructural Feature</em>}' class.
611
   * <!-- begin-user-doc -->
612
   * <!-- end-user-doc -->
613
   * @see org.eclipse.emf.ecore.impl.EStructuralFeatureImpl
614
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEStructuralFeature()
615
   * @generated
616
   */
617
  int ESTRUCTURAL_FEATURE = 15;
618
619
  /**
620
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EAttributeImpl <em>EAttribute</em>}' class.
621
   * <!-- begin-user-doc -->
622
   * <!-- end-user-doc -->
623
   * @see org.eclipse.emf.ecore.impl.EAttributeImpl
624
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEAttribute()
625
   * @generated
626
   */
627
  int EATTRIBUTE = 0;
628
629
  /**
630
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EClassImpl <em>EClass</em>}' class.
631
   * <!-- begin-user-doc -->
632
   * <!-- end-user-doc -->
633
   * @see org.eclipse.emf.ecore.impl.EClassImpl
634
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEClass()
635
   * @generated
636
   */
637
  int ECLASS = 2;
638
639
  /**
640
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.ETypedElementImpl <em>ETyped Element</em>}' class.
641
   * <!-- begin-user-doc -->
642
   * <!-- end-user-doc -->
643
   * @see org.eclipse.emf.ecore.impl.ETypedElementImpl
644
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getETypedElement()
645
   * @generated
646
   */
647
  int ETYPED_ELEMENT = 16;
648
649
  /**
650
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EDataTypeImpl <em>EData Type</em>}' class.
651
   * <!-- begin-user-doc -->
652
   * <!-- end-user-doc -->
653
   * @see org.eclipse.emf.ecore.impl.EDataTypeImpl
654
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEDataType()
655
   * @generated
656
   */
657
  int EDATA_TYPE = 4;
658
659
  /**
660
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EEnumImpl <em>EEnum</em>}' class.
661
   * <!-- begin-user-doc -->
662
   * <!-- end-user-doc -->
663
   * @see org.eclipse.emf.ecore.impl.EEnumImpl
664
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEEnum()
665
   * @generated
666
   */
667
  int EENUM = 5;
668
669
  /**
670
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EEnumLiteralImpl <em>EEnum Literal</em>}' class.
671
   * <!-- begin-user-doc -->
672
   * <!-- end-user-doc -->
673
   * @see org.eclipse.emf.ecore.impl.EEnumLiteralImpl
674
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEEnumLiteral()
675
   * @generated
676
   */
677
  int EENUM_LITERAL = 6;
678
679
  /**
680
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EFactoryImpl <em>EFactory</em>}' class.
681
   * <!-- begin-user-doc -->
682
   * <!-- end-user-doc -->
683
   * @see org.eclipse.emf.ecore.impl.EFactoryImpl
684
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEFactory()
685
   * @generated
686
   */
687
  int EFACTORY = 7;
688
689
  /**
690
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EOperationImpl <em>EOperation</em>}' class.
691
   * <!-- begin-user-doc -->
692
   * <!-- end-user-doc -->
693
   * @see org.eclipse.emf.ecore.impl.EOperationImpl
694
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEOperation()
695
   * @generated
696
   */
697
  int EOPERATION = 11;
698
699
  /**
700
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EPackageImpl <em>EPackage</em>}' class.
701
   * <!-- begin-user-doc -->
702
   * <!-- end-user-doc -->
703
   * @see org.eclipse.emf.ecore.impl.EPackageImpl
704
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEPackage()
705
   * @generated
706
   */
707
  int EPACKAGE = 12;
708
709
  /**
710
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EParameterImpl <em>EParameter</em>}' class.
711
   * <!-- begin-user-doc -->
712
   * <!-- end-user-doc -->
713
   * @see org.eclipse.emf.ecore.impl.EParameterImpl
714
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEParameter()
715
   * @generated
716
   */
717
  int EPARAMETER = 13;
718
719
  /**
720
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EReferenceImpl <em>EReference</em>}' class.
721
   * <!-- begin-user-doc -->
722
   * <!-- end-user-doc -->
723
   * @see org.eclipse.emf.ecore.impl.EReferenceImpl
724
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEReference()
725
   * @generated
726
   */
727
  int EREFERENCE = 14;
728
729
  /**
730
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
731
   * <!-- begin-user-doc -->
732
   * <!-- end-user-doc -->
733
   * @generated
734
   * @ordered
735
   */
736
  int ETYPED_ELEMENT__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
737
738
  /**
739
   * The feature id for the '<em><b>Name</b></em>' attribute.
740
   * <!-- begin-user-doc -->
741
   * <!-- end-user-doc -->
742
   * @generated
743
   * @ordered
744
   */
745
  int ETYPED_ELEMENT__NAME = ENAMED_ELEMENT__NAME;
746
747
  /**
748
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
749
   * <!-- begin-user-doc -->
750
   * <!-- end-user-doc -->
751
   * @generated
752
   * @ordered
753
   */
754
  int ETYPED_ELEMENT__ORDERED = ENAMED_ELEMENT_FEATURE_COUNT + 0;
755
756
  /**
757
   * The feature id for the '<em><b>Unique</b></em>' attribute.
758
   * <!-- begin-user-doc -->
759
   * <!-- end-user-doc -->
760
   * @generated
761
   * @ordered
762
   */
763
  int ETYPED_ELEMENT__UNIQUE = ENAMED_ELEMENT_FEATURE_COUNT + 1;
764
765
  /**
766
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
767
   * <!-- begin-user-doc -->
768
   * <!-- end-user-doc -->
769
   * @generated
770
   * @ordered
771
   */
772
  int ETYPED_ELEMENT__LOWER_BOUND = ENAMED_ELEMENT_FEATURE_COUNT + 2;
773
774
  /**
775
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
776
   * <!-- begin-user-doc -->
777
   * <!-- end-user-doc -->
778
   * @generated
779
   * @ordered
780
   */
781
  int ETYPED_ELEMENT__UPPER_BOUND = ENAMED_ELEMENT_FEATURE_COUNT + 3;
782
783
  /**
784
   * The feature id for the '<em><b>Many</b></em>' attribute.
785
   * <!-- begin-user-doc -->
786
   * <!-- end-user-doc -->
787
   * @generated
788
   * @ordered
789
   */
790
  int ETYPED_ELEMENT__MANY = ENAMED_ELEMENT_FEATURE_COUNT + 4;
791
792
  /**
793
   * The feature id for the '<em><b>Required</b></em>' attribute.
794
   * <!-- begin-user-doc -->
795
   * <!-- end-user-doc -->
796
   * @generated
797
   * @ordered
798
   */
799
  int ETYPED_ELEMENT__REQUIRED = ENAMED_ELEMENT_FEATURE_COUNT + 5;
800
801
  /**
802
   * The feature id for the '<em><b>EType</b></em>' reference.
803
   * <!-- begin-user-doc -->
804
   * <!-- end-user-doc -->
805
   * @generated
806
   * @ordered
807
   */
808
  int ETYPED_ELEMENT__ETYPE = ENAMED_ELEMENT_FEATURE_COUNT + 6;
809
810
  /**
811
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
812
   * <!-- begin-user-doc -->
813
   * <!-- end-user-doc -->
814
   * @generated
815
   * @ordered
816
   */
817
  int ETYPED_ELEMENT__EGENERIC_TYPE = ENAMED_ELEMENT_FEATURE_COUNT + 7;
818
819
  /**
820
   * The number of structural features of the '<em>ETyped Element</em>' class.
821
   * <!-- begin-user-doc -->
822
   * <!-- end-user-doc -->
823
   * @generated
824
   * @ordered
825
   */
826
  int ETYPED_ELEMENT_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 8;
827
828
  /**
829
   * The operation id for the '<em>EClass</em>' operation.
830
   * <!-- begin-user-doc -->
831
   * <!-- end-user-doc -->
832
   * @generated
833
   * @ordered
834
   */
835
  int ETYPED_ELEMENT___ECLASS = ENAMED_ELEMENT___ECLASS;
836
837
  /**
838
   * The operation id for the '<em>EIs Proxy</em>' operation.
839
   * <!-- begin-user-doc -->
840
   * <!-- end-user-doc -->
841
   * @generated
842
   * @ordered
843
   */
844
  int ETYPED_ELEMENT___EIS_PROXY = ENAMED_ELEMENT___EIS_PROXY;
845
846
  /**
847
   * The operation id for the '<em>EResource</em>' operation.
848
   * <!-- begin-user-doc -->
849
   * <!-- end-user-doc -->
850
   * @generated
851
   * @ordered
852
   */
853
  int ETYPED_ELEMENT___ERESOURCE = ENAMED_ELEMENT___ERESOURCE;
854
855
  /**
856
   * The operation id for the '<em>EContainer</em>' operation.
857
   * <!-- begin-user-doc -->
858
   * <!-- end-user-doc -->
859
   * @generated
860
   * @ordered
861
   */
862
  int ETYPED_ELEMENT___ECONTAINER = ENAMED_ELEMENT___ECONTAINER;
863
864
  /**
865
   * The operation id for the '<em>EContaining Feature</em>' operation.
866
   * <!-- begin-user-doc -->
867
   * <!-- end-user-doc -->
868
   * @generated
869
   * @ordered
870
   */
871
  int ETYPED_ELEMENT___ECONTAINING_FEATURE = ENAMED_ELEMENT___ECONTAINING_FEATURE;
872
873
  /**
874
   * The operation id for the '<em>EContainment Feature</em>' operation.
875
   * <!-- begin-user-doc -->
876
   * <!-- end-user-doc -->
877
   * @generated
878
   * @ordered
879
   */
880
  int ETYPED_ELEMENT___ECONTAINMENT_FEATURE = ENAMED_ELEMENT___ECONTAINMENT_FEATURE;
881
882
  /**
883
   * The operation id for the '<em>EContents</em>' operation.
884
   * <!-- begin-user-doc -->
885
   * <!-- end-user-doc -->
886
   * @generated
887
   * @ordered
888
   */
889
  int ETYPED_ELEMENT___ECONTENTS = ENAMED_ELEMENT___ECONTENTS;
890
891
  /**
892
   * The operation id for the '<em>EAll Contents</em>' operation.
893
   * <!-- begin-user-doc -->
894
   * <!-- end-user-doc -->
895
   * @generated
896
   * @ordered
897
   */
898
  int ETYPED_ELEMENT___EALL_CONTENTS = ENAMED_ELEMENT___EALL_CONTENTS;
899
900
  /**
901
   * The operation id for the '<em>ECross References</em>' operation.
902
   * <!-- begin-user-doc -->
903
   * <!-- end-user-doc -->
904
   * @generated
905
   * @ordered
906
   */
907
  int ETYPED_ELEMENT___ECROSS_REFERENCES = ENAMED_ELEMENT___ECROSS_REFERENCES;
908
909
  /**
910
   * The operation id for the '<em>EGet</em>' operation.
911
   * <!-- begin-user-doc -->
912
   * <!-- end-user-doc -->
913
   * @generated
914
   * @ordered
915
   */
916
  int ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE;
917
918
  /**
919
   * The operation id for the '<em>EGet</em>' operation.
920
   * <!-- begin-user-doc -->
921
   * <!-- end-user-doc -->
922
   * @generated
923
   * @ordered
924
   */
925
  int ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
926
927
  /**
928
   * The operation id for the '<em>ESet</em>' operation.
929
   * <!-- begin-user-doc -->
930
   * <!-- end-user-doc -->
931
   * @generated
932
   * @ordered
933
   */
934
  int ETYPED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT = ENAMED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
935
936
  /**
937
   * The operation id for the '<em>EIs Set</em>' operation.
938
   * <!-- begin-user-doc -->
939
   * <!-- end-user-doc -->
940
   * @generated
941
   * @ordered
942
   */
943
  int ETYPED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
944
945
  /**
946
   * The operation id for the '<em>EUnset</em>' operation.
947
   * <!-- begin-user-doc -->
948
   * <!-- end-user-doc -->
949
   * @generated
950
   * @ordered
951
   */
952
  int ETYPED_ELEMENT___EUNSET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
953
954
  /**
955
   * The operation id for the '<em>EInvoke</em>' operation.
956
   * <!-- begin-user-doc -->
957
   * <!-- end-user-doc -->
958
   * @generated
959
   * @ordered
960
   */
961
  int ETYPED_ELEMENT___EINVOKE__EOPERATION_ELIST = ENAMED_ELEMENT___EINVOKE__EOPERATION_ELIST;
962
963
  /**
964
   * The operation id for the '<em>Get EAnnotation</em>' operation.
965
   * <!-- begin-user-doc -->
966
   * <!-- end-user-doc -->
967
   * @generated
968
   * @ordered
969
   */
970
  int ETYPED_ELEMENT___GET_EANNOTATION__STRING = ENAMED_ELEMENT___GET_EANNOTATION__STRING;
971
972
  /**
973
   * The number of operations of the '<em>ETyped Element</em>' class.
974
   * <!-- begin-user-doc -->
975
   * <!-- end-user-doc -->
976
   * @generated
977
   * @ordered
978
   */
979
  int ETYPED_ELEMENT_OPERATION_COUNT = ENAMED_ELEMENT_OPERATION_COUNT + 0;
980
981
  /**
982
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
983
   * <!-- begin-user-doc -->
984
   * <!-- end-user-doc -->
985
   * @generated
986
   * @ordered
987
   */
988
  int ESTRUCTURAL_FEATURE__EANNOTATIONS = ETYPED_ELEMENT__EANNOTATIONS;
989
990
  /**
991
   * The feature id for the '<em><b>Name</b></em>' attribute.
992
   * <!-- begin-user-doc -->
993
   * <!-- end-user-doc -->
994
   * @generated
995
   * @ordered
996
   */
997
  int ESTRUCTURAL_FEATURE__NAME = ETYPED_ELEMENT__NAME;
998
999
  /**
1000
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
1001
   * <!-- begin-user-doc -->
1002
   * <!-- end-user-doc -->
1003
   * @generated
1004
   * @ordered
1005
   */
1006
  int ESTRUCTURAL_FEATURE__ORDERED = ETYPED_ELEMENT__ORDERED;
1007
1008
  /**
1009
   * The feature id for the '<em><b>Unique</b></em>' attribute.
1010
   * <!-- begin-user-doc -->
1011
   * <!-- end-user-doc -->
1012
   * @generated
1013
   * @ordered
1014
   */
1015
  int ESTRUCTURAL_FEATURE__UNIQUE = ETYPED_ELEMENT__UNIQUE;
1016
1017
  /**
1018
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
1019
   * <!-- begin-user-doc -->
1020
   * <!-- end-user-doc -->
1021
   * @generated
1022
   * @ordered
1023
   */
1024
  int ESTRUCTURAL_FEATURE__LOWER_BOUND = ETYPED_ELEMENT__LOWER_BOUND;
1025
1026
  /**
1027
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
1028
   * <!-- begin-user-doc -->
1029
   * <!-- end-user-doc -->
1030
   * @generated
1031
   * @ordered
1032
   */
1033
  int ESTRUCTURAL_FEATURE__UPPER_BOUND = ETYPED_ELEMENT__UPPER_BOUND;
1034
1035
  /**
1036
   * The feature id for the '<em><b>Many</b></em>' attribute.
1037
   * <!-- begin-user-doc -->
1038
   * <!-- end-user-doc -->
1039
   * @generated
1040
   * @ordered
1041
   */
1042
  int ESTRUCTURAL_FEATURE__MANY = ETYPED_ELEMENT__MANY;
1043
1044
  /**
1045
   * The feature id for the '<em><b>Required</b></em>' attribute.
1046
   * <!-- begin-user-doc -->
1047
   * <!-- end-user-doc -->
1048
   * @generated
1049
   * @ordered
1050
   */
1051
  int ESTRUCTURAL_FEATURE__REQUIRED = ETYPED_ELEMENT__REQUIRED;
1052
1053
  /**
1054
   * The feature id for the '<em><b>EType</b></em>' reference.
1055
   * <!-- begin-user-doc -->
1056
   * <!-- end-user-doc -->
1057
   * @generated
1058
   * @ordered
1059
   */
1060
  int ESTRUCTURAL_FEATURE__ETYPE = ETYPED_ELEMENT__ETYPE;
1061
1062
  /**
1063
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
1064
   * <!-- begin-user-doc -->
1065
   * <!-- end-user-doc -->
1066
   * @generated
1067
   * @ordered
1068
   */
1069
  int ESTRUCTURAL_FEATURE__EGENERIC_TYPE = ETYPED_ELEMENT__EGENERIC_TYPE;
1070
1071
  /**
1072
   * The feature id for the '<em><b>Changeable</b></em>' attribute.
1073
   * <!-- begin-user-doc -->
1074
   * <!-- end-user-doc -->
1075
   * @generated
1076
   * @ordered
1077
   */
1078
  int ESTRUCTURAL_FEATURE__CHANGEABLE = ETYPED_ELEMENT_FEATURE_COUNT + 0;
1079
1080
  /**
1081
   * The feature id for the '<em><b>Volatile</b></em>' attribute.
1082
   * <!-- begin-user-doc -->
1083
   * <!-- end-user-doc -->
1084
   * @generated
1085
   * @ordered
1086
   */
1087
  int ESTRUCTURAL_FEATURE__VOLATILE = ETYPED_ELEMENT_FEATURE_COUNT + 1;
1088
1089
  /**
1090
   * The feature id for the '<em><b>Transient</b></em>' attribute.
1091
   * <!-- begin-user-doc -->
1092
   * <!-- end-user-doc -->
1093
   * @generated
1094
   * @ordered
1095
   */
1096
  int ESTRUCTURAL_FEATURE__TRANSIENT = ETYPED_ELEMENT_FEATURE_COUNT + 2;
1097
1098
  /**
1099
   * The feature id for the '<em><b>Default Value Literal</b></em>' attribute.
1100
   * <!-- begin-user-doc -->
1101
   * <!-- end-user-doc -->
1102
   * @generated
1103
   * @ordered
1104
   */
1105
  int ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL = ETYPED_ELEMENT_FEATURE_COUNT + 3;
1106
1107
  /**
1108
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
1109
   * <!-- begin-user-doc -->
1110
   * <!-- end-user-doc -->
1111
   * @generated
1112
   * @ordered
1113
   */
1114
  int ESTRUCTURAL_FEATURE__DEFAULT_VALUE = ETYPED_ELEMENT_FEATURE_COUNT + 4;
1115
1116
  /**
1117
   * The feature id for the '<em><b>Unsettable</b></em>' attribute.
1118
   * <!-- begin-user-doc -->
1119
   * <!-- end-user-doc -->
1120
   * @generated
1121
   * @ordered
1122
   */
1123
  int ESTRUCTURAL_FEATURE__UNSETTABLE = ETYPED_ELEMENT_FEATURE_COUNT + 5;
1124
1125
  /**
1126
   * The feature id for the '<em><b>Derived</b></em>' attribute.
1127
   * <!-- begin-user-doc -->
1128
   * <!-- end-user-doc -->
1129
   * @generated
1130
   * @ordered
1131
   */
1132
  int ESTRUCTURAL_FEATURE__DERIVED = ETYPED_ELEMENT_FEATURE_COUNT + 6;
1133
1134
  /**
1135
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
1136
   * <!-- begin-user-doc -->
1137
   * <!-- end-user-doc -->
1138
   * @generated
1139
   * @ordered
1140
   */
1141
  int ESTRUCTURAL_FEATURE__ECONTAINING_CLASS = ETYPED_ELEMENT_FEATURE_COUNT + 7;
1142
1143
  /**
1144
   * The number of structural features of the '<em>EStructural Feature</em>' class.
1145
   * <!-- begin-user-doc -->
1146
   * <!-- end-user-doc -->
1147
   * @generated
1148
   * @ordered
1149
   */
1150
  int ESTRUCTURAL_FEATURE_FEATURE_COUNT = ETYPED_ELEMENT_FEATURE_COUNT + 8;
1151
1152
  /**
1153
   * The operation id for the '<em>EClass</em>' operation.
1154
   * <!-- begin-user-doc -->
1155
   * <!-- end-user-doc -->
1156
   * @generated
1157
   * @ordered
1158
   */
1159
  int ESTRUCTURAL_FEATURE___ECLASS = ETYPED_ELEMENT___ECLASS;
1160
1161
  /**
1162
   * The operation id for the '<em>EIs Proxy</em>' operation.
1163
   * <!-- begin-user-doc -->
1164
   * <!-- end-user-doc -->
1165
   * @generated
1166
   * @ordered
1167
   */
1168
  int ESTRUCTURAL_FEATURE___EIS_PROXY = ETYPED_ELEMENT___EIS_PROXY;
1169
1170
  /**
1171
   * The operation id for the '<em>EResource</em>' operation.
1172
   * <!-- begin-user-doc -->
1173
   * <!-- end-user-doc -->
1174
   * @generated
1175
   * @ordered
1176
   */
1177
  int ESTRUCTURAL_FEATURE___ERESOURCE = ETYPED_ELEMENT___ERESOURCE;
1178
1179
  /**
1180
   * The operation id for the '<em>EContainer</em>' operation.
1181
   * <!-- begin-user-doc -->
1182
   * <!-- end-user-doc -->
1183
   * @generated
1184
   * @ordered
1185
   */
1186
  int ESTRUCTURAL_FEATURE___ECONTAINER = ETYPED_ELEMENT___ECONTAINER;
1187
1188
  /**
1189
   * The operation id for the '<em>EContaining Feature</em>' operation.
1190
   * <!-- begin-user-doc -->
1191
   * <!-- end-user-doc -->
1192
   * @generated
1193
   * @ordered
1194
   */
1195
  int ESTRUCTURAL_FEATURE___ECONTAINING_FEATURE = ETYPED_ELEMENT___ECONTAINING_FEATURE;
1196
1197
  /**
1198
   * The operation id for the '<em>EContainment Feature</em>' operation.
1199
   * <!-- begin-user-doc -->
1200
   * <!-- end-user-doc -->
1201
   * @generated
1202
   * @ordered
1203
   */
1204
  int ESTRUCTURAL_FEATURE___ECONTAINMENT_FEATURE = ETYPED_ELEMENT___ECONTAINMENT_FEATURE;
1205
1206
  /**
1207
   * The operation id for the '<em>EContents</em>' operation.
1208
   * <!-- begin-user-doc -->
1209
   * <!-- end-user-doc -->
1210
   * @generated
1211
   * @ordered
1212
   */
1213
  int ESTRUCTURAL_FEATURE___ECONTENTS = ETYPED_ELEMENT___ECONTENTS;
1214
1215
  /**
1216
   * The operation id for the '<em>EAll Contents</em>' operation.
1217
   * <!-- begin-user-doc -->
1218
   * <!-- end-user-doc -->
1219
   * @generated
1220
   * @ordered
1221
   */
1222
  int ESTRUCTURAL_FEATURE___EALL_CONTENTS = ETYPED_ELEMENT___EALL_CONTENTS;
1223
1224
  /**
1225
   * The operation id for the '<em>ECross References</em>' operation.
1226
   * <!-- begin-user-doc -->
1227
   * <!-- end-user-doc -->
1228
   * @generated
1229
   * @ordered
1230
   */
1231
  int ESTRUCTURAL_FEATURE___ECROSS_REFERENCES = ETYPED_ELEMENT___ECROSS_REFERENCES;
1232
1233
  /**
1234
   * The operation id for the '<em>EGet</em>' operation.
1235
   * <!-- begin-user-doc -->
1236
   * <!-- end-user-doc -->
1237
   * @generated
1238
   * @ordered
1239
   */
1240
  int ESTRUCTURAL_FEATURE___EGET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE;
1241
1242
  /**
1243
   * The operation id for the '<em>EGet</em>' operation.
1244
   * <!-- begin-user-doc -->
1245
   * <!-- end-user-doc -->
1246
   * @generated
1247
   * @ordered
1248
   */
1249
  int ESTRUCTURAL_FEATURE___EGET__ESTRUCTURALFEATURE_BOOLEAN = ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
1250
1251
  /**
1252
   * The operation id for the '<em>ESet</em>' operation.
1253
   * <!-- begin-user-doc -->
1254
   * <!-- end-user-doc -->
1255
   * @generated
1256
   * @ordered
1257
   */
1258
  int ESTRUCTURAL_FEATURE___ESET__ESTRUCTURALFEATURE_OBJECT = ETYPED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
1259
1260
  /**
1261
   * The operation id for the '<em>EIs Set</em>' operation.
1262
   * <!-- begin-user-doc -->
1263
   * <!-- end-user-doc -->
1264
   * @generated
1265
   * @ordered
1266
   */
1267
  int ESTRUCTURAL_FEATURE___EIS_SET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
1268
1269
  /**
1270
   * The operation id for the '<em>EUnset</em>' operation.
1271
   * <!-- begin-user-doc -->
1272
   * <!-- end-user-doc -->
1273
   * @generated
1274
   * @ordered
1275
   */
1276
  int ESTRUCTURAL_FEATURE___EUNSET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
1277
1278
  /**
1279
   * The operation id for the '<em>EInvoke</em>' operation.
1280
   * <!-- begin-user-doc -->
1281
   * <!-- end-user-doc -->
1282
   * @generated
1283
   * @ordered
1284
   */
1285
  int ESTRUCTURAL_FEATURE___EINVOKE__EOPERATION_ELIST = ETYPED_ELEMENT___EINVOKE__EOPERATION_ELIST;
1286
1287
  /**
1288
   * The operation id for the '<em>Get EAnnotation</em>' operation.
1289
   * <!-- begin-user-doc -->
1290
   * <!-- end-user-doc -->
1291
   * @generated
1292
   * @ordered
1293
   */
1294
  int ESTRUCTURAL_FEATURE___GET_EANNOTATION__STRING = ETYPED_ELEMENT___GET_EANNOTATION__STRING;
1295
1296
  /**
1297
   * The operation id for the '<em>Get Feature ID</em>' operation.
1298
   * <!-- begin-user-doc -->
1299
   * <!-- end-user-doc -->
1300
   * @generated
1301
   * @ordered
1302
   */
1303
  int ESTRUCTURAL_FEATURE___GET_FEATURE_ID = ETYPED_ELEMENT_OPERATION_COUNT + 0;
1304
1305
  /**
1306
   * The operation id for the '<em>Get Container Class</em>' operation.
1307
   * <!-- begin-user-doc -->
1308
   * <!-- end-user-doc -->
1309
   * @generated
1310
   * @ordered
1311
   */
1312
  int ESTRUCTURAL_FEATURE___GET_CONTAINER_CLASS = ETYPED_ELEMENT_OPERATION_COUNT + 1;
1313
1314
  /**
1315
   * The number of operations of the '<em>EStructural Feature</em>' class.
1316
   * <!-- begin-user-doc -->
1317
   * <!-- end-user-doc -->
1318
   * @generated
1319
   * @ordered
1320
   */
1321
  int ESTRUCTURAL_FEATURE_OPERATION_COUNT = ETYPED_ELEMENT_OPERATION_COUNT + 2;
1322
1323
  /**
1324
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
1325
   * <!-- begin-user-doc -->
1326
   * <!-- end-user-doc -->
1327
   * @generated
1328
   * @ordered
1329
   */
1330
  int EATTRIBUTE__EANNOTATIONS = ESTRUCTURAL_FEATURE__EANNOTATIONS;
1331
1332
  /**
1333
   * The feature id for the '<em><b>Name</b></em>' attribute.
1334
   * <!-- begin-user-doc -->
1335
   * <!-- end-user-doc -->
1336
   * @generated
1337
   * @ordered
1338
   */
1339
  int EATTRIBUTE__NAME = ESTRUCTURAL_FEATURE__NAME;
1340
1341
  /**
1342
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
1343
   * <!-- begin-user-doc -->
1344
   * <!-- end-user-doc -->
1345
   * @generated
1346
   * @ordered
1347
   */
1348
  int EATTRIBUTE__ORDERED = ESTRUCTURAL_FEATURE__ORDERED;
1349
1350
  /**
1351
   * The feature id for the '<em><b>Unique</b></em>' attribute.
1352
   * <!-- begin-user-doc -->
1353
   * <!-- end-user-doc -->
1354
   * @generated
1355
   * @ordered
1356
   */
1357
  int EATTRIBUTE__UNIQUE = ESTRUCTURAL_FEATURE__UNIQUE;
1358
1359
  /**
1360
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
1361
   * <!-- begin-user-doc -->
1362
   * <!-- end-user-doc -->
1363
   * @generated
1364
   * @ordered
1365
   */
1366
  int EATTRIBUTE__LOWER_BOUND = ESTRUCTURAL_FEATURE__LOWER_BOUND;
1367
1368
  /**
1369
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
1370
   * <!-- begin-user-doc -->
1371
   * <!-- end-user-doc -->
1372
   * @generated
1373
   * @ordered
1374
   */
1375
  int EATTRIBUTE__UPPER_BOUND = ESTRUCTURAL_FEATURE__UPPER_BOUND;
1376
1377
  /**
1378
   * The feature id for the '<em><b>Many</b></em>' attribute.
1379
   * <!-- begin-user-doc -->
1380
   * <!-- end-user-doc -->
1381
   * @generated
1382
   * @ordered
1383
   */
1384
  int EATTRIBUTE__MANY = ESTRUCTURAL_FEATURE__MANY;
1385
1386
  /**
1387
   * The feature id for the '<em><b>Required</b></em>' attribute.
1388
   * <!-- begin-user-doc -->
1389
   * <!-- end-user-doc -->
1390
   * @generated
1391
   * @ordered
1392
   */
1393
  int EATTRIBUTE__REQUIRED = ESTRUCTURAL_FEATURE__REQUIRED;
1394
1395
  /**
1396
   * The feature id for the '<em><b>EType</b></em>' reference.
1397
   * <!-- begin-user-doc -->
1398
   * <!-- end-user-doc -->
1399
   * @generated
1400
   * @ordered
1401
   */
1402
  int EATTRIBUTE__ETYPE = ESTRUCTURAL_FEATURE__ETYPE;
1403
1404
  /**
1405
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
1406
   * <!-- begin-user-doc -->
1407
   * <!-- end-user-doc -->
1408
   * @generated
1409
   * @ordered
1410
   */
1411
  int EATTRIBUTE__EGENERIC_TYPE = ESTRUCTURAL_FEATURE__EGENERIC_TYPE;
1412
1413
  /**
1414
   * The feature id for the '<em><b>Changeable</b></em>' attribute.
1415
   * <!-- begin-user-doc -->
1416
   * <!-- end-user-doc -->
1417
   * @generated
1418
   * @ordered
1419
   */
1420
  int EATTRIBUTE__CHANGEABLE = ESTRUCTURAL_FEATURE__CHANGEABLE;
1421
1422
  /**
1423
   * The feature id for the '<em><b>Volatile</b></em>' attribute.
1424
   * <!-- begin-user-doc -->
1425
   * <!-- end-user-doc -->
1426
   * @generated
1427
   * @ordered
1428
   */
1429
  int EATTRIBUTE__VOLATILE = ESTRUCTURAL_FEATURE__VOLATILE;
1430
1431
  /**
1432
   * The feature id for the '<em><b>Transient</b></em>' attribute.
1433
   * <!-- begin-user-doc -->
1434
   * <!-- end-user-doc -->
1435
   * @generated
1436
   * @ordered
1437
   */
1438
  int EATTRIBUTE__TRANSIENT = ESTRUCTURAL_FEATURE__TRANSIENT;
1439
1440
  /**
1441
   * The feature id for the '<em><b>Default Value Literal</b></em>' attribute.
1442
   * <!-- begin-user-doc -->
1443
   * <!-- end-user-doc -->
1444
   * @generated
1445
   * @ordered
1446
   */
1447
  int EATTRIBUTE__DEFAULT_VALUE_LITERAL = ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL;
1448
1449
  /**
1450
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
1451
   * <!-- begin-user-doc -->
1452
   * <!-- end-user-doc -->
1453
   * @generated
1454
   * @ordered
1455
   */
1456
  int EATTRIBUTE__DEFAULT_VALUE = ESTRUCTURAL_FEATURE__DEFAULT_VALUE;
1457
1458
  /**
1459
   * The feature id for the '<em><b>Unsettable</b></em>' attribute.
1460
   * <!-- begin-user-doc -->
1461
   * <!-- end-user-doc -->
1462
   * @generated
1463
   * @ordered
1464
   */
1465
  int EATTRIBUTE__UNSETTABLE = ESTRUCTURAL_FEATURE__UNSETTABLE;
1466
1467
  /**
1468
   * The feature id for the '<em><b>Derived</b></em>' attribute.
1469
   * <!-- begin-user-doc -->
1470
   * <!-- end-user-doc -->
1471
   * @generated
1472
   * @ordered
1473
   */
1474
  int EATTRIBUTE__DERIVED = ESTRUCTURAL_FEATURE__DERIVED;
1475
1476
  /**
1477
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
1478
   * <!-- begin-user-doc -->
1479
   * <!-- end-user-doc -->
1480
   * @generated
1481
   * @ordered
1482
   */
1483
  int EATTRIBUTE__ECONTAINING_CLASS = ESTRUCTURAL_FEATURE__ECONTAINING_CLASS;
1484
1485
  /**
1486
   * The feature id for the '<em><b>ID</b></em>' attribute.
1487
   * <!-- begin-user-doc -->
1488
   * <!-- end-user-doc -->
1489
   * @generated
1490
   * @ordered
1491
   */
1492
  int EATTRIBUTE__ID = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 0;
1493
1494
  /**
1495
   * The feature id for the '<em><b>EAttribute Type</b></em>' reference.
1496
   * <!-- begin-user-doc -->
1497
   * <!-- end-user-doc -->
1498
   * @generated
1499
   * @ordered
1500
   */
1501
  int EATTRIBUTE__EATTRIBUTE_TYPE = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 1;
1502
1503
  /**
1504
   * The number of structural features of the '<em>EAttribute</em>' class.
1505
   * <!-- begin-user-doc -->
1506
   * <!-- end-user-doc -->
1507
   * @generated
1508
   * @ordered
1509
   */
1510
  int EATTRIBUTE_FEATURE_COUNT = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 2;
1511
1512
  /**
1513
   * The operation id for the '<em>EClass</em>' operation.
1514
   * <!-- begin-user-doc -->
1515
   * <!-- end-user-doc -->
1516
   * @generated
1517
   * @ordered
1518
   */
1519
  int EATTRIBUTE___ECLASS = ESTRUCTURAL_FEATURE___ECLASS;
1520
1521
  /**
1522
   * The operation id for the '<em>EIs Proxy</em>' operation.
1523
   * <!-- begin-user-doc -->
1524
   * <!-- end-user-doc -->
1525
   * @generated
1526
   * @ordered
1527
   */
1528
  int EATTRIBUTE___EIS_PROXY = ESTRUCTURAL_FEATURE___EIS_PROXY;
1529
1530
  /**
1531
   * The operation id for the '<em>EResource</em>' operation.
1532
   * <!-- begin-user-doc -->
1533
   * <!-- end-user-doc -->
1534
   * @generated
1535
   * @ordered
1536
   */
1537
  int EATTRIBUTE___ERESOURCE = ESTRUCTURAL_FEATURE___ERESOURCE;
1538
1539
  /**
1540
   * The operation id for the '<em>EContainer</em>' operation.
1541
   * <!-- begin-user-doc -->
1542
   * <!-- end-user-doc -->
1543
   * @generated
1544
   * @ordered
1545
   */
1546
  int EATTRIBUTE___ECONTAINER = ESTRUCTURAL_FEATURE___ECONTAINER;
1547
1548
  /**
1549
   * The operation id for the '<em>EContaining Feature</em>' operation.
1550
   * <!-- begin-user-doc -->
1551
   * <!-- end-user-doc -->
1552
   * @generated
1553
   * @ordered
1554
   */
1555
  int EATTRIBUTE___ECONTAINING_FEATURE = ESTRUCTURAL_FEATURE___ECONTAINING_FEATURE;
1556
1557
  /**
1558
   * The operation id for the '<em>EContainment Feature</em>' operation.
1559
   * <!-- begin-user-doc -->
1560
   * <!-- end-user-doc -->
1561
   * @generated
1562
   * @ordered
1563
   */
1564
  int EATTRIBUTE___ECONTAINMENT_FEATURE = ESTRUCTURAL_FEATURE___ECONTAINMENT_FEATURE;
1565
1566
  /**
1567
   * The operation id for the '<em>EContents</em>' operation.
1568
   * <!-- begin-user-doc -->
1569
   * <!-- end-user-doc -->
1570
   * @generated
1571
   * @ordered
1572
   */
1573
  int EATTRIBUTE___ECONTENTS = ESTRUCTURAL_FEATURE___ECONTENTS;
1574
1575
  /**
1576
   * The operation id for the '<em>EAll Contents</em>' operation.
1577
   * <!-- begin-user-doc -->
1578
   * <!-- end-user-doc -->
1579
   * @generated
1580
   * @ordered
1581
   */
1582
  int EATTRIBUTE___EALL_CONTENTS = ESTRUCTURAL_FEATURE___EALL_CONTENTS;
1583
1584
  /**
1585
   * The operation id for the '<em>ECross References</em>' operation.
1586
   * <!-- begin-user-doc -->
1587
   * <!-- end-user-doc -->
1588
   * @generated
1589
   * @ordered
1590
   */
1591
  int EATTRIBUTE___ECROSS_REFERENCES = ESTRUCTURAL_FEATURE___ECROSS_REFERENCES;
1592
1593
  /**
1594
   * The operation id for the '<em>EGet</em>' operation.
1595
   * <!-- begin-user-doc -->
1596
   * <!-- end-user-doc -->
1597
   * @generated
1598
   * @ordered
1599
   */
1600
  int EATTRIBUTE___EGET__ESTRUCTURALFEATURE = ESTRUCTURAL_FEATURE___EGET__ESTRUCTURALFEATURE;
1601
1602
  /**
1603
   * The operation id for the '<em>EGet</em>' operation.
1604
   * <!-- begin-user-doc -->
1605
   * <!-- end-user-doc -->
1606
   * @generated
1607
   * @ordered
1608
   */
1609
  int EATTRIBUTE___EGET__ESTRUCTURALFEATURE_BOOLEAN = ESTRUCTURAL_FEATURE___EGET__ESTRUCTURALFEATURE_BOOLEAN;
1610
1611
  /**
1612
   * The operation id for the '<em>ESet</em>' operation.
1613
   * <!-- begin-user-doc -->
1614
   * <!-- end-user-doc -->
1615
   * @generated
1616
   * @ordered
1617
   */
1618
  int EATTRIBUTE___ESET__ESTRUCTURALFEATURE_OBJECT = ESTRUCTURAL_FEATURE___ESET__ESTRUCTURALFEATURE_OBJECT;
1619
1620
  /**
1621
   * The operation id for the '<em>EIs Set</em>' operation.
1622
   * <!-- begin-user-doc -->
1623
   * <!-- end-user-doc -->
1624
   * @generated
1625
   * @ordered
1626
   */
1627
  int EATTRIBUTE___EIS_SET__ESTRUCTURALFEATURE = ESTRUCTURAL_FEATURE___EIS_SET__ESTRUCTURALFEATURE;
1628
1629
  /**
1630
   * The operation id for the '<em>EUnset</em>' operation.
1631
   * <!-- begin-user-doc -->
1632
   * <!-- end-user-doc -->
1633
   * @generated
1634
   * @ordered
1635
   */
1636
  int EATTRIBUTE___EUNSET__ESTRUCTURALFEATURE = ESTRUCTURAL_FEATURE___EUNSET__ESTRUCTURALFEATURE;
1637
1638
  /**
1639
   * The operation id for the '<em>EInvoke</em>' operation.
1640
   * <!-- begin-user-doc -->
1641
   * <!-- end-user-doc -->
1642
   * @generated
1643
   * @ordered
1644
   */
1645
  int EATTRIBUTE___EINVOKE__EOPERATION_ELIST = ESTRUCTURAL_FEATURE___EINVOKE__EOPERATION_ELIST;
1646
1647
  /**
1648
   * The operation id for the '<em>Get EAnnotation</em>' operation.
1649
   * <!-- begin-user-doc -->
1650
   * <!-- end-user-doc -->
1651
   * @generated
1652
   * @ordered
1653
   */
1654
  int EATTRIBUTE___GET_EANNOTATION__STRING = ESTRUCTURAL_FEATURE___GET_EANNOTATION__STRING;
1655
1656
  /**
1657
   * The operation id for the '<em>Get Feature ID</em>' operation.
1658
   * <!-- begin-user-doc -->
1659
   * <!-- end-user-doc -->
1660
   * @generated
1661
   * @ordered
1662
   */
1663
  int EATTRIBUTE___GET_FEATURE_ID = ESTRUCTURAL_FEATURE___GET_FEATURE_ID;
1664
1665
  /**
1666
   * The operation id for the '<em>Get Container Class</em>' operation.
1667
   * <!-- begin-user-doc -->
1668
   * <!-- end-user-doc -->
1669
   * @generated
1670
   * @ordered
1671
   */
1672
  int EATTRIBUTE___GET_CONTAINER_CLASS = ESTRUCTURAL_FEATURE___GET_CONTAINER_CLASS;
1673
1674
  /**
1675
   * The number of operations of the '<em>EAttribute</em>' class.
1676
   * <!-- begin-user-doc -->
1677
   * <!-- end-user-doc -->
1678
   * @generated
1679
   * @ordered
1680
   */
1681
  int EATTRIBUTE_OPERATION_COUNT = ESTRUCTURAL_FEATURE_OPERATION_COUNT + 0;
1682
1683
  /**
1684
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EAnnotationImpl <em>EAnnotation</em>}' class.
1685
   * <!-- begin-user-doc -->
1686
   * <!-- end-user-doc -->
1687
   * @see org.eclipse.emf.ecore.impl.EAnnotationImpl
1688
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEAnnotation()
1689
   * @generated
1690
   */
1691
  int EANNOTATION = 1;
1692
1693
  /**
1694
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
1695
   * <!-- begin-user-doc -->
1696
   * <!-- end-user-doc -->
1697
   * @generated
1698
   * @ordered
1699
   */
1700
  int EANNOTATION__EANNOTATIONS = EMODEL_ELEMENT__EANNOTATIONS;
1701
1702
  /**
1703
   * The feature id for the '<em><b>Source</b></em>' attribute.
1704
   * <!-- begin-user-doc -->
1705
   * <!-- end-user-doc -->
1706
   * @generated
1707
   * @ordered
1708
   */
1709
  int EANNOTATION__SOURCE = EMODEL_ELEMENT_FEATURE_COUNT + 0;
1710
1711
  /**
1712
   * The feature id for the '<em><b>Details</b></em>' map.
1713
   * <!-- begin-user-doc -->
1714
   * <!-- end-user-doc -->
1715
   * @generated
1716
   * @ordered
1717
   */
1718
  int EANNOTATION__DETAILS = EMODEL_ELEMENT_FEATURE_COUNT + 1;
1719
1720
  /**
1721
   * The feature id for the '<em><b>EModel Element</b></em>' container reference.
1722
   * <!-- begin-user-doc -->
1723
   * <!-- end-user-doc -->
1724
   * @generated
1725
   * @ordered
1726
   */
1727
  int EANNOTATION__EMODEL_ELEMENT = EMODEL_ELEMENT_FEATURE_COUNT + 2;
1728
1729
  /**
1730
   * The feature id for the '<em><b>Contents</b></em>' containment reference list.
1731
   * <!-- begin-user-doc -->
1732
   * <!-- end-user-doc -->
1733
   * @generated
1734
   * @ordered
1735
   */
1736
  int EANNOTATION__CONTENTS = EMODEL_ELEMENT_FEATURE_COUNT + 3;
1737
1738
  /**
1739
   * The feature id for the '<em><b>References</b></em>' reference list.
1740
   * <!-- begin-user-doc -->
1741
   * <!-- end-user-doc -->
1742
   * @generated
1743
   * @ordered
1744
   */
1745
  int EANNOTATION__REFERENCES = EMODEL_ELEMENT_FEATURE_COUNT + 4;
1746
1747
  /**
1748
   * The number of structural features of the '<em>EAnnotation</em>' class.
1749
   * <!-- begin-user-doc -->
1750
   * <!-- end-user-doc -->
1751
   * @generated
1752
   * @ordered
1753
   */
1754
  int EANNOTATION_FEATURE_COUNT = EMODEL_ELEMENT_FEATURE_COUNT + 5;
1755
1756
  /**
1757
   * The operation id for the '<em>EClass</em>' operation.
1758
   * <!-- begin-user-doc -->
1759
   * <!-- end-user-doc -->
1760
   * @generated
1761
   * @ordered
1762
   */
1763
  int EANNOTATION___ECLASS = EMODEL_ELEMENT___ECLASS;
1764
1765
  /**
1766
   * The operation id for the '<em>EIs Proxy</em>' operation.
1767
   * <!-- begin-user-doc -->
1768
   * <!-- end-user-doc -->
1769
   * @generated
1770
   * @ordered
1771
   */
1772
  int EANNOTATION___EIS_PROXY = EMODEL_ELEMENT___EIS_PROXY;
1773
1774
  /**
1775
   * The operation id for the '<em>EResource</em>' operation.
1776
   * <!-- begin-user-doc -->
1777
   * <!-- end-user-doc -->
1778
   * @generated
1779
   * @ordered
1780
   */
1781
  int EANNOTATION___ERESOURCE = EMODEL_ELEMENT___ERESOURCE;
1782
1783
  /**
1784
   * The operation id for the '<em>EContainer</em>' operation.
1785
   * <!-- begin-user-doc -->
1786
   * <!-- end-user-doc -->
1787
   * @generated
1788
   * @ordered
1789
   */
1790
  int EANNOTATION___ECONTAINER = EMODEL_ELEMENT___ECONTAINER;
1791
1792
  /**
1793
   * The operation id for the '<em>EContaining Feature</em>' operation.
1794
   * <!-- begin-user-doc -->
1795
   * <!-- end-user-doc -->
1796
   * @generated
1797
   * @ordered
1798
   */
1799
  int EANNOTATION___ECONTAINING_FEATURE = EMODEL_ELEMENT___ECONTAINING_FEATURE;
1800
1801
  /**
1802
   * The operation id for the '<em>EContainment Feature</em>' operation.
1803
   * <!-- begin-user-doc -->
1804
   * <!-- end-user-doc -->
1805
   * @generated
1806
   * @ordered
1807
   */
1808
  int EANNOTATION___ECONTAINMENT_FEATURE = EMODEL_ELEMENT___ECONTAINMENT_FEATURE;
1809
1810
  /**
1811
   * The operation id for the '<em>EContents</em>' operation.
1812
   * <!-- begin-user-doc -->
1813
   * <!-- end-user-doc -->
1814
   * @generated
1815
   * @ordered
1816
   */
1817
  int EANNOTATION___ECONTENTS = EMODEL_ELEMENT___ECONTENTS;
1818
1819
  /**
1820
   * The operation id for the '<em>EAll Contents</em>' operation.
1821
   * <!-- begin-user-doc -->
1822
   * <!-- end-user-doc -->
1823
   * @generated
1824
   * @ordered
1825
   */
1826
  int EANNOTATION___EALL_CONTENTS = EMODEL_ELEMENT___EALL_CONTENTS;
1827
1828
  /**
1829
   * The operation id for the '<em>ECross References</em>' operation.
1830
   * <!-- begin-user-doc -->
1831
   * <!-- end-user-doc -->
1832
   * @generated
1833
   * @ordered
1834
   */
1835
  int EANNOTATION___ECROSS_REFERENCES = EMODEL_ELEMENT___ECROSS_REFERENCES;
1836
1837
  /**
1838
   * The operation id for the '<em>EGet</em>' operation.
1839
   * <!-- begin-user-doc -->
1840
   * <!-- end-user-doc -->
1841
   * @generated
1842
   * @ordered
1843
   */
1844
  int EANNOTATION___EGET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE;
1845
1846
  /**
1847
   * The operation id for the '<em>EGet</em>' operation.
1848
   * <!-- begin-user-doc -->
1849
   * <!-- end-user-doc -->
1850
   * @generated
1851
   * @ordered
1852
   */
1853
  int EANNOTATION___EGET__ESTRUCTURALFEATURE_BOOLEAN = EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
1854
1855
  /**
1856
   * The operation id for the '<em>ESet</em>' operation.
1857
   * <!-- begin-user-doc -->
1858
   * <!-- end-user-doc -->
1859
   * @generated
1860
   * @ordered
1861
   */
1862
  int EANNOTATION___ESET__ESTRUCTURALFEATURE_OBJECT = EMODEL_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
1863
1864
  /**
1865
   * The operation id for the '<em>EIs Set</em>' operation.
1866
   * <!-- begin-user-doc -->
1867
   * <!-- end-user-doc -->
1868
   * @generated
1869
   * @ordered
1870
   */
1871
  int EANNOTATION___EIS_SET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
1872
1873
  /**
1874
   * The operation id for the '<em>EUnset</em>' operation.
1875
   * <!-- begin-user-doc -->
1876
   * <!-- end-user-doc -->
1877
   * @generated
1878
   * @ordered
1879
   */
1880
  int EANNOTATION___EUNSET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
1881
1882
  /**
1883
   * The operation id for the '<em>EInvoke</em>' operation.
1884
   * <!-- begin-user-doc -->
1885
   * <!-- end-user-doc -->
1886
   * @generated
1887
   * @ordered
1888
   */
1889
  int EANNOTATION___EINVOKE__EOPERATION_ELIST = EMODEL_ELEMENT___EINVOKE__EOPERATION_ELIST;
1890
1891
  /**
1892
   * The operation id for the '<em>Get EAnnotation</em>' operation.
1893
   * <!-- begin-user-doc -->
1894
   * <!-- end-user-doc -->
1895
   * @generated
1896
   * @ordered
1897
   */
1898
  int EANNOTATION___GET_EANNOTATION__STRING = EMODEL_ELEMENT___GET_EANNOTATION__STRING;
1899
1900
  /**
1901
   * The number of operations of the '<em>EAnnotation</em>' class.
1902
   * <!-- begin-user-doc -->
1903
   * <!-- end-user-doc -->
1904
   * @generated
1905
   * @ordered
1906
   */
1907
  int EANNOTATION_OPERATION_COUNT = EMODEL_ELEMENT_OPERATION_COUNT + 0;
1908
1909
  /**
1910
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EClassifierImpl <em>EClassifier</em>}' class.
1911
   * <!-- begin-user-doc -->
1912
   * <!-- end-user-doc -->
1913
   * @see org.eclipse.emf.ecore.impl.EClassifierImpl
1914
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEClassifier()
1915
   * @generated
1916
   */
1917
  int ECLASSIFIER = 3;
1918
1919
  /**
1920
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
1921
   * <!-- begin-user-doc -->
1922
   * <!-- end-user-doc -->
1923
   * @generated
1924
   * @ordered
1925
   */
1926
  int ECLASSIFIER__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
1927
1928
  /**
1929
   * The feature id for the '<em><b>Name</b></em>' attribute.
1930
   * <!-- begin-user-doc -->
1931
   * <!-- end-user-doc -->
1932
   * @generated
1933
   * @ordered
1934
   */
1935
  int ECLASSIFIER__NAME = ENAMED_ELEMENT__NAME;
1936
1937
  /**
1938
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
1939
   * <!-- begin-user-doc -->
1940
   * <!-- end-user-doc -->
1941
   * @generated
1942
   * @ordered
1943
   */
1944
  int ECLASSIFIER__INSTANCE_CLASS_NAME = ENAMED_ELEMENT_FEATURE_COUNT + 0;
1945
1946
  /**
1947
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
1948
   * <!-- begin-user-doc -->
1949
   * <!-- end-user-doc -->
1950
   * @generated
1951
   * @ordered
1952
   */
1953
  int ECLASSIFIER__INSTANCE_CLASS = ENAMED_ELEMENT_FEATURE_COUNT + 1;
1954
1955
  /**
1956
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
1957
   * <!-- begin-user-doc -->
1958
   * <!-- end-user-doc -->
1959
   * @generated
1960
   * @ordered
1961
   */
1962
  int ECLASSIFIER__DEFAULT_VALUE = ENAMED_ELEMENT_FEATURE_COUNT + 2;
1963
1964
  /**
1965
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
1966
   * <!-- begin-user-doc -->
1967
   * <!-- end-user-doc -->
1968
   * @generated
1969
   * @ordered
1970
   */
1971
  int ECLASSIFIER__INSTANCE_TYPE_NAME = ENAMED_ELEMENT_FEATURE_COUNT + 3;
1972
1973
  /**
1974
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
1975
   * <!-- begin-user-doc -->
1976
   * <!-- end-user-doc -->
1977
   * @generated
1978
   * @ordered
1979
   */
1980
  int ECLASSIFIER__EPACKAGE = ENAMED_ELEMENT_FEATURE_COUNT + 4;
1981
1982
  /**
1983
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
1984
   * <!-- begin-user-doc -->
1985
   * <!-- end-user-doc -->
1986
   * @generated
1987
   * @ordered
1988
   */
1989
  int ECLASSIFIER__ETYPE_PARAMETERS = ENAMED_ELEMENT_FEATURE_COUNT + 5;
1990
1991
  /**
1992
   * The number of structural features of the '<em>EClassifier</em>' class.
1993
   * <!-- begin-user-doc -->
1994
   * <!-- end-user-doc -->
1995
   * @generated
1996
   * @ordered
1997
   */
1998
  int ECLASSIFIER_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 6;
1999
2000
  /**
2001
   * The operation id for the '<em>EClass</em>' operation.
2002
   * <!-- begin-user-doc -->
2003
   * <!-- end-user-doc -->
2004
   * @generated
2005
   * @ordered
2006
   */
2007
  int ECLASSIFIER___ECLASS = ENAMED_ELEMENT___ECLASS;
2008
2009
  /**
2010
   * The operation id for the '<em>EIs Proxy</em>' operation.
2011
   * <!-- begin-user-doc -->
2012
   * <!-- end-user-doc -->
2013
   * @generated
2014
   * @ordered
2015
   */
2016
  int ECLASSIFIER___EIS_PROXY = ENAMED_ELEMENT___EIS_PROXY;
2017
2018
  /**
2019
   * The operation id for the '<em>EResource</em>' operation.
2020
   * <!-- begin-user-doc -->
2021
   * <!-- end-user-doc -->
2022
   * @generated
2023
   * @ordered
2024
   */
2025
  int ECLASSIFIER___ERESOURCE = ENAMED_ELEMENT___ERESOURCE;
2026
2027
  /**
2028
   * The operation id for the '<em>EContainer</em>' operation.
2029
   * <!-- begin-user-doc -->
2030
   * <!-- end-user-doc -->
2031
   * @generated
2032
   * @ordered
2033
   */
2034
  int ECLASSIFIER___ECONTAINER = ENAMED_ELEMENT___ECONTAINER;
2035
2036
  /**
2037
   * The operation id for the '<em>EContaining Feature</em>' operation.
2038
   * <!-- begin-user-doc -->
2039
   * <!-- end-user-doc -->
2040
   * @generated
2041
   * @ordered
2042
   */
2043
  int ECLASSIFIER___ECONTAINING_FEATURE = ENAMED_ELEMENT___ECONTAINING_FEATURE;
2044
2045
  /**
2046
   * The operation id for the '<em>EContainment Feature</em>' operation.
2047
   * <!-- begin-user-doc -->
2048
   * <!-- end-user-doc -->
2049
   * @generated
2050
   * @ordered
2051
   */
2052
  int ECLASSIFIER___ECONTAINMENT_FEATURE = ENAMED_ELEMENT___ECONTAINMENT_FEATURE;
2053
2054
  /**
2055
   * The operation id for the '<em>EContents</em>' operation.
2056
   * <!-- begin-user-doc -->
2057
   * <!-- end-user-doc -->
2058
   * @generated
2059
   * @ordered
2060
   */
2061
  int ECLASSIFIER___ECONTENTS = ENAMED_ELEMENT___ECONTENTS;
2062
2063
  /**
2064
   * The operation id for the '<em>EAll Contents</em>' operation.
2065
   * <!-- begin-user-doc -->
2066
   * <!-- end-user-doc -->
2067
   * @generated
2068
   * @ordered
2069
   */
2070
  int ECLASSIFIER___EALL_CONTENTS = ENAMED_ELEMENT___EALL_CONTENTS;
2071
2072
  /**
2073
   * The operation id for the '<em>ECross References</em>' operation.
2074
   * <!-- begin-user-doc -->
2075
   * <!-- end-user-doc -->
2076
   * @generated
2077
   * @ordered
2078
   */
2079
  int ECLASSIFIER___ECROSS_REFERENCES = ENAMED_ELEMENT___ECROSS_REFERENCES;
2080
2081
  /**
2082
   * The operation id for the '<em>EGet</em>' operation.
2083
   * <!-- begin-user-doc -->
2084
   * <!-- end-user-doc -->
2085
   * @generated
2086
   * @ordered
2087
   */
2088
  int ECLASSIFIER___EGET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE;
2089
2090
  /**
2091
   * The operation id for the '<em>EGet</em>' operation.
2092
   * <!-- begin-user-doc -->
2093
   * <!-- end-user-doc -->
2094
   * @generated
2095
   * @ordered
2096
   */
2097
  int ECLASSIFIER___EGET__ESTRUCTURALFEATURE_BOOLEAN = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
2098
2099
  /**
2100
   * The operation id for the '<em>ESet</em>' operation.
2101
   * <!-- begin-user-doc -->
2102
   * <!-- end-user-doc -->
2103
   * @generated
2104
   * @ordered
2105
   */
2106
  int ECLASSIFIER___ESET__ESTRUCTURALFEATURE_OBJECT = ENAMED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
2107
2108
  /**
2109
   * The operation id for the '<em>EIs Set</em>' operation.
2110
   * <!-- begin-user-doc -->
2111
   * <!-- end-user-doc -->
2112
   * @generated
2113
   * @ordered
2114
   */
2115
  int ECLASSIFIER___EIS_SET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
2116
2117
  /**
2118
   * The operation id for the '<em>EUnset</em>' operation.
2119
   * <!-- begin-user-doc -->
2120
   * <!-- end-user-doc -->
2121
   * @generated
2122
   * @ordered
2123
   */
2124
  int ECLASSIFIER___EUNSET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
2125
2126
  /**
2127
   * The operation id for the '<em>EInvoke</em>' operation.
2128
   * <!-- begin-user-doc -->
2129
   * <!-- end-user-doc -->
2130
   * @generated
2131
   * @ordered
2132
   */
2133
  int ECLASSIFIER___EINVOKE__EOPERATION_ELIST = ENAMED_ELEMENT___EINVOKE__EOPERATION_ELIST;
2134
2135
  /**
2136
   * The operation id for the '<em>Get EAnnotation</em>' operation.
2137
   * <!-- begin-user-doc -->
2138
   * <!-- end-user-doc -->
2139
   * @generated
2140
   * @ordered
2141
   */
2142
  int ECLASSIFIER___GET_EANNOTATION__STRING = ENAMED_ELEMENT___GET_EANNOTATION__STRING;
2143
2144
  /**
2145
   * The operation id for the '<em>Is Instance</em>' operation.
2146
   * <!-- begin-user-doc -->
2147
   * <!-- end-user-doc -->
2148
   * @generated
2149
   * @ordered
2150
   */
2151
  int ECLASSIFIER___IS_INSTANCE__OBJECT = ENAMED_ELEMENT_OPERATION_COUNT + 0;
2152
2153
  /**
2154
   * The operation id for the '<em>Get Classifier ID</em>' operation.
2155
   * <!-- begin-user-doc -->
2156
   * <!-- end-user-doc -->
2157
   * @generated
2158
   * @ordered
2159
   */
2160
  int ECLASSIFIER___GET_CLASSIFIER_ID = ENAMED_ELEMENT_OPERATION_COUNT + 1;
2161
2162
  /**
2163
   * The number of operations of the '<em>EClassifier</em>' class.
2164
   * <!-- begin-user-doc -->
2165
   * <!-- end-user-doc -->
2166
   * @generated
2167
   * @ordered
2168
   */
2169
  int ECLASSIFIER_OPERATION_COUNT = ENAMED_ELEMENT_OPERATION_COUNT + 2;
2170
2171
  /**
2172
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
2173
   * <!-- begin-user-doc -->
2174
   * <!-- end-user-doc -->
2175
   * @generated
2176
   * @ordered
2177
   */
2178
  int ECLASS__EANNOTATIONS = ECLASSIFIER__EANNOTATIONS;
2179
2180
  /**
2181
   * The feature id for the '<em><b>Name</b></em>' attribute.
2182
   * <!-- begin-user-doc -->
2183
   * <!-- end-user-doc -->
2184
   * @generated
2185
   * @ordered
2186
   */
2187
  int ECLASS__NAME = ECLASSIFIER__NAME;
2188
2189
  /**
2190
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
2191
   * <!-- begin-user-doc -->
2192
   * <!-- end-user-doc -->
2193
   * @generated
2194
   * @ordered
2195
   */
2196
  int ECLASS__INSTANCE_CLASS_NAME = ECLASSIFIER__INSTANCE_CLASS_NAME;
2197
2198
  /**
2199
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
2200
   * <!-- begin-user-doc -->
2201
   * <!-- end-user-doc -->
2202
   * @generated
2203
   * @ordered
2204
   */
2205
  int ECLASS__INSTANCE_CLASS = ECLASSIFIER__INSTANCE_CLASS;
2206
2207
  /**
2208
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
2209
   * <!-- begin-user-doc -->
2210
   * <!-- end-user-doc -->
2211
   * @generated
2212
   * @ordered
2213
   */
2214
  int ECLASS__DEFAULT_VALUE = ECLASSIFIER__DEFAULT_VALUE;
2215
2216
  /**
2217
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
2218
   * <!-- begin-user-doc -->
2219
   * <!-- end-user-doc -->
2220
   * @generated
2221
   * @ordered
2222
   */
2223
  int ECLASS__INSTANCE_TYPE_NAME = ECLASSIFIER__INSTANCE_TYPE_NAME;
2224
2225
  /**
2226
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
2227
   * <!-- begin-user-doc -->
2228
   * <!-- end-user-doc -->
2229
   * @generated
2230
   * @ordered
2231
   */
2232
  int ECLASS__EPACKAGE = ECLASSIFIER__EPACKAGE;
2233
2234
  /**
2235
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
2236
   * <!-- begin-user-doc -->
2237
   * <!-- end-user-doc -->
2238
   * @generated
2239
   * @ordered
2240
   */
2241
  int ECLASS__ETYPE_PARAMETERS = ECLASSIFIER__ETYPE_PARAMETERS;
2242
2243
  /**
2244
   * The feature id for the '<em><b>Abstract</b></em>' attribute.
2245
   * <!-- begin-user-doc -->
2246
   * <!-- end-user-doc -->
2247
   * @generated
2248
   * @ordered
2249
   */
2250
  int ECLASS__ABSTRACT = ECLASSIFIER_FEATURE_COUNT + 0;
2251
2252
  /**
2253
   * The feature id for the '<em><b>Interface</b></em>' attribute.
2254
   * <!-- begin-user-doc -->
2255
   * <!-- end-user-doc -->
2256
   * @generated
2257
   * @ordered
2258
   */
2259
  int ECLASS__INTERFACE = ECLASSIFIER_FEATURE_COUNT + 1;
2260
2261
  /**
2262
   * The feature id for the '<em><b>ESuper Types</b></em>' reference list.
2263
   * <!-- begin-user-doc -->
2264
   * <!-- end-user-doc -->
2265
   * @generated
2266
   * @ordered
2267
   */
2268
  int ECLASS__ESUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 2;
2269
2270
  /**
2271
   * The feature id for the '<em><b>EOperations</b></em>' containment reference list.
2272
   * <!-- begin-user-doc -->
2273
   * <!-- end-user-doc -->
2274
   * @generated
2275
   * @ordered
2276
   */
2277
  int ECLASS__EOPERATIONS = ECLASSIFIER_FEATURE_COUNT + 3;
2278
2279
  /**
2280
   * The feature id for the '<em><b>EAll Attributes</b></em>' reference list.
2281
   * <!-- begin-user-doc -->
2282
   * <!-- end-user-doc -->
2283
   * @generated
2284
   * @ordered
2285
   */
2286
  int ECLASS__EALL_ATTRIBUTES = ECLASSIFIER_FEATURE_COUNT + 4;
2287
2288
  /**
2289
   * The feature id for the '<em><b>EAll References</b></em>' reference list.
2290
   * <!-- begin-user-doc -->
2291
   * <!-- end-user-doc -->
2292
   * @generated
2293
   * @ordered
2294
   */
2295
  int ECLASS__EALL_REFERENCES = ECLASSIFIER_FEATURE_COUNT + 5;
2296
2297
  /**
2298
   * The feature id for the '<em><b>EReferences</b></em>' reference list.
2299
   * <!-- begin-user-doc -->
2300
   * <!-- end-user-doc -->
2301
   * @generated
2302
   * @ordered
2303
   */
2304
  int ECLASS__EREFERENCES = ECLASSIFIER_FEATURE_COUNT + 6;
2305
2306
  /**
2307
   * The feature id for the '<em><b>EAttributes</b></em>' reference list.
2308
   * <!-- begin-user-doc -->
2309
   * <!-- end-user-doc -->
2310
   * @generated
2311
   * @ordered
2312
   */
2313
  int ECLASS__EATTRIBUTES = ECLASSIFIER_FEATURE_COUNT + 7;
2314
2315
  /**
2316
   * The feature id for the '<em><b>EAll Containments</b></em>' reference list.
2317
   * <!-- begin-user-doc -->
2318
   * <!-- end-user-doc -->
2319
   * @generated
2320
   * @ordered
2321
   */
2322
  int ECLASS__EALL_CONTAINMENTS = ECLASSIFIER_FEATURE_COUNT + 8;
2323
2324
  /**
2325
   * The feature id for the '<em><b>EAll Operations</b></em>' reference list.
2326
   * <!-- begin-user-doc -->
2327
   * <!-- end-user-doc -->
2328
   * @generated
2329
   * @ordered
2330
   */
2331
  int ECLASS__EALL_OPERATIONS = ECLASSIFIER_FEATURE_COUNT + 9;
2332
2333
  /**
2334
   * The feature id for the '<em><b>EAll Structural Features</b></em>' reference list.
2335
   * <!-- begin-user-doc -->
2336
   * <!-- end-user-doc -->
2337
   * @generated
2338
   * @ordered
2339
   */
2340
  int ECLASS__EALL_STRUCTURAL_FEATURES = ECLASSIFIER_FEATURE_COUNT + 10;
2341
2342
  /**
2343
   * The feature id for the '<em><b>EAll Super Types</b></em>' reference list.
2344
   * <!-- begin-user-doc -->
2345
   * <!-- end-user-doc -->
2346
   * @generated
2347
   * @ordered
2348
   */
2349
  int ECLASS__EALL_SUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 11;
2350
2351
  /**
2352
   * The feature id for the '<em><b>EID Attribute</b></em>' reference.
2353
   * <!-- begin-user-doc -->
2354
   * <!-- end-user-doc -->
2355
   * @generated
2356
   * @ordered
2357
   */
2358
  int ECLASS__EID_ATTRIBUTE = ECLASSIFIER_FEATURE_COUNT + 12;
2359
2360
  /**
2361
   * The feature id for the '<em><b>EStructural Features</b></em>' containment reference list.
2362
   * <!-- begin-user-doc -->
2363
   * <!-- end-user-doc -->
2364
   * @generated
2365
   * @ordered
2366
   */
2367
  int ECLASS__ESTRUCTURAL_FEATURES = ECLASSIFIER_FEATURE_COUNT + 13;
2368
2369
  /**
2370
   * The feature id for the '<em><b>EGeneric Super Types</b></em>' containment reference list.
2371
   * <!-- begin-user-doc -->
2372
   * <!-- end-user-doc -->
2373
   * @generated
2374
   * @ordered
2375
   */
2376
  int ECLASS__EGENERIC_SUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 14;
2377
2378
  /**
2379
   * The feature id for the '<em><b>EAll Generic Super Types</b></em>' reference list.
2380
   * <!-- begin-user-doc -->
2381
   * <!-- end-user-doc -->
2382
   * @generated
2383
   * @ordered
2384
   */
2385
  int ECLASS__EALL_GENERIC_SUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 15;
2386
2387
  /**
2388
   * The number of structural features of the '<em>EClass</em>' class.
2389
   * <!-- begin-user-doc -->
2390
   * <!-- end-user-doc -->
2391
   * @generated
2392
   * @ordered
2393
   */
2394
  int ECLASS_FEATURE_COUNT = ECLASSIFIER_FEATURE_COUNT + 16;
2395
2396
  /**
2397
   * The operation id for the '<em>EClass</em>' operation.
2398
   * <!-- begin-user-doc -->
2399
   * <!-- end-user-doc -->
2400
   * @generated
2401
   * @ordered
2402
   */
2403
  int ECLASS___ECLASS = ECLASSIFIER___ECLASS;
2404
2405
  /**
2406
   * The operation id for the '<em>EIs Proxy</em>' operation.
2407
   * <!-- begin-user-doc -->
2408
   * <!-- end-user-doc -->
2409
   * @generated
2410
   * @ordered
2411
   */
2412
  int ECLASS___EIS_PROXY = ECLASSIFIER___EIS_PROXY;
2413
2414
  /**
2415
   * The operation id for the '<em>EResource</em>' operation.
2416
   * <!-- begin-user-doc -->
2417
   * <!-- end-user-doc -->
2418
   * @generated
2419
   * @ordered
2420
   */
2421
  int ECLASS___ERESOURCE = ECLASSIFIER___ERESOURCE;
2422
2423
  /**
2424
   * The operation id for the '<em>EContainer</em>' operation.
2425
   * <!-- begin-user-doc -->
2426
   * <!-- end-user-doc -->
2427
   * @generated
2428
   * @ordered
2429
   */
2430
  int ECLASS___ECONTAINER = ECLASSIFIER___ECONTAINER;
2431
2432
  /**
2433
   * The operation id for the '<em>EContaining Feature</em>' operation.
2434
   * <!-- begin-user-doc -->
2435
   * <!-- end-user-doc -->
2436
   * @generated
2437
   * @ordered
2438
   */
2439
  int ECLASS___ECONTAINING_FEATURE = ECLASSIFIER___ECONTAINING_FEATURE;
2440
2441
  /**
2442
   * The operation id for the '<em>EContainment Feature</em>' operation.
2443
   * <!-- begin-user-doc -->
2444
   * <!-- end-user-doc -->
2445
   * @generated
2446
   * @ordered
2447
   */
2448
  int ECLASS___ECONTAINMENT_FEATURE = ECLASSIFIER___ECONTAINMENT_FEATURE;
2449
2450
  /**
2451
   * The operation id for the '<em>EContents</em>' operation.
2452
   * <!-- begin-user-doc -->
2453
   * <!-- end-user-doc -->
2454
   * @generated
2455
   * @ordered
2456
   */
2457
  int ECLASS___ECONTENTS = ECLASSIFIER___ECONTENTS;
2458
2459
  /**
2460
   * The operation id for the '<em>EAll Contents</em>' operation.
2461
   * <!-- begin-user-doc -->
2462
   * <!-- end-user-doc -->
2463
   * @generated
2464
   * @ordered
2465
   */
2466
  int ECLASS___EALL_CONTENTS = ECLASSIFIER___EALL_CONTENTS;
2467
2468
  /**
2469
   * The operation id for the '<em>ECross References</em>' operation.
2470
   * <!-- begin-user-doc -->
2471
   * <!-- end-user-doc -->
2472
   * @generated
2473
   * @ordered
2474
   */
2475
  int ECLASS___ECROSS_REFERENCES = ECLASSIFIER___ECROSS_REFERENCES;
2476
2477
  /**
2478
   * The operation id for the '<em>EGet</em>' operation.
2479
   * <!-- begin-user-doc -->
2480
   * <!-- end-user-doc -->
2481
   * @generated
2482
   * @ordered
2483
   */
2484
  int ECLASS___EGET__ESTRUCTURALFEATURE = ECLASSIFIER___EGET__ESTRUCTURALFEATURE;
2485
2486
  /**
2487
   * The operation id for the '<em>EGet</em>' operation.
2488
   * <!-- begin-user-doc -->
2489
   * <!-- end-user-doc -->
2490
   * @generated
2491
   * @ordered
2492
   */
2493
  int ECLASS___EGET__ESTRUCTURALFEATURE_BOOLEAN = ECLASSIFIER___EGET__ESTRUCTURALFEATURE_BOOLEAN;
2494
2495
  /**
2496
   * The operation id for the '<em>ESet</em>' operation.
2497
   * <!-- begin-user-doc -->
2498
   * <!-- end-user-doc -->
2499
   * @generated
2500
   * @ordered
2501
   */
2502
  int ECLASS___ESET__ESTRUCTURALFEATURE_OBJECT = ECLASSIFIER___ESET__ESTRUCTURALFEATURE_OBJECT;
2503
2504
  /**
2505
   * The operation id for the '<em>EIs Set</em>' operation.
2506
   * <!-- begin-user-doc -->
2507
   * <!-- end-user-doc -->
2508
   * @generated
2509
   * @ordered
2510
   */
2511
  int ECLASS___EIS_SET__ESTRUCTURALFEATURE = ECLASSIFIER___EIS_SET__ESTRUCTURALFEATURE;
2512
2513
  /**
2514
   * The operation id for the '<em>EUnset</em>' operation.
2515
   * <!-- begin-user-doc -->
2516
   * <!-- end-user-doc -->
2517
   * @generated
2518
   * @ordered
2519
   */
2520
  int ECLASS___EUNSET__ESTRUCTURALFEATURE = ECLASSIFIER___EUNSET__ESTRUCTURALFEATURE;
2521
2522
  /**
2523
   * The operation id for the '<em>EInvoke</em>' operation.
2524
   * <!-- begin-user-doc -->
2525
   * <!-- end-user-doc -->
2526
   * @generated
2527
   * @ordered
2528
   */
2529
  int ECLASS___EINVOKE__EOPERATION_ELIST = ECLASSIFIER___EINVOKE__EOPERATION_ELIST;
2530
2531
  /**
2532
   * The operation id for the '<em>Get EAnnotation</em>' operation.
2533
   * <!-- begin-user-doc -->
2534
   * <!-- end-user-doc -->
2535
   * @generated
2536
   * @ordered
2537
   */
2538
  int ECLASS___GET_EANNOTATION__STRING = ECLASSIFIER___GET_EANNOTATION__STRING;
2539
2540
  /**
2541
   * The operation id for the '<em>Is Instance</em>' operation.
2542
   * <!-- begin-user-doc -->
2543
   * <!-- end-user-doc -->
2544
   * @generated
2545
   * @ordered
2546
   */
2547
  int ECLASS___IS_INSTANCE__OBJECT = ECLASSIFIER___IS_INSTANCE__OBJECT;
2548
2549
  /**
2550
   * The operation id for the '<em>Get Classifier ID</em>' operation.
2551
   * <!-- begin-user-doc -->
2552
   * <!-- end-user-doc -->
2553
   * @generated
2554
   * @ordered
2555
   */
2556
  int ECLASS___GET_CLASSIFIER_ID = ECLASSIFIER___GET_CLASSIFIER_ID;
2557
2558
  /**
2559
   * The operation id for the '<em>Is Super Type Of</em>' operation.
2560
   * <!-- begin-user-doc -->
2561
   * <!-- end-user-doc -->
2562
   * @generated
2563
   * @ordered
2564
   */
2565
  int ECLASS___IS_SUPER_TYPE_OF__ECLASS = ECLASSIFIER_OPERATION_COUNT + 0;
2566
2567
  /**
2568
   * The operation id for the '<em>Get Feature Count</em>' operation.
2569
   * <!-- begin-user-doc -->
2570
   * <!-- end-user-doc -->
2571
   * @generated
2572
   * @ordered
2573
   */
2574
  int ECLASS___GET_FEATURE_COUNT = ECLASSIFIER_OPERATION_COUNT + 1;
2575
2576
  /**
2577
   * The operation id for the '<em>Get EStructural Feature</em>' operation.
2578
   * <!-- begin-user-doc -->
2579
   * <!-- end-user-doc -->
2580
   * @generated
2581
   * @ordered
2582
   */
2583
  int ECLASS___GET_ESTRUCTURAL_FEATURE__INT = ECLASSIFIER_OPERATION_COUNT + 2;
2584
2585
  /**
2586
   * The operation id for the '<em>Get Feature ID</em>' operation.
2587
   * <!-- begin-user-doc -->
2588
   * <!-- end-user-doc -->
2589
   * @generated
2590
   * @ordered
2591
   */
2592
  int ECLASS___GET_FEATURE_ID__ESTRUCTURALFEATURE = ECLASSIFIER_OPERATION_COUNT + 3;
2593
2594
  /**
2595
   * The operation id for the '<em>Get EStructural Feature</em>' operation.
2596
   * <!-- begin-user-doc -->
2597
   * <!-- end-user-doc -->
2598
   * @generated
2599
   * @ordered
2600
   */
2601
  int ECLASS___GET_ESTRUCTURAL_FEATURE__STRING = ECLASSIFIER_OPERATION_COUNT + 4;
2602
2603
  /**
2604
   * The operation id for the '<em>Get Operation Count</em>' operation.
2605
   * <!-- begin-user-doc -->
2606
   * <!-- end-user-doc -->
2607
   * @generated
2608
   * @ordered
2609
   */
2610
  int ECLASS___GET_OPERATION_COUNT = ECLASSIFIER_OPERATION_COUNT + 5;
2611
2612
  /**
2613
   * The operation id for the '<em>Get EOperation</em>' operation.
2614
   * <!-- begin-user-doc -->
2615
   * <!-- end-user-doc -->
2616
   * @generated
2617
   * @ordered
2618
   */
2619
  int ECLASS___GET_EOPERATION__INT = ECLASSIFIER_OPERATION_COUNT + 6;
2620
2621
  /**
2622
   * The operation id for the '<em>Get Operation ID</em>' operation.
2623
   * <!-- begin-user-doc -->
2624
   * <!-- end-user-doc -->
2625
   * @generated
2626
   * @ordered
2627
   */
2628
  int ECLASS___GET_OPERATION_ID__EOPERATION = ECLASSIFIER_OPERATION_COUNT + 7;
2629
2630
  /**
2631
   * The number of operations of the '<em>EClass</em>' class.
2632
   * <!-- begin-user-doc -->
2633
   * <!-- end-user-doc -->
2634
   * @generated
2635
   * @ordered
2636
   */
2637
  int ECLASS_OPERATION_COUNT = ECLASSIFIER_OPERATION_COUNT + 8;
2638
2639
  /**
2640
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
2641
   * <!-- begin-user-doc -->
2642
   * <!-- end-user-doc -->
2643
   * @generated
2644
   * @ordered
2645
   */
2646
  int EDATA_TYPE__EANNOTATIONS = ECLASSIFIER__EANNOTATIONS;
2647
2648
  /**
2649
   * The feature id for the '<em><b>Name</b></em>' attribute.
2650
   * <!-- begin-user-doc -->
2651
   * <!-- end-user-doc -->
2652
   * @generated
2653
   * @ordered
2654
   */
2655
  int EDATA_TYPE__NAME = ECLASSIFIER__NAME;
2656
2657
  /**
2658
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
2659
   * <!-- begin-user-doc -->
2660
   * <!-- end-user-doc -->
2661
   * @generated
2662
   * @ordered
2663
   */
2664
  int EDATA_TYPE__INSTANCE_CLASS_NAME = ECLASSIFIER__INSTANCE_CLASS_NAME;
2665
2666
  /**
2667
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
2668
   * <!-- begin-user-doc -->
2669
   * <!-- end-user-doc -->
2670
   * @generated
2671
   * @ordered
2672
   */
2673
  int EDATA_TYPE__INSTANCE_CLASS = ECLASSIFIER__INSTANCE_CLASS;
2674
2675
  /**
2676
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
2677
   * <!-- begin-user-doc -->
2678
   * <!-- end-user-doc -->
2679
   * @generated
2680
   * @ordered
2681
   */
2682
  int EDATA_TYPE__DEFAULT_VALUE = ECLASSIFIER__DEFAULT_VALUE;
2683
2684
  /**
2685
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
2686
   * <!-- begin-user-doc -->
2687
   * <!-- end-user-doc -->
2688
   * @generated
2689
   * @ordered
2690
   */
2691
  int EDATA_TYPE__INSTANCE_TYPE_NAME = ECLASSIFIER__INSTANCE_TYPE_NAME;
2692
2693
  /**
2694
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
2695
   * <!-- begin-user-doc -->
2696
   * <!-- end-user-doc -->
2697
   * @generated
2698
   * @ordered
2699
   */
2700
  int EDATA_TYPE__EPACKAGE = ECLASSIFIER__EPACKAGE;
2701
2702
  /**
2703
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
2704
   * <!-- begin-user-doc -->
2705
   * <!-- end-user-doc -->
2706
   * @generated
2707
   * @ordered
2708
   */
2709
  int EDATA_TYPE__ETYPE_PARAMETERS = ECLASSIFIER__ETYPE_PARAMETERS;
2710
2711
  /**
2712
   * The feature id for the '<em><b>Serializable</b></em>' attribute.
2713
   * <!-- begin-user-doc -->
2714
   * <!-- end-user-doc -->
2715
   * @generated
2716
   * @ordered
2717
   */
2718
  int EDATA_TYPE__SERIALIZABLE = ECLASSIFIER_FEATURE_COUNT + 0;
2719
2720
  /**
2721
   * The number of structural features of the '<em>EData Type</em>' class.
2722
   * <!-- begin-user-doc -->
2723
   * <!-- end-user-doc -->
2724
   * @generated
2725
   * @ordered
2726
   */
2727
  int EDATA_TYPE_FEATURE_COUNT = ECLASSIFIER_FEATURE_COUNT + 1;
2728
2729
  /**
2730
   * The operation id for the '<em>EClass</em>' operation.
2731
   * <!-- begin-user-doc -->
2732
   * <!-- end-user-doc -->
2733
   * @generated
2734
   * @ordered
2735
   */
2736
  int EDATA_TYPE___ECLASS = ECLASSIFIER___ECLASS;
2737
2738
  /**
2739
   * The operation id for the '<em>EIs Proxy</em>' operation.
2740
   * <!-- begin-user-doc -->
2741
   * <!-- end-user-doc -->
2742
   * @generated
2743
   * @ordered
2744
   */
2745
  int EDATA_TYPE___EIS_PROXY = ECLASSIFIER___EIS_PROXY;
2746
2747
  /**
2748
   * The operation id for the '<em>EResource</em>' operation.
2749
   * <!-- begin-user-doc -->
2750
   * <!-- end-user-doc -->
2751
   * @generated
2752
   * @ordered
2753
   */
2754
  int EDATA_TYPE___ERESOURCE = ECLASSIFIER___ERESOURCE;
2755
2756
  /**
2757
   * The operation id for the '<em>EContainer</em>' operation.
2758
   * <!-- begin-user-doc -->
2759
   * <!-- end-user-doc -->
2760
   * @generated
2761
   * @ordered
2762
   */
2763
  int EDATA_TYPE___ECONTAINER = ECLASSIFIER___ECONTAINER;
2764
2765
  /**
2766
   * The operation id for the '<em>EContaining Feature</em>' operation.
2767
   * <!-- begin-user-doc -->
2768
   * <!-- end-user-doc -->
2769
   * @generated
2770
   * @ordered
2771
   */
2772
  int EDATA_TYPE___ECONTAINING_FEATURE = ECLASSIFIER___ECONTAINING_FEATURE;
2773
2774
  /**
2775
   * The operation id for the '<em>EContainment Feature</em>' operation.
2776
   * <!-- begin-user-doc -->
2777
   * <!-- end-user-doc -->
2778
   * @generated
2779
   * @ordered
2780
   */
2781
  int EDATA_TYPE___ECONTAINMENT_FEATURE = ECLASSIFIER___ECONTAINMENT_FEATURE;
2782
2783
  /**
2784
   * The operation id for the '<em>EContents</em>' operation.
2785
   * <!-- begin-user-doc -->
2786
   * <!-- end-user-doc -->
2787
   * @generated
2788
   * @ordered
2789
   */
2790
  int EDATA_TYPE___ECONTENTS = ECLASSIFIER___ECONTENTS;
2791
2792
  /**
2793
   * The operation id for the '<em>EAll Contents</em>' operation.
2794
   * <!-- begin-user-doc -->
2795
   * <!-- end-user-doc -->
2796
   * @generated
2797
   * @ordered
2798
   */
2799
  int EDATA_TYPE___EALL_CONTENTS = ECLASSIFIER___EALL_CONTENTS;
2800
2801
  /**
2802
   * The operation id for the '<em>ECross References</em>' operation.
2803
   * <!-- begin-user-doc -->
2804
   * <!-- end-user-doc -->
2805
   * @generated
2806
   * @ordered
2807
   */
2808
  int EDATA_TYPE___ECROSS_REFERENCES = ECLASSIFIER___ECROSS_REFERENCES;
2809
2810
  /**
2811
   * The operation id for the '<em>EGet</em>' operation.
2812
   * <!-- begin-user-doc -->
2813
   * <!-- end-user-doc -->
2814
   * @generated
2815
   * @ordered
2816
   */
2817
  int EDATA_TYPE___EGET__ESTRUCTURALFEATURE = ECLASSIFIER___EGET__ESTRUCTURALFEATURE;
2818
2819
  /**
2820
   * The operation id for the '<em>EGet</em>' operation.
2821
   * <!-- begin-user-doc -->
2822
   * <!-- end-user-doc -->
2823
   * @generated
2824
   * @ordered
2825
   */
2826
  int EDATA_TYPE___EGET__ESTRUCTURALFEATURE_BOOLEAN = ECLASSIFIER___EGET__ESTRUCTURALFEATURE_BOOLEAN;
2827
2828
  /**
2829
   * The operation id for the '<em>ESet</em>' operation.
2830
   * <!-- begin-user-doc -->
2831
   * <!-- end-user-doc -->
2832
   * @generated
2833
   * @ordered
2834
   */
2835
  int EDATA_TYPE___ESET__ESTRUCTURALFEATURE_OBJECT = ECLASSIFIER___ESET__ESTRUCTURALFEATURE_OBJECT;
2836
2837
  /**
2838
   * The operation id for the '<em>EIs Set</em>' operation.
2839
   * <!-- begin-user-doc -->
2840
   * <!-- end-user-doc -->
2841
   * @generated
2842
   * @ordered
2843
   */
2844
  int EDATA_TYPE___EIS_SET__ESTRUCTURALFEATURE = ECLASSIFIER___EIS_SET__ESTRUCTURALFEATURE;
2845
2846
  /**
2847
   * The operation id for the '<em>EUnset</em>' operation.
2848
   * <!-- begin-user-doc -->
2849
   * <!-- end-user-doc -->
2850
   * @generated
2851
   * @ordered
2852
   */
2853
  int EDATA_TYPE___EUNSET__ESTRUCTURALFEATURE = ECLASSIFIER___EUNSET__ESTRUCTURALFEATURE;
2854
2855
  /**
2856
   * The operation id for the '<em>EInvoke</em>' operation.
2857
   * <!-- begin-user-doc -->
2858
   * <!-- end-user-doc -->
2859
   * @generated
2860
   * @ordered
2861
   */
2862
  int EDATA_TYPE___EINVOKE__EOPERATION_ELIST = ECLASSIFIER___EINVOKE__EOPERATION_ELIST;
2863
2864
  /**
2865
   * The operation id for the '<em>Get EAnnotation</em>' operation.
2866
   * <!-- begin-user-doc -->
2867
   * <!-- end-user-doc -->
2868
   * @generated
2869
   * @ordered
2870
   */
2871
  int EDATA_TYPE___GET_EANNOTATION__STRING = ECLASSIFIER___GET_EANNOTATION__STRING;
2872
2873
  /**
2874
   * The operation id for the '<em>Is Instance</em>' operation.
2875
   * <!-- begin-user-doc -->
2876
   * <!-- end-user-doc -->
2877
   * @generated
2878
   * @ordered
2879
   */
2880
  int EDATA_TYPE___IS_INSTANCE__OBJECT = ECLASSIFIER___IS_INSTANCE__OBJECT;
2881
2882
  /**
2883
   * The operation id for the '<em>Get Classifier ID</em>' operation.
2884
   * <!-- begin-user-doc -->
2885
   * <!-- end-user-doc -->
2886
   * @generated
2887
   * @ordered
2888
   */
2889
  int EDATA_TYPE___GET_CLASSIFIER_ID = ECLASSIFIER___GET_CLASSIFIER_ID;
2890
2891
  /**
2892
   * The number of operations of the '<em>EData Type</em>' class.
2893
   * <!-- begin-user-doc -->
2894
   * <!-- end-user-doc -->
2895
   * @generated
2896
   * @ordered
2897
   */
2898
  int EDATA_TYPE_OPERATION_COUNT = ECLASSIFIER_OPERATION_COUNT + 0;
2899
2900
  /**
2901
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
2902
   * <!-- begin-user-doc -->
2903
   * <!-- end-user-doc -->
2904
   * @generated
2905
   * @ordered
2906
   */
2907
  int EENUM__EANNOTATIONS = EDATA_TYPE__EANNOTATIONS;
2908
2909
  /**
2910
   * The feature id for the '<em><b>Name</b></em>' attribute.
2911
   * <!-- begin-user-doc -->
2912
   * <!-- end-user-doc -->
2913
   * @generated
2914
   * @ordered
2915
   */
2916
  int EENUM__NAME = EDATA_TYPE__NAME;
2917
2918
  /**
2919
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
2920
   * <!-- begin-user-doc -->
2921
   * <!-- end-user-doc -->
2922
   * @generated
2923
   * @ordered
2924
   */
2925
  int EENUM__INSTANCE_CLASS_NAME = EDATA_TYPE__INSTANCE_CLASS_NAME;
2926
2927
  /**
2928
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
2929
   * <!-- begin-user-doc -->
2930
   * <!-- end-user-doc -->
2931
   * @generated
2932
   * @ordered
2933
   */
2934
  int EENUM__INSTANCE_CLASS = EDATA_TYPE__INSTANCE_CLASS;
2935
2936
  /**
2937
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
2938
   * <!-- begin-user-doc -->
2939
   * <!-- end-user-doc -->
2940
   * @generated
2941
   * @ordered
2942
   */
2943
  int EENUM__DEFAULT_VALUE = EDATA_TYPE__DEFAULT_VALUE;
2944
2945
  /**
2946
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
2947
   * <!-- begin-user-doc -->
2948
   * <!-- end-user-doc -->
2949
   * @generated
2950
   * @ordered
2951
   */
2952
  int EENUM__INSTANCE_TYPE_NAME = EDATA_TYPE__INSTANCE_TYPE_NAME;
2953
2954
  /**
2955
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
2956
   * <!-- begin-user-doc -->
2957
   * <!-- end-user-doc -->
2958
   * @generated
2959
   * @ordered
2960
   */
2961
  int EENUM__EPACKAGE = EDATA_TYPE__EPACKAGE;
2962
2963
  /**
2964
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
2965
   * <!-- begin-user-doc -->
2966
   * <!-- end-user-doc -->
2967
   * @generated
2968
   * @ordered
2969
   */
2970
  int EENUM__ETYPE_PARAMETERS = EDATA_TYPE__ETYPE_PARAMETERS;
2971
2972
  /**
2973
   * The feature id for the '<em><b>Serializable</b></em>' attribute.
2974
   * <!-- begin-user-doc -->
2975
   * <!-- end-user-doc -->
2976
   * @generated
2977
   * @ordered
2978
   */
2979
  int EENUM__SERIALIZABLE = EDATA_TYPE__SERIALIZABLE;
2980
2981
  /**
2982
   * The feature id for the '<em><b>ELiterals</b></em>' containment reference list.
2983
   * <!-- begin-user-doc -->
2984
   * <!-- end-user-doc -->
2985
   * @generated
2986
   * @ordered
2987
   */
2988
  int EENUM__ELITERALS = EDATA_TYPE_FEATURE_COUNT + 0;
2989
2990
  /**
2991
   * The number of structural features of the '<em>EEnum</em>' class.
2992
   * <!-- begin-user-doc -->
2993
   * <!-- end-user-doc -->
2994
   * @generated
2995
   * @ordered
2996
   */
2997
  int EENUM_FEATURE_COUNT = EDATA_TYPE_FEATURE_COUNT + 1;
2998
2999
  /**
3000
   * The operation id for the '<em>EClass</em>' operation.
3001
   * <!-- begin-user-doc -->
3002
   * <!-- end-user-doc -->
3003
   * @generated
3004
   * @ordered
3005
   */
3006
  int EENUM___ECLASS = EDATA_TYPE___ECLASS;
3007
3008
  /**
3009
   * The operation id for the '<em>EIs Proxy</em>' operation.
3010
   * <!-- begin-user-doc -->
3011
   * <!-- end-user-doc -->
3012
   * @generated
3013
   * @ordered
3014
   */
3015
  int EENUM___EIS_PROXY = EDATA_TYPE___EIS_PROXY;
3016
3017
  /**
3018
   * The operation id for the '<em>EResource</em>' operation.
3019
   * <!-- begin-user-doc -->
3020
   * <!-- end-user-doc -->
3021
   * @generated
3022
   * @ordered
3023
   */
3024
  int EENUM___ERESOURCE = EDATA_TYPE___ERESOURCE;
3025
3026
  /**
3027
   * The operation id for the '<em>EContainer</em>' operation.
3028
   * <!-- begin-user-doc -->
3029
   * <!-- end-user-doc -->
3030
   * @generated
3031
   * @ordered
3032
   */
3033
  int EENUM___ECONTAINER = EDATA_TYPE___ECONTAINER;
3034
3035
  /**
3036
   * The operation id for the '<em>EContaining Feature</em>' operation.
3037
   * <!-- begin-user-doc -->
3038
   * <!-- end-user-doc -->
3039
   * @generated
3040
   * @ordered
3041
   */
3042
  int EENUM___ECONTAINING_FEATURE = EDATA_TYPE___ECONTAINING_FEATURE;
3043
3044
  /**
3045
   * The operation id for the '<em>EContainment Feature</em>' operation.
3046
   * <!-- begin-user-doc -->
3047
   * <!-- end-user-doc -->
3048
   * @generated
3049
   * @ordered
3050
   */
3051
  int EENUM___ECONTAINMENT_FEATURE = EDATA_TYPE___ECONTAINMENT_FEATURE;
3052
3053
  /**
3054
   * The operation id for the '<em>EContents</em>' operation.
3055
   * <!-- begin-user-doc -->
3056
   * <!-- end-user-doc -->
3057
   * @generated
3058
   * @ordered
3059
   */
3060
  int EENUM___ECONTENTS = EDATA_TYPE___ECONTENTS;
3061
3062
  /**
3063
   * The operation id for the '<em>EAll Contents</em>' operation.
3064
   * <!-- begin-user-doc -->
3065
   * <!-- end-user-doc -->
3066
   * @generated
3067
   * @ordered
3068
   */
3069
  int EENUM___EALL_CONTENTS = EDATA_TYPE___EALL_CONTENTS;
3070
3071
  /**
3072
   * The operation id for the '<em>ECross References</em>' operation.
3073
   * <!-- begin-user-doc -->
3074
   * <!-- end-user-doc -->
3075
   * @generated
3076
   * @ordered
3077
   */
3078
  int EENUM___ECROSS_REFERENCES = EDATA_TYPE___ECROSS_REFERENCES;
3079
3080
  /**
3081
   * The operation id for the '<em>EGet</em>' operation.
3082
   * <!-- begin-user-doc -->
3083
   * <!-- end-user-doc -->
3084
   * @generated
3085
   * @ordered
3086
   */
3087
  int EENUM___EGET__ESTRUCTURALFEATURE = EDATA_TYPE___EGET__ESTRUCTURALFEATURE;
3088
3089
  /**
3090
   * The operation id for the '<em>EGet</em>' operation.
3091
   * <!-- begin-user-doc -->
3092
   * <!-- end-user-doc -->
3093
   * @generated
3094
   * @ordered
3095
   */
3096
  int EENUM___EGET__ESTRUCTURALFEATURE_BOOLEAN = EDATA_TYPE___EGET__ESTRUCTURALFEATURE_BOOLEAN;
3097
3098
  /**
3099
   * The operation id for the '<em>ESet</em>' operation.
3100
   * <!-- begin-user-doc -->
3101
   * <!-- end-user-doc -->
3102
   * @generated
3103
   * @ordered
3104
   */
3105
  int EENUM___ESET__ESTRUCTURALFEATURE_OBJECT = EDATA_TYPE___ESET__ESTRUCTURALFEATURE_OBJECT;
3106
3107
  /**
3108
   * The operation id for the '<em>EIs Set</em>' operation.
3109
   * <!-- begin-user-doc -->
3110
   * <!-- end-user-doc -->
3111
   * @generated
3112
   * @ordered
3113
   */
3114
  int EENUM___EIS_SET__ESTRUCTURALFEATURE = EDATA_TYPE___EIS_SET__ESTRUCTURALFEATURE;
3115
3116
  /**
3117
   * The operation id for the '<em>EUnset</em>' operation.
3118
   * <!-- begin-user-doc -->
3119
   * <!-- end-user-doc -->
3120
   * @generated
3121
   * @ordered
3122
   */
3123
  int EENUM___EUNSET__ESTRUCTURALFEATURE = EDATA_TYPE___EUNSET__ESTRUCTURALFEATURE;
3124
3125
  /**
3126
   * The operation id for the '<em>EInvoke</em>' operation.
3127
   * <!-- begin-user-doc -->
3128
   * <!-- end-user-doc -->
3129
   * @generated
3130
   * @ordered
3131
   */
3132
  int EENUM___EINVOKE__EOPERATION_ELIST = EDATA_TYPE___EINVOKE__EOPERATION_ELIST;
3133
3134
  /**
3135
   * The operation id for the '<em>Get EAnnotation</em>' operation.
3136
   * <!-- begin-user-doc -->
3137
   * <!-- end-user-doc -->
3138
   * @generated
3139
   * @ordered
3140
   */
3141
  int EENUM___GET_EANNOTATION__STRING = EDATA_TYPE___GET_EANNOTATION__STRING;
3142
3143
  /**
3144
   * The operation id for the '<em>Is Instance</em>' operation.
3145
   * <!-- begin-user-doc -->
3146
   * <!-- end-user-doc -->
3147
   * @generated
3148
   * @ordered
3149
   */
3150
  int EENUM___IS_INSTANCE__OBJECT = EDATA_TYPE___IS_INSTANCE__OBJECT;
3151
3152
  /**
3153
   * The operation id for the '<em>Get Classifier ID</em>' operation.
3154
   * <!-- begin-user-doc -->
3155
   * <!-- end-user-doc -->
3156
   * @generated
3157
   * @ordered
3158
   */
3159
  int EENUM___GET_CLASSIFIER_ID = EDATA_TYPE___GET_CLASSIFIER_ID;
3160
3161
  /**
3162
   * The operation id for the '<em>Get EEnum Literal</em>' operation.
3163
   * <!-- begin-user-doc -->
3164
   * <!-- end-user-doc -->
3165
   * @generated
3166
   * @ordered
3167
   */
3168
  int EENUM___GET_EENUM_LITERAL__STRING = EDATA_TYPE_OPERATION_COUNT + 0;
3169
3170
  /**
3171
   * The operation id for the '<em>Get EEnum Literal</em>' operation.
3172
   * <!-- begin-user-doc -->
3173
   * <!-- end-user-doc -->
3174
   * @generated
3175
   * @ordered
3176
   */
3177
  int EENUM___GET_EENUM_LITERAL__INT = EDATA_TYPE_OPERATION_COUNT + 1;
3178
3179
  /**
3180
   * The operation id for the '<em>Get EEnum Literal By Literal</em>' operation.
3181
   * <!-- begin-user-doc -->
3182
   * <!-- end-user-doc -->
3183
   * @generated
3184
   * @ordered
3185
   */
3186
  int EENUM___GET_EENUM_LITERAL_BY_LITERAL__STRING = EDATA_TYPE_OPERATION_COUNT + 2;
3187
3188
  /**
3189
   * The number of operations of the '<em>EEnum</em>' class.
3190
   * <!-- begin-user-doc -->
3191
   * <!-- end-user-doc -->
3192
   * @generated
3193
   * @ordered
3194
   */
3195
  int EENUM_OPERATION_COUNT = EDATA_TYPE_OPERATION_COUNT + 3;
3196
3197
  /**
3198
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
3199
   * <!-- begin-user-doc -->
3200
   * <!-- end-user-doc -->
3201
   * @generated
3202
   * @ordered
3203
   */
3204
  int EENUM_LITERAL__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
3205
3206
  /**
3207
   * The feature id for the '<em><b>Name</b></em>' attribute.
3208
   * <!-- begin-user-doc -->
3209
   * <!-- end-user-doc -->
3210
   * @generated
3211
   * @ordered
3212
   */
3213
  int EENUM_LITERAL__NAME = ENAMED_ELEMENT__NAME;
3214
3215
  /**
3216
   * The feature id for the '<em><b>Value</b></em>' attribute.
3217
   * <!-- begin-user-doc -->
3218
   * <!-- end-user-doc -->
3219
   * @generated
3220
   * @ordered
3221
   */
3222
  int EENUM_LITERAL__VALUE = ENAMED_ELEMENT_FEATURE_COUNT + 0;
3223
3224
  /**
3225
   * The feature id for the '<em><b>Instance</b></em>' attribute.
3226
   * <!-- begin-user-doc -->
3227
   * <!-- end-user-doc -->
3228
   * @generated
3229
   * @ordered
3230
   */
3231
  int EENUM_LITERAL__INSTANCE = ENAMED_ELEMENT_FEATURE_COUNT + 1;
3232
3233
  /**
3234
   * The feature id for the '<em><b>Literal</b></em>' attribute.
3235
   * <!-- begin-user-doc -->
3236
   * <!-- end-user-doc -->
3237
   * @generated
3238
   * @ordered
3239
   */
3240
  int EENUM_LITERAL__LITERAL = ENAMED_ELEMENT_FEATURE_COUNT + 2;
3241
3242
  /**
3243
   * The feature id for the '<em><b>EEnum</b></em>' container reference.
3244
   * <!-- begin-user-doc -->
3245
   * <!-- end-user-doc -->
3246
   * @generated
3247
   * @ordered
3248
   */
3249
  int EENUM_LITERAL__EENUM = ENAMED_ELEMENT_FEATURE_COUNT + 3;
3250
3251
  /**
3252
   * The number of structural features of the '<em>EEnum Literal</em>' class.
3253
   * <!-- begin-user-doc -->
3254
   * <!-- end-user-doc -->
3255
   * @generated
3256
   * @ordered
3257
   */
3258
  int EENUM_LITERAL_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 4;
3259
3260
  /**
3261
   * The operation id for the '<em>EClass</em>' operation.
3262
   * <!-- begin-user-doc -->
3263
   * <!-- end-user-doc -->
3264
   * @generated
3265
   * @ordered
3266
   */
3267
  int EENUM_LITERAL___ECLASS = ENAMED_ELEMENT___ECLASS;
3268
3269
  /**
3270
   * The operation id for the '<em>EIs Proxy</em>' operation.
3271
   * <!-- begin-user-doc -->
3272
   * <!-- end-user-doc -->
3273
   * @generated
3274
   * @ordered
3275
   */
3276
  int EENUM_LITERAL___EIS_PROXY = ENAMED_ELEMENT___EIS_PROXY;
3277
3278
  /**
3279
   * The operation id for the '<em>EResource</em>' operation.
3280
   * <!-- begin-user-doc -->
3281
   * <!-- end-user-doc -->
3282
   * @generated
3283
   * @ordered
3284
   */
3285
  int EENUM_LITERAL___ERESOURCE = ENAMED_ELEMENT___ERESOURCE;
3286
3287
  /**
3288
   * The operation id for the '<em>EContainer</em>' operation.
3289
   * <!-- begin-user-doc -->
3290
   * <!-- end-user-doc -->
3291
   * @generated
3292
   * @ordered
3293
   */
3294
  int EENUM_LITERAL___ECONTAINER = ENAMED_ELEMENT___ECONTAINER;
3295
3296
  /**
3297
   * The operation id for the '<em>EContaining Feature</em>' operation.
3298
   * <!-- begin-user-doc -->
3299
   * <!-- end-user-doc -->
3300
   * @generated
3301
   * @ordered
3302
   */
3303
  int EENUM_LITERAL___ECONTAINING_FEATURE = ENAMED_ELEMENT___ECONTAINING_FEATURE;
3304
3305
  /**
3306
   * The operation id for the '<em>EContainment Feature</em>' operation.
3307
   * <!-- begin-user-doc -->
3308
   * <!-- end-user-doc -->
3309
   * @generated
3310
   * @ordered
3311
   */
3312
  int EENUM_LITERAL___ECONTAINMENT_FEATURE = ENAMED_ELEMENT___ECONTAINMENT_FEATURE;
3313
3314
  /**
3315
   * The operation id for the '<em>EContents</em>' operation.
3316
   * <!-- begin-user-doc -->
3317
   * <!-- end-user-doc -->
3318
   * @generated
3319
   * @ordered
3320
   */
3321
  int EENUM_LITERAL___ECONTENTS = ENAMED_ELEMENT___ECONTENTS;
3322
3323
  /**
3324
   * The operation id for the '<em>EAll Contents</em>' operation.
3325
   * <!-- begin-user-doc -->
3326
   * <!-- end-user-doc -->
3327
   * @generated
3328
   * @ordered
3329
   */
3330
  int EENUM_LITERAL___EALL_CONTENTS = ENAMED_ELEMENT___EALL_CONTENTS;
3331
3332
  /**
3333
   * The operation id for the '<em>ECross References</em>' operation.
3334
   * <!-- begin-user-doc -->
3335
   * <!-- end-user-doc -->
3336
   * @generated
3337
   * @ordered
3338
   */
3339
  int EENUM_LITERAL___ECROSS_REFERENCES = ENAMED_ELEMENT___ECROSS_REFERENCES;
3340
3341
  /**
3342
   * The operation id for the '<em>EGet</em>' operation.
3343
   * <!-- begin-user-doc -->
3344
   * <!-- end-user-doc -->
3345
   * @generated
3346
   * @ordered
3347
   */
3348
  int EENUM_LITERAL___EGET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE;
3349
3350
  /**
3351
   * The operation id for the '<em>EGet</em>' operation.
3352
   * <!-- begin-user-doc -->
3353
   * <!-- end-user-doc -->
3354
   * @generated
3355
   * @ordered
3356
   */
3357
  int EENUM_LITERAL___EGET__ESTRUCTURALFEATURE_BOOLEAN = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
3358
3359
  /**
3360
   * The operation id for the '<em>ESet</em>' operation.
3361
   * <!-- begin-user-doc -->
3362
   * <!-- end-user-doc -->
3363
   * @generated
3364
   * @ordered
3365
   */
3366
  int EENUM_LITERAL___ESET__ESTRUCTURALFEATURE_OBJECT = ENAMED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
3367
3368
  /**
3369
   * The operation id for the '<em>EIs Set</em>' operation.
3370
   * <!-- begin-user-doc -->
3371
   * <!-- end-user-doc -->
3372
   * @generated
3373
   * @ordered
3374
   */
3375
  int EENUM_LITERAL___EIS_SET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
3376
3377
  /**
3378
   * The operation id for the '<em>EUnset</em>' operation.
3379
   * <!-- begin-user-doc -->
3380
   * <!-- end-user-doc -->
3381
   * @generated
3382
   * @ordered
3383
   */
3384
  int EENUM_LITERAL___EUNSET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
3385
3386
  /**
3387
   * The operation id for the '<em>EInvoke</em>' operation.
3388
   * <!-- begin-user-doc -->
3389
   * <!-- end-user-doc -->
3390
   * @generated
3391
   * @ordered
3392
   */
3393
  int EENUM_LITERAL___EINVOKE__EOPERATION_ELIST = ENAMED_ELEMENT___EINVOKE__EOPERATION_ELIST;
3394
3395
  /**
3396
   * The operation id for the '<em>Get EAnnotation</em>' operation.
3397
   * <!-- begin-user-doc -->
3398
   * <!-- end-user-doc -->
3399
   * @generated
3400
   * @ordered
3401
   */
3402
  int EENUM_LITERAL___GET_EANNOTATION__STRING = ENAMED_ELEMENT___GET_EANNOTATION__STRING;
3403
3404
  /**
3405
   * The number of operations of the '<em>EEnum Literal</em>' class.
3406
   * <!-- begin-user-doc -->
3407
   * <!-- end-user-doc -->
3408
   * @generated
3409
   * @ordered
3410
   */
3411
  int EENUM_LITERAL_OPERATION_COUNT = ENAMED_ELEMENT_OPERATION_COUNT + 0;
3412
3413
  /**
3414
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
3415
   * <!-- begin-user-doc -->
3416
   * <!-- end-user-doc -->
3417
   * @generated
3418
   * @ordered
3419
   */
3420
  int EFACTORY__EANNOTATIONS = EMODEL_ELEMENT__EANNOTATIONS;
3421
3422
  /**
3423
   * The feature id for the '<em><b>EPackage</b></em>' reference.
3424
   * <!-- begin-user-doc -->
3425
   * <!-- end-user-doc -->
3426
   * @generated
3427
   * @ordered
3428
   */
3429
  int EFACTORY__EPACKAGE = EMODEL_ELEMENT_FEATURE_COUNT + 0;
3430
3431
  /**
3432
   * The number of structural features of the '<em>EFactory</em>' class.
3433
   * <!-- begin-user-doc -->
3434
   * <!-- end-user-doc -->
3435
   * @generated
3436
   * @ordered
3437
   */
3438
  int EFACTORY_FEATURE_COUNT = EMODEL_ELEMENT_FEATURE_COUNT + 1;
3439
3440
  /**
3441
   * The operation id for the '<em>EClass</em>' operation.
3442
   * <!-- begin-user-doc -->
3443
   * <!-- end-user-doc -->
3444
   * @generated
3445
   * @ordered
3446
   */
3447
  int EFACTORY___ECLASS = EMODEL_ELEMENT___ECLASS;
3448
3449
  /**
3450
   * The operation id for the '<em>EIs Proxy</em>' operation.
3451
   * <!-- begin-user-doc -->
3452
   * <!-- end-user-doc -->
3453
   * @generated
3454
   * @ordered
3455
   */
3456
  int EFACTORY___EIS_PROXY = EMODEL_ELEMENT___EIS_PROXY;
3457
3458
  /**
3459
   * The operation id for the '<em>EResource</em>' operation.
3460
   * <!-- begin-user-doc -->
3461
   * <!-- end-user-doc -->
3462
   * @generated
3463
   * @ordered
3464
   */
3465
  int EFACTORY___ERESOURCE = EMODEL_ELEMENT___ERESOURCE;
3466
3467
  /**
3468
   * The operation id for the '<em>EContainer</em>' operation.
3469
   * <!-- begin-user-doc -->
3470
   * <!-- end-user-doc -->
3471
   * @generated
3472
   * @ordered
3473
   */
3474
  int EFACTORY___ECONTAINER = EMODEL_ELEMENT___ECONTAINER;
3475
3476
  /**
3477
   * The operation id for the '<em>EContaining Feature</em>' operation.
3478
   * <!-- begin-user-doc -->
3479
   * <!-- end-user-doc -->
3480
   * @generated
3481
   * @ordered
3482
   */
3483
  int EFACTORY___ECONTAINING_FEATURE = EMODEL_ELEMENT___ECONTAINING_FEATURE;
3484
3485
  /**
3486
   * The operation id for the '<em>EContainment Feature</em>' operation.
3487
   * <!-- begin-user-doc -->
3488
   * <!-- end-user-doc -->
3489
   * @generated
3490
   * @ordered
3491
   */
3492
  int EFACTORY___ECONTAINMENT_FEATURE = EMODEL_ELEMENT___ECONTAINMENT_FEATURE;
3493
3494
  /**
3495
   * The operation id for the '<em>EContents</em>' operation.
3496
   * <!-- begin-user-doc -->
3497
   * <!-- end-user-doc -->
3498
   * @generated
3499
   * @ordered
3500
   */
3501
  int EFACTORY___ECONTENTS = EMODEL_ELEMENT___ECONTENTS;
3502
3503
  /**
3504
   * The operation id for the '<em>EAll Contents</em>' operation.
3505
   * <!-- begin-user-doc -->
3506
   * <!-- end-user-doc -->
3507
   * @generated
3508
   * @ordered
3509
   */
3510
  int EFACTORY___EALL_CONTENTS = EMODEL_ELEMENT___EALL_CONTENTS;
3511
3512
  /**
3513
   * The operation id for the '<em>ECross References</em>' operation.
3514
   * <!-- begin-user-doc -->
3515
   * <!-- end-user-doc -->
3516
   * @generated
3517
   * @ordered
3518
   */
3519
  int EFACTORY___ECROSS_REFERENCES = EMODEL_ELEMENT___ECROSS_REFERENCES;
3520
3521
  /**
3522
   * The operation id for the '<em>EGet</em>' operation.
3523
   * <!-- begin-user-doc -->
3524
   * <!-- end-user-doc -->
3525
   * @generated
3526
   * @ordered
3527
   */
3528
  int EFACTORY___EGET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE;
3529
3530
  /**
3531
   * The operation id for the '<em>EGet</em>' operation.
3532
   * <!-- begin-user-doc -->
3533
   * <!-- end-user-doc -->
3534
   * @generated
3535
   * @ordered
3536
   */
3537
  int EFACTORY___EGET__ESTRUCTURALFEATURE_BOOLEAN = EMODEL_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
3538
3539
  /**
3540
   * The operation id for the '<em>ESet</em>' operation.
3541
   * <!-- begin-user-doc -->
3542
   * <!-- end-user-doc -->
3543
   * @generated
3544
   * @ordered
3545
   */
3546
  int EFACTORY___ESET__ESTRUCTURALFEATURE_OBJECT = EMODEL_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
3547
3548
  /**
3549
   * The operation id for the '<em>EIs Set</em>' operation.
3550
   * <!-- begin-user-doc -->
3551
   * <!-- end-user-doc -->
3552
   * @generated
3553
   * @ordered
3554
   */
3555
  int EFACTORY___EIS_SET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
385
3556
386
  /**
3557
  /**
387
   * The feature id for the '<em><b>Name</b></em>' attribute.
3558
   * The operation id for the '<em>EUnset</em>' operation.
388
   * <!-- begin-user-doc -->
3559
   * <!-- begin-user-doc -->
389
   * <!-- end-user-doc -->
3560
   * <!-- end-user-doc -->
390
   * @generated
3561
   * @generated
391
   * @ordered
3562
   * @ordered
392
   */
3563
   */
393
  int ESTRUCTURAL_FEATURE__NAME = ETYPED_ELEMENT__NAME;
3564
  int EFACTORY___EUNSET__ESTRUCTURALFEATURE = EMODEL_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
394
3565
395
  /**
3566
  /**
396
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
3567
   * The operation id for the '<em>EInvoke</em>' operation.
397
   * <!-- begin-user-doc -->
3568
   * <!-- begin-user-doc -->
398
   * <!-- end-user-doc -->
3569
   * <!-- end-user-doc -->
399
   * @generated
3570
   * @generated
400
   * @ordered
3571
   * @ordered
401
   */
3572
   */
402
  int ESTRUCTURAL_FEATURE__ORDERED = ETYPED_ELEMENT__ORDERED;
3573
  int EFACTORY___EINVOKE__EOPERATION_ELIST = EMODEL_ELEMENT___EINVOKE__EOPERATION_ELIST;
403
3574
404
  /**
3575
  /**
405
   * The feature id for the '<em><b>Unique</b></em>' attribute.
3576
   * The operation id for the '<em>Get EAnnotation</em>' operation.
406
   * <!-- begin-user-doc -->
3577
   * <!-- begin-user-doc -->
407
   * <!-- end-user-doc -->
3578
   * <!-- end-user-doc -->
408
   * @generated
3579
   * @generated
409
   * @ordered
3580
   * @ordered
410
   */
3581
   */
411
  int ESTRUCTURAL_FEATURE__UNIQUE = ETYPED_ELEMENT__UNIQUE;
3582
  int EFACTORY___GET_EANNOTATION__STRING = EMODEL_ELEMENT___GET_EANNOTATION__STRING;
412
3583
413
  /**
3584
  /**
414
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
3585
   * The operation id for the '<em>Create</em>' operation.
415
   * <!-- begin-user-doc -->
3586
   * <!-- begin-user-doc -->
416
   * <!-- end-user-doc -->
3587
   * <!-- end-user-doc -->
417
   * @generated
3588
   * @generated
418
   * @ordered
3589
   * @ordered
419
   */
3590
   */
420
  int ESTRUCTURAL_FEATURE__LOWER_BOUND = ETYPED_ELEMENT__LOWER_BOUND;
3591
  int EFACTORY___CREATE__ECLASS = EMODEL_ELEMENT_OPERATION_COUNT + 0;
421
3592
422
  /**
3593
  /**
423
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
3594
   * The operation id for the '<em>Create From String</em>' operation.
424
   * <!-- begin-user-doc -->
3595
   * <!-- begin-user-doc -->
425
   * <!-- end-user-doc -->
3596
   * <!-- end-user-doc -->
426
   * @generated
3597
   * @generated
427
   * @ordered
3598
   * @ordered
428
   */
3599
   */
429
  int ESTRUCTURAL_FEATURE__UPPER_BOUND = ETYPED_ELEMENT__UPPER_BOUND;
3600
  int EFACTORY___CREATE_FROM_STRING__EDATATYPE_STRING = EMODEL_ELEMENT_OPERATION_COUNT + 1;
430
3601
431
  /**
3602
  /**
432
   * The feature id for the '<em><b>Many</b></em>' attribute.
3603
   * The operation id for the '<em>Convert To String</em>' operation.
433
   * <!-- begin-user-doc -->
3604
   * <!-- begin-user-doc -->
434
   * <!-- end-user-doc -->
3605
   * <!-- end-user-doc -->
435
   * @generated
3606
   * @generated
436
   * @ordered
3607
   * @ordered
437
   */
3608
   */
438
  int ESTRUCTURAL_FEATURE__MANY = ETYPED_ELEMENT__MANY;
3609
  int EFACTORY___CONVERT_TO_STRING__EDATATYPE_OBJECT = EMODEL_ELEMENT_OPERATION_COUNT + 2;
439
3610
440
  /**
3611
  /**
441
   * The feature id for the '<em><b>Required</b></em>' attribute.
3612
   * The number of operations of the '<em>EFactory</em>' class.
442
   * <!-- begin-user-doc -->
3613
   * <!-- begin-user-doc -->
443
   * <!-- end-user-doc -->
3614
   * <!-- end-user-doc -->
444
   * @generated
3615
   * @generated
445
   * @ordered
3616
   * @ordered
446
   */
3617
   */
447
  int ESTRUCTURAL_FEATURE__REQUIRED = ETYPED_ELEMENT__REQUIRED;
3618
  int EFACTORY_OPERATION_COUNT = EMODEL_ELEMENT_OPERATION_COUNT + 3;
448
3619
449
  /**
3620
  /**
450
   * The feature id for the '<em><b>EType</b></em>' reference.
3621
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
451
   * <!-- begin-user-doc -->
3622
   * <!-- begin-user-doc -->
452
   * <!-- end-user-doc -->
3623
   * <!-- end-user-doc -->
453
   * @generated
3624
   * @generated
454
   * @ordered
3625
   * @ordered
455
   */
3626
   */
456
  int ESTRUCTURAL_FEATURE__ETYPE = ETYPED_ELEMENT__ETYPE;
3627
  int EOPERATION__EANNOTATIONS = ETYPED_ELEMENT__EANNOTATIONS;
457
3628
458
  /**
3629
  /**
459
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
3630
   * The feature id for the '<em><b>Name</b></em>' attribute.
460
   * <!-- begin-user-doc -->
3631
   * <!-- begin-user-doc -->
461
   * <!-- end-user-doc -->
3632
   * <!-- end-user-doc -->
462
   * @generated
3633
   * @generated
463
   * @ordered
3634
   * @ordered
464
   */
3635
   */
465
  int ESTRUCTURAL_FEATURE__EGENERIC_TYPE = ETYPED_ELEMENT__EGENERIC_TYPE;
3636
  int EOPERATION__NAME = ETYPED_ELEMENT__NAME;
466
3637
467
  /**
3638
  /**
468
   * The feature id for the '<em><b>Changeable</b></em>' attribute.
3639
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
469
   * <!-- begin-user-doc -->
3640
   * <!-- begin-user-doc -->
470
   * <!-- end-user-doc -->
3641
   * <!-- end-user-doc -->
471
   * @generated
3642
   * @generated
472
   * @ordered
3643
   * @ordered
473
   */
3644
   */
474
  int ESTRUCTURAL_FEATURE__CHANGEABLE = ETYPED_ELEMENT_FEATURE_COUNT + 0;
3645
  int EOPERATION__ORDERED = ETYPED_ELEMENT__ORDERED;
475
3646
476
  /**
3647
  /**
477
   * The feature id for the '<em><b>Volatile</b></em>' attribute.
3648
   * The feature id for the '<em><b>Unique</b></em>' attribute.
478
   * <!-- begin-user-doc -->
3649
   * <!-- begin-user-doc -->
479
   * <!-- end-user-doc -->
3650
   * <!-- end-user-doc -->
480
   * @generated
3651
   * @generated
481
   * @ordered
3652
   * @ordered
482
   */
3653
   */
483
  int ESTRUCTURAL_FEATURE__VOLATILE = ETYPED_ELEMENT_FEATURE_COUNT + 1;
3654
  int EOPERATION__UNIQUE = ETYPED_ELEMENT__UNIQUE;
484
3655
485
  /**
3656
  /**
486
   * The feature id for the '<em><b>Transient</b></em>' attribute.
3657
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
487
   * <!-- begin-user-doc -->
3658
   * <!-- begin-user-doc -->
488
   * <!-- end-user-doc -->
3659
   * <!-- end-user-doc -->
489
   * @generated
3660
   * @generated
490
   * @ordered
3661
   * @ordered
491
   */
3662
   */
492
  int ESTRUCTURAL_FEATURE__TRANSIENT = ETYPED_ELEMENT_FEATURE_COUNT + 2;
3663
  int EOPERATION__LOWER_BOUND = ETYPED_ELEMENT__LOWER_BOUND;
493
3664
494
  /**
3665
  /**
495
   * The feature id for the '<em><b>Default Value Literal</b></em>' attribute.
3666
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
496
   * <!-- begin-user-doc -->
3667
   * <!-- begin-user-doc -->
497
   * <!-- end-user-doc -->
3668
   * <!-- end-user-doc -->
498
   * @generated
3669
   * @generated
499
   * @ordered
3670
   * @ordered
500
   */
3671
   */
501
  int ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL = ETYPED_ELEMENT_FEATURE_COUNT + 3;
3672
  int EOPERATION__UPPER_BOUND = ETYPED_ELEMENT__UPPER_BOUND;
502
3673
503
  /**
3674
  /**
504
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
3675
   * The feature id for the '<em><b>Many</b></em>' attribute.
505
   * <!-- begin-user-doc -->
3676
   * <!-- begin-user-doc -->
506
   * <!-- end-user-doc -->
3677
   * <!-- end-user-doc -->
507
   * @generated
3678
   * @generated
508
   * @ordered
3679
   * @ordered
509
   */
3680
   */
510
  int ESTRUCTURAL_FEATURE__DEFAULT_VALUE = ETYPED_ELEMENT_FEATURE_COUNT + 4;
3681
  int EOPERATION__MANY = ETYPED_ELEMENT__MANY;
511
3682
512
  /**
3683
  /**
513
   * The feature id for the '<em><b>Unsettable</b></em>' attribute.
3684
   * The feature id for the '<em><b>Required</b></em>' attribute.
514
   * <!-- begin-user-doc -->
3685
   * <!-- begin-user-doc -->
515
   * <!-- end-user-doc -->
3686
   * <!-- end-user-doc -->
516
   * @generated
3687
   * @generated
517
   * @ordered
3688
   * @ordered
518
   */
3689
   */
519
  int ESTRUCTURAL_FEATURE__UNSETTABLE = ETYPED_ELEMENT_FEATURE_COUNT + 5;
3690
  int EOPERATION__REQUIRED = ETYPED_ELEMENT__REQUIRED;
520
3691
521
  /**
3692
  /**
522
   * The feature id for the '<em><b>Derived</b></em>' attribute.
3693
   * The feature id for the '<em><b>EType</b></em>' reference.
523
   * <!-- begin-user-doc -->
3694
   * <!-- begin-user-doc -->
524
   * <!-- end-user-doc -->
3695
   * <!-- end-user-doc -->
525
   * @generated
3696
   * @generated
526
   * @ordered
3697
   * @ordered
527
   */
3698
   */
528
  int ESTRUCTURAL_FEATURE__DERIVED = ETYPED_ELEMENT_FEATURE_COUNT + 6;
3699
  int EOPERATION__ETYPE = ETYPED_ELEMENT__ETYPE;
529
3700
530
  /**
3701
  /**
531
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
3702
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
532
   * <!-- begin-user-doc -->
3703
   * <!-- begin-user-doc -->
533
   * <!-- end-user-doc -->
3704
   * <!-- end-user-doc -->
534
   * @generated
3705
   * @generated
535
   * @ordered
3706
   * @ordered
536
   */
3707
   */
537
  int ESTRUCTURAL_FEATURE__ECONTAINING_CLASS = ETYPED_ELEMENT_FEATURE_COUNT + 7;
3708
  int EOPERATION__EGENERIC_TYPE = ETYPED_ELEMENT__EGENERIC_TYPE;
538
3709
539
  /**
3710
  /**
540
   * The number of structural features of the '<em>EStructural Feature</em>' class.
3711
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
541
   * <!-- begin-user-doc -->
3712
   * <!-- begin-user-doc -->
542
   * <!-- end-user-doc -->
3713
   * <!-- end-user-doc -->
543
   * @generated
3714
   * @generated
544
   * @ordered
3715
   * @ordered
545
   */
3716
   */
546
  int ESTRUCTURAL_FEATURE_FEATURE_COUNT = ETYPED_ELEMENT_FEATURE_COUNT + 8;
3717
  int EOPERATION__ECONTAINING_CLASS = ETYPED_ELEMENT_FEATURE_COUNT + 0;
547
3718
548
  /**
3719
  /**
549
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
3720
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
550
   * <!-- begin-user-doc -->
3721
   * <!-- begin-user-doc -->
551
   * <!-- end-user-doc -->
3722
   * <!-- end-user-doc -->
552
   * @generated
3723
   * @generated
553
   * @ordered
3724
   * @ordered
554
   */
3725
   */
555
  int EATTRIBUTE__EANNOTATIONS = ESTRUCTURAL_FEATURE__EANNOTATIONS;
3726
  int EOPERATION__ETYPE_PARAMETERS = ETYPED_ELEMENT_FEATURE_COUNT + 1;
556
3727
557
  /**
3728
  /**
558
   * The feature id for the '<em><b>Name</b></em>' attribute.
3729
   * The feature id for the '<em><b>EParameters</b></em>' containment reference list.
559
   * <!-- begin-user-doc -->
3730
   * <!-- begin-user-doc -->
560
   * <!-- end-user-doc -->
3731
   * <!-- end-user-doc -->
561
   * @generated
3732
   * @generated
562
   * @ordered
3733
   * @ordered
563
   */
3734
   */
564
  int EATTRIBUTE__NAME = ESTRUCTURAL_FEATURE__NAME;
3735
  int EOPERATION__EPARAMETERS = ETYPED_ELEMENT_FEATURE_COUNT + 2;
565
3736
566
  /**
3737
  /**
567
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
3738
   * The feature id for the '<em><b>EExceptions</b></em>' reference list.
568
   * <!-- begin-user-doc -->
3739
   * <!-- begin-user-doc -->
569
   * <!-- end-user-doc -->
3740
   * <!-- end-user-doc -->
570
   * @generated
3741
   * @generated
571
   * @ordered
3742
   * @ordered
572
   */
3743
   */
573
  int EATTRIBUTE__ORDERED = ESTRUCTURAL_FEATURE__ORDERED;
3744
  int EOPERATION__EEXCEPTIONS = ETYPED_ELEMENT_FEATURE_COUNT + 3;
574
3745
575
  /**
3746
  /**
576
   * The feature id for the '<em><b>Unique</b></em>' attribute.
3747
   * The feature id for the '<em><b>EGeneric Exceptions</b></em>' containment reference list.
577
   * <!-- begin-user-doc -->
3748
   * <!-- begin-user-doc -->
578
   * <!-- end-user-doc -->
3749
   * <!-- end-user-doc -->
579
   * @generated
3750
   * @generated
580
   * @ordered
3751
   * @ordered
581
   */
3752
   */
582
  int EATTRIBUTE__UNIQUE = ESTRUCTURAL_FEATURE__UNIQUE;
3753
  int EOPERATION__EGENERIC_EXCEPTIONS = ETYPED_ELEMENT_FEATURE_COUNT + 4;
583
3754
584
  /**
3755
  /**
585
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
3756
   * The number of structural features of the '<em>EOperation</em>' class.
586
   * <!-- begin-user-doc -->
3757
   * <!-- begin-user-doc -->
587
   * <!-- end-user-doc -->
3758
   * <!-- end-user-doc -->
588
   * @generated
3759
   * @generated
589
   * @ordered
3760
   * @ordered
590
   */
3761
   */
591
  int EATTRIBUTE__LOWER_BOUND = ESTRUCTURAL_FEATURE__LOWER_BOUND;
3762
  int EOPERATION_FEATURE_COUNT = ETYPED_ELEMENT_FEATURE_COUNT + 5;
592
3763
593
  /**
3764
  /**
594
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
3765
   * The operation id for the '<em>EClass</em>' operation.
595
   * <!-- begin-user-doc -->
3766
   * <!-- begin-user-doc -->
596
   * <!-- end-user-doc -->
3767
   * <!-- end-user-doc -->
597
   * @generated
3768
   * @generated
598
   * @ordered
3769
   * @ordered
599
   */
3770
   */
600
  int EATTRIBUTE__UPPER_BOUND = ESTRUCTURAL_FEATURE__UPPER_BOUND;
3771
  int EOPERATION___ECLASS = ETYPED_ELEMENT___ECLASS;
601
3772
602
  /**
3773
  /**
603
   * The feature id for the '<em><b>Many</b></em>' attribute.
3774
   * The operation id for the '<em>EIs Proxy</em>' operation.
604
   * <!-- begin-user-doc -->
3775
   * <!-- begin-user-doc -->
605
   * <!-- end-user-doc -->
3776
   * <!-- end-user-doc -->
606
   * @generated
3777
   * @generated
607
   * @ordered
3778
   * @ordered
608
   */
3779
   */
609
  int EATTRIBUTE__MANY = ESTRUCTURAL_FEATURE__MANY;
3780
  int EOPERATION___EIS_PROXY = ETYPED_ELEMENT___EIS_PROXY;
610
3781
611
  /**
3782
  /**
612
   * The feature id for the '<em><b>Required</b></em>' attribute.
3783
   * The operation id for the '<em>EResource</em>' operation.
613
   * <!-- begin-user-doc -->
3784
   * <!-- begin-user-doc -->
614
   * <!-- end-user-doc -->
3785
   * <!-- end-user-doc -->
615
   * @generated
3786
   * @generated
616
   * @ordered
3787
   * @ordered
617
   */
3788
   */
618
  int EATTRIBUTE__REQUIRED = ESTRUCTURAL_FEATURE__REQUIRED;
3789
  int EOPERATION___ERESOURCE = ETYPED_ELEMENT___ERESOURCE;
619
3790
620
  /**
3791
  /**
621
   * The feature id for the '<em><b>EType</b></em>' reference.
3792
   * The operation id for the '<em>EContainer</em>' operation.
622
   * <!-- begin-user-doc -->
3793
   * <!-- begin-user-doc -->
623
   * <!-- end-user-doc -->
3794
   * <!-- end-user-doc -->
624
   * @generated
3795
   * @generated
625
   * @ordered
3796
   * @ordered
626
   */
3797
   */
627
  int EATTRIBUTE__ETYPE = ESTRUCTURAL_FEATURE__ETYPE;
3798
  int EOPERATION___ECONTAINER = ETYPED_ELEMENT___ECONTAINER;
628
3799
629
  /**
3800
  /**
630
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
3801
   * The operation id for the '<em>EContaining Feature</em>' operation.
631
   * <!-- begin-user-doc -->
3802
   * <!-- begin-user-doc -->
632
   * <!-- end-user-doc -->
3803
   * <!-- end-user-doc -->
633
   * @generated
3804
   * @generated
634
   * @ordered
3805
   * @ordered
635
   */
3806
   */
636
  int EATTRIBUTE__EGENERIC_TYPE = ESTRUCTURAL_FEATURE__EGENERIC_TYPE;
3807
  int EOPERATION___ECONTAINING_FEATURE = ETYPED_ELEMENT___ECONTAINING_FEATURE;
637
3808
638
  /**
3809
  /**
639
   * The feature id for the '<em><b>Changeable</b></em>' attribute.
3810
   * The operation id for the '<em>EContainment Feature</em>' operation.
640
   * <!-- begin-user-doc -->
3811
   * <!-- begin-user-doc -->
641
   * <!-- end-user-doc -->
3812
   * <!-- end-user-doc -->
642
   * @generated
3813
   * @generated
643
   * @ordered
3814
   * @ordered
644
   */
3815
   */
645
  int EATTRIBUTE__CHANGEABLE = ESTRUCTURAL_FEATURE__CHANGEABLE;
3816
  int EOPERATION___ECONTAINMENT_FEATURE = ETYPED_ELEMENT___ECONTAINMENT_FEATURE;
646
3817
647
  /**
3818
  /**
648
   * The feature id for the '<em><b>Volatile</b></em>' attribute.
3819
   * The operation id for the '<em>EContents</em>' operation.
649
   * <!-- begin-user-doc -->
3820
   * <!-- begin-user-doc -->
650
   * <!-- end-user-doc -->
3821
   * <!-- end-user-doc -->
651
   * @generated
3822
   * @generated
652
   * @ordered
3823
   * @ordered
653
   */
3824
   */
654
  int EATTRIBUTE__VOLATILE = ESTRUCTURAL_FEATURE__VOLATILE;
3825
  int EOPERATION___ECONTENTS = ETYPED_ELEMENT___ECONTENTS;
655
3826
656
  /**
3827
  /**
657
   * The feature id for the '<em><b>Transient</b></em>' attribute.
3828
   * The operation id for the '<em>EAll Contents</em>' operation.
658
   * <!-- begin-user-doc -->
3829
   * <!-- begin-user-doc -->
659
   * <!-- end-user-doc -->
3830
   * <!-- end-user-doc -->
660
   * @generated
3831
   * @generated
661
   * @ordered
3832
   * @ordered
662
   */
3833
   */
663
  int EATTRIBUTE__TRANSIENT = ESTRUCTURAL_FEATURE__TRANSIENT;
3834
  int EOPERATION___EALL_CONTENTS = ETYPED_ELEMENT___EALL_CONTENTS;
664
3835
665
  /**
3836
  /**
666
   * The feature id for the '<em><b>Default Value Literal</b></em>' attribute.
3837
   * The operation id for the '<em>ECross References</em>' operation.
667
   * <!-- begin-user-doc -->
3838
   * <!-- begin-user-doc -->
668
   * <!-- end-user-doc -->
3839
   * <!-- end-user-doc -->
669
   * @generated
3840
   * @generated
670
   * @ordered
3841
   * @ordered
671
   */
3842
   */
672
  int EATTRIBUTE__DEFAULT_VALUE_LITERAL = ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL;
3843
  int EOPERATION___ECROSS_REFERENCES = ETYPED_ELEMENT___ECROSS_REFERENCES;
673
3844
674
  /**
3845
  /**
675
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
3846
   * The operation id for the '<em>EGet</em>' operation.
676
   * <!-- begin-user-doc -->
3847
   * <!-- begin-user-doc -->
677
   * <!-- end-user-doc -->
3848
   * <!-- end-user-doc -->
678
   * @generated
3849
   * @generated
679
   * @ordered
3850
   * @ordered
680
   */
3851
   */
681
  int EATTRIBUTE__DEFAULT_VALUE = ESTRUCTURAL_FEATURE__DEFAULT_VALUE;
3852
  int EOPERATION___EGET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE;
682
3853
683
  /**
3854
  /**
684
   * The feature id for the '<em><b>Unsettable</b></em>' attribute.
3855
   * The operation id for the '<em>EGet</em>' operation.
685
   * <!-- begin-user-doc -->
3856
   * <!-- begin-user-doc -->
686
   * <!-- end-user-doc -->
3857
   * <!-- end-user-doc -->
687
   * @generated
3858
   * @generated
688
   * @ordered
3859
   * @ordered
689
   */
3860
   */
690
  int EATTRIBUTE__UNSETTABLE = ESTRUCTURAL_FEATURE__UNSETTABLE;
3861
  int EOPERATION___EGET__ESTRUCTURALFEATURE_BOOLEAN = ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
691
3862
692
  /**
3863
  /**
693
   * The feature id for the '<em><b>Derived</b></em>' attribute.
3864
   * The operation id for the '<em>ESet</em>' operation.
694
   * <!-- begin-user-doc -->
3865
   * <!-- begin-user-doc -->
695
   * <!-- end-user-doc -->
3866
   * <!-- end-user-doc -->
696
   * @generated
3867
   * @generated
697
   * @ordered
3868
   * @ordered
698
   */
3869
   */
699
  int EATTRIBUTE__DERIVED = ESTRUCTURAL_FEATURE__DERIVED;
3870
  int EOPERATION___ESET__ESTRUCTURALFEATURE_OBJECT = ETYPED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
700
3871
701
  /**
3872
  /**
702
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
3873
   * The operation id for the '<em>EIs Set</em>' operation.
703
   * <!-- begin-user-doc -->
3874
   * <!-- begin-user-doc -->
704
   * <!-- end-user-doc -->
3875
   * <!-- end-user-doc -->
705
   * @generated
3876
   * @generated
706
   * @ordered
3877
   * @ordered
707
   */
3878
   */
708
  int EATTRIBUTE__ECONTAINING_CLASS = ESTRUCTURAL_FEATURE__ECONTAINING_CLASS;
3879
  int EOPERATION___EIS_SET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
709
3880
710
  /**
3881
  /**
711
   * The feature id for the '<em><b>ID</b></em>' attribute.
3882
   * The operation id for the '<em>EUnset</em>' operation.
712
   * <!-- begin-user-doc -->
3883
   * <!-- begin-user-doc -->
713
   * <!-- end-user-doc -->
3884
   * <!-- end-user-doc -->
714
   * @generated
3885
   * @generated
715
   * @ordered
3886
   * @ordered
716
   */
3887
   */
717
  int EATTRIBUTE__ID = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 0;
3888
  int EOPERATION___EUNSET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
718
3889
719
  /**
3890
  /**
720
   * The feature id for the '<em><b>EAttribute Type</b></em>' reference.
3891
   * The operation id for the '<em>EInvoke</em>' operation.
721
   * <!-- begin-user-doc -->
3892
   * <!-- begin-user-doc -->
722
   * <!-- end-user-doc -->
3893
   * <!-- end-user-doc -->
723
   * @generated
3894
   * @generated
724
   * @ordered
3895
   * @ordered
725
   */
3896
   */
726
  int EATTRIBUTE__EATTRIBUTE_TYPE = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 1;
3897
  int EOPERATION___EINVOKE__EOPERATION_ELIST = ETYPED_ELEMENT___EINVOKE__EOPERATION_ELIST;
727
3898
728
  /**
3899
  /**
729
   * The number of structural features of the '<em>EAttribute</em>' class.
3900
   * The operation id for the '<em>Get EAnnotation</em>' operation.
730
   * <!-- begin-user-doc -->
3901
   * <!-- begin-user-doc -->
731
   * <!-- end-user-doc -->
3902
   * <!-- end-user-doc -->
732
   * @generated
3903
   * @generated
733
   * @ordered
3904
   * @ordered
734
   */
3905
   */
735
  int EATTRIBUTE_FEATURE_COUNT = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 2;
3906
  int EOPERATION___GET_EANNOTATION__STRING = ETYPED_ELEMENT___GET_EANNOTATION__STRING;
736
3907
737
  /**
3908
  /**
738
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EAnnotationImpl <em>EAnnotation</em>}' class.
3909
   * The operation id for the '<em>Get Operation ID</em>' operation.
739
   * <!-- begin-user-doc -->
3910
   * <!-- begin-user-doc -->
740
   * <!-- end-user-doc -->
3911
   * <!-- end-user-doc -->
741
   * @see org.eclipse.emf.ecore.impl.EAnnotationImpl
742
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEAnnotation()
743
   * @generated
3912
   * @generated
3913
   * @ordered
744
   */
3914
   */
745
  int EANNOTATION = 1;
3915
  int EOPERATION___GET_OPERATION_ID = ETYPED_ELEMENT_OPERATION_COUNT + 0;
746
3916
747
  /**
3917
  /**
748
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
3918
   * The number of operations of the '<em>EOperation</em>' class.
749
   * <!-- begin-user-doc -->
3919
   * <!-- begin-user-doc -->
750
   * <!-- end-user-doc -->
3920
   * <!-- end-user-doc -->
751
   * @generated
3921
   * @generated
752
   * @ordered
3922
   * @ordered
753
   */
3923
   */
754
  int EANNOTATION__EANNOTATIONS = EMODEL_ELEMENT__EANNOTATIONS;
3924
  int EOPERATION_OPERATION_COUNT = ETYPED_ELEMENT_OPERATION_COUNT + 1;
755
3925
756
  /**
3926
  /**
757
   * The feature id for the '<em><b>Source</b></em>' attribute.
3927
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
758
   * <!-- begin-user-doc -->
3928
   * <!-- begin-user-doc -->
759
   * <!-- end-user-doc -->
3929
   * <!-- end-user-doc -->
760
   * @generated
3930
   * @generated
761
   * @ordered
3931
   * @ordered
762
   */
3932
   */
763
  int EANNOTATION__SOURCE = EMODEL_ELEMENT_FEATURE_COUNT + 0;
3933
  int EPACKAGE__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
764
3934
765
  /**
3935
  /**
766
   * The feature id for the '<em><b>Details</b></em>' map.
3936
   * The feature id for the '<em><b>Name</b></em>' attribute.
767
   * <!-- begin-user-doc -->
3937
   * <!-- begin-user-doc -->
768
   * <!-- end-user-doc -->
3938
   * <!-- end-user-doc -->
769
   * @generated
3939
   * @generated
770
   * @ordered
3940
   * @ordered
771
   */
3941
   */
772
  int EANNOTATION__DETAILS = EMODEL_ELEMENT_FEATURE_COUNT + 1;
3942
  int EPACKAGE__NAME = ENAMED_ELEMENT__NAME;
773
3943
774
  /**
3944
  /**
775
   * The feature id for the '<em><b>EModel Element</b></em>' container reference.
3945
   * The feature id for the '<em><b>Ns URI</b></em>' attribute.
776
   * <!-- begin-user-doc -->
3946
   * <!-- begin-user-doc -->
777
   * <!-- end-user-doc -->
3947
   * <!-- end-user-doc -->
778
   * @generated
3948
   * @generated
779
   * @ordered
3949
   * @ordered
780
   */
3950
   */
781
  int EANNOTATION__EMODEL_ELEMENT = EMODEL_ELEMENT_FEATURE_COUNT + 2;
3951
  int EPACKAGE__NS_URI = ENAMED_ELEMENT_FEATURE_COUNT + 0;
782
3952
783
  /**
3953
  /**
784
   * The feature id for the '<em><b>Contents</b></em>' containment reference list.
3954
   * The feature id for the '<em><b>Ns Prefix</b></em>' attribute.
785
   * <!-- begin-user-doc -->
3955
   * <!-- begin-user-doc -->
786
   * <!-- end-user-doc -->
3956
   * <!-- end-user-doc -->
787
   * @generated
3957
   * @generated
788
   * @ordered
3958
   * @ordered
789
   */
3959
   */
790
  int EANNOTATION__CONTENTS = EMODEL_ELEMENT_FEATURE_COUNT + 3;
3960
  int EPACKAGE__NS_PREFIX = ENAMED_ELEMENT_FEATURE_COUNT + 1;
791
3961
792
  /**
3962
  /**
793
   * The feature id for the '<em><b>References</b></em>' reference list.
3963
   * The feature id for the '<em><b>EFactory Instance</b></em>' reference.
794
   * <!-- begin-user-doc -->
3964
   * <!-- begin-user-doc -->
795
   * <!-- end-user-doc -->
3965
   * <!-- end-user-doc -->
796
   * @generated
3966
   * @generated
797
   * @ordered
3967
   * @ordered
798
   */
3968
   */
799
  int EANNOTATION__REFERENCES = EMODEL_ELEMENT_FEATURE_COUNT + 4;
3969
  int EPACKAGE__EFACTORY_INSTANCE = ENAMED_ELEMENT_FEATURE_COUNT + 2;
800
3970
801
  /**
3971
  /**
802
   * The number of structural features of the '<em>EAnnotation</em>' class.
3972
   * The feature id for the '<em><b>EClassifiers</b></em>' containment reference list.
803
   * <!-- begin-user-doc -->
3973
   * <!-- begin-user-doc -->
804
   * <!-- end-user-doc -->
3974
   * <!-- end-user-doc -->
805
   * @generated
3975
   * @generated
806
   * @ordered
3976
   * @ordered
807
   */
3977
   */
808
  int EANNOTATION_FEATURE_COUNT = EMODEL_ELEMENT_FEATURE_COUNT + 5;
3978
  int EPACKAGE__ECLASSIFIERS = ENAMED_ELEMENT_FEATURE_COUNT + 3;
809
3979
810
  /**
3980
  /**
811
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EClassifierImpl <em>EClassifier</em>}' class.
3981
   * The feature id for the '<em><b>ESubpackages</b></em>' containment reference list.
812
   * <!-- begin-user-doc -->
3982
   * <!-- begin-user-doc -->
813
   * <!-- end-user-doc -->
3983
   * <!-- end-user-doc -->
814
   * @see org.eclipse.emf.ecore.impl.EClassifierImpl
815
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEClassifier()
816
   * @generated
3984
   * @generated
3985
   * @ordered
817
   */
3986
   */
818
  int ECLASSIFIER = 3;
3987
  int EPACKAGE__ESUBPACKAGES = ENAMED_ELEMENT_FEATURE_COUNT + 4;
819
3988
820
  /**
3989
  /**
821
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
3990
   * The feature id for the '<em><b>ESuper Package</b></em>' container reference.
822
   * <!-- begin-user-doc -->
3991
   * <!-- begin-user-doc -->
823
   * <!-- end-user-doc -->
3992
   * <!-- end-user-doc -->
824
   * @generated
3993
   * @generated
825
   * @ordered
3994
   * @ordered
826
   */
3995
   */
827
  int ECLASSIFIER__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
3996
  int EPACKAGE__ESUPER_PACKAGE = ENAMED_ELEMENT_FEATURE_COUNT + 5;
828
3997
829
  /**
3998
  /**
830
   * The feature id for the '<em><b>Name</b></em>' attribute.
3999
   * The number of structural features of the '<em>EPackage</em>' class.
831
   * <!-- begin-user-doc -->
4000
   * <!-- begin-user-doc -->
832
   * <!-- end-user-doc -->
4001
   * <!-- end-user-doc -->
833
   * @generated
4002
   * @generated
834
   * @ordered
4003
   * @ordered
835
   */
4004
   */
836
  int ECLASSIFIER__NAME = ENAMED_ELEMENT__NAME;
4005
  int EPACKAGE_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 6;
837
4006
838
  /**
4007
  /**
839
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
4008
   * The operation id for the '<em>EClass</em>' operation.
840
   * <!-- begin-user-doc -->
4009
   * <!-- begin-user-doc -->
841
   * <!-- end-user-doc -->
4010
   * <!-- end-user-doc -->
842
   * @generated
4011
   * @generated
843
   * @ordered
4012
   * @ordered
844
   */
4013
   */
845
  int ECLASSIFIER__INSTANCE_CLASS_NAME = ENAMED_ELEMENT_FEATURE_COUNT + 0;
4014
  int EPACKAGE___ECLASS = ENAMED_ELEMENT___ECLASS;
846
4015
847
  /**
4016
  /**
848
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
4017
   * The operation id for the '<em>EIs Proxy</em>' operation.
849
   * <!-- begin-user-doc -->
4018
   * <!-- begin-user-doc -->
850
   * <!-- end-user-doc -->
4019
   * <!-- end-user-doc -->
851
   * @generated
4020
   * @generated
852
   * @ordered
4021
   * @ordered
853
   */
4022
   */
854
  int ECLASSIFIER__INSTANCE_CLASS = ENAMED_ELEMENT_FEATURE_COUNT + 1;
4023
  int EPACKAGE___EIS_PROXY = ENAMED_ELEMENT___EIS_PROXY;
855
4024
856
  /**
4025
  /**
857
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
4026
   * The operation id for the '<em>EResource</em>' operation.
858
   * <!-- begin-user-doc -->
4027
   * <!-- begin-user-doc -->
859
   * <!-- end-user-doc -->
4028
   * <!-- end-user-doc -->
860
   * @generated
4029
   * @generated
861
   * @ordered
4030
   * @ordered
862
   */
4031
   */
863
  int ECLASSIFIER__DEFAULT_VALUE = ENAMED_ELEMENT_FEATURE_COUNT + 2;
4032
  int EPACKAGE___ERESOURCE = ENAMED_ELEMENT___ERESOURCE;
864
4033
865
  /**
4034
  /**
866
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
4035
   * The operation id for the '<em>EContainer</em>' operation.
867
   * <!-- begin-user-doc -->
4036
   * <!-- begin-user-doc -->
868
   * <!-- end-user-doc -->
4037
   * <!-- end-user-doc -->
869
   * @generated
4038
   * @generated
870
   * @ordered
4039
   * @ordered
871
   */
4040
   */
872
  int ECLASSIFIER__INSTANCE_TYPE_NAME = ENAMED_ELEMENT_FEATURE_COUNT + 3;
4041
  int EPACKAGE___ECONTAINER = ENAMED_ELEMENT___ECONTAINER;
873
4042
874
  /**
4043
  /**
875
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
4044
   * The operation id for the '<em>EContaining Feature</em>' operation.
876
   * <!-- begin-user-doc -->
4045
   * <!-- begin-user-doc -->
877
   * <!-- end-user-doc -->
4046
   * <!-- end-user-doc -->
878
   * @generated
4047
   * @generated
879
   * @ordered
4048
   * @ordered
880
   */
4049
   */
881
  int ECLASSIFIER__EPACKAGE = ENAMED_ELEMENT_FEATURE_COUNT + 4;
4050
  int EPACKAGE___ECONTAINING_FEATURE = ENAMED_ELEMENT___ECONTAINING_FEATURE;
882
4051
883
  /**
4052
  /**
884
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
4053
   * The operation id for the '<em>EContainment Feature</em>' operation.
885
   * <!-- begin-user-doc -->
4054
   * <!-- begin-user-doc -->
886
   * <!-- end-user-doc -->
4055
   * <!-- end-user-doc -->
887
   * @generated
4056
   * @generated
888
   * @ordered
4057
   * @ordered
889
   */
4058
   */
890
  int ECLASSIFIER__ETYPE_PARAMETERS = ENAMED_ELEMENT_FEATURE_COUNT + 5;
4059
  int EPACKAGE___ECONTAINMENT_FEATURE = ENAMED_ELEMENT___ECONTAINMENT_FEATURE;
891
4060
892
  /**
4061
  /**
893
   * The number of structural features of the '<em>EClassifier</em>' class.
4062
   * The operation id for the '<em>EContents</em>' operation.
894
   * <!-- begin-user-doc -->
4063
   * <!-- begin-user-doc -->
895
   * <!-- end-user-doc -->
4064
   * <!-- end-user-doc -->
896
   * @generated
4065
   * @generated
897
   * @ordered
4066
   * @ordered
898
   */
4067
   */
899
  int ECLASSIFIER_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 6;
4068
  int EPACKAGE___ECONTENTS = ENAMED_ELEMENT___ECONTENTS;
900
4069
901
  /**
4070
  /**
902
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4071
   * The operation id for the '<em>EAll Contents</em>' operation.
903
   * <!-- begin-user-doc -->
4072
   * <!-- begin-user-doc -->
904
   * <!-- end-user-doc -->
4073
   * <!-- end-user-doc -->
905
   * @generated
4074
   * @generated
906
   * @ordered
4075
   * @ordered
907
   */
4076
   */
908
  int ECLASS__EANNOTATIONS = ECLASSIFIER__EANNOTATIONS;
4077
  int EPACKAGE___EALL_CONTENTS = ENAMED_ELEMENT___EALL_CONTENTS;
909
4078
910
  /**
4079
  /**
911
   * The feature id for the '<em><b>Name</b></em>' attribute.
4080
   * The operation id for the '<em>ECross References</em>' operation.
912
   * <!-- begin-user-doc -->
4081
   * <!-- begin-user-doc -->
913
   * <!-- end-user-doc -->
4082
   * <!-- end-user-doc -->
914
   * @generated
4083
   * @generated
915
   * @ordered
4084
   * @ordered
916
   */
4085
   */
917
  int ECLASS__NAME = ECLASSIFIER__NAME;
4086
  int EPACKAGE___ECROSS_REFERENCES = ENAMED_ELEMENT___ECROSS_REFERENCES;
918
4087
919
  /**
4088
  /**
920
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
4089
   * The operation id for the '<em>EGet</em>' operation.
921
   * <!-- begin-user-doc -->
4090
   * <!-- begin-user-doc -->
922
   * <!-- end-user-doc -->
4091
   * <!-- end-user-doc -->
923
   * @generated
4092
   * @generated
924
   * @ordered
4093
   * @ordered
925
   */
4094
   */
926
  int ECLASS__INSTANCE_CLASS_NAME = ECLASSIFIER__INSTANCE_CLASS_NAME;
4095
  int EPACKAGE___EGET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE;
927
4096
928
  /**
4097
  /**
929
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
4098
   * The operation id for the '<em>EGet</em>' operation.
930
   * <!-- begin-user-doc -->
4099
   * <!-- begin-user-doc -->
931
   * <!-- end-user-doc -->
4100
   * <!-- end-user-doc -->
932
   * @generated
4101
   * @generated
933
   * @ordered
4102
   * @ordered
934
   */
4103
   */
935
  int ECLASS__INSTANCE_CLASS = ECLASSIFIER__INSTANCE_CLASS;
4104
  int EPACKAGE___EGET__ESTRUCTURALFEATURE_BOOLEAN = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
936
4105
937
  /**
4106
  /**
938
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
4107
   * The operation id for the '<em>ESet</em>' operation.
939
   * <!-- begin-user-doc -->
4108
   * <!-- begin-user-doc -->
940
   * <!-- end-user-doc -->
4109
   * <!-- end-user-doc -->
941
   * @generated
4110
   * @generated
942
   * @ordered
4111
   * @ordered
943
   */
4112
   */
944
  int ECLASS__DEFAULT_VALUE = ECLASSIFIER__DEFAULT_VALUE;
4113
  int EPACKAGE___ESET__ESTRUCTURALFEATURE_OBJECT = ENAMED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
945
4114
946
  /**
4115
  /**
947
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
4116
   * The operation id for the '<em>EIs Set</em>' operation.
948
   * <!-- begin-user-doc -->
4117
   * <!-- begin-user-doc -->
949
   * <!-- end-user-doc -->
4118
   * <!-- end-user-doc -->
950
   * @generated
4119
   * @generated
951
   * @ordered
4120
   * @ordered
952
   */
4121
   */
953
  int ECLASS__INSTANCE_TYPE_NAME = ECLASSIFIER__INSTANCE_TYPE_NAME;
4122
  int EPACKAGE___EIS_SET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
954
4123
955
  /**
4124
  /**
956
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
4125
   * The operation id for the '<em>EUnset</em>' operation.
957
   * <!-- begin-user-doc -->
4126
   * <!-- begin-user-doc -->
958
   * <!-- end-user-doc -->
4127
   * <!-- end-user-doc -->
959
   * @generated
4128
   * @generated
960
   * @ordered
4129
   * @ordered
961
   */
4130
   */
962
  int ECLASS__EPACKAGE = ECLASSIFIER__EPACKAGE;
4131
  int EPACKAGE___EUNSET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
963
4132
964
  /**
4133
  /**
965
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
4134
   * The operation id for the '<em>EInvoke</em>' operation.
966
   * <!-- begin-user-doc -->
4135
   * <!-- begin-user-doc -->
967
   * <!-- end-user-doc -->
4136
   * <!-- end-user-doc -->
968
   * @generated
4137
   * @generated
969
   * @ordered
4138
   * @ordered
970
   */
4139
   */
971
  int ECLASS__ETYPE_PARAMETERS = ECLASSIFIER__ETYPE_PARAMETERS;
4140
  int EPACKAGE___EINVOKE__EOPERATION_ELIST = ENAMED_ELEMENT___EINVOKE__EOPERATION_ELIST;
972
4141
973
  /**
4142
  /**
974
   * The feature id for the '<em><b>Abstract</b></em>' attribute.
4143
   * The operation id for the '<em>Get EAnnotation</em>' operation.
975
   * <!-- begin-user-doc -->
4144
   * <!-- begin-user-doc -->
976
   * <!-- end-user-doc -->
4145
   * <!-- end-user-doc -->
977
   * @generated
4146
   * @generated
978
   * @ordered
4147
   * @ordered
979
   */
4148
   */
980
  int ECLASS__ABSTRACT = ECLASSIFIER_FEATURE_COUNT + 0;
4149
  int EPACKAGE___GET_EANNOTATION__STRING = ENAMED_ELEMENT___GET_EANNOTATION__STRING;
981
4150
982
  /**
4151
  /**
983
   * The feature id for the '<em><b>Interface</b></em>' attribute.
4152
   * The operation id for the '<em>Get EClassifier</em>' operation.
984
   * <!-- begin-user-doc -->
4153
   * <!-- begin-user-doc -->
985
   * <!-- end-user-doc -->
4154
   * <!-- end-user-doc -->
986
   * @generated
4155
   * @generated
987
   * @ordered
4156
   * @ordered
988
   */
4157
   */
989
  int ECLASS__INTERFACE = ECLASSIFIER_FEATURE_COUNT + 1;
4158
  int EPACKAGE___GET_ECLASSIFIER__STRING = ENAMED_ELEMENT_OPERATION_COUNT + 0;
990
4159
991
  /**
4160
  /**
992
   * The feature id for the '<em><b>ESuper Types</b></em>' reference list.
4161
   * The number of operations of the '<em>EPackage</em>' class.
993
   * <!-- begin-user-doc -->
4162
   * <!-- begin-user-doc -->
994
   * <!-- end-user-doc -->
4163
   * <!-- end-user-doc -->
995
   * @generated
4164
   * @generated
996
   * @ordered
4165
   * @ordered
997
   */
4166
   */
998
  int ECLASS__ESUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 2;
4167
  int EPACKAGE_OPERATION_COUNT = ENAMED_ELEMENT_OPERATION_COUNT + 1;
999
4168
1000
  /**
4169
  /**
1001
   * The feature id for the '<em><b>EOperations</b></em>' containment reference list.
4170
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
1002
   * <!-- begin-user-doc -->
4171
   * <!-- begin-user-doc -->
1003
   * <!-- end-user-doc -->
4172
   * <!-- end-user-doc -->
1004
   * @generated
4173
   * @generated
1005
   * @ordered
4174
   * @ordered
1006
   */
4175
   */
1007
  int ECLASS__EOPERATIONS = ECLASSIFIER_FEATURE_COUNT + 3;
4176
  int EPARAMETER__EANNOTATIONS = ETYPED_ELEMENT__EANNOTATIONS;
1008
4177
1009
  /**
4178
  /**
1010
   * The feature id for the '<em><b>EAll Attributes</b></em>' reference list.
4179
   * The feature id for the '<em><b>Name</b></em>' attribute.
1011
   * <!-- begin-user-doc -->
4180
   * <!-- begin-user-doc -->
1012
   * <!-- end-user-doc -->
4181
   * <!-- end-user-doc -->
1013
   * @generated
4182
   * @generated
1014
   * @ordered
4183
   * @ordered
1015
   */
4184
   */
1016
  int ECLASS__EALL_ATTRIBUTES = ECLASSIFIER_FEATURE_COUNT + 4;
4185
  int EPARAMETER__NAME = ETYPED_ELEMENT__NAME;
1017
4186
1018
  /**
4187
  /**
1019
   * The feature id for the '<em><b>EAll References</b></em>' reference list.
4188
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
1020
   * <!-- begin-user-doc -->
4189
   * <!-- begin-user-doc -->
1021
   * <!-- end-user-doc -->
4190
   * <!-- end-user-doc -->
1022
   * @generated
4191
   * @generated
1023
   * @ordered
4192
   * @ordered
1024
   */
4193
   */
1025
  int ECLASS__EALL_REFERENCES = ECLASSIFIER_FEATURE_COUNT + 5;
4194
  int EPARAMETER__ORDERED = ETYPED_ELEMENT__ORDERED;
1026
4195
1027
  /**
4196
  /**
1028
   * The feature id for the '<em><b>EReferences</b></em>' reference list.
4197
   * The feature id for the '<em><b>Unique</b></em>' attribute.
1029
   * <!-- begin-user-doc -->
4198
   * <!-- begin-user-doc -->
1030
   * <!-- end-user-doc -->
4199
   * <!-- end-user-doc -->
1031
   * @generated
4200
   * @generated
1032
   * @ordered
4201
   * @ordered
1033
   */
4202
   */
1034
  int ECLASS__EREFERENCES = ECLASSIFIER_FEATURE_COUNT + 6;
4203
  int EPARAMETER__UNIQUE = ETYPED_ELEMENT__UNIQUE;
1035
4204
1036
  /**
4205
  /**
1037
   * The feature id for the '<em><b>EAttributes</b></em>' reference list.
4206
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
1038
   * <!-- begin-user-doc -->
4207
   * <!-- begin-user-doc -->
1039
   * <!-- end-user-doc -->
4208
   * <!-- end-user-doc -->
1040
   * @generated
4209
   * @generated
1041
   * @ordered
4210
   * @ordered
1042
   */
4211
   */
1043
  int ECLASS__EATTRIBUTES = ECLASSIFIER_FEATURE_COUNT + 7;
4212
  int EPARAMETER__LOWER_BOUND = ETYPED_ELEMENT__LOWER_BOUND;
1044
4213
1045
  /**
4214
  /**
1046
   * The feature id for the '<em><b>EAll Containments</b></em>' reference list.
4215
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
1047
   * <!-- begin-user-doc -->
4216
   * <!-- begin-user-doc -->
1048
   * <!-- end-user-doc -->
4217
   * <!-- end-user-doc -->
1049
   * @generated
4218
   * @generated
1050
   * @ordered
4219
   * @ordered
1051
   */
4220
   */
1052
  int ECLASS__EALL_CONTAINMENTS = ECLASSIFIER_FEATURE_COUNT + 8;
4221
  int EPARAMETER__UPPER_BOUND = ETYPED_ELEMENT__UPPER_BOUND;
1053
4222
1054
  /**
4223
  /**
1055
   * The feature id for the '<em><b>EAll Operations</b></em>' reference list.
4224
   * The feature id for the '<em><b>Many</b></em>' attribute.
1056
   * <!-- begin-user-doc -->
4225
   * <!-- begin-user-doc -->
1057
   * <!-- end-user-doc -->
4226
   * <!-- end-user-doc -->
1058
   * @generated
4227
   * @generated
1059
   * @ordered
4228
   * @ordered
1060
   */
4229
   */
1061
  int ECLASS__EALL_OPERATIONS = ECLASSIFIER_FEATURE_COUNT + 9;
4230
  int EPARAMETER__MANY = ETYPED_ELEMENT__MANY;
1062
4231
1063
  /**
4232
  /**
1064
   * The feature id for the '<em><b>EAll Structural Features</b></em>' reference list.
4233
   * The feature id for the '<em><b>Required</b></em>' attribute.
1065
   * <!-- begin-user-doc -->
4234
   * <!-- begin-user-doc -->
1066
   * <!-- end-user-doc -->
4235
   * <!-- end-user-doc -->
1067
   * @generated
4236
   * @generated
1068
   * @ordered
4237
   * @ordered
1069
   */
4238
   */
1070
  int ECLASS__EALL_STRUCTURAL_FEATURES = ECLASSIFIER_FEATURE_COUNT + 10;
4239
  int EPARAMETER__REQUIRED = ETYPED_ELEMENT__REQUIRED;
1071
4240
1072
  /**
4241
  /**
1073
   * The feature id for the '<em><b>EAll Super Types</b></em>' reference list.
4242
   * The feature id for the '<em><b>EType</b></em>' reference.
1074
   * <!-- begin-user-doc -->
4243
   * <!-- begin-user-doc -->
1075
   * <!-- end-user-doc -->
4244
   * <!-- end-user-doc -->
1076
   * @generated
4245
   * @generated
1077
   * @ordered
4246
   * @ordered
1078
   */
4247
   */
1079
  int ECLASS__EALL_SUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 11;
4248
  int EPARAMETER__ETYPE = ETYPED_ELEMENT__ETYPE;
1080
4249
1081
  /**
4250
  /**
1082
   * The feature id for the '<em><b>EID Attribute</b></em>' reference.
4251
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
1083
   * <!-- begin-user-doc -->
4252
   * <!-- begin-user-doc -->
1084
   * <!-- end-user-doc -->
4253
   * <!-- end-user-doc -->
1085
   * @generated
4254
   * @generated
1086
   * @ordered
4255
   * @ordered
1087
   */
4256
   */
1088
  int ECLASS__EID_ATTRIBUTE = ECLASSIFIER_FEATURE_COUNT + 12;
4257
  int EPARAMETER__EGENERIC_TYPE = ETYPED_ELEMENT__EGENERIC_TYPE;
1089
4258
1090
  /**
4259
  /**
1091
   * The feature id for the '<em><b>EStructural Features</b></em>' containment reference list.
4260
   * The feature id for the '<em><b>EOperation</b></em>' container reference.
1092
   * <!-- begin-user-doc -->
4261
   * <!-- begin-user-doc -->
1093
   * <!-- end-user-doc -->
4262
   * <!-- end-user-doc -->
1094
   * @generated
4263
   * @generated
1095
   * @ordered
4264
   * @ordered
1096
   */
4265
   */
1097
  int ECLASS__ESTRUCTURAL_FEATURES = ECLASSIFIER_FEATURE_COUNT + 13;
4266
  int EPARAMETER__EOPERATION = ETYPED_ELEMENT_FEATURE_COUNT + 0;
1098
4267
1099
  /**
4268
  /**
1100
   * The feature id for the '<em><b>EGeneric Super Types</b></em>' containment reference list.
4269
   * The number of structural features of the '<em>EParameter</em>' class.
1101
   * <!-- begin-user-doc -->
4270
   * <!-- begin-user-doc -->
1102
   * <!-- end-user-doc -->
4271
   * <!-- end-user-doc -->
1103
   * @generated
4272
   * @generated
1104
   * @ordered
4273
   * @ordered
1105
   */
4274
   */
1106
  int ECLASS__EGENERIC_SUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 14;
4275
  int EPARAMETER_FEATURE_COUNT = ETYPED_ELEMENT_FEATURE_COUNT + 1;
1107
4276
1108
  /**
4277
  /**
1109
   * The feature id for the '<em><b>EAll Generic Super Types</b></em>' reference list.
4278
   * The operation id for the '<em>EClass</em>' operation.
1110
   * <!-- begin-user-doc -->
4279
   * <!-- begin-user-doc -->
1111
   * <!-- end-user-doc -->
4280
   * <!-- end-user-doc -->
1112
   * @generated
4281
   * @generated
1113
   * @ordered
4282
   * @ordered
1114
   */
4283
   */
1115
  int ECLASS__EALL_GENERIC_SUPER_TYPES = ECLASSIFIER_FEATURE_COUNT + 15;
4284
  int EPARAMETER___ECLASS = ETYPED_ELEMENT___ECLASS;
1116
4285
1117
  /**
4286
  /**
1118
   * The number of structural features of the '<em>EClass</em>' class.
4287
   * The operation id for the '<em>EIs Proxy</em>' operation.
1119
   * <!-- begin-user-doc -->
4288
   * <!-- begin-user-doc -->
1120
   * <!-- end-user-doc -->
4289
   * <!-- end-user-doc -->
1121
   * @generated
4290
   * @generated
1122
   * @ordered
4291
   * @ordered
1123
   */
4292
   */
1124
  int ECLASS_FEATURE_COUNT = ECLASSIFIER_FEATURE_COUNT + 16;
4293
  int EPARAMETER___EIS_PROXY = ETYPED_ELEMENT___EIS_PROXY;
1125
4294
1126
  /**
4295
  /**
1127
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4296
   * The operation id for the '<em>EResource</em>' operation.
1128
   * <!-- begin-user-doc -->
4297
   * <!-- begin-user-doc -->
1129
   * <!-- end-user-doc -->
4298
   * <!-- end-user-doc -->
1130
   * @generated
4299
   * @generated
1131
   * @ordered
4300
   * @ordered
1132
   */
4301
   */
1133
  int EDATA_TYPE__EANNOTATIONS = ECLASSIFIER__EANNOTATIONS;
4302
  int EPARAMETER___ERESOURCE = ETYPED_ELEMENT___ERESOURCE;
1134
4303
1135
  /**
4304
  /**
1136
   * The feature id for the '<em><b>Name</b></em>' attribute.
4305
   * The operation id for the '<em>EContainer</em>' operation.
1137
   * <!-- begin-user-doc -->
4306
   * <!-- begin-user-doc -->
1138
   * <!-- end-user-doc -->
4307
   * <!-- end-user-doc -->
1139
   * @generated
4308
   * @generated
1140
   * @ordered
4309
   * @ordered
1141
   */
4310
   */
1142
  int EDATA_TYPE__NAME = ECLASSIFIER__NAME;
4311
  int EPARAMETER___ECONTAINER = ETYPED_ELEMENT___ECONTAINER;
1143
4312
1144
  /**
4313
  /**
1145
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
4314
   * The operation id for the '<em>EContaining Feature</em>' operation.
1146
   * <!-- begin-user-doc -->
4315
   * <!-- begin-user-doc -->
1147
   * <!-- end-user-doc -->
4316
   * <!-- end-user-doc -->
1148
   * @generated
4317
   * @generated
1149
   * @ordered
4318
   * @ordered
1150
   */
4319
   */
1151
  int EDATA_TYPE__INSTANCE_CLASS_NAME = ECLASSIFIER__INSTANCE_CLASS_NAME;
4320
  int EPARAMETER___ECONTAINING_FEATURE = ETYPED_ELEMENT___ECONTAINING_FEATURE;
1152
4321
1153
  /**
4322
  /**
1154
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
4323
   * The operation id for the '<em>EContainment Feature</em>' operation.
1155
   * <!-- begin-user-doc -->
4324
   * <!-- begin-user-doc -->
1156
   * <!-- end-user-doc -->
4325
   * <!-- end-user-doc -->
1157
   * @generated
4326
   * @generated
1158
   * @ordered
4327
   * @ordered
1159
   */
4328
   */
1160
  int EDATA_TYPE__INSTANCE_CLASS = ECLASSIFIER__INSTANCE_CLASS;
4329
  int EPARAMETER___ECONTAINMENT_FEATURE = ETYPED_ELEMENT___ECONTAINMENT_FEATURE;
1161
4330
1162
  /**
4331
  /**
1163
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
4332
   * The operation id for the '<em>EContents</em>' operation.
1164
   * <!-- begin-user-doc -->
4333
   * <!-- begin-user-doc -->
1165
   * <!-- end-user-doc -->
4334
   * <!-- end-user-doc -->
1166
   * @generated
4335
   * @generated
1167
   * @ordered
4336
   * @ordered
1168
   */
4337
   */
1169
  int EDATA_TYPE__DEFAULT_VALUE = ECLASSIFIER__DEFAULT_VALUE;
4338
  int EPARAMETER___ECONTENTS = ETYPED_ELEMENT___ECONTENTS;
1170
4339
1171
  /**
4340
  /**
1172
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
4341
   * The operation id for the '<em>EAll Contents</em>' operation.
1173
   * <!-- begin-user-doc -->
4342
   * <!-- begin-user-doc -->
1174
   * <!-- end-user-doc -->
4343
   * <!-- end-user-doc -->
1175
   * @generated
4344
   * @generated
1176
   * @ordered
4345
   * @ordered
1177
   */
4346
   */
1178
  int EDATA_TYPE__INSTANCE_TYPE_NAME = ECLASSIFIER__INSTANCE_TYPE_NAME;
4347
  int EPARAMETER___EALL_CONTENTS = ETYPED_ELEMENT___EALL_CONTENTS;
1179
4348
1180
  /**
4349
  /**
1181
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
4350
   * The operation id for the '<em>ECross References</em>' operation.
1182
   * <!-- begin-user-doc -->
4351
   * <!-- begin-user-doc -->
1183
   * <!-- end-user-doc -->
4352
   * <!-- end-user-doc -->
1184
   * @generated
4353
   * @generated
1185
   * @ordered
4354
   * @ordered
1186
   */
4355
   */
1187
  int EDATA_TYPE__EPACKAGE = ECLASSIFIER__EPACKAGE;
4356
  int EPARAMETER___ECROSS_REFERENCES = ETYPED_ELEMENT___ECROSS_REFERENCES;
1188
4357
1189
  /**
4358
  /**
1190
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
4359
   * The operation id for the '<em>EGet</em>' operation.
1191
   * <!-- begin-user-doc -->
4360
   * <!-- begin-user-doc -->
1192
   * <!-- end-user-doc -->
4361
   * <!-- end-user-doc -->
1193
   * @generated
4362
   * @generated
1194
   * @ordered
4363
   * @ordered
1195
   */
4364
   */
1196
  int EDATA_TYPE__ETYPE_PARAMETERS = ECLASSIFIER__ETYPE_PARAMETERS;
4365
  int EPARAMETER___EGET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE;
1197
4366
1198
  /**
4367
  /**
1199
   * The feature id for the '<em><b>Serializable</b></em>' attribute.
4368
   * The operation id for the '<em>EGet</em>' operation.
1200
   * <!-- begin-user-doc -->
4369
   * <!-- begin-user-doc -->
1201
   * <!-- end-user-doc -->
4370
   * <!-- end-user-doc -->
1202
   * @generated
4371
   * @generated
1203
   * @ordered
4372
   * @ordered
1204
   */
4373
   */
1205
  int EDATA_TYPE__SERIALIZABLE = ECLASSIFIER_FEATURE_COUNT + 0;
4374
  int EPARAMETER___EGET__ESTRUCTURALFEATURE_BOOLEAN = ETYPED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
1206
4375
1207
  /**
4376
  /**
1208
   * The number of structural features of the '<em>EData Type</em>' class.
4377
   * The operation id for the '<em>ESet</em>' operation.
1209
   * <!-- begin-user-doc -->
4378
   * <!-- begin-user-doc -->
1210
   * <!-- end-user-doc -->
4379
   * <!-- end-user-doc -->
1211
   * @generated
4380
   * @generated
1212
   * @ordered
4381
   * @ordered
1213
   */
4382
   */
1214
  int EDATA_TYPE_FEATURE_COUNT = ECLASSIFIER_FEATURE_COUNT + 1;
4383
  int EPARAMETER___ESET__ESTRUCTURALFEATURE_OBJECT = ETYPED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
1215
4384
1216
  /**
4385
  /**
1217
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4386
   * The operation id for the '<em>EIs Set</em>' operation.
1218
   * <!-- begin-user-doc -->
4387
   * <!-- begin-user-doc -->
1219
   * <!-- end-user-doc -->
4388
   * <!-- end-user-doc -->
1220
   * @generated
4389
   * @generated
1221
   * @ordered
4390
   * @ordered
1222
   */
4391
   */
1223
  int EENUM__EANNOTATIONS = EDATA_TYPE__EANNOTATIONS;
4392
  int EPARAMETER___EIS_SET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
1224
4393
1225
  /**
4394
  /**
1226
   * The feature id for the '<em><b>Name</b></em>' attribute.
4395
   * The operation id for the '<em>EUnset</em>' operation.
1227
   * <!-- begin-user-doc -->
4396
   * <!-- begin-user-doc -->
1228
   * <!-- end-user-doc -->
4397
   * <!-- end-user-doc -->
1229
   * @generated
4398
   * @generated
1230
   * @ordered
4399
   * @ordered
1231
   */
4400
   */
1232
  int EENUM__NAME = EDATA_TYPE__NAME;
4401
  int EPARAMETER___EUNSET__ESTRUCTURALFEATURE = ETYPED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
1233
4402
1234
  /**
4403
  /**
1235
   * The feature id for the '<em><b>Instance Class Name</b></em>' attribute.
4404
   * The operation id for the '<em>EInvoke</em>' operation.
1236
   * <!-- begin-user-doc -->
4405
   * <!-- begin-user-doc -->
1237
   * <!-- end-user-doc -->
4406
   * <!-- end-user-doc -->
1238
   * @generated
4407
   * @generated
1239
   * @ordered
4408
   * @ordered
1240
   */
4409
   */
1241
  int EENUM__INSTANCE_CLASS_NAME = EDATA_TYPE__INSTANCE_CLASS_NAME;
4410
  int EPARAMETER___EINVOKE__EOPERATION_ELIST = ETYPED_ELEMENT___EINVOKE__EOPERATION_ELIST;
1242
4411
1243
  /**
4412
  /**
1244
   * The feature id for the '<em><b>Instance Class</b></em>' attribute.
4413
   * The operation id for the '<em>Get EAnnotation</em>' operation.
1245
   * <!-- begin-user-doc -->
4414
   * <!-- begin-user-doc -->
1246
   * <!-- end-user-doc -->
4415
   * <!-- end-user-doc -->
1247
   * @generated
4416
   * @generated
1248
   * @ordered
4417
   * @ordered
1249
   */
4418
   */
1250
  int EENUM__INSTANCE_CLASS = EDATA_TYPE__INSTANCE_CLASS;
4419
  int EPARAMETER___GET_EANNOTATION__STRING = ETYPED_ELEMENT___GET_EANNOTATION__STRING;
1251
4420
1252
  /**
4421
  /**
1253
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
4422
   * The number of operations of the '<em>EParameter</em>' class.
1254
   * <!-- begin-user-doc -->
4423
   * <!-- begin-user-doc -->
1255
   * <!-- end-user-doc -->
4424
   * <!-- end-user-doc -->
1256
   * @generated
4425
   * @generated
1257
   * @ordered
4426
   * @ordered
1258
   */
4427
   */
1259
  int EENUM__DEFAULT_VALUE = EDATA_TYPE__DEFAULT_VALUE;
4428
  int EPARAMETER_OPERATION_COUNT = ETYPED_ELEMENT_OPERATION_COUNT + 0;
1260
4429
1261
  /**
4430
  /**
1262
   * The feature id for the '<em><b>Instance Type Name</b></em>' attribute.
4431
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
1263
   * <!-- begin-user-doc -->
4432
   * <!-- begin-user-doc -->
1264
   * <!-- end-user-doc -->
4433
   * <!-- end-user-doc -->
1265
   * @generated
4434
   * @generated
1266
   * @ordered
4435
   * @ordered
1267
   */
4436
   */
1268
  int EENUM__INSTANCE_TYPE_NAME = EDATA_TYPE__INSTANCE_TYPE_NAME;
4437
  int EREFERENCE__EANNOTATIONS = ESTRUCTURAL_FEATURE__EANNOTATIONS;
1269
4438
1270
  /**
4439
  /**
1271
   * The feature id for the '<em><b>EPackage</b></em>' container reference.
4440
   * The feature id for the '<em><b>Name</b></em>' attribute.
1272
   * <!-- begin-user-doc -->
4441
   * <!-- begin-user-doc -->
1273
   * <!-- end-user-doc -->
4442
   * <!-- end-user-doc -->
1274
   * @generated
4443
   * @generated
1275
   * @ordered
4444
   * @ordered
1276
   */
4445
   */
1277
  int EENUM__EPACKAGE = EDATA_TYPE__EPACKAGE;
4446
  int EREFERENCE__NAME = ESTRUCTURAL_FEATURE__NAME;
1278
4447
1279
  /**
4448
  /**
1280
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
4449
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
1281
   * <!-- begin-user-doc -->
4450
   * <!-- begin-user-doc -->
1282
   * <!-- end-user-doc -->
4451
   * <!-- end-user-doc -->
1283
   * @generated
4452
   * @generated
1284
   * @ordered
4453
   * @ordered
1285
   */
4454
   */
1286
  int EENUM__ETYPE_PARAMETERS = EDATA_TYPE__ETYPE_PARAMETERS;
4455
  int EREFERENCE__ORDERED = ESTRUCTURAL_FEATURE__ORDERED;
1287
4456
1288
  /**
4457
  /**
1289
   * The feature id for the '<em><b>Serializable</b></em>' attribute.
4458
   * The feature id for the '<em><b>Unique</b></em>' attribute.
1290
   * <!-- begin-user-doc -->
4459
   * <!-- begin-user-doc -->
1291
   * <!-- end-user-doc -->
4460
   * <!-- end-user-doc -->
1292
   * @generated
4461
   * @generated
1293
   * @ordered
4462
   * @ordered
1294
   */
4463
   */
1295
  int EENUM__SERIALIZABLE = EDATA_TYPE__SERIALIZABLE;
4464
  int EREFERENCE__UNIQUE = ESTRUCTURAL_FEATURE__UNIQUE;
1296
4465
1297
  /**
4466
  /**
1298
   * The feature id for the '<em><b>ELiterals</b></em>' containment reference list.
4467
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
1299
   * <!-- begin-user-doc -->
4468
   * <!-- begin-user-doc -->
1300
   * <!-- end-user-doc -->
4469
   * <!-- end-user-doc -->
1301
   * @generated
4470
   * @generated
1302
   * @ordered
4471
   * @ordered
1303
   */
4472
   */
1304
  int EENUM__ELITERALS = EDATA_TYPE_FEATURE_COUNT + 0;
4473
  int EREFERENCE__LOWER_BOUND = ESTRUCTURAL_FEATURE__LOWER_BOUND;
1305
4474
1306
  /**
4475
  /**
1307
   * The number of structural features of the '<em>EEnum</em>' class.
4476
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
1308
   * <!-- begin-user-doc -->
4477
   * <!-- begin-user-doc -->
1309
   * <!-- end-user-doc -->
4478
   * <!-- end-user-doc -->
1310
   * @generated
4479
   * @generated
1311
   * @ordered
4480
   * @ordered
1312
   */
4481
   */
1313
  int EENUM_FEATURE_COUNT = EDATA_TYPE_FEATURE_COUNT + 1;
4482
  int EREFERENCE__UPPER_BOUND = ESTRUCTURAL_FEATURE__UPPER_BOUND;
1314
4483
1315
  /**
4484
  /**
1316
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4485
   * The feature id for the '<em><b>Many</b></em>' attribute.
1317
   * <!-- begin-user-doc -->
4486
   * <!-- begin-user-doc -->
1318
   * <!-- end-user-doc -->
4487
   * <!-- end-user-doc -->
1319
   * @generated
4488
   * @generated
1320
   * @ordered
4489
   * @ordered
1321
   */
4490
   */
1322
  int EENUM_LITERAL__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
4491
  int EREFERENCE__MANY = ESTRUCTURAL_FEATURE__MANY;
1323
4492
1324
  /**
4493
  /**
1325
   * The feature id for the '<em><b>Name</b></em>' attribute.
4494
   * The feature id for the '<em><b>Required</b></em>' attribute.
1326
   * <!-- begin-user-doc -->
4495
   * <!-- begin-user-doc -->
1327
   * <!-- end-user-doc -->
4496
   * <!-- end-user-doc -->
1328
   * @generated
4497
   * @generated
1329
   * @ordered
4498
   * @ordered
1330
   */
4499
   */
1331
  int EENUM_LITERAL__NAME = ENAMED_ELEMENT__NAME;
4500
  int EREFERENCE__REQUIRED = ESTRUCTURAL_FEATURE__REQUIRED;
1332
4501
1333
  /**
4502
  /**
1334
   * The feature id for the '<em><b>Value</b></em>' attribute.
4503
   * The feature id for the '<em><b>EType</b></em>' reference.
1335
   * <!-- begin-user-doc -->
4504
   * <!-- begin-user-doc -->
1336
   * <!-- end-user-doc -->
4505
   * <!-- end-user-doc -->
1337
   * @generated
4506
   * @generated
1338
   * @ordered
4507
   * @ordered
1339
   */
4508
   */
1340
  int EENUM_LITERAL__VALUE = ENAMED_ELEMENT_FEATURE_COUNT + 0;
4509
  int EREFERENCE__ETYPE = ESTRUCTURAL_FEATURE__ETYPE;
1341
4510
1342
  /**
4511
  /**
1343
   * The feature id for the '<em><b>Instance</b></em>' attribute.
4512
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
1344
   * <!-- begin-user-doc -->
4513
   * <!-- begin-user-doc -->
1345
   * <!-- end-user-doc -->
4514
   * <!-- end-user-doc -->
1346
   * @generated
4515
   * @generated
1347
   * @ordered
4516
   * @ordered
1348
   */
4517
   */
1349
  int EENUM_LITERAL__INSTANCE = ENAMED_ELEMENT_FEATURE_COUNT + 1;
4518
  int EREFERENCE__EGENERIC_TYPE = ESTRUCTURAL_FEATURE__EGENERIC_TYPE;
1350
4519
1351
  /**
4520
  /**
1352
   * The feature id for the '<em><b>Literal</b></em>' attribute.
4521
   * The feature id for the '<em><b>Changeable</b></em>' attribute.
1353
   * <!-- begin-user-doc -->
4522
   * <!-- begin-user-doc -->
1354
   * <!-- end-user-doc -->
4523
   * <!-- end-user-doc -->
1355
   * @generated
4524
   * @generated
1356
   * @ordered
4525
   * @ordered
1357
   */
4526
   */
1358
  int EENUM_LITERAL__LITERAL = ENAMED_ELEMENT_FEATURE_COUNT + 2;
4527
  int EREFERENCE__CHANGEABLE = ESTRUCTURAL_FEATURE__CHANGEABLE;
1359
4528
1360
  /**
4529
  /**
1361
   * The feature id for the '<em><b>EEnum</b></em>' container reference.
4530
   * The feature id for the '<em><b>Volatile</b></em>' attribute.
1362
   * <!-- begin-user-doc -->
4531
   * <!-- begin-user-doc -->
1363
   * <!-- end-user-doc -->
4532
   * <!-- end-user-doc -->
1364
   * @generated
4533
   * @generated
1365
   * @ordered
4534
   * @ordered
1366
   */
4535
   */
1367
  int EENUM_LITERAL__EENUM = ENAMED_ELEMENT_FEATURE_COUNT + 3;
4536
  int EREFERENCE__VOLATILE = ESTRUCTURAL_FEATURE__VOLATILE;
1368
4537
1369
  /**
4538
  /**
1370
   * The number of structural features of the '<em>EEnum Literal</em>' class.
4539
   * The feature id for the '<em><b>Transient</b></em>' attribute.
1371
   * <!-- begin-user-doc -->
4540
   * <!-- begin-user-doc -->
1372
   * <!-- end-user-doc -->
4541
   * <!-- end-user-doc -->
1373
   * @generated
4542
   * @generated
1374
   * @ordered
4543
   * @ordered
1375
   */
4544
   */
1376
  int EENUM_LITERAL_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 4;
4545
  int EREFERENCE__TRANSIENT = ESTRUCTURAL_FEATURE__TRANSIENT;
1377
4546
1378
  /**
4547
  /**
1379
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4548
   * The feature id for the '<em><b>Default Value Literal</b></em>' attribute.
1380
   * <!-- begin-user-doc -->
4549
   * <!-- begin-user-doc -->
1381
   * <!-- end-user-doc -->
4550
   * <!-- end-user-doc -->
1382
   * @generated
4551
   * @generated
1383
   * @ordered
4552
   * @ordered
1384
   */
4553
   */
1385
  int EFACTORY__EANNOTATIONS = EMODEL_ELEMENT__EANNOTATIONS;
4554
  int EREFERENCE__DEFAULT_VALUE_LITERAL = ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL;
1386
4555
1387
  /**
4556
  /**
1388
   * The feature id for the '<em><b>EPackage</b></em>' reference.
4557
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
1389
   * <!-- begin-user-doc -->
4558
   * <!-- begin-user-doc -->
1390
   * <!-- end-user-doc -->
4559
   * <!-- end-user-doc -->
1391
   * @generated
4560
   * @generated
1392
   * @ordered
4561
   * @ordered
1393
   */
4562
   */
1394
  int EFACTORY__EPACKAGE = EMODEL_ELEMENT_FEATURE_COUNT + 0;
4563
  int EREFERENCE__DEFAULT_VALUE = ESTRUCTURAL_FEATURE__DEFAULT_VALUE;
1395
4564
1396
  /**
4565
  /**
1397
   * The number of structural features of the '<em>EFactory</em>' class.
4566
   * The feature id for the '<em><b>Unsettable</b></em>' attribute.
1398
   * <!-- begin-user-doc -->
4567
   * <!-- begin-user-doc -->
1399
   * <!-- end-user-doc -->
4568
   * <!-- end-user-doc -->
1400
   * @generated
4569
   * @generated
1401
   * @ordered
4570
   * @ordered
1402
   */
4571
   */
1403
  int EFACTORY_FEATURE_COUNT = EMODEL_ELEMENT_FEATURE_COUNT + 1;
4572
  int EREFERENCE__UNSETTABLE = ESTRUCTURAL_FEATURE__UNSETTABLE;
1404
4573
1405
  /**
4574
  /**
1406
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4575
   * The feature id for the '<em><b>Derived</b></em>' attribute.
1407
   * <!-- begin-user-doc -->
4576
   * <!-- begin-user-doc -->
1408
   * <!-- end-user-doc -->
4577
   * <!-- end-user-doc -->
1409
   * @generated
4578
   * @generated
1410
   * @ordered
4579
   * @ordered
1411
   */
4580
   */
1412
  int EOPERATION__EANNOTATIONS = ETYPED_ELEMENT__EANNOTATIONS;
4581
  int EREFERENCE__DERIVED = ESTRUCTURAL_FEATURE__DERIVED;
1413
4582
1414
  /**
4583
  /**
1415
   * The feature id for the '<em><b>Name</b></em>' attribute.
4584
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
1416
   * <!-- begin-user-doc -->
4585
   * <!-- begin-user-doc -->
1417
   * <!-- end-user-doc -->
4586
   * <!-- end-user-doc -->
1418
   * @generated
4587
   * @generated
1419
   * @ordered
4588
   * @ordered
1420
   */
4589
   */
1421
  int EOPERATION__NAME = ETYPED_ELEMENT__NAME;
4590
  int EREFERENCE__ECONTAINING_CLASS = ESTRUCTURAL_FEATURE__ECONTAINING_CLASS;
1422
4591
1423
  /**
4592
  /**
1424
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
4593
   * The feature id for the '<em><b>Containment</b></em>' attribute.
1425
   * <!-- begin-user-doc -->
4594
   * <!-- begin-user-doc -->
1426
   * <!-- end-user-doc -->
4595
   * <!-- end-user-doc -->
1427
   * @generated
4596
   * @generated
1428
   * @ordered
4597
   * @ordered
1429
   */
4598
   */
1430
  int EOPERATION__ORDERED = ETYPED_ELEMENT__ORDERED;
4599
  int EREFERENCE__CONTAINMENT = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 0;
1431
4600
1432
  /**
4601
  /**
1433
   * The feature id for the '<em><b>Unique</b></em>' attribute.
4602
   * The feature id for the '<em><b>Container</b></em>' attribute.
1434
   * <!-- begin-user-doc -->
4603
   * <!-- begin-user-doc -->
1435
   * <!-- end-user-doc -->
4604
   * <!-- end-user-doc -->
1436
   * @generated
4605
   * @generated
1437
   * @ordered
4606
   * @ordered
1438
   */
4607
   */
1439
  int EOPERATION__UNIQUE = ETYPED_ELEMENT__UNIQUE;
4608
  int EREFERENCE__CONTAINER = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 1;
1440
4609
1441
  /**
4610
  /**
1442
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
4611
   * The feature id for the '<em><b>Resolve Proxies</b></em>' attribute.
1443
   * <!-- begin-user-doc -->
4612
   * <!-- begin-user-doc -->
1444
   * <!-- end-user-doc -->
4613
   * <!-- end-user-doc -->
1445
   * @generated
4614
   * @generated
1446
   * @ordered
4615
   * @ordered
1447
   */
4616
   */
1448
  int EOPERATION__LOWER_BOUND = ETYPED_ELEMENT__LOWER_BOUND;
4617
  int EREFERENCE__RESOLVE_PROXIES = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 2;
1449
4618
1450
  /**
4619
  /**
1451
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
4620
   * The feature id for the '<em><b>EOpposite</b></em>' reference.
1452
   * <!-- begin-user-doc -->
4621
   * <!-- begin-user-doc -->
1453
   * <!-- end-user-doc -->
4622
   * <!-- end-user-doc -->
1454
   * @generated
4623
   * @generated
1455
   * @ordered
4624
   * @ordered
1456
   */
4625
   */
1457
  int EOPERATION__UPPER_BOUND = ETYPED_ELEMENT__UPPER_BOUND;
4626
  int EREFERENCE__EOPPOSITE = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 3;
1458
4627
1459
  /**
4628
  /**
1460
   * The feature id for the '<em><b>Many</b></em>' attribute.
4629
   * The feature id for the '<em><b>EReference Type</b></em>' reference.
1461
   * <!-- begin-user-doc -->
4630
   * <!-- begin-user-doc -->
1462
   * <!-- end-user-doc -->
4631
   * <!-- end-user-doc -->
1463
   * @generated
4632
   * @generated
1464
   * @ordered
4633
   * @ordered
1465
   */
4634
   */
1466
  int EOPERATION__MANY = ETYPED_ELEMENT__MANY;
4635
  int EREFERENCE__EREFERENCE_TYPE = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 4;
1467
4636
1468
  /**
4637
  /**
1469
   * The feature id for the '<em><b>Required</b></em>' attribute.
4638
   * The feature id for the '<em><b>EKeys</b></em>' reference list.
1470
   * <!-- begin-user-doc -->
4639
   * <!-- begin-user-doc -->
1471
   * <!-- end-user-doc -->
4640
   * <!-- end-user-doc -->
1472
   * @generated
4641
   * @generated
1473
   * @ordered
4642
   * @ordered
1474
   */
4643
   */
1475
  int EOPERATION__REQUIRED = ETYPED_ELEMENT__REQUIRED;
4644
  int EREFERENCE__EKEYS = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 5;
1476
4645
1477
  /**
4646
  /**
1478
   * The feature id for the '<em><b>EType</b></em>' reference.
4647
   * The number of structural features of the '<em>EReference</em>' class.
1479
   * <!-- begin-user-doc -->
4648
   * <!-- begin-user-doc -->
1480
   * <!-- end-user-doc -->
4649
   * <!-- end-user-doc -->
1481
   * @generated
4650
   * @generated
1482
   * @ordered
4651
   * @ordered
1483
   */
4652
   */
1484
  int EOPERATION__ETYPE = ETYPED_ELEMENT__ETYPE;
4653
  int EREFERENCE_FEATURE_COUNT = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 6;
1485
4654
1486
  /**
4655
  /**
1487
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
4656
   * The operation id for the '<em>EClass</em>' operation.
1488
   * <!-- begin-user-doc -->
4657
   * <!-- begin-user-doc -->
1489
   * <!-- end-user-doc -->
4658
   * <!-- end-user-doc -->
1490
   * @generated
4659
   * @generated
1491
   * @ordered
4660
   * @ordered
1492
   */
4661
   */
1493
  int EOPERATION__EGENERIC_TYPE = ETYPED_ELEMENT__EGENERIC_TYPE;
4662
  int EREFERENCE___ECLASS = ESTRUCTURAL_FEATURE___ECLASS;
1494
4663
1495
  /**
4664
  /**
1496
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
4665
   * The operation id for the '<em>EIs Proxy</em>' operation.
1497
   * <!-- begin-user-doc -->
4666
   * <!-- begin-user-doc -->
1498
   * <!-- end-user-doc -->
4667
   * <!-- end-user-doc -->
1499
   * @generated
4668
   * @generated
1500
   * @ordered
4669
   * @ordered
1501
   */
4670
   */
1502
  int EOPERATION__ECONTAINING_CLASS = ETYPED_ELEMENT_FEATURE_COUNT + 0;
4671
  int EREFERENCE___EIS_PROXY = ESTRUCTURAL_FEATURE___EIS_PROXY;
1503
4672
1504
  /**
4673
  /**
1505
   * The feature id for the '<em><b>EType Parameters</b></em>' containment reference list.
4674
   * The operation id for the '<em>EResource</em>' operation.
1506
   * <!-- begin-user-doc -->
4675
   * <!-- begin-user-doc -->
1507
   * <!-- end-user-doc -->
4676
   * <!-- end-user-doc -->
1508
   * @generated
4677
   * @generated
1509
   * @ordered
4678
   * @ordered
1510
   */
4679
   */
1511
  int EOPERATION__ETYPE_PARAMETERS = ETYPED_ELEMENT_FEATURE_COUNT + 1;
4680
  int EREFERENCE___ERESOURCE = ESTRUCTURAL_FEATURE___ERESOURCE;
1512
4681
1513
  /**
4682
  /**
1514
   * The feature id for the '<em><b>EParameters</b></em>' containment reference list.
4683
   * The operation id for the '<em>EContainer</em>' operation.
1515
   * <!-- begin-user-doc -->
4684
   * <!-- begin-user-doc -->
1516
   * <!-- end-user-doc -->
4685
   * <!-- end-user-doc -->
1517
   * @generated
4686
   * @generated
1518
   * @ordered
4687
   * @ordered
1519
   */
4688
   */
1520
  int EOPERATION__EPARAMETERS = ETYPED_ELEMENT_FEATURE_COUNT + 2;
4689
  int EREFERENCE___ECONTAINER = ESTRUCTURAL_FEATURE___ECONTAINER;
1521
4690
1522
  /**
4691
  /**
1523
   * The feature id for the '<em><b>EExceptions</b></em>' reference list.
4692
   * The operation id for the '<em>EContaining Feature</em>' operation.
1524
   * <!-- begin-user-doc -->
4693
   * <!-- begin-user-doc -->
1525
   * <!-- end-user-doc -->
4694
   * <!-- end-user-doc -->
1526
   * @generated
4695
   * @generated
1527
   * @ordered
4696
   * @ordered
1528
   */
4697
   */
1529
  int EOPERATION__EEXCEPTIONS = ETYPED_ELEMENT_FEATURE_COUNT + 3;
4698
  int EREFERENCE___ECONTAINING_FEATURE = ESTRUCTURAL_FEATURE___ECONTAINING_FEATURE;
1530
4699
1531
  /**
4700
  /**
1532
   * The feature id for the '<em><b>EGeneric Exceptions</b></em>' containment reference list.
4701
   * The operation id for the '<em>EContainment Feature</em>' operation.
1533
   * <!-- begin-user-doc -->
4702
   * <!-- begin-user-doc -->
1534
   * <!-- end-user-doc -->
4703
   * <!-- end-user-doc -->
1535
   * @generated
4704
   * @generated
1536
   * @ordered
4705
   * @ordered
1537
   */
4706
   */
1538
  int EOPERATION__EGENERIC_EXCEPTIONS = ETYPED_ELEMENT_FEATURE_COUNT + 4;
4707
  int EREFERENCE___ECONTAINMENT_FEATURE = ESTRUCTURAL_FEATURE___ECONTAINMENT_FEATURE;
1539
4708
1540
  /**
4709
  /**
1541
   * The number of structural features of the '<em>EOperation</em>' class.
4710
   * The operation id for the '<em>EContents</em>' operation.
1542
   * <!-- begin-user-doc -->
4711
   * <!-- begin-user-doc -->
1543
   * <!-- end-user-doc -->
4712
   * <!-- end-user-doc -->
1544
   * @generated
4713
   * @generated
1545
   * @ordered
4714
   * @ordered
1546
   */
4715
   */
1547
  int EOPERATION_FEATURE_COUNT = ETYPED_ELEMENT_FEATURE_COUNT + 5;
4716
  int EREFERENCE___ECONTENTS = ESTRUCTURAL_FEATURE___ECONTENTS;
1548
4717
1549
  /**
4718
  /**
1550
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4719
   * The operation id for the '<em>EAll Contents</em>' operation.
1551
   * <!-- begin-user-doc -->
4720
   * <!-- begin-user-doc -->
1552
   * <!-- end-user-doc -->
4721
   * <!-- end-user-doc -->
1553
   * @generated
4722
   * @generated
1554
   * @ordered
4723
   * @ordered
1555
   */
4724
   */
1556
  int EPACKAGE__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
4725
  int EREFERENCE___EALL_CONTENTS = ESTRUCTURAL_FEATURE___EALL_CONTENTS;
1557
4726
1558
  /**
4727
  /**
1559
   * The feature id for the '<em><b>Name</b></em>' attribute.
4728
   * The operation id for the '<em>ECross References</em>' operation.
1560
   * <!-- begin-user-doc -->
4729
   * <!-- begin-user-doc -->
1561
   * <!-- end-user-doc -->
4730
   * <!-- end-user-doc -->
1562
   * @generated
4731
   * @generated
1563
   * @ordered
4732
   * @ordered
1564
   */
4733
   */
1565
  int EPACKAGE__NAME = ENAMED_ELEMENT__NAME;
4734
  int EREFERENCE___ECROSS_REFERENCES = ESTRUCTURAL_FEATURE___ECROSS_REFERENCES;
1566
4735
1567
  /**
4736
  /**
1568
   * The feature id for the '<em><b>Ns URI</b></em>' attribute.
4737
   * The operation id for the '<em>EGet</em>' operation.
1569
   * <!-- begin-user-doc -->
4738
   * <!-- begin-user-doc -->
1570
   * <!-- end-user-doc -->
4739
   * <!-- end-user-doc -->
1571
   * @generated
4740
   * @generated
1572
   * @ordered
4741
   * @ordered
1573
   */
4742
   */
1574
  int EPACKAGE__NS_URI = ENAMED_ELEMENT_FEATURE_COUNT + 0;
4743
  int EREFERENCE___EGET__ESTRUCTURALFEATURE = ESTRUCTURAL_FEATURE___EGET__ESTRUCTURALFEATURE;
1575
4744
1576
  /**
4745
  /**
1577
   * The feature id for the '<em><b>Ns Prefix</b></em>' attribute.
4746
   * The operation id for the '<em>EGet</em>' operation.
1578
   * <!-- begin-user-doc -->
4747
   * <!-- begin-user-doc -->
1579
   * <!-- end-user-doc -->
4748
   * <!-- end-user-doc -->
1580
   * @generated
4749
   * @generated
1581
   * @ordered
4750
   * @ordered
1582
   */
4751
   */
1583
  int EPACKAGE__NS_PREFIX = ENAMED_ELEMENT_FEATURE_COUNT + 1;
4752
  int EREFERENCE___EGET__ESTRUCTURALFEATURE_BOOLEAN = ESTRUCTURAL_FEATURE___EGET__ESTRUCTURALFEATURE_BOOLEAN;
1584
4753
1585
  /**
4754
  /**
1586
   * The feature id for the '<em><b>EFactory Instance</b></em>' reference.
4755
   * The operation id for the '<em>ESet</em>' operation.
1587
   * <!-- begin-user-doc -->
4756
   * <!-- begin-user-doc -->
1588
   * <!-- end-user-doc -->
4757
   * <!-- end-user-doc -->
1589
   * @generated
4758
   * @generated
1590
   * @ordered
4759
   * @ordered
1591
   */
4760
   */
1592
  int EPACKAGE__EFACTORY_INSTANCE = ENAMED_ELEMENT_FEATURE_COUNT + 2;
4761
  int EREFERENCE___ESET__ESTRUCTURALFEATURE_OBJECT = ESTRUCTURAL_FEATURE___ESET__ESTRUCTURALFEATURE_OBJECT;
1593
4762
1594
  /**
4763
  /**
1595
   * The feature id for the '<em><b>EClassifiers</b></em>' containment reference list.
4764
   * The operation id for the '<em>EIs Set</em>' operation.
1596
   * <!-- begin-user-doc -->
4765
   * <!-- begin-user-doc -->
1597
   * <!-- end-user-doc -->
4766
   * <!-- end-user-doc -->
1598
   * @generated
4767
   * @generated
1599
   * @ordered
4768
   * @ordered
1600
   */
4769
   */
1601
  int EPACKAGE__ECLASSIFIERS = ENAMED_ELEMENT_FEATURE_COUNT + 3;
4770
  int EREFERENCE___EIS_SET__ESTRUCTURALFEATURE = ESTRUCTURAL_FEATURE___EIS_SET__ESTRUCTURALFEATURE;
1602
4771
1603
  /**
4772
  /**
1604
   * The feature id for the '<em><b>ESubpackages</b></em>' containment reference list.
4773
   * The operation id for the '<em>EUnset</em>' operation.
1605
   * <!-- begin-user-doc -->
4774
   * <!-- begin-user-doc -->
1606
   * <!-- end-user-doc -->
4775
   * <!-- end-user-doc -->
1607
   * @generated
4776
   * @generated
1608
   * @ordered
4777
   * @ordered
1609
   */
4778
   */
1610
  int EPACKAGE__ESUBPACKAGES = ENAMED_ELEMENT_FEATURE_COUNT + 4;
4779
  int EREFERENCE___EUNSET__ESTRUCTURALFEATURE = ESTRUCTURAL_FEATURE___EUNSET__ESTRUCTURALFEATURE;
1611
4780
1612
  /**
4781
  /**
1613
   * The feature id for the '<em><b>ESuper Package</b></em>' container reference.
4782
   * The operation id for the '<em>EInvoke</em>' operation.
1614
   * <!-- begin-user-doc -->
4783
   * <!-- begin-user-doc -->
1615
   * <!-- end-user-doc -->
4784
   * <!-- end-user-doc -->
1616
   * @generated
4785
   * @generated
1617
   * @ordered
4786
   * @ordered
1618
   */
4787
   */
1619
  int EPACKAGE__ESUPER_PACKAGE = ENAMED_ELEMENT_FEATURE_COUNT + 5;
4788
  int EREFERENCE___EINVOKE__EOPERATION_ELIST = ESTRUCTURAL_FEATURE___EINVOKE__EOPERATION_ELIST;
1620
4789
1621
  /**
4790
  /**
1622
   * The number of structural features of the '<em>EPackage</em>' class.
4791
   * The operation id for the '<em>Get EAnnotation</em>' operation.
1623
   * <!-- begin-user-doc -->
4792
   * <!-- begin-user-doc -->
1624
   * <!-- end-user-doc -->
4793
   * <!-- end-user-doc -->
1625
   * @generated
4794
   * @generated
1626
   * @ordered
4795
   * @ordered
1627
   */
4796
   */
1628
  int EPACKAGE_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 6;
4797
  int EREFERENCE___GET_EANNOTATION__STRING = ESTRUCTURAL_FEATURE___GET_EANNOTATION__STRING;
1629
4798
1630
  /**
4799
  /**
1631
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4800
   * The operation id for the '<em>Get Feature ID</em>' operation.
1632
   * <!-- begin-user-doc -->
4801
   * <!-- begin-user-doc -->
1633
   * <!-- end-user-doc -->
4802
   * <!-- end-user-doc -->
1634
   * @generated
4803
   * @generated
1635
   * @ordered
4804
   * @ordered
1636
   */
4805
   */
1637
  int EPARAMETER__EANNOTATIONS = ETYPED_ELEMENT__EANNOTATIONS;
4806
  int EREFERENCE___GET_FEATURE_ID = ESTRUCTURAL_FEATURE___GET_FEATURE_ID;
1638
4807
1639
  /**
4808
  /**
1640
   * The feature id for the '<em><b>Name</b></em>' attribute.
4809
   * The operation id for the '<em>Get Container Class</em>' operation.
1641
   * <!-- begin-user-doc -->
4810
   * <!-- begin-user-doc -->
1642
   * <!-- end-user-doc -->
4811
   * <!-- end-user-doc -->
1643
   * @generated
4812
   * @generated
1644
   * @ordered
4813
   * @ordered
1645
   */
4814
   */
1646
  int EPARAMETER__NAME = ETYPED_ELEMENT__NAME;
4815
  int EREFERENCE___GET_CONTAINER_CLASS = ESTRUCTURAL_FEATURE___GET_CONTAINER_CLASS;
1647
4816
1648
  /**
4817
  /**
1649
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
4818
   * The number of operations of the '<em>EReference</em>' class.
1650
   * <!-- begin-user-doc -->
4819
   * <!-- begin-user-doc -->
1651
   * <!-- end-user-doc -->
4820
   * <!-- end-user-doc -->
1652
   * @generated
4821
   * @generated
1653
   * @ordered
4822
   * @ordered
1654
   */
4823
   */
1655
  int EPARAMETER__ORDERED = ETYPED_ELEMENT__ORDERED;
4824
  int EREFERENCE_OPERATION_COUNT = ESTRUCTURAL_FEATURE_OPERATION_COUNT + 0;
1656
4825
1657
  /**
4826
  /**
1658
   * The feature id for the '<em><b>Unique</b></em>' attribute.
4827
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl <em>EString To String Map Entry</em>}' class.
1659
   * <!-- begin-user-doc -->
4828
   * <!-- begin-user-doc -->
1660
   * <!-- end-user-doc -->
4829
   * <!-- end-user-doc -->
4830
   * @see org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl
4831
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEStringToStringMapEntry()
1661
   * @generated
4832
   * @generated
1662
   * @ordered
1663
   */
4833
   */
1664
  int EPARAMETER__UNIQUE = ETYPED_ELEMENT__UNIQUE;
4834
  int ESTRING_TO_STRING_MAP_ENTRY = 17;
1665
4835
1666
  /**
4836
  /**
1667
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
4837
   * The feature id for the '<em><b>Key</b></em>' attribute.
1668
   * <!-- begin-user-doc -->
4838
   * <!-- begin-user-doc -->
1669
   * <!-- end-user-doc -->
4839
   * <!-- end-user-doc -->
1670
   * @generated
4840
   * @generated
1671
   * @ordered
4841
   * @ordered
1672
   */
4842
   */
1673
  int EPARAMETER__LOWER_BOUND = ETYPED_ELEMENT__LOWER_BOUND;
4843
  int ESTRING_TO_STRING_MAP_ENTRY__KEY = 0;
1674
4844
1675
  /**
4845
  /**
1676
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
4846
   * The feature id for the '<em><b>Value</b></em>' attribute.
1677
   * <!-- begin-user-doc -->
4847
   * <!-- begin-user-doc -->
1678
   * <!-- end-user-doc -->
4848
   * <!-- end-user-doc -->
1679
   * @generated
4849
   * @generated
1680
   * @ordered
4850
   * @ordered
1681
   */
4851
   */
1682
  int EPARAMETER__UPPER_BOUND = ETYPED_ELEMENT__UPPER_BOUND;
4852
  int ESTRING_TO_STRING_MAP_ENTRY__VALUE = 1;
1683
4853
1684
  /**
4854
  /**
1685
   * The feature id for the '<em><b>Many</b></em>' attribute.
4855
   * The number of structural features of the '<em>EString To String Map Entry</em>' class.
1686
   * <!-- begin-user-doc -->
4856
   * <!-- begin-user-doc -->
1687
   * <!-- end-user-doc -->
4857
   * <!-- end-user-doc -->
1688
   * @generated
4858
   * @generated
1689
   * @ordered
4859
   * @ordered
1690
   */
4860
   */
1691
  int EPARAMETER__MANY = ETYPED_ELEMENT__MANY;
4861
  int ESTRING_TO_STRING_MAP_ENTRY_FEATURE_COUNT = 2;
1692
4862
1693
  /**
4863
  /**
1694
   * The feature id for the '<em><b>Required</b></em>' attribute.
4864
   * The number of operations of the '<em>EString To String Map Entry</em>' class.
1695
   * <!-- begin-user-doc -->
4865
   * <!-- begin-user-doc -->
1696
   * <!-- end-user-doc -->
4866
   * <!-- end-user-doc -->
1697
   * @generated
4867
   * @generated
1698
   * @ordered
4868
   * @ordered
1699
   */
4869
   */
1700
  int EPARAMETER__REQUIRED = ETYPED_ELEMENT__REQUIRED;
4870
  int ESTRING_TO_STRING_MAP_ENTRY_OPERATION_COUNT = 0;
1701
4871
1702
  /**
4872
  /**
1703
   * The feature id for the '<em><b>EType</b></em>' reference.
4873
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EGenericTypeImpl <em>EGeneric Type</em>}' class.
1704
   * <!-- begin-user-doc -->
4874
   * <!-- begin-user-doc -->
1705
   * <!-- end-user-doc -->
4875
   * <!-- end-user-doc -->
4876
   * @see org.eclipse.emf.ecore.impl.EGenericTypeImpl
4877
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEGenericType()
1706
   * @generated
4878
   * @generated
1707
   * @ordered
1708
   */
4879
   */
1709
  int EPARAMETER__ETYPE = ETYPED_ELEMENT__ETYPE;
4880
  int EGENERIC_TYPE = 18;
1710
4881
1711
  /**
4882
  /**
1712
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
4883
   * The feature id for the '<em><b>EUpper Bound</b></em>' containment reference.
1713
   * <!-- begin-user-doc -->
4884
   * <!-- begin-user-doc -->
1714
   * <!-- end-user-doc -->
4885
   * <!-- end-user-doc -->
1715
   * @generated
4886
   * @generated
1716
   * @ordered
4887
   * @ordered
1717
   */
4888
   */
1718
  int EPARAMETER__EGENERIC_TYPE = ETYPED_ELEMENT__EGENERIC_TYPE;
4889
  int EGENERIC_TYPE__EUPPER_BOUND = EOBJECT_FEATURE_COUNT + 0;
1719
4890
1720
  /**
4891
  /**
1721
   * The feature id for the '<em><b>EOperation</b></em>' container reference.
4892
   * The feature id for the '<em><b>EType Arguments</b></em>' containment reference list.
1722
   * <!-- begin-user-doc -->
4893
   * <!-- begin-user-doc -->
1723
   * <!-- end-user-doc -->
4894
   * <!-- end-user-doc -->
1724
   * @generated
4895
   * @generated
1725
   * @ordered
4896
   * @ordered
1726
   */
4897
   */
1727
  int EPARAMETER__EOPERATION = ETYPED_ELEMENT_FEATURE_COUNT + 0;
4898
  int EGENERIC_TYPE__ETYPE_ARGUMENTS = EOBJECT_FEATURE_COUNT + 1;
1728
4899
1729
  /**
4900
  /**
1730
   * The number of structural features of the '<em>EParameter</em>' class.
4901
   * The feature id for the '<em><b>ERaw Type</b></em>' reference.
1731
   * <!-- begin-user-doc -->
4902
   * <!-- begin-user-doc -->
1732
   * <!-- end-user-doc -->
4903
   * <!-- end-user-doc -->
1733
   * @generated
4904
   * @generated
1734
   * @ordered
4905
   * @ordered
1735
   */
4906
   */
1736
  int EPARAMETER_FEATURE_COUNT = ETYPED_ELEMENT_FEATURE_COUNT + 1;
4907
  int EGENERIC_TYPE__ERAW_TYPE = EOBJECT_FEATURE_COUNT + 2;
1737
4908
1738
  /**
4909
  /**
1739
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
4910
   * The feature id for the '<em><b>ELower Bound</b></em>' containment reference.
1740
   * <!-- begin-user-doc -->
4911
   * <!-- begin-user-doc -->
1741
   * <!-- end-user-doc -->
4912
   * <!-- end-user-doc -->
1742
   * @generated
4913
   * @generated
1743
   * @ordered
4914
   * @ordered
1744
   */
4915
   */
1745
  int EREFERENCE__EANNOTATIONS = ESTRUCTURAL_FEATURE__EANNOTATIONS;
4916
  int EGENERIC_TYPE__ELOWER_BOUND = EOBJECT_FEATURE_COUNT + 3;
1746
4917
1747
  /**
4918
  /**
1748
   * The feature id for the '<em><b>Name</b></em>' attribute.
4919
   * The feature id for the '<em><b>EType Parameter</b></em>' reference.
1749
   * <!-- begin-user-doc -->
4920
   * <!-- begin-user-doc -->
1750
   * <!-- end-user-doc -->
4921
   * <!-- end-user-doc -->
1751
   * @generated
4922
   * @generated
1752
   * @ordered
4923
   * @ordered
1753
   */
4924
   */
1754
  int EREFERENCE__NAME = ESTRUCTURAL_FEATURE__NAME;
4925
  int EGENERIC_TYPE__ETYPE_PARAMETER = EOBJECT_FEATURE_COUNT + 4;
1755
4926
1756
  /**
4927
  /**
1757
   * The feature id for the '<em><b>Ordered</b></em>' attribute.
4928
   * The feature id for the '<em><b>EClassifier</b></em>' reference.
1758
   * <!-- begin-user-doc -->
4929
   * <!-- begin-user-doc -->
1759
   * <!-- end-user-doc -->
4930
   * <!-- end-user-doc -->
1760
   * @generated
4931
   * @generated
1761
   * @ordered
4932
   * @ordered
1762
   */
4933
   */
1763
  int EREFERENCE__ORDERED = ESTRUCTURAL_FEATURE__ORDERED;
4934
  int EGENERIC_TYPE__ECLASSIFIER = EOBJECT_FEATURE_COUNT + 5;
1764
4935
1765
  /**
4936
  /**
1766
   * The feature id for the '<em><b>Unique</b></em>' attribute.
4937
   * The number of structural features of the '<em>EGeneric Type</em>' class.
1767
   * <!-- begin-user-doc -->
4938
   * <!-- begin-user-doc -->
1768
   * <!-- end-user-doc -->
4939
   * <!-- end-user-doc -->
1769
   * @generated
4940
   * @generated
1770
   * @ordered
4941
   * @ordered
1771
   */
4942
   */
1772
  int EREFERENCE__UNIQUE = ESTRUCTURAL_FEATURE__UNIQUE;
4943
  int EGENERIC_TYPE_FEATURE_COUNT = EOBJECT_FEATURE_COUNT + 6;
1773
4944
1774
  /**
4945
  /**
1775
   * The feature id for the '<em><b>Lower Bound</b></em>' attribute.
4946
   * The operation id for the '<em>EClass</em>' operation.
1776
   * <!-- begin-user-doc -->
4947
   * <!-- begin-user-doc -->
1777
   * <!-- end-user-doc -->
4948
   * <!-- end-user-doc -->
1778
   * @generated
4949
   * @generated
1779
   * @ordered
4950
   * @ordered
1780
   */
4951
   */
1781
  int EREFERENCE__LOWER_BOUND = ESTRUCTURAL_FEATURE__LOWER_BOUND;
4952
  int EGENERIC_TYPE___ECLASS = EOBJECT___ECLASS;
1782
4953
1783
  /**
4954
  /**
1784
   * The feature id for the '<em><b>Upper Bound</b></em>' attribute.
4955
   * The operation id for the '<em>EIs Proxy</em>' operation.
1785
   * <!-- begin-user-doc -->
4956
   * <!-- begin-user-doc -->
1786
   * <!-- end-user-doc -->
4957
   * <!-- end-user-doc -->
1787
   * @generated
4958
   * @generated
1788
   * @ordered
4959
   * @ordered
1789
   */
4960
   */
1790
  int EREFERENCE__UPPER_BOUND = ESTRUCTURAL_FEATURE__UPPER_BOUND;
4961
  int EGENERIC_TYPE___EIS_PROXY = EOBJECT___EIS_PROXY;
1791
4962
1792
  /**
4963
  /**
1793
   * The feature id for the '<em><b>Many</b></em>' attribute.
4964
   * The operation id for the '<em>EResource</em>' operation.
1794
   * <!-- begin-user-doc -->
4965
   * <!-- begin-user-doc -->
1795
   * <!-- end-user-doc -->
4966
   * <!-- end-user-doc -->
1796
   * @generated
4967
   * @generated
1797
   * @ordered
4968
   * @ordered
1798
   */
4969
   */
1799
  int EREFERENCE__MANY = ESTRUCTURAL_FEATURE__MANY;
4970
  int EGENERIC_TYPE___ERESOURCE = EOBJECT___ERESOURCE;
1800
4971
1801
  /**
4972
  /**
1802
   * The feature id for the '<em><b>Required</b></em>' attribute.
4973
   * The operation id for the '<em>EContainer</em>' operation.
1803
   * <!-- begin-user-doc -->
4974
   * <!-- begin-user-doc -->
1804
   * <!-- end-user-doc -->
4975
   * <!-- end-user-doc -->
1805
   * @generated
4976
   * @generated
1806
   * @ordered
4977
   * @ordered
1807
   */
4978
   */
1808
  int EREFERENCE__REQUIRED = ESTRUCTURAL_FEATURE__REQUIRED;
4979
  int EGENERIC_TYPE___ECONTAINER = EOBJECT___ECONTAINER;
1809
4980
1810
  /**
4981
  /**
1811
   * The feature id for the '<em><b>EType</b></em>' reference.
4982
   * The operation id for the '<em>EContaining Feature</em>' operation.
1812
   * <!-- begin-user-doc -->
4983
   * <!-- begin-user-doc -->
1813
   * <!-- end-user-doc -->
4984
   * <!-- end-user-doc -->
1814
   * @generated
4985
   * @generated
1815
   * @ordered
4986
   * @ordered
1816
   */
4987
   */
1817
  int EREFERENCE__ETYPE = ESTRUCTURAL_FEATURE__ETYPE;
4988
  int EGENERIC_TYPE___ECONTAINING_FEATURE = EOBJECT___ECONTAINING_FEATURE;
1818
4989
1819
  /**
4990
  /**
1820
   * The feature id for the '<em><b>EGeneric Type</b></em>' containment reference.
4991
   * The operation id for the '<em>EContainment Feature</em>' operation.
1821
   * <!-- begin-user-doc -->
4992
   * <!-- begin-user-doc -->
1822
   * <!-- end-user-doc -->
4993
   * <!-- end-user-doc -->
1823
   * @generated
4994
   * @generated
1824
   * @ordered
4995
   * @ordered
1825
   */
4996
   */
1826
  int EREFERENCE__EGENERIC_TYPE = ESTRUCTURAL_FEATURE__EGENERIC_TYPE;
4997
  int EGENERIC_TYPE___ECONTAINMENT_FEATURE = EOBJECT___ECONTAINMENT_FEATURE;
1827
4998
1828
  /**
4999
  /**
1829
   * The feature id for the '<em><b>Changeable</b></em>' attribute.
5000
   * The operation id for the '<em>EContents</em>' operation.
1830
   * <!-- begin-user-doc -->
5001
   * <!-- begin-user-doc -->
1831
   * <!-- end-user-doc -->
5002
   * <!-- end-user-doc -->
1832
   * @generated
5003
   * @generated
1833
   * @ordered
5004
   * @ordered
1834
   */
5005
   */
1835
  int EREFERENCE__CHANGEABLE = ESTRUCTURAL_FEATURE__CHANGEABLE;
5006
  int EGENERIC_TYPE___ECONTENTS = EOBJECT___ECONTENTS;
1836
5007
1837
  /**
5008
  /**
1838
   * The feature id for the '<em><b>Volatile</b></em>' attribute.
5009
   * The operation id for the '<em>EAll Contents</em>' operation.
1839
   * <!-- begin-user-doc -->
5010
   * <!-- begin-user-doc -->
1840
   * <!-- end-user-doc -->
5011
   * <!-- end-user-doc -->
1841
   * @generated
5012
   * @generated
1842
   * @ordered
5013
   * @ordered
1843
   */
5014
   */
1844
  int EREFERENCE__VOLATILE = ESTRUCTURAL_FEATURE__VOLATILE;
5015
  int EGENERIC_TYPE___EALL_CONTENTS = EOBJECT___EALL_CONTENTS;
1845
5016
1846
  /**
5017
  /**
1847
   * The feature id for the '<em><b>Transient</b></em>' attribute.
5018
   * The operation id for the '<em>ECross References</em>' operation.
1848
   * <!-- begin-user-doc -->
5019
   * <!-- begin-user-doc -->
1849
   * <!-- end-user-doc -->
5020
   * <!-- end-user-doc -->
1850
   * @generated
5021
   * @generated
1851
   * @ordered
5022
   * @ordered
1852
   */
5023
   */
1853
  int EREFERENCE__TRANSIENT = ESTRUCTURAL_FEATURE__TRANSIENT;
5024
  int EGENERIC_TYPE___ECROSS_REFERENCES = EOBJECT___ECROSS_REFERENCES;
1854
5025
1855
  /**
5026
  /**
1856
   * The feature id for the '<em><b>Default Value Literal</b></em>' attribute.
5027
   * The operation id for the '<em>EGet</em>' operation.
1857
   * <!-- begin-user-doc -->
5028
   * <!-- begin-user-doc -->
1858
   * <!-- end-user-doc -->
5029
   * <!-- end-user-doc -->
1859
   * @generated
5030
   * @generated
1860
   * @ordered
5031
   * @ordered
1861
   */
5032
   */
1862
  int EREFERENCE__DEFAULT_VALUE_LITERAL = ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL;
5033
  int EGENERIC_TYPE___EGET__ESTRUCTURALFEATURE = EOBJECT___EGET__ESTRUCTURALFEATURE;
1863
5034
1864
  /**
5035
  /**
1865
   * The feature id for the '<em><b>Default Value</b></em>' attribute.
5036
   * The operation id for the '<em>EGet</em>' operation.
1866
   * <!-- begin-user-doc -->
5037
   * <!-- begin-user-doc -->
1867
   * <!-- end-user-doc -->
5038
   * <!-- end-user-doc -->
1868
   * @generated
5039
   * @generated
1869
   * @ordered
5040
   * @ordered
1870
   */
5041
   */
1871
  int EREFERENCE__DEFAULT_VALUE = ESTRUCTURAL_FEATURE__DEFAULT_VALUE;
5042
  int EGENERIC_TYPE___EGET__ESTRUCTURALFEATURE_BOOLEAN = EOBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
1872
5043
1873
  /**
5044
  /**
1874
   * The feature id for the '<em><b>Unsettable</b></em>' attribute.
5045
   * The operation id for the '<em>ESet</em>' operation.
1875
   * <!-- begin-user-doc -->
5046
   * <!-- begin-user-doc -->
1876
   * <!-- end-user-doc -->
5047
   * <!-- end-user-doc -->
1877
   * @generated
5048
   * @generated
1878
   * @ordered
5049
   * @ordered
1879
   */
5050
   */
1880
  int EREFERENCE__UNSETTABLE = ESTRUCTURAL_FEATURE__UNSETTABLE;
5051
  int EGENERIC_TYPE___ESET__ESTRUCTURALFEATURE_OBJECT = EOBJECT___ESET__ESTRUCTURALFEATURE_OBJECT;
1881
5052
1882
  /**
5053
  /**
1883
   * The feature id for the '<em><b>Derived</b></em>' attribute.
5054
   * The operation id for the '<em>EIs Set</em>' operation.
1884
   * <!-- begin-user-doc -->
5055
   * <!-- begin-user-doc -->
1885
   * <!-- end-user-doc -->
5056
   * <!-- end-user-doc -->
1886
   * @generated
5057
   * @generated
1887
   * @ordered
5058
   * @ordered
1888
   */
5059
   */
1889
  int EREFERENCE__DERIVED = ESTRUCTURAL_FEATURE__DERIVED;
5060
  int EGENERIC_TYPE___EIS_SET__ESTRUCTURALFEATURE = EOBJECT___EIS_SET__ESTRUCTURALFEATURE;
1890
5061
1891
  /**
5062
  /**
1892
   * The feature id for the '<em><b>EContaining Class</b></em>' container reference.
5063
   * The operation id for the '<em>EUnset</em>' operation.
1893
   * <!-- begin-user-doc -->
5064
   * <!-- begin-user-doc -->
1894
   * <!-- end-user-doc -->
5065
   * <!-- end-user-doc -->
1895
   * @generated
5066
   * @generated
1896
   * @ordered
5067
   * @ordered
1897
   */
5068
   */
1898
  int EREFERENCE__ECONTAINING_CLASS = ESTRUCTURAL_FEATURE__ECONTAINING_CLASS;
5069
  int EGENERIC_TYPE___EUNSET__ESTRUCTURALFEATURE = EOBJECT___EUNSET__ESTRUCTURALFEATURE;
1899
5070
1900
  /**
5071
  /**
1901
   * The feature id for the '<em><b>Containment</b></em>' attribute.
5072
   * The operation id for the '<em>EInvoke</em>' operation.
1902
   * <!-- begin-user-doc -->
5073
   * <!-- begin-user-doc -->
1903
   * <!-- end-user-doc -->
5074
   * <!-- end-user-doc -->
1904
   * @generated
5075
   * @generated
1905
   * @ordered
5076
   * @ordered
1906
   */
5077
   */
1907
  int EREFERENCE__CONTAINMENT = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 0;
5078
  int EGENERIC_TYPE___EINVOKE__EOPERATION_ELIST = EOBJECT___EINVOKE__EOPERATION_ELIST;
1908
5079
1909
  /**
5080
  /**
1910
   * The feature id for the '<em><b>Container</b></em>' attribute.
5081
   * The number of operations of the '<em>EGeneric Type</em>' class.
1911
   * <!-- begin-user-doc -->
5082
   * <!-- begin-user-doc -->
1912
   * <!-- end-user-doc -->
5083
   * <!-- end-user-doc -->
1913
   * @generated
5084
   * @generated
1914
   * @ordered
5085
   * @ordered
1915
   */
5086
   */
1916
  int EREFERENCE__CONTAINER = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 1;
5087
  int EGENERIC_TYPE_OPERATION_COUNT = EOBJECT_OPERATION_COUNT + 0;
1917
5088
1918
  /**
5089
  /**
1919
   * The feature id for the '<em><b>Resolve Proxies</b></em>' attribute.
5090
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.ETypeParameterImpl <em>EType Parameter</em>}' class.
1920
   * <!-- begin-user-doc -->
5091
   * <!-- begin-user-doc -->
1921
   * <!-- end-user-doc -->
5092
   * <!-- end-user-doc -->
5093
   * @see org.eclipse.emf.ecore.impl.ETypeParameterImpl
5094
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getETypeParameter()
1922
   * @generated
5095
   * @generated
1923
   * @ordered
1924
   */
5096
   */
1925
  int EREFERENCE__RESOLVE_PROXIES = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 2;
5097
  int ETYPE_PARAMETER = 19;
1926
5098
1927
  /**
5099
  /**
1928
   * The feature id for the '<em><b>EOpposite</b></em>' reference.
5100
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
1929
   * <!-- begin-user-doc -->
5101
   * <!-- begin-user-doc -->
1930
   * <!-- end-user-doc -->
5102
   * <!-- end-user-doc -->
1931
   * @generated
5103
   * @generated
1932
   * @ordered
5104
   * @ordered
1933
   */
5105
   */
1934
  int EREFERENCE__EOPPOSITE = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 3;
5106
  int ETYPE_PARAMETER__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
1935
5107
1936
  /**
5108
  /**
1937
   * The feature id for the '<em><b>EReference Type</b></em>' reference.
5109
   * The feature id for the '<em><b>Name</b></em>' attribute.
1938
   * <!-- begin-user-doc -->
5110
   * <!-- begin-user-doc -->
1939
   * <!-- end-user-doc -->
5111
   * <!-- end-user-doc -->
1940
   * @generated
5112
   * @generated
1941
   * @ordered
5113
   * @ordered
1942
   */
5114
   */
1943
  int EREFERENCE__EREFERENCE_TYPE = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 4;
5115
  int ETYPE_PARAMETER__NAME = ENAMED_ELEMENT__NAME;
1944
5116
1945
  /**
5117
  /**
1946
   * The feature id for the '<em><b>EKeys</b></em>' reference list.
5118
   * The feature id for the '<em><b>EBounds</b></em>' containment reference list.
1947
   * <!-- begin-user-doc -->
5119
   * <!-- begin-user-doc -->
1948
   * <!-- end-user-doc -->
5120
   * <!-- end-user-doc -->
1949
   * @generated
5121
   * @generated
1950
   * @ordered
5122
   * @ordered
1951
   */
5123
   */
1952
  int EREFERENCE__EKEYS = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 5;
5124
  int ETYPE_PARAMETER__EBOUNDS = ENAMED_ELEMENT_FEATURE_COUNT + 0;
1953
5125
1954
  /**
5126
  /**
1955
   * The number of structural features of the '<em>EReference</em>' class.
5127
   * The number of structural features of the '<em>EType Parameter</em>' class.
1956
   * <!-- begin-user-doc -->
5128
   * <!-- begin-user-doc -->
1957
   * <!-- end-user-doc -->
5129
   * <!-- end-user-doc -->
1958
   * @generated
5130
   * @generated
1959
   * @ordered
5131
   * @ordered
1960
   */
5132
   */
1961
  int EREFERENCE_FEATURE_COUNT = ESTRUCTURAL_FEATURE_FEATURE_COUNT + 6;
5133
  int ETYPE_PARAMETER_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 1;
1962
5134
1963
  /**
5135
  /**
1964
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl <em>EString To String Map Entry</em>}' class.
5136
   * The operation id for the '<em>EClass</em>' operation.
1965
   * <!-- begin-user-doc -->
5137
   * <!-- begin-user-doc -->
1966
   * <!-- end-user-doc -->
5138
   * <!-- end-user-doc -->
1967
   * @see org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl
1968
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEStringToStringMapEntry()
1969
   * @generated
5139
   * @generated
5140
   * @ordered
1970
   */
5141
   */
1971
  int ESTRING_TO_STRING_MAP_ENTRY = 17;
5142
  int ETYPE_PARAMETER___ECLASS = ENAMED_ELEMENT___ECLASS;
1972
5143
1973
  /**
5144
  /**
1974
   * The feature id for the '<em><b>Key</b></em>' attribute.
5145
   * The operation id for the '<em>EIs Proxy</em>' operation.
1975
   * <!-- begin-user-doc -->
5146
   * <!-- begin-user-doc -->
1976
   * <!-- end-user-doc -->
5147
   * <!-- end-user-doc -->
1977
   * @generated
5148
   * @generated
1978
   * @ordered
5149
   * @ordered
1979
   */
5150
   */
1980
  int ESTRING_TO_STRING_MAP_ENTRY__KEY = 0;
5151
  int ETYPE_PARAMETER___EIS_PROXY = ENAMED_ELEMENT___EIS_PROXY;
1981
5152
1982
  /**
5153
  /**
1983
   * The feature id for the '<em><b>Value</b></em>' attribute.
5154
   * The operation id for the '<em>EResource</em>' operation.
1984
   * <!-- begin-user-doc -->
5155
   * <!-- begin-user-doc -->
1985
   * <!-- end-user-doc -->
5156
   * <!-- end-user-doc -->
1986
   * @generated
5157
   * @generated
1987
   * @ordered
5158
   * @ordered
1988
   */
5159
   */
1989
  int ESTRING_TO_STRING_MAP_ENTRY__VALUE = 1;
5160
  int ETYPE_PARAMETER___ERESOURCE = ENAMED_ELEMENT___ERESOURCE;
1990
5161
1991
  /**
5162
  /**
1992
   * The number of structural features of the '<em>EString To String Map Entry</em>' class.
5163
   * The operation id for the '<em>EContainer</em>' operation.
1993
   * <!-- begin-user-doc -->
5164
   * <!-- begin-user-doc -->
1994
   * <!-- end-user-doc -->
5165
   * <!-- end-user-doc -->
1995
   * @generated
5166
   * @generated
1996
   * @ordered
5167
   * @ordered
1997
   */
5168
   */
1998
  int ESTRING_TO_STRING_MAP_ENTRY_FEATURE_COUNT = 2;
5169
  int ETYPE_PARAMETER___ECONTAINER = ENAMED_ELEMENT___ECONTAINER;
1999
5170
2000
  /**
5171
  /**
2001
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.EGenericTypeImpl <em>EGeneric Type</em>}' class.
5172
   * The operation id for the '<em>EContaining Feature</em>' operation.
2002
   * <!-- begin-user-doc -->
5173
   * <!-- begin-user-doc -->
2003
   * <!-- end-user-doc -->
5174
   * <!-- end-user-doc -->
2004
   * @see org.eclipse.emf.ecore.impl.EGenericTypeImpl
2005
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEGenericType()
2006
   * @generated
5175
   * @generated
5176
   * @ordered
2007
   */
5177
   */
2008
  int EGENERIC_TYPE = 18;
5178
  int ETYPE_PARAMETER___ECONTAINING_FEATURE = ENAMED_ELEMENT___ECONTAINING_FEATURE;
2009
5179
2010
  /**
5180
  /**
2011
   * The feature id for the '<em><b>EUpper Bound</b></em>' containment reference.
5181
   * The operation id for the '<em>EContainment Feature</em>' operation.
2012
   * <!-- begin-user-doc -->
5182
   * <!-- begin-user-doc -->
2013
   * <!-- end-user-doc -->
5183
   * <!-- end-user-doc -->
2014
   * @generated
5184
   * @generated
2015
   * @ordered
5185
   * @ordered
2016
   */
5186
   */
2017
  int EGENERIC_TYPE__EUPPER_BOUND = EOBJECT_FEATURE_COUNT + 0;
5187
  int ETYPE_PARAMETER___ECONTAINMENT_FEATURE = ENAMED_ELEMENT___ECONTAINMENT_FEATURE;
2018
5188
2019
  /**
5189
  /**
2020
   * The feature id for the '<em><b>EType Arguments</b></em>' containment reference list.
5190
   * The operation id for the '<em>EContents</em>' operation.
2021
   * <!-- begin-user-doc -->
5191
   * <!-- begin-user-doc -->
2022
   * <!-- end-user-doc -->
5192
   * <!-- end-user-doc -->
2023
   * @generated
5193
   * @generated
2024
   * @ordered
5194
   * @ordered
2025
   */
5195
   */
2026
  int EGENERIC_TYPE__ETYPE_ARGUMENTS = EOBJECT_FEATURE_COUNT + 1;
5196
  int ETYPE_PARAMETER___ECONTENTS = ENAMED_ELEMENT___ECONTENTS;
2027
5197
2028
  /**
5198
  /**
2029
   * The feature id for the '<em><b>ERaw Type</b></em>' reference.
5199
   * The operation id for the '<em>EAll Contents</em>' operation.
2030
   * <!-- begin-user-doc -->
5200
   * <!-- begin-user-doc -->
2031
   * <!-- end-user-doc -->
5201
   * <!-- end-user-doc -->
2032
   * @generated
5202
   * @generated
2033
   * @ordered
5203
   * @ordered
2034
   */
5204
   */
2035
  int EGENERIC_TYPE__ERAW_TYPE = EOBJECT_FEATURE_COUNT + 2;
5205
  int ETYPE_PARAMETER___EALL_CONTENTS = ENAMED_ELEMENT___EALL_CONTENTS;
2036
5206
2037
  /**
5207
  /**
2038
   * The feature id for the '<em><b>ELower Bound</b></em>' containment reference.
5208
   * The operation id for the '<em>ECross References</em>' operation.
2039
   * <!-- begin-user-doc -->
5209
   * <!-- begin-user-doc -->
2040
   * <!-- end-user-doc -->
5210
   * <!-- end-user-doc -->
2041
   * @generated
5211
   * @generated
2042
   * @ordered
5212
   * @ordered
2043
   */
5213
   */
2044
  int EGENERIC_TYPE__ELOWER_BOUND = EOBJECT_FEATURE_COUNT + 3;
5214
  int ETYPE_PARAMETER___ECROSS_REFERENCES = ENAMED_ELEMENT___ECROSS_REFERENCES;
2045
5215
2046
  /**
5216
  /**
2047
   * The feature id for the '<em><b>EType Parameter</b></em>' reference.
5217
   * The operation id for the '<em>EGet</em>' operation.
2048
   * <!-- begin-user-doc -->
5218
   * <!-- begin-user-doc -->
2049
   * <!-- end-user-doc -->
5219
   * <!-- end-user-doc -->
2050
   * @generated
5220
   * @generated
2051
   * @ordered
5221
   * @ordered
2052
   */
5222
   */
2053
  int EGENERIC_TYPE__ETYPE_PARAMETER = EOBJECT_FEATURE_COUNT + 4;
5223
  int ETYPE_PARAMETER___EGET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE;
2054
5224
2055
  /**
5225
  /**
2056
   * The feature id for the '<em><b>EClassifier</b></em>' reference.
5226
   * The operation id for the '<em>EGet</em>' operation.
2057
   * <!-- begin-user-doc -->
5227
   * <!-- begin-user-doc -->
2058
   * <!-- end-user-doc -->
5228
   * <!-- end-user-doc -->
2059
   * @generated
5229
   * @generated
2060
   * @ordered
5230
   * @ordered
2061
   */
5231
   */
2062
  int EGENERIC_TYPE__ECLASSIFIER = EOBJECT_FEATURE_COUNT + 5;
5232
  int ETYPE_PARAMETER___EGET__ESTRUCTURALFEATURE_BOOLEAN = ENAMED_ELEMENT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
2063
5233
2064
  /**
5234
  /**
2065
   * The number of structural features of the '<em>EGeneric Type</em>' class.
5235
   * The operation id for the '<em>ESet</em>' operation.
2066
   * <!-- begin-user-doc -->
5236
   * <!-- begin-user-doc -->
2067
   * <!-- end-user-doc -->
5237
   * <!-- end-user-doc -->
2068
   * @generated
5238
   * @generated
2069
   * @ordered
5239
   * @ordered
2070
   */
5240
   */
2071
  int EGENERIC_TYPE_FEATURE_COUNT = EOBJECT_FEATURE_COUNT + 6;
5241
  int ETYPE_PARAMETER___ESET__ESTRUCTURALFEATURE_OBJECT = ENAMED_ELEMENT___ESET__ESTRUCTURALFEATURE_OBJECT;
2072
5242
2073
  /**
5243
  /**
2074
   * The meta object id for the '{@link org.eclipse.emf.ecore.impl.ETypeParameterImpl <em>EType Parameter</em>}' class.
5244
   * The operation id for the '<em>EIs Set</em>' operation.
2075
   * <!-- begin-user-doc -->
5245
   * <!-- begin-user-doc -->
2076
   * <!-- end-user-doc -->
5246
   * <!-- end-user-doc -->
2077
   * @see org.eclipse.emf.ecore.impl.ETypeParameterImpl
2078
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getETypeParameter()
2079
   * @generated
5247
   * @generated
5248
   * @ordered
2080
   */
5249
   */
2081
  int ETYPE_PARAMETER = 19;
5250
  int ETYPE_PARAMETER___EIS_SET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EIS_SET__ESTRUCTURALFEATURE;
2082
5251
2083
  /**
5252
  /**
2084
   * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
5253
   * The operation id for the '<em>EUnset</em>' operation.
2085
   * <!-- begin-user-doc -->
5254
   * <!-- begin-user-doc -->
2086
   * <!-- end-user-doc -->
5255
   * <!-- end-user-doc -->
2087
   * @generated
5256
   * @generated
2088
   * @ordered
5257
   * @ordered
2089
   */
5258
   */
2090
  int ETYPE_PARAMETER__EANNOTATIONS = ENAMED_ELEMENT__EANNOTATIONS;
5259
  int ETYPE_PARAMETER___EUNSET__ESTRUCTURALFEATURE = ENAMED_ELEMENT___EUNSET__ESTRUCTURALFEATURE;
2091
5260
2092
  /**
5261
  /**
2093
   * The feature id for the '<em><b>Name</b></em>' attribute.
5262
   * The operation id for the '<em>EInvoke</em>' operation.
2094
   * <!-- begin-user-doc -->
5263
   * <!-- begin-user-doc -->
2095
   * <!-- end-user-doc -->
5264
   * <!-- end-user-doc -->
2096
   * @generated
5265
   * @generated
2097
   * @ordered
5266
   * @ordered
2098
   */
5267
   */
2099
  int ETYPE_PARAMETER__NAME = ENAMED_ELEMENT__NAME;
5268
  int ETYPE_PARAMETER___EINVOKE__EOPERATION_ELIST = ENAMED_ELEMENT___EINVOKE__EOPERATION_ELIST;
2100
5269
2101
  /**
5270
  /**
2102
   * The feature id for the '<em><b>EBounds</b></em>' containment reference list.
5271
   * The operation id for the '<em>Get EAnnotation</em>' operation.
2103
   * <!-- begin-user-doc -->
5272
   * <!-- begin-user-doc -->
2104
   * <!-- end-user-doc -->
5273
   * <!-- end-user-doc -->
2105
   * @generated
5274
   * @generated
2106
   * @ordered
5275
   * @ordered
2107
   */
5276
   */
2108
  int ETYPE_PARAMETER__EBOUNDS = ENAMED_ELEMENT_FEATURE_COUNT + 0;
5277
  int ETYPE_PARAMETER___GET_EANNOTATION__STRING = ENAMED_ELEMENT___GET_EANNOTATION__STRING;
2109
5278
2110
  /**
5279
  /**
2111
   * The number of structural features of the '<em>EType Parameter</em>' class.
5280
   * The number of operations of the '<em>EType Parameter</em>' class.
2112
   * <!-- begin-user-doc -->
5281
   * <!-- begin-user-doc -->
2113
   * <!-- end-user-doc -->
5282
   * <!-- end-user-doc -->
2114
   * @generated
5283
   * @generated
2115
   * @ordered
5284
   * @ordered
2116
   */
5285
   */
2117
  int ETYPE_PARAMETER_FEATURE_COUNT = ENAMED_ELEMENT_FEATURE_COUNT + 1;
5286
  int ETYPE_PARAMETER_OPERATION_COUNT = ENAMED_ELEMENT_OPERATION_COUNT + 0;
2118
5287
2119
  /**
5288
  /**
2120
   * The meta object id for the '<em>EBig Decimal</em>' data type.
5289
   * The meta object id for the '<em>EBig Decimal</em>' data type.
Lines 2389-2394 Link Here
2389
5558
2390
5559
2391
  /**
5560
  /**
5561
   * The meta object id for the '<em>EInvocation Target Exception</em>' data type.
5562
   * <!-- begin-user-doc -->
5563
   * <!-- end-user-doc -->
5564
   * @see java.lang.reflect.InvocationTargetException
5565
   * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEInvocationTargetException()
5566
   * @generated
5567
   */
5568
  int EINVOCATION_TARGET_EXCEPTION = 52;
5569
5570
  /**
2392
   * The meta object id for the '<em>EFeature Map Entry</em>' data type.
5571
   * The meta object id for the '<em>EFeature Map Entry</em>' data type.
2393
   * <!-- begin-user-doc -->
5572
   * <!-- begin-user-doc -->
2394
   * <!-- end-user-doc -->
5573
   * <!-- end-user-doc -->
Lines 2715-2720 Link Here
2715
  EReference getEClass_EAllGenericSuperTypes();
5894
  EReference getEClass_EAllGenericSuperTypes();
2716
5895
2717
  /**
5896
  /**
5897
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#isSuperTypeOf(org.eclipse.emf.ecore.EClass) <em>Is Super Type Of</em>}' operation.
5898
   * <!-- begin-user-doc -->
5899
   * <!-- end-user-doc -->
5900
   * @return the meta object for the '<em>Is Super Type Of</em>' operation.
5901
   * @see org.eclipse.emf.ecore.EClass#isSuperTypeOf(org.eclipse.emf.ecore.EClass)
5902
   * @generated
5903
   */
5904
  EOperation getEClass__IsSuperTypeOf_EClass();
5905
5906
  /**
5907
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#getFeatureCount() <em>Get Feature Count</em>}' operation.
5908
   * <!-- begin-user-doc -->
5909
   * <!-- end-user-doc -->
5910
   * @return the meta object for the '<em>Get Feature Count</em>' operation.
5911
   * @see org.eclipse.emf.ecore.EClass#getFeatureCount()
5912
   * @generated
5913
   */
5914
  EOperation getEClass__GetFeatureCount();
5915
5916
  /**
5917
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#getEStructuralFeature(int) <em>Get EStructural Feature</em>}' operation.
5918
   * <!-- begin-user-doc -->
5919
   * <!-- end-user-doc -->
5920
   * @return the meta object for the '<em>Get EStructural Feature</em>' operation.
5921
   * @see org.eclipse.emf.ecore.EClass#getEStructuralFeature(int)
5922
   * @generated
5923
   */
5924
  EOperation getEClass__GetEStructuralFeature_int();
5925
5926
  /**
5927
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#getFeatureID(org.eclipse.emf.ecore.EStructuralFeature) <em>Get Feature ID</em>}' operation.
5928
   * <!-- begin-user-doc -->
5929
   * <!-- end-user-doc -->
5930
   * @return the meta object for the '<em>Get Feature ID</em>' operation.
5931
   * @see org.eclipse.emf.ecore.EClass#getFeatureID(org.eclipse.emf.ecore.EStructuralFeature)
5932
   * @generated
5933
   */
5934
  EOperation getEClass__GetFeatureID_EStructuralFeature();
5935
5936
  /**
5937
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#getEStructuralFeature(java.lang.String) <em>Get EStructural Feature</em>}' operation.
5938
   * <!-- begin-user-doc -->
5939
   * <!-- end-user-doc -->
5940
   * @return the meta object for the '<em>Get EStructural Feature</em>' operation.
5941
   * @see org.eclipse.emf.ecore.EClass#getEStructuralFeature(java.lang.String)
5942
   * @generated
5943
   */
5944
  EOperation getEClass__GetEStructuralFeature_String();
5945
5946
  /**
5947
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#getOperationCount() <em>Get Operation Count</em>}' operation.
5948
   * <!-- begin-user-doc -->
5949
   * <!-- end-user-doc -->
5950
   * @return the meta object for the '<em>Get Operation Count</em>' operation.
5951
   * @see org.eclipse.emf.ecore.EClass#getOperationCount()
5952
   * @generated
5953
   */
5954
  EOperation getEClass__GetOperationCount();
5955
5956
  /**
5957
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#getEOperation(int) <em>Get EOperation</em>}' operation.
5958
   * <!-- begin-user-doc -->
5959
   * <!-- end-user-doc -->
5960
   * @return the meta object for the '<em>Get EOperation</em>' operation.
5961
   * @see org.eclipse.emf.ecore.EClass#getEOperation(int)
5962
   * @generated
5963
   */
5964
  EOperation getEClass__GetEOperation_int();
5965
5966
  /**
5967
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClass#getOperationID(org.eclipse.emf.ecore.EOperation) <em>Get Operation ID</em>}' operation.
5968
   * <!-- begin-user-doc -->
5969
   * <!-- end-user-doc -->
5970
   * @return the meta object for the '<em>Get Operation ID</em>' operation.
5971
   * @see org.eclipse.emf.ecore.EClass#getOperationID(org.eclipse.emf.ecore.EOperation)
5972
   * @generated
5973
   */
5974
  EOperation getEClass__GetOperationID_EOperation();
5975
5976
  /**
2718
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EDataType <em>EData Type</em>}'.
5977
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EDataType <em>EData Type</em>}'.
2719
   * <!-- begin-user-doc -->
5978
   * <!-- begin-user-doc -->
2720
   * <!-- end-user-doc -->
5979
   * <!-- end-user-doc -->
Lines 2757-2762 Link Here
2757
  EReference getEEnum_ELiterals();
6016
  EReference getEEnum_ELiterals();
2758
6017
2759
  /**
6018
  /**
6019
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EEnum#getEEnumLiteral(java.lang.String) <em>Get EEnum Literal</em>}' operation.
6020
   * <!-- begin-user-doc -->
6021
   * <!-- end-user-doc -->
6022
   * @return the meta object for the '<em>Get EEnum Literal</em>' operation.
6023
   * @see org.eclipse.emf.ecore.EEnum#getEEnumLiteral(java.lang.String)
6024
   * @generated
6025
   */
6026
  EOperation getEEnum__GetEEnumLiteral_String();
6027
6028
  /**
6029
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EEnum#getEEnumLiteral(int) <em>Get EEnum Literal</em>}' operation.
6030
   * <!-- begin-user-doc -->
6031
   * <!-- end-user-doc -->
6032
   * @return the meta object for the '<em>Get EEnum Literal</em>' operation.
6033
   * @see org.eclipse.emf.ecore.EEnum#getEEnumLiteral(int)
6034
   * @generated
6035
   */
6036
  EOperation getEEnum__GetEEnumLiteral_int();
6037
6038
  /**
6039
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EEnum#getEEnumLiteralByLiteral(java.lang.String) <em>Get EEnum Literal By Literal</em>}' operation.
6040
   * <!-- begin-user-doc -->
6041
   * <!-- end-user-doc -->
6042
   * @return the meta object for the '<em>Get EEnum Literal By Literal</em>' operation.
6043
   * @see org.eclipse.emf.ecore.EEnum#getEEnumLiteralByLiteral(java.lang.String)
6044
   * @generated
6045
   */
6046
  EOperation getEEnum__GetEEnumLiteralByLiteral_String();
6047
6048
  /**
2760
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EEnumLiteral <em>EEnum Literal</em>}'.
6049
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EEnumLiteral <em>EEnum Literal</em>}'.
2761
   * <!-- begin-user-doc -->
6050
   * <!-- begin-user-doc -->
2762
   * <!-- end-user-doc -->
6051
   * <!-- end-user-doc -->
Lines 2832-2837 Link Here
2832
  EReference getEFactory_EPackage();
6121
  EReference getEFactory_EPackage();
2833
6122
2834
  /**
6123
  /**
6124
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EFactory#create(org.eclipse.emf.ecore.EClass) <em>Create</em>}' operation.
6125
   * <!-- begin-user-doc -->
6126
   * <!-- end-user-doc -->
6127
   * @return the meta object for the '<em>Create</em>' operation.
6128
   * @see org.eclipse.emf.ecore.EFactory#create(org.eclipse.emf.ecore.EClass)
6129
   * @generated
6130
   */
6131
  EOperation getEFactory__Create_EClass();
6132
6133
  /**
6134
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EFactory#createFromString(org.eclipse.emf.ecore.EDataType, java.lang.String) <em>Create From String</em>}' operation.
6135
   * <!-- begin-user-doc -->
6136
   * <!-- end-user-doc -->
6137
   * @return the meta object for the '<em>Create From String</em>' operation.
6138
   * @see org.eclipse.emf.ecore.EFactory#createFromString(org.eclipse.emf.ecore.EDataType, java.lang.String)
6139
   * @generated
6140
   */
6141
  EOperation getEFactory__CreateFromString_EDataType_String();
6142
6143
  /**
6144
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EFactory#convertToString(org.eclipse.emf.ecore.EDataType, java.lang.Object) <em>Convert To String</em>}' operation.
6145
   * <!-- begin-user-doc -->
6146
   * <!-- end-user-doc -->
6147
   * @return the meta object for the '<em>Convert To String</em>' operation.
6148
   * @see org.eclipse.emf.ecore.EFactory#convertToString(org.eclipse.emf.ecore.EDataType, java.lang.Object)
6149
   * @generated
6150
   */
6151
  EOperation getEFactory__ConvertToString_EDataType_Object();
6152
6153
  /**
2835
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EClassifier <em>EClassifier</em>}'.
6154
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EClassifier <em>EClassifier</em>}'.
2836
   * <!-- begin-user-doc -->
6155
   * <!-- begin-user-doc -->
2837
   * <!-- end-user-doc -->
6156
   * <!-- end-user-doc -->
Lines 2908-2913 Link Here
2908
  EReference getEClassifier_ETypeParameters();
6227
  EReference getEClassifier_ETypeParameters();
2909
6228
2910
  /**
6229
  /**
6230
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClassifier#isInstance(java.lang.Object) <em>Is Instance</em>}' operation.
6231
   * <!-- begin-user-doc -->
6232
   * <!-- end-user-doc -->
6233
   * @return the meta object for the '<em>Is Instance</em>' operation.
6234
   * @see org.eclipse.emf.ecore.EClassifier#isInstance(java.lang.Object)
6235
   * @generated
6236
   */
6237
  EOperation getEClassifier__IsInstance_Object();
6238
6239
  /**
6240
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EClassifier#getClassifierID() <em>Get Classifier ID</em>}' operation.
6241
   * <!-- begin-user-doc -->
6242
   * <!-- end-user-doc -->
6243
   * @return the meta object for the '<em>Get Classifier ID</em>' operation.
6244
   * @see org.eclipse.emf.ecore.EClassifier#getClassifierID()
6245
   * @generated
6246
   */
6247
  EOperation getEClassifier__GetClassifierID();
6248
6249
  /**
2911
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EModelElement <em>EModel Element</em>}'.
6250
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EModelElement <em>EModel Element</em>}'.
2912
   * <!-- begin-user-doc -->
6251
   * <!-- begin-user-doc -->
2913
   * <!-- end-user-doc -->
6252
   * <!-- end-user-doc -->
Lines 2929-2934 Link Here
2929
  EReference getEModelElement_EAnnotations();
6268
  EReference getEModelElement_EAnnotations();
2930
6269
2931
  /**
6270
  /**
6271
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EModelElement#getEAnnotation(java.lang.String) <em>Get EAnnotation</em>}' operation.
6272
   * <!-- begin-user-doc -->
6273
   * <!-- end-user-doc -->
6274
   * @return the meta object for the '<em>Get EAnnotation</em>' operation.
6275
   * @see org.eclipse.emf.ecore.EModelElement#getEAnnotation(java.lang.String)
6276
   * @generated
6277
   */
6278
  EOperation getEModelElement__GetEAnnotation_String();
6279
6280
  /**
2932
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.ENamedElement <em>ENamed Element</em>}'.
6281
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.ENamedElement <em>ENamed Element</em>}'.
2933
   * <!-- begin-user-doc -->
6282
   * <!-- begin-user-doc -->
2934
   * <!-- end-user-doc -->
6283
   * <!-- end-user-doc -->
Lines 2950-2963 Link Here
2950
  EAttribute getENamedElement_Name();
6299
  EAttribute getENamedElement_Name();
2951
6300
2952
  /**
6301
  /**
2953
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EObject <em>EObject</em>}'.
6302
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EObject <em>EObject</em>}'.
6303
   * <!-- begin-user-doc -->
6304
   * <!-- end-user-doc -->
6305
   * @return the meta object for class '<em>EObject</em>'.
6306
   * @see org.eclipse.emf.ecore.EObject
6307
   * @generated
6308
   */
6309
  EClass getEObject();
6310
6311
  /**
6312
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eClass() <em>EClass</em>}' operation.
6313
   * <!-- begin-user-doc -->
6314
   * <!-- end-user-doc -->
6315
   * @return the meta object for the '<em>EClass</em>' operation.
6316
   * @see org.eclipse.emf.ecore.EObject#eClass()
6317
   * @generated
6318
   */
6319
  EOperation getEObject__EClass();
6320
6321
  /**
6322
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eIsProxy() <em>EIs Proxy</em>}' operation.
6323
   * <!-- begin-user-doc -->
6324
   * <!-- end-user-doc -->
6325
   * @return the meta object for the '<em>EIs Proxy</em>' operation.
6326
   * @see org.eclipse.emf.ecore.EObject#eIsProxy()
6327
   * @generated
6328
   */
6329
  EOperation getEObject__EIsProxy();
6330
6331
  /**
6332
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eResource() <em>EResource</em>}' operation.
6333
   * <!-- begin-user-doc -->
6334
   * <!-- end-user-doc -->
6335
   * @return the meta object for the '<em>EResource</em>' operation.
6336
   * @see org.eclipse.emf.ecore.EObject#eResource()
6337
   * @generated
6338
   */
6339
  EOperation getEObject__EResource();
6340
6341
  /**
6342
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eContainer() <em>EContainer</em>}' operation.
6343
   * <!-- begin-user-doc -->
6344
   * <!-- end-user-doc -->
6345
   * @return the meta object for the '<em>EContainer</em>' operation.
6346
   * @see org.eclipse.emf.ecore.EObject#eContainer()
6347
   * @generated
6348
   */
6349
  EOperation getEObject__EContainer();
6350
6351
  /**
6352
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eContainingFeature() <em>EContaining Feature</em>}' operation.
6353
   * <!-- begin-user-doc -->
6354
   * <!-- end-user-doc -->
6355
   * @return the meta object for the '<em>EContaining Feature</em>' operation.
6356
   * @see org.eclipse.emf.ecore.EObject#eContainingFeature()
6357
   * @generated
6358
   */
6359
  EOperation getEObject__EContainingFeature();
6360
6361
  /**
6362
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eContainmentFeature() <em>EContainment Feature</em>}' operation.
6363
   * <!-- begin-user-doc -->
6364
   * <!-- end-user-doc -->
6365
   * @return the meta object for the '<em>EContainment Feature</em>' operation.
6366
   * @see org.eclipse.emf.ecore.EObject#eContainmentFeature()
6367
   * @generated
6368
   */
6369
  EOperation getEObject__EContainmentFeature();
6370
6371
  /**
6372
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eContents() <em>EContents</em>}' operation.
6373
   * <!-- begin-user-doc -->
6374
   * <!-- end-user-doc -->
6375
   * @return the meta object for the '<em>EContents</em>' operation.
6376
   * @see org.eclipse.emf.ecore.EObject#eContents()
6377
   * @generated
6378
   */
6379
  EOperation getEObject__EContents();
6380
6381
  /**
6382
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eAllContents() <em>EAll Contents</em>}' operation.
6383
   * <!-- begin-user-doc -->
6384
   * <!-- end-user-doc -->
6385
   * @return the meta object for the '<em>EAll Contents</em>' operation.
6386
   * @see org.eclipse.emf.ecore.EObject#eAllContents()
6387
   * @generated
6388
   */
6389
  EOperation getEObject__EAllContents();
6390
6391
  /**
6392
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eCrossReferences() <em>ECross References</em>}' operation.
6393
   * <!-- begin-user-doc -->
6394
   * <!-- end-user-doc -->
6395
   * @return the meta object for the '<em>ECross References</em>' operation.
6396
   * @see org.eclipse.emf.ecore.EObject#eCrossReferences()
6397
   * @generated
6398
   */
6399
  EOperation getEObject__ECrossReferences();
6400
6401
  /**
6402
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eGet(org.eclipse.emf.ecore.EStructuralFeature) <em>EGet</em>}' operation.
6403
   * <!-- begin-user-doc -->
6404
   * <!-- end-user-doc -->
6405
   * @return the meta object for the '<em>EGet</em>' operation.
6406
   * @see org.eclipse.emf.ecore.EObject#eGet(org.eclipse.emf.ecore.EStructuralFeature)
6407
   * @generated
6408
   */
6409
  EOperation getEObject__EGet_EStructuralFeature();
6410
6411
  /**
6412
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eGet(org.eclipse.emf.ecore.EStructuralFeature, boolean) <em>EGet</em>}' operation.
6413
   * <!-- begin-user-doc -->
6414
   * <!-- end-user-doc -->
6415
   * @return the meta object for the '<em>EGet</em>' operation.
6416
   * @see org.eclipse.emf.ecore.EObject#eGet(org.eclipse.emf.ecore.EStructuralFeature, boolean)
6417
   * @generated
6418
   */
6419
  EOperation getEObject__EGet_EStructuralFeature_boolean();
6420
6421
  /**
6422
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eSet(org.eclipse.emf.ecore.EStructuralFeature, java.lang.Object) <em>ESet</em>}' operation.
6423
   * <!-- begin-user-doc -->
6424
   * <!-- end-user-doc -->
6425
   * @return the meta object for the '<em>ESet</em>' operation.
6426
   * @see org.eclipse.emf.ecore.EObject#eSet(org.eclipse.emf.ecore.EStructuralFeature, java.lang.Object)
6427
   * @generated
6428
   */
6429
  EOperation getEObject__ESet_EStructuralFeature_Object();
6430
6431
  /**
6432
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eIsSet(org.eclipse.emf.ecore.EStructuralFeature) <em>EIs Set</em>}' operation.
6433
   * <!-- begin-user-doc -->
6434
   * <!-- end-user-doc -->
6435
   * @return the meta object for the '<em>EIs Set</em>' operation.
6436
   * @see org.eclipse.emf.ecore.EObject#eIsSet(org.eclipse.emf.ecore.EStructuralFeature)
6437
   * @generated
6438
   */
6439
  EOperation getEObject__EIsSet_EStructuralFeature();
6440
6441
  /**
6442
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eUnset(org.eclipse.emf.ecore.EStructuralFeature) <em>EUnset</em>}' operation.
6443
   * <!-- begin-user-doc -->
6444
   * <!-- end-user-doc -->
6445
   * @return the meta object for the '<em>EUnset</em>' operation.
6446
   * @see org.eclipse.emf.ecore.EObject#eUnset(org.eclipse.emf.ecore.EStructuralFeature)
6447
   * @generated
6448
   */
6449
  EOperation getEObject__EUnset_EStructuralFeature();
6450
6451
  /**
6452
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EObject#eInvoke(org.eclipse.emf.ecore.EOperation, org.eclipse.emf.common.util.EList) <em>EInvoke</em>}' operation.
2954
   * <!-- begin-user-doc -->
6453
   * <!-- begin-user-doc -->
2955
   * <!-- end-user-doc -->
6454
   * <!-- end-user-doc -->
2956
   * @return the meta object for class '<em>EObject</em>'.
6455
   * @return the meta object for the '<em>EInvoke</em>' operation.
2957
   * @see org.eclipse.emf.ecore.EObject
6456
   * @see org.eclipse.emf.ecore.EObject#eInvoke(org.eclipse.emf.ecore.EOperation, org.eclipse.emf.common.util.EList)
2958
   * @generated
6457
   * @generated
2959
   */
6458
   */
2960
  EClass getEObject();
6459
  EOperation getEObject__EInvoke_EOperation_EList();
2961
6460
2962
  /**
6461
  /**
2963
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EOperation <em>EOperation</em>}'.
6462
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EOperation <em>EOperation</em>}'.
Lines 3014-3019 Link Here
3014
  EReference getEOperation_EGenericExceptions();
6513
  EReference getEOperation_EGenericExceptions();
3015
6514
3016
  /**
6515
  /**
6516
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EOperation#getOperationID() <em>Get Operation ID</em>}' operation.
6517
   * <!-- begin-user-doc -->
6518
   * <!-- end-user-doc -->
6519
   * @return the meta object for the '<em>Get Operation ID</em>' operation.
6520
   * @see org.eclipse.emf.ecore.EOperation#getOperationID()
6521
   * @generated
6522
   */
6523
  EOperation getEOperation__GetOperationID();
6524
6525
  /**
3017
   * Returns the meta object for the containment reference list '{@link org.eclipse.emf.ecore.EOperation#getETypeParameters <em>EType Parameters</em>}'.
6526
   * Returns the meta object for the containment reference list '{@link org.eclipse.emf.ecore.EOperation#getETypeParameters <em>EType Parameters</em>}'.
3018
   * <!-- begin-user-doc -->
6527
   * <!-- begin-user-doc -->
3019
   * <!-- end-user-doc -->
6528
   * <!-- end-user-doc -->
Lines 3101-3106 Link Here
3101
  EReference getEPackage_ESuperPackage();
6610
  EReference getEPackage_ESuperPackage();
3102
6611
3103
  /**
6612
  /**
6613
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EPackage#getEClassifier(java.lang.String) <em>Get EClassifier</em>}' operation.
6614
   * <!-- begin-user-doc -->
6615
   * <!-- end-user-doc -->
6616
   * @return the meta object for the '<em>Get EClassifier</em>' operation.
6617
   * @see org.eclipse.emf.ecore.EPackage#getEClassifier(java.lang.String)
6618
   * @generated
6619
   */
6620
  EOperation getEPackage__GetEClassifier_String();
6621
6622
  /**
3104
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EParameter <em>EParameter</em>}'.
6623
   * Returns the meta object for class '{@link org.eclipse.emf.ecore.EParameter <em>EParameter</em>}'.
3105
   * <!-- begin-user-doc -->
6624
   * <!-- begin-user-doc -->
3106
   * <!-- end-user-doc -->
6625
   * <!-- end-user-doc -->
Lines 3296-3301 Link Here
3296
  EReference getEStructuralFeature_EContainingClass();
6815
  EReference getEStructuralFeature_EContainingClass();
3297
6816
3298
  /**
6817
  /**
6818
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EStructuralFeature#getFeatureID() <em>Get Feature ID</em>}' operation.
6819
   * <!-- begin-user-doc -->
6820
   * <!-- end-user-doc -->
6821
   * @return the meta object for the '<em>Get Feature ID</em>' operation.
6822
   * @see org.eclipse.emf.ecore.EStructuralFeature#getFeatureID()
6823
   * @generated
6824
   */
6825
  EOperation getEStructuralFeature__GetFeatureID();
6826
6827
  /**
6828
   * Returns the meta object for the '{@link org.eclipse.emf.ecore.EStructuralFeature#getContainerClass() <em>Get Container Class</em>}' operation.
6829
   * <!-- begin-user-doc -->
6830
   * <!-- end-user-doc -->
6831
   * @return the meta object for the '<em>Get Container Class</em>' operation.
6832
   * @see org.eclipse.emf.ecore.EStructuralFeature#getContainerClass()
6833
   * @generated
6834
   */
6835
  EOperation getEStructuralFeature__GetContainerClass();
6836
6837
  /**
3299
   * @deprecated
6838
   * @deprecated
3300
   * replaced by getETypedElement_Unique()
6839
   * replaced by getETypedElement_Unique()
3301
   */
6840
   */
Lines 3877-3882 Link Here
3877
  EDataType getETreeIterator();
7416
  EDataType getETreeIterator();
3878
7417
3879
  /**
7418
  /**
7419
   * Returns the meta object for data type '{@link java.lang.reflect.InvocationTargetException <em>EInvocation Target Exception</em>}'.
7420
   * <!-- begin-user-doc -->
7421
   * <!-- end-user-doc -->
7422
   * @return the meta object for data type '<em>EInvocation Target Exception</em>'.
7423
   * @see java.lang.reflect.InvocationTargetException
7424
   * @model instanceClass="java.lang.reflect.InvocationTargetException"
7425
   * @generated
7426
   */
7427
  EDataType getEInvocationTargetException();
7428
7429
  /**
3880
   * Returns the meta object for data type '{@link org.eclipse.emf.ecore.util.FeatureMap.Entry <em>EFeature Map Entry</em>}'.
7430
   * Returns the meta object for data type '{@link org.eclipse.emf.ecore.util.FeatureMap.Entry <em>EFeature Map Entry</em>}'.
3881
   * <!-- begin-user-doc -->
7431
   * <!-- begin-user-doc -->
3882
   * <!-- end-user-doc -->
7432
   * <!-- end-user-doc -->
Lines 4159-4164 Link Here
4159
    EReference ECLASS__EALL_GENERIC_SUPER_TYPES = eINSTANCE.getEClass_EAllGenericSuperTypes();
7709
    EReference ECLASS__EALL_GENERIC_SUPER_TYPES = eINSTANCE.getEClass_EAllGenericSuperTypes();
4160
7710
4161
    /**
7711
    /**
7712
     * The meta object literal for the '<em><b>Is Super Type Of</b></em>' operation.
7713
     * <!-- begin-user-doc -->
7714
     * <!-- end-user-doc -->
7715
     * @generated
7716
     */
7717
    EOperation ECLASS___IS_SUPER_TYPE_OF__ECLASS = eINSTANCE.getEClass__IsSuperTypeOf_EClass();
7718
7719
    /**
7720
     * The meta object literal for the '<em><b>Get Feature Count</b></em>' operation.
7721
     * <!-- begin-user-doc -->
7722
     * <!-- end-user-doc -->
7723
     * @generated
7724
     */
7725
    EOperation ECLASS___GET_FEATURE_COUNT = eINSTANCE.getEClass__GetFeatureCount();
7726
7727
    /**
7728
     * The meta object literal for the '<em><b>Get EStructural Feature</b></em>' operation.
7729
     * <!-- begin-user-doc -->
7730
     * <!-- end-user-doc -->
7731
     * @generated
7732
     */
7733
    EOperation ECLASS___GET_ESTRUCTURAL_FEATURE__INT = eINSTANCE.getEClass__GetEStructuralFeature_int();
7734
7735
    /**
7736
     * The meta object literal for the '<em><b>Get Feature ID</b></em>' operation.
7737
     * <!-- begin-user-doc -->
7738
     * <!-- end-user-doc -->
7739
     * @generated
7740
     */
7741
    EOperation ECLASS___GET_FEATURE_ID__ESTRUCTURALFEATURE = eINSTANCE.getEClass__GetFeatureID_EStructuralFeature();
7742
7743
    /**
7744
     * The meta object literal for the '<em><b>Get EStructural Feature</b></em>' operation.
7745
     * <!-- begin-user-doc -->
7746
     * <!-- end-user-doc -->
7747
     * @generated
7748
     */
7749
    EOperation ECLASS___GET_ESTRUCTURAL_FEATURE__STRING = eINSTANCE.getEClass__GetEStructuralFeature_String();
7750
7751
    /**
7752
     * The meta object literal for the '<em><b>Get Operation Count</b></em>' operation.
7753
     * <!-- begin-user-doc -->
7754
     * <!-- end-user-doc -->
7755
     * @generated
7756
     */
7757
    EOperation ECLASS___GET_OPERATION_COUNT = eINSTANCE.getEClass__GetOperationCount();
7758
7759
    /**
7760
     * The meta object literal for the '<em><b>Get EOperation</b></em>' operation.
7761
     * <!-- begin-user-doc -->
7762
     * <!-- end-user-doc -->
7763
     * @generated
7764
     */
7765
    EOperation ECLASS___GET_EOPERATION__INT = eINSTANCE.getEClass__GetEOperation_int();
7766
7767
    /**
7768
     * The meta object literal for the '<em><b>Get Operation ID</b></em>' operation.
7769
     * <!-- begin-user-doc -->
7770
     * <!-- end-user-doc -->
7771
     * @generated
7772
     */
7773
    EOperation ECLASS___GET_OPERATION_ID__EOPERATION = eINSTANCE.getEClass__GetOperationID_EOperation();
7774
7775
    /**
4162
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EClassifierImpl <em>EClassifier</em>}' class.
7776
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EClassifierImpl <em>EClassifier</em>}' class.
4163
     * <!-- begin-user-doc -->
7777
     * <!-- begin-user-doc -->
4164
     * <!-- end-user-doc -->
7778
     * <!-- end-user-doc -->
Lines 4217-4222 Link Here
4217
    EReference ECLASSIFIER__ETYPE_PARAMETERS = eINSTANCE.getEClassifier_ETypeParameters();
7831
    EReference ECLASSIFIER__ETYPE_PARAMETERS = eINSTANCE.getEClassifier_ETypeParameters();
4218
7832
4219
    /**
7833
    /**
7834
     * The meta object literal for the '<em><b>Is Instance</b></em>' operation.
7835
     * <!-- begin-user-doc -->
7836
     * <!-- end-user-doc -->
7837
     * @generated
7838
     */
7839
    EOperation ECLASSIFIER___IS_INSTANCE__OBJECT = eINSTANCE.getEClassifier__IsInstance_Object();
7840
7841
    /**
7842
     * The meta object literal for the '<em><b>Get Classifier ID</b></em>' operation.
7843
     * <!-- begin-user-doc -->
7844
     * <!-- end-user-doc -->
7845
     * @generated
7846
     */
7847
    EOperation ECLASSIFIER___GET_CLASSIFIER_ID = eINSTANCE.getEClassifier__GetClassifierID();
7848
7849
    /**
4220
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EDataTypeImpl <em>EData Type</em>}' class.
7850
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EDataTypeImpl <em>EData Type</em>}' class.
4221
     * <!-- begin-user-doc -->
7851
     * <!-- begin-user-doc -->
4222
     * <!-- end-user-doc -->
7852
     * <!-- end-user-doc -->
Lines 4253-4258 Link Here
4253
    EReference EENUM__ELITERALS = eINSTANCE.getEEnum_ELiterals();
7883
    EReference EENUM__ELITERALS = eINSTANCE.getEEnum_ELiterals();
4254
7884
4255
    /**
7885
    /**
7886
     * The meta object literal for the '<em><b>Get EEnum Literal</b></em>' operation.
7887
     * <!-- begin-user-doc -->
7888
     * <!-- end-user-doc -->
7889
     * @generated
7890
     */
7891
    EOperation EENUM___GET_EENUM_LITERAL__STRING = eINSTANCE.getEEnum__GetEEnumLiteral_String();
7892
7893
    /**
7894
     * The meta object literal for the '<em><b>Get EEnum Literal</b></em>' operation.
7895
     * <!-- begin-user-doc -->
7896
     * <!-- end-user-doc -->
7897
     * @generated
7898
     */
7899
    EOperation EENUM___GET_EENUM_LITERAL__INT = eINSTANCE.getEEnum__GetEEnumLiteral_int();
7900
7901
    /**
7902
     * The meta object literal for the '<em><b>Get EEnum Literal By Literal</b></em>' operation.
7903
     * <!-- begin-user-doc -->
7904
     * <!-- end-user-doc -->
7905
     * @generated
7906
     */
7907
    EOperation EENUM___GET_EENUM_LITERAL_BY_LITERAL__STRING = eINSTANCE.getEEnum__GetEEnumLiteralByLiteral_String();
7908
7909
    /**
4256
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EEnumLiteralImpl <em>EEnum Literal</em>}' class.
7910
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EEnumLiteralImpl <em>EEnum Literal</em>}' class.
4257
     * <!-- begin-user-doc -->
7911
     * <!-- begin-user-doc -->
4258
     * <!-- end-user-doc -->
7912
     * <!-- end-user-doc -->
Lines 4313-4318 Link Here
4313
    EReference EFACTORY__EPACKAGE = eINSTANCE.getEFactory_EPackage();
7967
    EReference EFACTORY__EPACKAGE = eINSTANCE.getEFactory_EPackage();
4314
7968
4315
    /**
7969
    /**
7970
     * The meta object literal for the '<em><b>Create</b></em>' operation.
7971
     * <!-- begin-user-doc -->
7972
     * <!-- end-user-doc -->
7973
     * @generated
7974
     */
7975
    EOperation EFACTORY___CREATE__ECLASS = eINSTANCE.getEFactory__Create_EClass();
7976
7977
    /**
7978
     * The meta object literal for the '<em><b>Create From String</b></em>' operation.
7979
     * <!-- begin-user-doc -->
7980
     * <!-- end-user-doc -->
7981
     * @generated
7982
     */
7983
    EOperation EFACTORY___CREATE_FROM_STRING__EDATATYPE_STRING = eINSTANCE.getEFactory__CreateFromString_EDataType_String();
7984
7985
    /**
7986
     * The meta object literal for the '<em><b>Convert To String</b></em>' operation.
7987
     * <!-- begin-user-doc -->
7988
     * <!-- end-user-doc -->
7989
     * @generated
7990
     */
7991
    EOperation EFACTORY___CONVERT_TO_STRING__EDATATYPE_OBJECT = eINSTANCE.getEFactory__ConvertToString_EDataType_Object();
7992
7993
    /**
4316
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EModelElementImpl <em>EModel Element</em>}' class.
7994
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EModelElementImpl <em>EModel Element</em>}' class.
4317
     * <!-- begin-user-doc -->
7995
     * <!-- begin-user-doc -->
4318
     * <!-- end-user-doc -->
7996
     * <!-- end-user-doc -->
Lines 4331-4336 Link Here
4331
    EReference EMODEL_ELEMENT__EANNOTATIONS = eINSTANCE.getEModelElement_EAnnotations();
8009
    EReference EMODEL_ELEMENT__EANNOTATIONS = eINSTANCE.getEModelElement_EAnnotations();
4332
8010
4333
    /**
8011
    /**
8012
     * The meta object literal for the '<em><b>Get EAnnotation</b></em>' operation.
8013
     * <!-- begin-user-doc -->
8014
     * <!-- end-user-doc -->
8015
     * @generated
8016
     */
8017
    EOperation EMODEL_ELEMENT___GET_EANNOTATION__STRING = eINSTANCE.getEModelElement__GetEAnnotation_String();
8018
8019
    /**
4334
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.ENamedElementImpl <em>ENamed Element</em>}' class.
8020
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.ENamedElementImpl <em>ENamed Element</em>}' class.
4335
     * <!-- begin-user-doc -->
8021
     * <!-- begin-user-doc -->
4336
     * <!-- end-user-doc -->
8022
     * <!-- end-user-doc -->
Lines 4359-4364 Link Here
4359
    EClass EOBJECT = eINSTANCE.getEObject();
8045
    EClass EOBJECT = eINSTANCE.getEObject();
4360
8046
4361
    /**
8047
    /**
8048
     * The meta object literal for the '<em><b>EClass</b></em>' operation.
8049
     * <!-- begin-user-doc -->
8050
     * <!-- end-user-doc -->
8051
     * @generated
8052
     */
8053
    EOperation EOBJECT___ECLASS = eINSTANCE.getEObject__EClass();
8054
8055
    /**
8056
     * The meta object literal for the '<em><b>EIs Proxy</b></em>' operation.
8057
     * <!-- begin-user-doc -->
8058
     * <!-- end-user-doc -->
8059
     * @generated
8060
     */
8061
    EOperation EOBJECT___EIS_PROXY = eINSTANCE.getEObject__EIsProxy();
8062
8063
    /**
8064
     * The meta object literal for the '<em><b>EResource</b></em>' operation.
8065
     * <!-- begin-user-doc -->
8066
     * <!-- end-user-doc -->
8067
     * @generated
8068
     */
8069
    EOperation EOBJECT___ERESOURCE = eINSTANCE.getEObject__EResource();
8070
8071
    /**
8072
     * The meta object literal for the '<em><b>EContainer</b></em>' operation.
8073
     * <!-- begin-user-doc -->
8074
     * <!-- end-user-doc -->
8075
     * @generated
8076
     */
8077
    EOperation EOBJECT___ECONTAINER = eINSTANCE.getEObject__EContainer();
8078
8079
    /**
8080
     * The meta object literal for the '<em><b>EContaining Feature</b></em>' operation.
8081
     * <!-- begin-user-doc -->
8082
     * <!-- end-user-doc -->
8083
     * @generated
8084
     */
8085
    EOperation EOBJECT___ECONTAINING_FEATURE = eINSTANCE.getEObject__EContainingFeature();
8086
8087
    /**
8088
     * The meta object literal for the '<em><b>EContainment Feature</b></em>' operation.
8089
     * <!-- begin-user-doc -->
8090
     * <!-- end-user-doc -->
8091
     * @generated
8092
     */
8093
    EOperation EOBJECT___ECONTAINMENT_FEATURE = eINSTANCE.getEObject__EContainmentFeature();
8094
8095
    /**
8096
     * The meta object literal for the '<em><b>EContents</b></em>' operation.
8097
     * <!-- begin-user-doc -->
8098
     * <!-- end-user-doc -->
8099
     * @generated
8100
     */
8101
    EOperation EOBJECT___ECONTENTS = eINSTANCE.getEObject__EContents();
8102
8103
    /**
8104
     * The meta object literal for the '<em><b>EAll Contents</b></em>' operation.
8105
     * <!-- begin-user-doc -->
8106
     * <!-- end-user-doc -->
8107
     * @generated
8108
     */
8109
    EOperation EOBJECT___EALL_CONTENTS = eINSTANCE.getEObject__EAllContents();
8110
8111
    /**
8112
     * The meta object literal for the '<em><b>ECross References</b></em>' operation.
8113
     * <!-- begin-user-doc -->
8114
     * <!-- end-user-doc -->
8115
     * @generated
8116
     */
8117
    EOperation EOBJECT___ECROSS_REFERENCES = eINSTANCE.getEObject__ECrossReferences();
8118
8119
    /**
8120
     * The meta object literal for the '<em><b>EGet</b></em>' operation.
8121
     * <!-- begin-user-doc -->
8122
     * <!-- end-user-doc -->
8123
     * @generated
8124
     */
8125
    EOperation EOBJECT___EGET__ESTRUCTURALFEATURE = eINSTANCE.getEObject__EGet_EStructuralFeature();
8126
8127
    /**
8128
     * The meta object literal for the '<em><b>EGet</b></em>' operation.
8129
     * <!-- begin-user-doc -->
8130
     * <!-- end-user-doc -->
8131
     * @generated
8132
     */
8133
    EOperation EOBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN = eINSTANCE.getEObject__EGet_EStructuralFeature_boolean();
8134
8135
    /**
8136
     * The meta object literal for the '<em><b>ESet</b></em>' operation.
8137
     * <!-- begin-user-doc -->
8138
     * <!-- end-user-doc -->
8139
     * @generated
8140
     */
8141
    EOperation EOBJECT___ESET__ESTRUCTURALFEATURE_OBJECT = eINSTANCE.getEObject__ESet_EStructuralFeature_Object();
8142
8143
    /**
8144
     * The meta object literal for the '<em><b>EIs Set</b></em>' operation.
8145
     * <!-- begin-user-doc -->
8146
     * <!-- end-user-doc -->
8147
     * @generated
8148
     */
8149
    EOperation EOBJECT___EIS_SET__ESTRUCTURALFEATURE = eINSTANCE.getEObject__EIsSet_EStructuralFeature();
8150
8151
    /**
8152
     * The meta object literal for the '<em><b>EUnset</b></em>' operation.
8153
     * <!-- begin-user-doc -->
8154
     * <!-- end-user-doc -->
8155
     * @generated
8156
     */
8157
    EOperation EOBJECT___EUNSET__ESTRUCTURALFEATURE = eINSTANCE.getEObject__EUnset_EStructuralFeature();
8158
8159
    /**
8160
     * The meta object literal for the '<em><b>EInvoke</b></em>' operation.
8161
     * <!-- begin-user-doc -->
8162
     * <!-- end-user-doc -->
8163
     * @generated
8164
     */
8165
    EOperation EOBJECT___EINVOKE__EOPERATION_ELIST = eINSTANCE.getEObject__EInvoke_EOperation_EList();
8166
8167
    /**
4362
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EOperationImpl <em>EOperation</em>}' class.
8168
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EOperationImpl <em>EOperation</em>}' class.
4363
     * <!-- begin-user-doc -->
8169
     * <!-- begin-user-doc -->
4364
     * <!-- end-user-doc -->
8170
     * <!-- end-user-doc -->
Lines 4401-4406 Link Here
4401
    EReference EOPERATION__EGENERIC_EXCEPTIONS = eINSTANCE.getEOperation_EGenericExceptions();
8207
    EReference EOPERATION__EGENERIC_EXCEPTIONS = eINSTANCE.getEOperation_EGenericExceptions();
4402
8208
4403
    /**
8209
    /**
8210
     * The meta object literal for the '<em><b>Get Operation ID</b></em>' operation.
8211
     * <!-- begin-user-doc -->
8212
     * <!-- end-user-doc -->
8213
     * @generated
8214
     */
8215
    EOperation EOPERATION___GET_OPERATION_ID = eINSTANCE.getEOperation__GetOperationID();
8216
8217
    /**
4404
     * The meta object literal for the '<em><b>EType Parameters</b></em>' containment reference list feature.
8218
     * The meta object literal for the '<em><b>EType Parameters</b></em>' containment reference list feature.
4405
     * <!-- begin-user-doc -->
8219
     * <!-- begin-user-doc -->
4406
     * <!-- end-user-doc -->
8220
     * <!-- end-user-doc -->
Lines 4467-4472 Link Here
4467
    EReference EPACKAGE__ESUPER_PACKAGE = eINSTANCE.getEPackage_ESuperPackage();
8281
    EReference EPACKAGE__ESUPER_PACKAGE = eINSTANCE.getEPackage_ESuperPackage();
4468
8282
4469
    /**
8283
    /**
8284
     * The meta object literal for the '<em><b>Get EClassifier</b></em>' operation.
8285
     * <!-- begin-user-doc -->
8286
     * <!-- end-user-doc -->
8287
     * @generated
8288
     */
8289
    EOperation EPACKAGE___GET_ECLASSIFIER__STRING = eINSTANCE.getEPackage__GetEClassifier_String();
8290
8291
    /**
4470
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EParameterImpl <em>EParameter</em>}' class.
8292
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.EParameterImpl <em>EParameter</em>}' class.
4471
     * <!-- begin-user-doc -->
8293
     * <!-- begin-user-doc -->
4472
     * <!-- end-user-doc -->
8294
     * <!-- end-user-doc -->
Lines 4617-4622 Link Here
4617
    EReference ESTRUCTURAL_FEATURE__ECONTAINING_CLASS = eINSTANCE.getEStructuralFeature_EContainingClass();
8439
    EReference ESTRUCTURAL_FEATURE__ECONTAINING_CLASS = eINSTANCE.getEStructuralFeature_EContainingClass();
4618
8440
4619
    /**
8441
    /**
8442
     * The meta object literal for the '<em><b>Get Feature ID</b></em>' operation.
8443
     * <!-- begin-user-doc -->
8444
     * <!-- end-user-doc -->
8445
     * @generated
8446
     */
8447
    EOperation ESTRUCTURAL_FEATURE___GET_FEATURE_ID = eINSTANCE.getEStructuralFeature__GetFeatureID();
8448
8449
    /**
8450
     * The meta object literal for the '<em><b>Get Container Class</b></em>' operation.
8451
     * <!-- begin-user-doc -->
8452
     * <!-- end-user-doc -->
8453
     * @generated
8454
     */
8455
    EOperation ESTRUCTURAL_FEATURE___GET_CONTAINER_CLASS = eINSTANCE.getEStructuralFeature__GetContainerClass();
8456
8457
    /**
4620
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.ETypedElementImpl <em>ETyped Element</em>}' class.
8458
     * The meta object literal for the '{@link org.eclipse.emf.ecore.impl.ETypedElementImpl <em>ETyped Element</em>}' class.
4621
     * <!-- begin-user-doc -->
8459
     * <!-- begin-user-doc -->
4622
     * <!-- end-user-doc -->
8460
     * <!-- end-user-doc -->
Lines 5103-5108 Link Here
5103
     */
8941
     */
5104
    EDataType ETREE_ITERATOR = eINSTANCE.getETreeIterator();
8942
    EDataType ETREE_ITERATOR = eINSTANCE.getETreeIterator();
5105
8943
8944
    /**
8945
     * The meta object literal for the '<em>EInvocation Target Exception</em>' data type.
8946
     * <!-- begin-user-doc -->
8947
     * <!-- end-user-doc -->
8948
     * @see java.lang.reflect.InvocationTargetException
8949
     * @see org.eclipse.emf.ecore.impl.EcorePackageImpl#getEInvocationTargetException()
8950
     * @generated
8951
     */
8952
    EDataType EINVOCATION_TARGET_EXCEPTION = eINSTANCE.getEInvocationTargetException();
8953
5106
  }
8954
  }
5107
8955
5108
  // Internal bootstrap uses Literals constants, so we must force initialization this inner interface first.
8956
  // Internal bootstrap uses Literals constants, so we must force initialization this inner interface first.
(-)src/org/eclipse/emf/ecore/EStructuralFeature.java (-1 / +63 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore;
17
package org.eclipse.emf.ecore;
18
18
19
19
20
import java.util.HashMap;
21
import java.util.Map;
22
20
import org.eclipse.emf.common.notify.NotificationChain;
23
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.ecore.util.FeatureMap;
24
import org.eclipse.emf.ecore.util.FeatureMap;
22
25
Lines 365-370 Link Here
365
    interface SettingDelegate
368
    interface SettingDelegate
366
    {
369
    {
367
      /**
370
      /**
371
       * A factory for creating setting delegates.
372
       * @since 2.5
373
       */
374
      interface Factory
375
      {
376
        /**
377
         * Creates a setting delegate for the given feature.
378
         * @param eStructuralFeature the feature for which a setting delegate is to be created.
379
         * @return a new a setting delegate for the given feature.
380
         */
381
        SettingDelegate createSettingDelegate(EStructuralFeature eStructuralFeature);
382
383
        /**
384
         * A <code>Factory</code> wrapper that is used by the {@link Factory.Registry}.
385
         */
386
        interface Descriptor
387
        {
388
          Factory getFactory();
389
        }
390
391
        /**
392
         * A registry of factories for creating setting delegates.
393
         */
394
        interface Registry extends Map<String, Object>
395
        {
396
          Registry INSTANCE = new Impl();
397
398
          Factory getFactory(String uri);
399
400
          class Impl extends HashMap<String, Object> implements Registry
401
          {
402
            private static final long serialVersionUID = 1L;
403
404
            @Override
405
            public Object get(Object key)
406
            {
407
              Object factory = super.get(key);
408
              if (factory instanceof Descriptor)
409
              {
410
                Descriptor factoryDescriptor = (Descriptor)factory;
411
                factory = factoryDescriptor.getFactory();
412
                put((String)key, factory);
413
                return factory;
414
              }
415
              else
416
              {
417
                return factory;
418
              }
419
            }
420
421
            public Factory getFactory(String uri)
422
            {
423
              return (Factory)get(uri);
424
            }
425
          }
426
        }
427
      }
428
429
      /**
368
       * Returns a setting that can be used to access the owner's feature.
430
       * Returns a setting that can be used to access the owner's feature.
369
       * @param owner the owner of the feature.
431
       * @param owner the owner of the feature.
370
       * @param settings the owner's array of cached values.
432
       * @param settings the owner's array of cached values.
(-)src/org/eclipse/emf/ecore/InternalEObject.java (-5 / +32 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore;
17
package org.eclipse.emf.ecore;
18
18
19
19
20
import java.lang.reflect.InvocationTargetException;
21
20
import org.eclipse.emf.common.notify.NotificationChain;
22
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.util.EList;
23
import org.eclipse.emf.common.util.EList;
22
import org.eclipse.emf.common.util.URI;
24
import org.eclipse.emf.common.util.URI;
Lines 114-119 Link Here
114
  int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass);
116
  int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass);
115
117
116
  /**
118
  /**
119
   * Returns the operation ID relative to the base class, given an operation ID relative to this derived object's actual class.
120
   * @param derivedOperationID the ID in the actual derived class
121
   * @param baseClass the base class for which a relative ID is desired.
122
   * @return the up-cast operation ID.
123
   * @since 2.6
124
   */
125
  int eBaseOperationID(int derivedOperationID, Class<?> baseClass);
126
127
  /**
128
   * Returns the operation ID relative to this derived object's actual class, given an operation ID relative to the given base class.
129
   * @param baseOperationID the ID relative to a base class.
130
   * @param baseClass the base class to which the ID is relative.
131
   * @return the down-cast operation ID.
132
   * @since 2.6
133
   */
134
  int eDerivedOperationID(int baseOperationID, Class<?> baseClass);
135
136
  /**
117
   * Sets this object to be directly contained by the resource 
137
   * Sets this object to be directly contained by the resource 
118
   * and returns accumulated notifications.
138
   * and returns accumulated notifications.
119
   * This is only done as the inverse of {@link Resource#getContents()}<code>.add(this)</code>.
139
   * This is only done as the inverse of {@link Resource#getContents()}<code>.add(this)</code>.
Lines 413-438 Link Here
413
  public Object eGet(EStructuralFeature eFeature, boolean resolve, boolean coreType);
433
  public Object eGet(EStructuralFeature eFeature, boolean resolve, boolean coreType);
414
434
415
  /**
435
  /**
416
   * Does the equivalent of <code>eObject.eGet(eObjecte.eClass().getEStructuralFeature(featureID), resolve, coreType)</code>.
436
   * Does the equivalent of <code>eObject.eGet(eObject.eClass().getEStructuralFeature(featureID), resolve, coreType)</code>.
417
   * @see #eGet(EStructuralFeature, boolean, boolean)
437
   * @see #eGet(EStructuralFeature, boolean, boolean)
418
   */
438
   */
419
  Object eGet(int featureID, boolean resolve, boolean coreType);
439
  Object eGet(int featureID, boolean resolve, boolean coreType);
420
440
421
  /**
441
  /**
422
   * Does the equivalent of <code>eObject.eSet(eObjecte.eClass().getEStructuralFeature(featureID), newValue)</code>.
442
   * Does the equivalent of <code>eObject.eSet(eObject.eClass().getEStructuralFeature(featureID), newValue)</code>.
423
   * @see #eSet(EStructuralFeature, Object)
443
   * @see #eSet(EStructuralFeature, Object)
424
   */
444
   */
425
  void eSet(int featureID, Object newValue);
445
  void eSet(int featureID, Object newValue);
426
446
427
  /**
447
  /**
428
   * Does the equivalent of <code>eObject.eUnset(eObjecte.eClass().getEStructuralFeature(featureID))</code>.
448
   * Does the equivalent of <code>eObject.eUnset(eObject.eClass().getEStructuralFeature(featureID))</code>.
429
   * @see #eUnset(EStructuralFeature)
449
   * @see #eUnset(EStructuralFeature)
430
   */
450
   */
431
  void eUnset(int featureID);
451
  void eUnset(int featureID);
432
452
433
  /**
453
  /**
434
   * Does the equivalent of <code>eObject.eIsSet(eObjecte.eClass().getEStructuralFeature(featureID))</code>.
454
   * Does the equivalent of <code>eObject.eIsSet(eObject.eClass().getEStructuralFeature(featureID))</code>.
435
   * @see #eIsSet(EStructuralFeature)
455
   * @see #eIsSet(EStructuralFeature)
436
   */
456
   */
437
  boolean eIsSet(int featureID);
457
  boolean eIsSet(int featureID);
458
459
  /**
460
   * Does the equivalent of <code>eObject.eInvoke(eObject.eClass().getEOperation(featureID), arguments)</code>.
461
   * @see #eInvoke(EOperation, EList<?>)
462
   * @since 2.6
463
   */
464
  Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException;
438
}
465
}
(-)model/Ecore.ecore (+17 lines)
Lines 42-47 Link Here
42
    <eOperations name="getEStructuralFeature" eType="#//EStructuralFeature">
42
    <eOperations name="getEStructuralFeature" eType="#//EStructuralFeature">
43
      <eParameters name="featureName" eType="#//EString"/>
43
      <eParameters name="featureName" eType="#//EString"/>
44
    </eOperations>
44
    </eOperations>
45
    <eOperations name="getOperationCount" eType="#//EInt"/>
46
    <eOperations name="getEOperation" eType="#//EOperation">
47
      <eParameters name="operationID" eType="#//EInt"/>
48
    </eOperations>
49
    <eOperations name="getOperationID" eType="#//EInt">
50
      <eParameters name="operation" eType="#//EOperation"/>
51
    </eOperations>
45
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="#//EBoolean"/>
52
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="#//EBoolean"/>
46
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="#//EBoolean"/>
53
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="#//EBoolean"/>
47
    <eStructuralFeatures xsi:type="ecore:EReference" name="eSuperTypes" upperBound="-1"
54
    <eStructuralFeatures xsi:type="ecore:EReference" name="eSuperTypes" upperBound="-1"
Lines 221-231 Link Here
221
    <eOperations name="eUnset">
228
    <eOperations name="eUnset">
222
      <eParameters name="feature" eType="#//EStructuralFeature"/>
229
      <eParameters name="feature" eType="#//EStructuralFeature"/>
223
    </eOperations>
230
    </eOperations>
231
    <eOperations name="eInvoke" eType="#//EJavaObject" eExceptions="#//EInvocationTargetException">
232
      <eParameters name="operation" eType="#//EOperation"/>
233
      <eParameters name="arguments">
234
        <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EEList">
235
          <eTypeArguments/>
236
        </eGenericType>
237
      </eParameters>
238
    </eOperations>
224
  </eClassifiers>
239
  </eClassifiers>
225
  <eClassifiers xsi:type="ecore:EClass" name="EOperation" eSuperTypes="#//ETypedElement">
240
  <eClassifiers xsi:type="ecore:EClass" name="EOperation" eSuperTypes="#//ETypedElement">
226
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
241
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
227
      <details key="constraints" value="UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"/>
242
      <details key="constraints" value="UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"/>
228
    </eAnnotations>
243
    </eAnnotations>
244
    <eOperations name="getOperationID" eType="#//EInt"/>
229
    <eStructuralFeatures xsi:type="ecore:EReference" name="eContainingClass" eType="#//EClass"
245
    <eStructuralFeatures xsi:type="ecore:EReference" name="eContainingClass" eType="#//EClass"
230
        changeable="false" transient="true" resolveProxies="false" eOpposite="#//EClass/eOperations"/>
246
        changeable="false" transient="true" resolveProxies="false" eOpposite="#//EClass/eOperations"/>
231
    <eStructuralFeatures xsi:type="ecore:EReference" name="eTypeParameters" upperBound="-1"
247
    <eStructuralFeatures xsi:type="ecore:EReference" name="eTypeParameters" upperBound="-1"
Lines 495-498 Link Here
495
    <eStructuralFeatures xsi:type="ecore:EReference" name="eBounds" upperBound="-1"
511
    <eStructuralFeatures xsi:type="ecore:EReference" name="eBounds" upperBound="-1"
496
        eType="#//EGenericType" containment="true" resolveProxies="false"/>
512
        eType="#//EGenericType" containment="true" resolveProxies="false"/>
497
  </eClassifiers>
513
  </eClassifiers>
514
  <eClassifiers xsi:type="ecore:EDataType" name="EInvocationTargetException" instanceClassName="java.lang.reflect.InvocationTargetException"/>
498
</ecore:EPackage>
515
</ecore:EPackage>
(-)model/Ecore.genmodel (-4 / +15 lines)
Lines 3-9 Link Here
3
    xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
3
    xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
4
    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.ecore/src"
4
    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.ecore/src"
5
    modelPluginID="org.eclipse.emf.ecore" runtimeJar="true" modelName="Ecore" updateClasspath="false"
5
    modelPluginID="org.eclipse.emf.ecore" runtimeJar="true" modelName="Ecore" updateClasspath="false"
6
    testsDirectory="" booleanFlagsField="eFlags" booleanFlagsReservedBits="8" importerID="org.eclipse.emf.importer.rose"
6
    testsDirectory="" booleanFlagsField="eFlags" booleanFlagsReservedBits="8" importerID="org.eclipse.emf.importer.ecore"
7
    containmentProxies="true" minimalReflectiveMethods="false" complianceLevel="5.0"
7
    containmentProxies="true" minimalReflectiveMethods="false" complianceLevel="5.0"
8
    language="en">
8
    language="en">
9
  <genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/exporter/org.eclipse.xsd.ecore.exporter">
9
  <genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/exporter/org.eclipse.xsd.ecore.exporter">
Lines 18-26 Link Here
18
    </genAnnotations>
18
    </genAnnotations>
19
    <details key="directoryURI" value="."/>
19
    <details key="directoryURI" value="."/>
20
  </genAnnotations>
20
  </genAnnotations>
21
  <foreignModel>Ecore.mdl</foreignModel>
21
  <foreignModel>Ecore.ecore</foreignModel>
22
  <foreignModel>VABASE_PLUGINS_PATH</foreignModel>
23
  <foreignModel>../..</foreignModel>
24
  <genPackages prefix="Ecore" basePackage="org.eclipse.emf" disposableProviderFactory="true"
22
  <genPackages prefix="Ecore" basePackage="org.eclipse.emf" disposableProviderFactory="true"
25
      multipleEditorPages="false" contentTypeIdentifier="org.eclipse.emf.ecore" ecorePackage="Ecore.ecore#/">
23
      multipleEditorPages="false" contentTypeIdentifier="org.eclipse.emf.ecore" ecorePackage="Ecore.ecore#/">
26
    <genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/exporter/org.eclipse.xsd.ecore.exporter">
24
    <genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/exporter/org.eclipse.xsd.ecore.exporter">
Lines 70-75 Link Here
70
    <genDataTypes ecoreDataType="Ecore.ecore#//ETreeIterator">
68
    <genDataTypes ecoreDataType="Ecore.ecore#//ETreeIterator">
71
      <genTypeParameters ecoreTypeParameter="Ecore.ecore#//ETreeIterator/E"/>
69
      <genTypeParameters ecoreTypeParameter="Ecore.ecore#//ETreeIterator/E"/>
72
    </genDataTypes>
70
    </genDataTypes>
71
    <genDataTypes ecoreDataType="Ecore.ecore#//EInvocationTargetException"/>
73
    <genClasses ecoreClass="Ecore.ecore#//EAttribute">
72
    <genClasses ecoreClass="Ecore.ecore#//EAttribute">
74
      <genFeatures createChild="false" propertyDescription="Whether the value of this attribute uniquely identifies an object within its containing resource"
73
      <genFeatures createChild="false" propertyDescription="Whether the value of this attribute uniquely identifies an object within its containing resource"
75
          ecoreFeature="ecore:EAttribute Ecore.ecore#//EAttribute/iD"/>
74
          ecoreFeature="ecore:EAttribute Ecore.ecore#//EAttribute/iD"/>
Lines 120-125 Link Here
120
      <genOperations ecoreOperation="Ecore.ecore#//EClass/getEStructuralFeature.1">
119
      <genOperations ecoreOperation="Ecore.ecore#//EClass/getEStructuralFeature.1">
121
        <genParameters ecoreParameter="Ecore.ecore#//EClass/getEStructuralFeature.1/featureName"/>
120
        <genParameters ecoreParameter="Ecore.ecore#//EClass/getEStructuralFeature.1/featureName"/>
122
      </genOperations>
121
      </genOperations>
122
      <genOperations ecoreOperation="Ecore.ecore#//EClass/getOperationCount"/>
123
      <genOperations ecoreOperation="Ecore.ecore#//EClass/getEOperation">
124
        <genParameters ecoreParameter="Ecore.ecore#//EClass/getEOperation/operationID"/>
125
      </genOperations>
126
      <genOperations ecoreOperation="Ecore.ecore#//EClass/getOperationID">
127
        <genParameters ecoreParameter="Ecore.ecore#//EClass/getOperationID/operation"/>
128
      </genOperations>
123
    </genClasses>
129
    </genClasses>
124
    <genClasses image="false" ecoreClass="Ecore.ecore#//EClassifier">
130
    <genClasses image="false" ecoreClass="Ecore.ecore#//EClassifier">
125
      <genFeatures createChild="false" propertyDescription="The erased instance class name denoted by this classifier"
131
      <genFeatures createChild="false" propertyDescription="The erased instance class name denoted by this classifier"
Lines 214-219 Link Here
214
      <genOperations ecoreOperation="Ecore.ecore#//EObject/eUnset">
220
      <genOperations ecoreOperation="Ecore.ecore#//EObject/eUnset">
215
        <genParameters ecoreParameter="Ecore.ecore#//EObject/eUnset/feature"/>
221
        <genParameters ecoreParameter="Ecore.ecore#//EObject/eUnset/feature"/>
216
      </genOperations>
222
      </genOperations>
223
      <genOperations ecoreOperation="Ecore.ecore#//EObject/eInvoke">
224
        <genParameters ecoreParameter="Ecore.ecore#//EObject/eInvoke/operation"/>
225
        <genParameters ecoreParameter="Ecore.ecore#//EObject/eInvoke/arguments"/>
226
      </genOperations>
217
    </genClasses>
227
    </genClasses>
218
    <genClasses ecoreClass="Ecore.ecore#//EOperation">
228
    <genClasses ecoreClass="Ecore.ecore#//EOperation">
219
      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference Ecore.ecore#//EOperation/eContainingClass"/>
229
      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference Ecore.ecore#//EOperation/eContainingClass"/>
Lines 222-227 Link Here
222
      <genFeatures notify="false" createChild="false" propertyDescription="The exceptions thrown by this operation"
232
      <genFeatures notify="false" createChild="false" propertyDescription="The exceptions thrown by this operation"
223
          propertySortChoices="true" ecoreFeature="ecore:EReference Ecore.ecore#//EOperation/eExceptions"/>
233
          propertySortChoices="true" ecoreFeature="ecore:EReference Ecore.ecore#//EOperation/eExceptions"/>
224
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Ecore.ecore#//EOperation/eGenericExceptions"/>
234
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Ecore.ecore#//EOperation/eGenericExceptions"/>
235
      <genOperations ecoreOperation="Ecore.ecore#//EOperation/getOperationID"/>
225
    </genClasses>
236
    </genClasses>
226
    <genClasses ecoreClass="Ecore.ecore#//EPackage">
237
    <genClasses ecoreClass="Ecore.ecore#//EPackage">
227
      <genFeatures createChild="false" propertyCategory="" propertyDescription="The universally unique namespace identifier, typically an absolute URI, for this package"
238
      <genFeatures createChild="false" propertyCategory="" propertyDescription="The universally unique namespace identifier, typically an absolute URI, for this package"
(-)model/EcoreDataTypes.ecorediag (+7 lines)
Lines 224-229 Link Here
224
    <element xmi:type="ecore:EDataType" href="Ecore.ecore#//ETreeIterator"/>
224
    <element xmi:type="ecore:EDataType" href="Ecore.ecore#//ETreeIterator"/>
225
    <layoutConstraint xmi:type="notation:Bounds" xmi:id="_n9W90D-IEd2DT6rVsxRmdQ" x="408" y="228"/>
225
    <layoutConstraint xmi:type="notation:Bounds" xmi:id="_n9W90D-IEd2DT6rVsxRmdQ" x="408" y="228"/>
226
  </children>
226
  </children>
227
  <children xmi:type="notation:Node" xmi:id="_z-RYILP5Ed2JrdFLh2Y_ww" type="1004">
228
    <children xmi:type="notation:Node" xmi:id="_z-VpkLP5Ed2JrdFLh2Y_ww" type="4008"/>
229
    <children xmi:type="notation:Node" xmi:id="_z-VpkbP5Ed2JrdFLh2Y_ww" type="4009"/>
230
    <styles xmi:type="notation:ShapeStyle" xmi:id="_z-RYIbP5Ed2JrdFLh2Y_ww" fontName="Lucida Grande" fontHeight="10" fillColor="13420443" lineColor="8421504"/>
231
    <element xmi:type="ecore:EDataType" href="Ecore.ecore#//EInvocationTargetException"/>
232
    <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z-RYIrP5Ed2JrdFLh2Y_ww" x="-216" y="585"/>
233
  </children>
227
  <styles xmi:type="notation:DiagramStyle" xmi:id="_n9W90T-IEd2DT6rVsxRmdQ"/>
234
  <styles xmi:type="notation:DiagramStyle" xmi:id="_n9W90T-IEd2DT6rVsxRmdQ"/>
228
  <element xmi:type="ecore:EPackage" href="Ecore.ecore#/"/>
235
  <element xmi:type="ecore:EPackage" href="Ecore.ecore#/"/>
229
</notation:Diagram>
236
</notation:Diagram>
(-)model/EcoreAnnotations.ecorediag (-8 / +68 lines)
Lines 1-5 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation" xmi:id="_sFlvID-OEd2DT6rVsxRmdQ" type="EcoreTools" measurementUnit="Pixel">
2
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_sFlvID-OEd2DT6rVsxRmdQ" type="EcoreTools" measurementUnit="Pixel">
3
  <children xmi:type="notation:Node" xmi:id="_sFlvIT-OEd2DT6rVsxRmdQ" type="1001">
3
  <children xmi:type="notation:Node" xmi:id="_sFlvIT-OEd2DT6rVsxRmdQ" type="1001">
4
    <children xmi:type="notation:Node" xmi:id="_sFlvIj-OEd2DT6rVsxRmdQ" type="4001"/>
4
    <children xmi:type="notation:Node" xmi:id="_sFlvIj-OEd2DT6rVsxRmdQ" type="4001"/>
5
    <children xmi:type="notation:Node" xmi:id="_sFlvIz-OEd2DT6rVsxRmdQ" type="5001">
5
    <children xmi:type="notation:Node" xmi:id="_sFlvIz-OEd2DT6rVsxRmdQ" type="5001">
Lines 14-20 Link Here
14
    </children>
14
    </children>
15
    <styles xmi:type="notation:ShapeStyle" xmi:id="_sFlvLT-OEd2DT6rVsxRmdQ" fontName="Microsoft Sans Serif" fontHeight="10" fillColor="13761016" lineColor="0"/>
15
    <styles xmi:type="notation:ShapeStyle" xmi:id="_sFlvLT-OEd2DT6rVsxRmdQ" fontName="Microsoft Sans Serif" fontHeight="10" fillColor="13761016" lineColor="0"/>
16
    <element xmi:type="ecore:EClass" href="Ecore.ecore#//EAnnotation"/>
16
    <element xmi:type="ecore:EClass" href="Ecore.ecore#//EAnnotation"/>
17
    <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sFlvLj-OEd2DT6rVsxRmdQ" x="114" y="312"/>
17
    <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sFlvLj-OEd2DT6rVsxRmdQ" x="108" y="333"/>
18
  </children>
18
  </children>
19
  <children xmi:type="notation:Node" xmi:id="_sFlvLz-OEd2DT6rVsxRmdQ" type="1001">
19
  <children xmi:type="notation:Node" xmi:id="_sFlvLz-OEd2DT6rVsxRmdQ" type="1001">
20
    <children xmi:type="notation:Node" xmi:id="_sFlvMD-OEd2DT6rVsxRmdQ" type="4001"/>
20
    <children xmi:type="notation:Node" xmi:id="_sFlvMD-OEd2DT6rVsxRmdQ" type="4001"/>
Lines 40-45 Link Here
40
      <styles xmi:type="notation:FilteringStyle" xmi:id="_sFlvRD-OEd2DT6rVsxRmdQ"/>
40
      <styles xmi:type="notation:FilteringStyle" xmi:id="_sFlvRD-OEd2DT6rVsxRmdQ"/>
41
    </children>
41
    </children>
42
    <children xmi:type="notation:Node" xmi:id="_sFlvRT-OEd2DT6rVsxRmdQ" type="5002">
42
    <children xmi:type="notation:Node" xmi:id="_sFlvRT-OEd2DT6rVsxRmdQ" type="5002">
43
      <children xmi:type="notation:Node" xmi:id="_qywyMLP2Ed2JrdFLh2Y_ww" type="2002">
44
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eClass"/>
45
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qywyMbP2Ed2JrdFLh2Y_ww"/>
46
      </children>
47
      <children xmi:type="notation:Node" xmi:id="_qyxZQLP2Ed2JrdFLh2Y_ww" type="2002">
48
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eIsProxy"/>
49
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyxZQbP2Ed2JrdFLh2Y_ww"/>
50
      </children>
51
      <children xmi:type="notation:Node" xmi:id="_qyxZQrP2Ed2JrdFLh2Y_ww" type="2002">
52
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eResource"/>
53
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyxZQ7P2Ed2JrdFLh2Y_ww"/>
54
      </children>
55
      <children xmi:type="notation:Node" xmi:id="_qyxZRLP2Ed2JrdFLh2Y_ww" type="2002">
56
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eContainer"/>
57
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyxZRbP2Ed2JrdFLh2Y_ww"/>
58
      </children>
59
      <children xmi:type="notation:Node" xmi:id="_qyxZRrP2Ed2JrdFLh2Y_ww" type="2002">
60
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eContainingFeature"/>
61
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyxZR7P2Ed2JrdFLh2Y_ww"/>
62
      </children>
63
      <children xmi:type="notation:Node" xmi:id="_qyyAULP2Ed2JrdFLh2Y_ww" type="2002">
64
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eContainmentFeature"/>
65
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyyAUbP2Ed2JrdFLh2Y_ww"/>
66
      </children>
67
      <children xmi:type="notation:Node" xmi:id="_qyyAUrP2Ed2JrdFLh2Y_ww" type="2002">
68
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eContents"/>
69
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyyAU7P2Ed2JrdFLh2Y_ww"/>
70
      </children>
71
      <children xmi:type="notation:Node" xmi:id="_qyyAVLP2Ed2JrdFLh2Y_ww" type="2002">
72
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eAllContents"/>
73
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyyAVbP2Ed2JrdFLh2Y_ww"/>
74
      </children>
75
      <children xmi:type="notation:Node" xmi:id="_qyyAVrP2Ed2JrdFLh2Y_ww" type="2002">
76
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eCrossReferences"/>
77
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyyAV7P2Ed2JrdFLh2Y_ww"/>
78
      </children>
79
      <children xmi:type="notation:Node" xmi:id="_qyynYLP2Ed2JrdFLh2Y_ww" type="2002">
80
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eGet"/>
81
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyynYbP2Ed2JrdFLh2Y_ww"/>
82
      </children>
83
      <children xmi:type="notation:Node" xmi:id="_qyynYrP2Ed2JrdFLh2Y_ww" type="2002">
84
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eGet.1"/>
85
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyynY7P2Ed2JrdFLh2Y_ww"/>
86
      </children>
87
      <children xmi:type="notation:Node" xmi:id="_qyzOcLP2Ed2JrdFLh2Y_ww" type="2002">
88
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eSet"/>
89
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyzOcbP2Ed2JrdFLh2Y_ww"/>
90
      </children>
91
      <children xmi:type="notation:Node" xmi:id="_qyzOcrP2Ed2JrdFLh2Y_ww" type="2002">
92
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eIsSet"/>
93
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyzOc7P2Ed2JrdFLh2Y_ww"/>
94
      </children>
95
      <children xmi:type="notation:Node" xmi:id="_qyzOdLP2Ed2JrdFLh2Y_ww" type="2002">
96
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eUnset"/>
97
        <layoutConstraint xmi:type="notation:Location" xmi:id="_qyzOdbP2Ed2JrdFLh2Y_ww"/>
98
      </children>
99
      <children xmi:type="notation:Node" xmi:id="_xxmzoLP2Ed2JrdFLh2Y_ww" type="2002">
100
        <element xmi:type="ecore:EOperation" href="Ecore.ecore#//EObject/eInvoke"/>
101
        <layoutConstraint xmi:type="notation:Location" xmi:id="_xxmzobP2Ed2JrdFLh2Y_ww"/>
102
      </children>
43
      <styles xmi:type="notation:DrawerStyle" xmi:id="_sFlvRj-OEd2DT6rVsxRmdQ"/>
103
      <styles xmi:type="notation:DrawerStyle" xmi:id="_sFlvRj-OEd2DT6rVsxRmdQ"/>
44
      <styles xmi:type="notation:SortingStyle" xmi:id="_sFlvRz-OEd2DT6rVsxRmdQ"/>
104
      <styles xmi:type="notation:SortingStyle" xmi:id="_sFlvRz-OEd2DT6rVsxRmdQ"/>
45
      <styles xmi:type="notation:FilteringStyle" xmi:id="_sFlvSD-OEd2DT6rVsxRmdQ"/>
105
      <styles xmi:type="notation:FilteringStyle" xmi:id="_sFlvSD-OEd2DT6rVsxRmdQ"/>
Lines 64-89 Link Here
64
  </edges>
124
  </edges>
65
  <edges xmi:type="notation:Edge" xmi:id="_sFlvcD-OEd2DT6rVsxRmdQ" type="3002" source="_sFlvIT-OEd2DT6rVsxRmdQ" target="_sFlvPz-OEd2DT6rVsxRmdQ">
125
  <edges xmi:type="notation:Edge" xmi:id="_sFlvcD-OEd2DT6rVsxRmdQ" type="3002" source="_sFlvIT-OEd2DT6rVsxRmdQ" target="_sFlvPz-OEd2DT6rVsxRmdQ">
66
    <children xmi:type="notation:Node" xmi:id="_sFlvcT-OEd2DT6rVsxRmdQ" type="4011">
126
    <children xmi:type="notation:Node" xmi:id="_sFlvcT-OEd2DT6rVsxRmdQ" type="4011">
67
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvcj-OEd2DT6rVsxRmdQ" x="-10" y="-35"/>
127
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvcj-OEd2DT6rVsxRmdQ" x="-12" y="-25"/>
68
    </children>
128
    </children>
69
    <children xmi:type="notation:Node" xmi:id="_sFlvcz-OEd2DT6rVsxRmdQ" type="4012">
129
    <children xmi:type="notation:Node" xmi:id="_sFlvcz-OEd2DT6rVsxRmdQ" type="4012">
70
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvdD-OEd2DT6rVsxRmdQ" x="-10" y="21"/>
130
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvdD-OEd2DT6rVsxRmdQ" x="-3" y="17"/>
71
    </children>
131
    </children>
72
    <styles xmi:type="notation:ConnectorStyle" xmi:id="_sFlvdT-OEd2DT6rVsxRmdQ" routing="Rectilinear" lineColor="0"/>
132
    <styles xmi:type="notation:ConnectorStyle" xmi:id="_sFlvdT-OEd2DT6rVsxRmdQ" routing="Rectilinear" lineColor="0"/>
73
    <styles xmi:type="notation:FontStyle" xmi:id="_sFlvdj-OEd2DT6rVsxRmdQ" fontName="Microsoft Sans Serif" fontHeight="10"/>
133
    <styles xmi:type="notation:FontStyle" xmi:id="_sFlvdj-OEd2DT6rVsxRmdQ" fontName="Microsoft Sans Serif" fontHeight="10"/>
74
    <element xmi:type="ecore:EReference" href="Ecore.ecore#//EAnnotation/contents"/>
134
    <element xmi:type="ecore:EReference" href="Ecore.ecore#//EAnnotation/contents"/>
75
    <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_sFlvdz-OEd2DT6rVsxRmdQ" points="[-42, -23, -43, 173]$[-42, -68, -43, 128]"/>
135
    <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_sFlvdz-OEd2DT6rVsxRmdQ" points="[-32, -20, -82, 186]$[-32, -70, -82, 136]"/>
76
  </edges>
136
  </edges>
77
  <edges xmi:type="notation:Edge" xmi:id="_sFlveD-OEd2DT6rVsxRmdQ" type="3002" source="_sFlvIT-OEd2DT6rVsxRmdQ" target="_sFlvPz-OEd2DT6rVsxRmdQ">
137
  <edges xmi:type="notation:Edge" xmi:id="_sFlveD-OEd2DT6rVsxRmdQ" type="3002" source="_sFlvIT-OEd2DT6rVsxRmdQ" target="_sFlvPz-OEd2DT6rVsxRmdQ">
78
    <children xmi:type="notation:Node" xmi:id="_sFlveT-OEd2DT6rVsxRmdQ" type="4011">
138
    <children xmi:type="notation:Node" xmi:id="_sFlveT-OEd2DT6rVsxRmdQ" type="4011">
79
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvej-OEd2DT6rVsxRmdQ" x="-10" y="44"/>
139
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvej-OEd2DT6rVsxRmdQ" x="-12" y="33"/>
80
    </children>
140
    </children>
81
    <children xmi:type="notation:Node" xmi:id="_sFlvez-OEd2DT6rVsxRmdQ" type="4012">
141
    <children xmi:type="notation:Node" xmi:id="_sFlvez-OEd2DT6rVsxRmdQ" type="4012">
82
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvfD-OEd2DT6rVsxRmdQ" x="-10" y="-15"/>
142
      <layoutConstraint xmi:type="notation:Location" xmi:id="_sFlvfD-OEd2DT6rVsxRmdQ" x="-3" y="-10"/>
83
    </children>
143
    </children>
84
    <styles xmi:type="notation:ConnectorStyle" xmi:id="_sFlvfT-OEd2DT6rVsxRmdQ" routing="Rectilinear" lineColor="0"/>
144
    <styles xmi:type="notation:ConnectorStyle" xmi:id="_sFlvfT-OEd2DT6rVsxRmdQ" routing="Rectilinear" lineColor="0"/>
85
    <styles xmi:type="notation:FontStyle" xmi:id="_sFlvfj-OEd2DT6rVsxRmdQ" fontName="Microsoft Sans Serif" fontHeight="10"/>
145
    <styles xmi:type="notation:FontStyle" xmi:id="_sFlvfj-OEd2DT6rVsxRmdQ" fontName="Microsoft Sans Serif" fontHeight="10"/>
86
    <element xmi:type="ecore:EReference" href="Ecore.ecore#//EAnnotation/references"/>
146
    <element xmi:type="ecore:EReference" href="Ecore.ecore#//EAnnotation/references"/>
87
    <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_sFlvfz-OEd2DT6rVsxRmdQ" points="[42, -23, 41, 173]$[42, -68, 41, 128]"/>
147
    <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_sFlvfz-OEd2DT6rVsxRmdQ" points="[31, -20, -19, 186]$[31, -70, -19, 136]"/>
88
  </edges>
148
  </edges>
89
</notation:Diagram>
149
</notation:Diagram>
(-)src/org/eclipse/emf/ecore/impl/EFactoryImpl.java (-1 / +22 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 38-43 Link Here
38
38
39
import org.eclipse.emf.common.notify.Notification;
39
import org.eclipse.emf.common.notify.Notification;
40
import org.eclipse.emf.common.notify.NotificationChain;
40
import org.eclipse.emf.common.notify.NotificationChain;
41
import org.eclipse.emf.common.util.EList;
41
import org.eclipse.emf.ecore.EAnnotation;
42
import org.eclipse.emf.ecore.EAnnotation;
42
import org.eclipse.emf.ecore.EClass;
43
import org.eclipse.emf.ecore.EClass;
43
import org.eclipse.emf.ecore.EDataType;
44
import org.eclipse.emf.ecore.EDataType;
Lines 226-231 Link Here
226
  }
227
  }
227
228
228
  /**
229
  /**
230
   * <!-- begin-user-doc -->
231
   * <!-- end-user-doc -->
232
   * @generated
233
   */
234
  @Override
235
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
236
  {
237
    switch (operationID)
238
    {
239
      case EcorePackage.EFACTORY___CREATE__ECLASS:
240
        return create((EClass)arguments.get(0));
241
      case EcorePackage.EFACTORY___CREATE_FROM_STRING__EDATATYPE_STRING:
242
        return createFromString((EDataType)arguments.get(0), (String)arguments.get(1));
243
      case EcorePackage.EFACTORY___CONVERT_TO_STRING__EDATATYPE_OBJECT:
244
        return convertToString((EDataType)arguments.get(0), (Object)arguments.get(1));
245
    }
246
    return eDynamicInvoke(operationID, arguments);
247
  }
248
249
  /**
229
   * @generated modifiable
250
   * @generated modifiable
230
   */
251
   */
231
  public EObject create(EClass eClass) 
252
  public EObject create(EClass eClass) 
(-)src/org/eclipse/emf/ecore/impl/EcorePackageImpl.java (-33 / +468 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 * 
9
 * 
10
 * Contributors: 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
18
package org.eclipse.emf.ecore.impl;
18
19
19
20
21
import java.lang.reflect.InvocationTargetException;
20
import java.math.BigDecimal;
22
import java.math.BigDecimal;
21
import java.math.BigInteger;
23
import java.math.BigInteger;
22
import java.util.ArrayList;
24
import java.util.ArrayList;
Lines 410-415 Link Here
410
   * <!-- end-user-doc -->
412
   * <!-- end-user-doc -->
411
   * @generated
413
   * @generated
412
   */
414
   */
415
  private EDataType eInvocationTargetExceptionEDataType = null;
416
417
  /**
418
   * <!-- begin-user-doc -->
419
   * <!-- end-user-doc -->
420
   * @generated
421
   */
413
  private EDataType eFeatureMapEntryEDataType = null;
422
  private EDataType eFeatureMapEntryEDataType = null;
414
423
415
  /**
424
  /**
Lines 703-708 Link Here
703
   * <!-- end-user-doc -->
712
   * <!-- end-user-doc -->
704
   * @generated
713
   * @generated
705
   */
714
   */
715
  public EOperation getEClass__IsSuperTypeOf_EClass()
716
  {
717
    return (EOperation)eClassEClass.getEOperations().get(0);
718
  }
719
720
  /**
721
   * <!-- begin-user-doc -->
722
   * <!-- end-user-doc -->
723
   * @generated
724
   */
725
  public EOperation getEClass__GetFeatureCount()
726
  {
727
    return (EOperation)eClassEClass.getEOperations().get(1);
728
  }
729
730
  /**
731
   * <!-- begin-user-doc -->
732
   * <!-- end-user-doc -->
733
   * @generated
734
   */
735
  public EOperation getEClass__GetEStructuralFeature_int()
736
  {
737
    return (EOperation)eClassEClass.getEOperations().get(2);
738
  }
739
740
  /**
741
   * <!-- begin-user-doc -->
742
   * <!-- end-user-doc -->
743
   * @generated
744
   */
745
  public EOperation getEClass__GetFeatureID_EStructuralFeature()
746
  {
747
    return (EOperation)eClassEClass.getEOperations().get(3);
748
  }
749
750
  /**
751
   * <!-- begin-user-doc -->
752
   * <!-- end-user-doc -->
753
   * @generated
754
   */
755
  public EOperation getEClass__GetEStructuralFeature_String()
756
  {
757
    return (EOperation)eClassEClass.getEOperations().get(4);
758
  }
759
760
  /**
761
   * <!-- begin-user-doc -->
762
   * <!-- end-user-doc -->
763
   * @generated
764
   */
765
  public EOperation getEClass__GetOperationCount()
766
  {
767
    return (EOperation)eClassEClass.getEOperations().get(5);
768
  }
769
770
  /**
771
   * <!-- begin-user-doc -->
772
   * <!-- end-user-doc -->
773
   * @generated
774
   */
775
  public EOperation getEClass__GetEOperation_int()
776
  {
777
    return (EOperation)eClassEClass.getEOperations().get(6);
778
  }
779
780
  /**
781
   * <!-- begin-user-doc -->
782
   * <!-- end-user-doc -->
783
   * @generated
784
   */
785
  public EOperation getEClass__GetOperationID_EOperation()
786
  {
787
    return (EOperation)eClassEClass.getEOperations().get(7);
788
  }
789
790
  /**
791
   * <!-- begin-user-doc -->
792
   * <!-- end-user-doc -->
793
   * @generated
794
   */
706
  public EClass getEDataType()
795
  public EClass getEDataType()
707
  {
796
  {
708
    return eDataTypeEClass;
797
    return eDataTypeEClass;
Lines 793-798 Link Here
793
   * <!-- end-user-doc -->
882
   * <!-- end-user-doc -->
794
   * @generated
883
   * @generated
795
   */
884
   */
885
  public EOperation getEClassifier__IsInstance_Object()
886
  {
887
    return (EOperation)eClassifierEClass.getEOperations().get(0);
888
  }
889
890
  /**
891
   * <!-- begin-user-doc -->
892
   * <!-- end-user-doc -->
893
   * @generated
894
   */
895
  public EOperation getEClassifier__GetClassifierID()
896
  {
897
    return (EOperation)eClassifierEClass.getEOperations().get(1);
898
  }
899
900
  /**
901
   * <!-- begin-user-doc -->
902
   * <!-- end-user-doc -->
903
   * @generated
904
   */
796
  public EClass getENamedElement()
905
  public EClass getENamedElement()
797
  {
906
  {
798
    return eNamedElementEClass;
907
    return eNamedElementEClass;
Lines 863-868 Link Here
863
   * <!-- end-user-doc -->
972
   * <!-- end-user-doc -->
864
   * @generated
973
   * @generated
865
   */
974
   */
975
  public EOperation getEOperation__GetOperationID()
976
  {
977
    return (EOperation)eOperationEClass.getEOperations().get(0);
978
  }
979
980
  /**
981
   * <!-- begin-user-doc -->
982
   * <!-- end-user-doc -->
983
   * @generated
984
   */
866
  public EReference getEOperation_ETypeParameters()
985
  public EReference getEOperation_ETypeParameters()
867
  {
986
  {
868
    return (EReference)eOperationEClass.getEStructuralFeatures().get(1);
987
    return (EReference)eOperationEClass.getEStructuralFeatures().get(1);
Lines 893-898 Link Here
893
   * <!-- end-user-doc -->
1012
   * <!-- end-user-doc -->
894
   * @generated
1013
   * @generated
895
   */
1014
   */
1015
  public EOperation getEModelElement__GetEAnnotation_String()
1016
  {
1017
    return (EOperation)eModelElementEClass.getEOperations().get(0);
1018
  }
1019
1020
  /**
1021
   * <!-- begin-user-doc -->
1022
   * <!-- end-user-doc -->
1023
   * @generated
1024
   */
896
  public EClass getEStructuralFeature()
1025
  public EClass getEStructuralFeature()
897
  {
1026
  {
898
    return eStructuralFeatureEClass;
1027
    return eStructuralFeatureEClass;
Lines 979-984 Link Here
979
  }
1108
  }
980
1109
981
  /**
1110
  /**
1111
   * <!-- begin-user-doc -->
1112
   * <!-- end-user-doc -->
1113
   * @generated
1114
   */
1115
  public EOperation getEStructuralFeature__GetFeatureID()
1116
  {
1117
    return (EOperation)eStructuralFeatureEClass.getEOperations().get(0);
1118
  }
1119
1120
  /**
1121
   * <!-- begin-user-doc -->
1122
   * <!-- end-user-doc -->
1123
   * @generated
1124
   */
1125
  public EOperation getEStructuralFeature__GetContainerClass()
1126
  {
1127
    return (EOperation)eStructuralFeatureEClass.getEOperations().get(1);
1128
  }
1129
1130
  /**
982
   * @deprecated
1131
   * @deprecated
983
   */
1132
   */
984
  @Deprecated
1133
  @Deprecated
Lines 1548-1553 Link Here
1548
   * <!-- end-user-doc -->
1697
   * <!-- end-user-doc -->
1549
   * @generated
1698
   * @generated
1550
   */
1699
   */
1700
  public EOperation getEObject__EClass()
1701
  {
1702
    return (EOperation)eObjectEClass.getEOperations().get(0);
1703
  }
1704
1705
  /**
1706
   * <!-- begin-user-doc -->
1707
   * <!-- end-user-doc -->
1708
   * @generated
1709
   */
1710
  public EOperation getEObject__EIsProxy()
1711
  {
1712
    return (EOperation)eObjectEClass.getEOperations().get(1);
1713
  }
1714
1715
  /**
1716
   * <!-- begin-user-doc -->
1717
   * <!-- end-user-doc -->
1718
   * @generated
1719
   */
1720
  public EOperation getEObject__EResource()
1721
  {
1722
    return (EOperation)eObjectEClass.getEOperations().get(2);
1723
  }
1724
1725
  /**
1726
   * <!-- begin-user-doc -->
1727
   * <!-- end-user-doc -->
1728
   * @generated
1729
   */
1730
  public EOperation getEObject__EContainer()
1731
  {
1732
    return (EOperation)eObjectEClass.getEOperations().get(3);
1733
  }
1734
1735
  /**
1736
   * <!-- begin-user-doc -->
1737
   * <!-- end-user-doc -->
1738
   * @generated
1739
   */
1740
  public EOperation getEObject__EContainingFeature()
1741
  {
1742
    return (EOperation)eObjectEClass.getEOperations().get(4);
1743
  }
1744
1745
  /**
1746
   * <!-- begin-user-doc -->
1747
   * <!-- end-user-doc -->
1748
   * @generated
1749
   */
1750
  public EOperation getEObject__EContainmentFeature()
1751
  {
1752
    return (EOperation)eObjectEClass.getEOperations().get(5);
1753
  }
1754
1755
  /**
1756
   * <!-- begin-user-doc -->
1757
   * <!-- end-user-doc -->
1758
   * @generated
1759
   */
1760
  public EOperation getEObject__EContents()
1761
  {
1762
    return (EOperation)eObjectEClass.getEOperations().get(6);
1763
  }
1764
1765
  /**
1766
   * <!-- begin-user-doc -->
1767
   * <!-- end-user-doc -->
1768
   * @generated
1769
   */
1770
  public EOperation getEObject__EAllContents()
1771
  {
1772
    return (EOperation)eObjectEClass.getEOperations().get(7);
1773
  }
1774
1775
  /**
1776
   * <!-- begin-user-doc -->
1777
   * <!-- end-user-doc -->
1778
   * @generated
1779
   */
1780
  public EOperation getEObject__ECrossReferences()
1781
  {
1782
    return (EOperation)eObjectEClass.getEOperations().get(8);
1783
  }
1784
1785
  /**
1786
   * <!-- begin-user-doc -->
1787
   * <!-- end-user-doc -->
1788
   * @generated
1789
   */
1790
  public EOperation getEObject__EGet_EStructuralFeature()
1791
  {
1792
    return (EOperation)eObjectEClass.getEOperations().get(9);
1793
  }
1794
1795
  /**
1796
   * <!-- begin-user-doc -->
1797
   * <!-- end-user-doc -->
1798
   * @generated
1799
   */
1800
  public EOperation getEObject__EGet_EStructuralFeature_boolean()
1801
  {
1802
    return (EOperation)eObjectEClass.getEOperations().get(10);
1803
  }
1804
1805
  /**
1806
   * <!-- begin-user-doc -->
1807
   * <!-- end-user-doc -->
1808
   * @generated
1809
   */
1810
  public EOperation getEObject__ESet_EStructuralFeature_Object()
1811
  {
1812
    return (EOperation)eObjectEClass.getEOperations().get(11);
1813
  }
1814
1815
  /**
1816
   * <!-- begin-user-doc -->
1817
   * <!-- end-user-doc -->
1818
   * @generated
1819
   */
1820
  public EOperation getEObject__EIsSet_EStructuralFeature()
1821
  {
1822
    return (EOperation)eObjectEClass.getEOperations().get(12);
1823
  }
1824
1825
  /**
1826
   * <!-- begin-user-doc -->
1827
   * <!-- end-user-doc -->
1828
   * @generated
1829
   */
1830
  public EOperation getEObject__EUnset_EStructuralFeature()
1831
  {
1832
    return (EOperation)eObjectEClass.getEOperations().get(13);
1833
  }
1834
1835
  /**
1836
   * <!-- begin-user-doc -->
1837
   * <!-- end-user-doc -->
1838
   * @generated
1839
   */
1840
  public EOperation getEObject__EInvoke_EOperation_EList()
1841
  {
1842
    return (EOperation)eObjectEClass.getEOperations().get(14);
1843
  }
1844
1845
  /**
1846
   * <!-- begin-user-doc -->
1847
   * <!-- end-user-doc -->
1848
   * @generated
1849
   */
1551
  public EClass getEPackage()
1850
  public EClass getEPackage()
1552
  {
1851
  {
1553
    return ePackageEClass;
1852
    return ePackageEClass;
Lines 1618-1623 Link Here
1618
   * <!-- end-user-doc -->
1917
   * <!-- end-user-doc -->
1619
   * @generated
1918
   * @generated
1620
   */
1919
   */
1920
  public EOperation getEPackage__GetEClassifier_String()
1921
  {
1922
    return (EOperation)ePackageEClass.getEOperations().get(0);
1923
  }
1924
1925
  /**
1926
   * <!-- begin-user-doc -->
1927
   * <!-- end-user-doc -->
1928
   * @generated
1929
   */
1621
  public EClass getEEnum()
1930
  public EClass getEEnum()
1622
  {
1931
  {
1623
    return eEnumEClass;
1932
    return eEnumEClass;
Lines 1638-1643 Link Here
1638
   * <!-- end-user-doc -->
1947
   * <!-- end-user-doc -->
1639
   * @generated
1948
   * @generated
1640
   */
1949
   */
1950
  public EOperation getEEnum__GetEEnumLiteral_String()
1951
  {
1952
    return (EOperation)eEnumEClass.getEOperations().get(0);
1953
  }
1954
1955
  /**
1956
   * <!-- begin-user-doc -->
1957
   * <!-- end-user-doc -->
1958
   * @generated
1959
   */
1960
  public EOperation getEEnum__GetEEnumLiteral_int()
1961
  {
1962
    return (EOperation)eEnumEClass.getEOperations().get(1);
1963
  }
1964
1965
  /**
1966
   * <!-- begin-user-doc -->
1967
   * <!-- end-user-doc -->
1968
   * @generated
1969
   */
1970
  public EOperation getEEnum__GetEEnumLiteralByLiteral_String()
1971
  {
1972
    return (EOperation)eEnumEClass.getEOperations().get(2);
1973
  }
1974
1975
  /**
1976
   * <!-- begin-user-doc -->
1977
   * <!-- end-user-doc -->
1978
   * @generated
1979
   */
1641
  public EClass getEEnumLiteral()
1980
  public EClass getEEnumLiteral()
1642
  {
1981
  {
1643
    return eEnumLiteralEClass;
1982
    return eEnumLiteralEClass;
Lines 1828-1833 Link Here
1828
   * <!-- end-user-doc -->
2167
   * <!-- end-user-doc -->
1829
   * @generated
2168
   * @generated
1830
   */
2169
   */
2170
  public EDataType getEInvocationTargetException()
2171
  {
2172
    return eInvocationTargetExceptionEDataType;
2173
  }
2174
2175
  /**
2176
   * <!-- begin-user-doc -->
2177
   * <!-- end-user-doc -->
2178
   * @generated
2179
   */
1831
  public EDataType getEFeatureMapEntry()
2180
  public EDataType getEFeatureMapEntry()
1832
  {
2181
  {
1833
    return eFeatureMapEntryEDataType;
2182
    return eFeatureMapEntryEDataType;
Lines 1941-1946 Link Here
1941
    createEReference(eClassEClass, ECLASS__ESTRUCTURAL_FEATURES);
2290
    createEReference(eClassEClass, ECLASS__ESTRUCTURAL_FEATURES);
1942
    createEReference(eClassEClass, ECLASS__EGENERIC_SUPER_TYPES);
2291
    createEReference(eClassEClass, ECLASS__EGENERIC_SUPER_TYPES);
1943
    createEReference(eClassEClass, ECLASS__EALL_GENERIC_SUPER_TYPES);
2292
    createEReference(eClassEClass, ECLASS__EALL_GENERIC_SUPER_TYPES);
2293
    createEOperation(eClassEClass, ECLASS___IS_SUPER_TYPE_OF__ECLASS);
2294
    createEOperation(eClassEClass, ECLASS___GET_FEATURE_COUNT);
2295
    createEOperation(eClassEClass, ECLASS___GET_ESTRUCTURAL_FEATURE__INT);
2296
    createEOperation(eClassEClass, ECLASS___GET_FEATURE_ID__ESTRUCTURALFEATURE);
2297
    createEOperation(eClassEClass, ECLASS___GET_ESTRUCTURAL_FEATURE__STRING);
2298
    createEOperation(eClassEClass, ECLASS___GET_OPERATION_COUNT);
2299
    createEOperation(eClassEClass, ECLASS___GET_EOPERATION__INT);
2300
    createEOperation(eClassEClass, ECLASS___GET_OPERATION_ID__EOPERATION);
1944
2301
1945
    eClassifierEClass = createEClass(ECLASSIFIER);
2302
    eClassifierEClass = createEClass(ECLASSIFIER);
1946
    createEAttribute(eClassifierEClass, ECLASSIFIER__INSTANCE_CLASS_NAME);
2303
    createEAttribute(eClassifierEClass, ECLASSIFIER__INSTANCE_CLASS_NAME);
Lines 1949-1960 Link Here
1949
    createEAttribute(eClassifierEClass, ECLASSIFIER__INSTANCE_TYPE_NAME);
2306
    createEAttribute(eClassifierEClass, ECLASSIFIER__INSTANCE_TYPE_NAME);
1950
    createEReference(eClassifierEClass, ECLASSIFIER__EPACKAGE);
2307
    createEReference(eClassifierEClass, ECLASSIFIER__EPACKAGE);
1951
    createEReference(eClassifierEClass, ECLASSIFIER__ETYPE_PARAMETERS);
2308
    createEReference(eClassifierEClass, ECLASSIFIER__ETYPE_PARAMETERS);
2309
    createEOperation(eClassifierEClass, ECLASSIFIER___IS_INSTANCE__OBJECT);
2310
    createEOperation(eClassifierEClass, ECLASSIFIER___GET_CLASSIFIER_ID);
1952
2311
1953
    eDataTypeEClass = createEClass(EDATA_TYPE);
2312
    eDataTypeEClass = createEClass(EDATA_TYPE);
1954
    createEAttribute(eDataTypeEClass, EDATA_TYPE__SERIALIZABLE);
2313
    createEAttribute(eDataTypeEClass, EDATA_TYPE__SERIALIZABLE);
1955
2314
1956
    eEnumEClass = createEClass(EENUM);
2315
    eEnumEClass = createEClass(EENUM);
1957
    createEReference(eEnumEClass, EENUM__ELITERALS);
2316
    createEReference(eEnumEClass, EENUM__ELITERALS);
2317
    createEOperation(eEnumEClass, EENUM___GET_EENUM_LITERAL__STRING);
2318
    createEOperation(eEnumEClass, EENUM___GET_EENUM_LITERAL__INT);
2319
    createEOperation(eEnumEClass, EENUM___GET_EENUM_LITERAL_BY_LITERAL__STRING);
1958
2320
1959
    eEnumLiteralEClass = createEClass(EENUM_LITERAL);
2321
    eEnumLiteralEClass = createEClass(EENUM_LITERAL);
1960
    createEAttribute(eEnumLiteralEClass, EENUM_LITERAL__VALUE);
2322
    createEAttribute(eEnumLiteralEClass, EENUM_LITERAL__VALUE);
Lines 1964-1977 Link Here
1964
2326
1965
    eFactoryEClass = createEClass(EFACTORY);
2327
    eFactoryEClass = createEClass(EFACTORY);
1966
    createEReference(eFactoryEClass, EFACTORY__EPACKAGE);
2328
    createEReference(eFactoryEClass, EFACTORY__EPACKAGE);
2329
    createEOperation(eFactoryEClass, EFACTORY___CREATE__ECLASS);
2330
    createEOperation(eFactoryEClass, EFACTORY___CREATE_FROM_STRING__EDATATYPE_STRING);
2331
    createEOperation(eFactoryEClass, EFACTORY___CONVERT_TO_STRING__EDATATYPE_OBJECT);
1967
2332
1968
    eModelElementEClass = createEClass(EMODEL_ELEMENT);
2333
    eModelElementEClass = createEClass(EMODEL_ELEMENT);
1969
    createEReference(eModelElementEClass, EMODEL_ELEMENT__EANNOTATIONS);
2334
    createEReference(eModelElementEClass, EMODEL_ELEMENT__EANNOTATIONS);
2335
    createEOperation(eModelElementEClass, EMODEL_ELEMENT___GET_EANNOTATION__STRING);
1970
2336
1971
    eNamedElementEClass = createEClass(ENAMED_ELEMENT);
2337
    eNamedElementEClass = createEClass(ENAMED_ELEMENT);
1972
    createEAttribute(eNamedElementEClass, ENAMED_ELEMENT__NAME);
2338
    createEAttribute(eNamedElementEClass, ENAMED_ELEMENT__NAME);
1973
2339
1974
    eObjectEClass = createEClass(EOBJECT);
2340
    eObjectEClass = createEClass(EOBJECT);
2341
    createEOperation(eObjectEClass, EOBJECT___ECLASS);
2342
    createEOperation(eObjectEClass, EOBJECT___EIS_PROXY);
2343
    createEOperation(eObjectEClass, EOBJECT___ERESOURCE);
2344
    createEOperation(eObjectEClass, EOBJECT___ECONTAINER);
2345
    createEOperation(eObjectEClass, EOBJECT___ECONTAINING_FEATURE);
2346
    createEOperation(eObjectEClass, EOBJECT___ECONTAINMENT_FEATURE);
2347
    createEOperation(eObjectEClass, EOBJECT___ECONTENTS);
2348
    createEOperation(eObjectEClass, EOBJECT___EALL_CONTENTS);
2349
    createEOperation(eObjectEClass, EOBJECT___ECROSS_REFERENCES);
2350
    createEOperation(eObjectEClass, EOBJECT___EGET__ESTRUCTURALFEATURE);
2351
    createEOperation(eObjectEClass, EOBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN);
2352
    createEOperation(eObjectEClass, EOBJECT___ESET__ESTRUCTURALFEATURE_OBJECT);
2353
    createEOperation(eObjectEClass, EOBJECT___EIS_SET__ESTRUCTURALFEATURE);
2354
    createEOperation(eObjectEClass, EOBJECT___EUNSET__ESTRUCTURALFEATURE);
2355
    createEOperation(eObjectEClass, EOBJECT___EINVOKE__EOPERATION_ELIST);
1975
2356
1976
    eOperationEClass = createEClass(EOPERATION);
2357
    eOperationEClass = createEClass(EOPERATION);
1977
    createEReference(eOperationEClass, EOPERATION__ECONTAINING_CLASS);
2358
    createEReference(eOperationEClass, EOPERATION__ECONTAINING_CLASS);
Lines 1979-1984 Link Here
1979
    createEReference(eOperationEClass, EOPERATION__EPARAMETERS);
2360
    createEReference(eOperationEClass, EOPERATION__EPARAMETERS);
1980
    createEReference(eOperationEClass, EOPERATION__EEXCEPTIONS);
2361
    createEReference(eOperationEClass, EOPERATION__EEXCEPTIONS);
1981
    createEReference(eOperationEClass, EOPERATION__EGENERIC_EXCEPTIONS);
2362
    createEReference(eOperationEClass, EOPERATION__EGENERIC_EXCEPTIONS);
2363
    createEOperation(eOperationEClass, EOPERATION___GET_OPERATION_ID);
1982
2364
1983
    ePackageEClass = createEClass(EPACKAGE);
2365
    ePackageEClass = createEClass(EPACKAGE);
1984
    createEAttribute(ePackageEClass, EPACKAGE__NS_URI);
2366
    createEAttribute(ePackageEClass, EPACKAGE__NS_URI);
Lines 1987-1992 Link Here
1987
    createEReference(ePackageEClass, EPACKAGE__ECLASSIFIERS);
2369
    createEReference(ePackageEClass, EPACKAGE__ECLASSIFIERS);
1988
    createEReference(ePackageEClass, EPACKAGE__ESUBPACKAGES);
2370
    createEReference(ePackageEClass, EPACKAGE__ESUBPACKAGES);
1989
    createEReference(ePackageEClass, EPACKAGE__ESUPER_PACKAGE);
2371
    createEReference(ePackageEClass, EPACKAGE__ESUPER_PACKAGE);
2372
    createEOperation(ePackageEClass, EPACKAGE___GET_ECLASSIFIER__STRING);
1990
2373
1991
    eParameterEClass = createEClass(EPARAMETER);
2374
    eParameterEClass = createEClass(EPARAMETER);
1992
    createEReference(eParameterEClass, EPARAMETER__EOPERATION);
2375
    createEReference(eParameterEClass, EPARAMETER__EOPERATION);
Lines 2008-2013 Link Here
2008
    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__UNSETTABLE);
2391
    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__UNSETTABLE);
2009
    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__DERIVED);
2392
    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__DERIVED);
2010
    createEReference(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__ECONTAINING_CLASS);
2393
    createEReference(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__ECONTAINING_CLASS);
2394
    createEOperation(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE___GET_FEATURE_ID);
2395
    createEOperation(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE___GET_CONTAINER_CLASS);
2011
2396
2012
    eTypedElementEClass = createEClass(ETYPED_ELEMENT);
2397
    eTypedElementEClass = createEClass(ETYPED_ELEMENT);
2013
    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__ORDERED);
2398
    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__ORDERED);
Lines 2067-2072 Link Here
2067
    eShortObjectEDataType = createEDataType(ESHORT_OBJECT);
2452
    eShortObjectEDataType = createEDataType(ESHORT_OBJECT);
2068
    eStringEDataType = createEDataType(ESTRING);
2453
    eStringEDataType = createEDataType(ESTRING);
2069
    eTreeIteratorEDataType = createEDataType(ETREE_ITERATOR);
2454
    eTreeIteratorEDataType = createEDataType(ETREE_ITERATOR);
2455
    eInvocationTargetExceptionEDataType = createEDataType(EINVOCATION_TARGET_EXCEPTION);
2070
  }
2456
  }
2071
2457
2072
  /**
2458
  /**
Lines 2122-2128 Link Here
2122
    eGenericTypeEClass.getESuperTypes().add(this.getEObject());
2508
    eGenericTypeEClass.getESuperTypes().add(this.getEObject());
2123
    eTypeParameterEClass.getESuperTypes().add(this.getENamedElement());
2509
    eTypeParameterEClass.getESuperTypes().add(this.getENamedElement());
2124
2510
2125
    // Initialize classes and features; add operations and parameters
2511
    // Initialize classes, features, and operations; add parameters
2126
    initEClass(eAttributeEClass, EAttribute.class, "EAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2512
    initEClass(eAttributeEClass, EAttribute.class, "EAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2127
    initEAttribute(getEAttribute_ID(), this.getEBoolean(), "iD", null, 0, 1, EAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2513
    initEAttribute(getEAttribute_ID(), this.getEBoolean(), "iD", null, 0, 1, EAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2128
    initEReference(getEAttribute_EAttributeType(), this.getEDataType(), null, "eAttributeType", null, 1, 1, EAttribute.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
2514
    initEReference(getEAttribute_EAttributeType(), this.getEDataType(), null, "eAttributeType", null, 1, 1, EAttribute.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
Lines 2152-2171 Link Here
2152
    initEReference(getEClass_EGenericSuperTypes(), this.getEGenericType(), null, "eGenericSuperTypes", null, 0, -1, EClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2538
    initEReference(getEClass_EGenericSuperTypes(), this.getEGenericType(), null, "eGenericSuperTypes", null, 0, -1, EClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2153
    initEReference(getEClass_EAllGenericSuperTypes(), this.getEGenericType(), null, "eAllGenericSuperTypes", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
2539
    initEReference(getEClass_EAllGenericSuperTypes(), this.getEGenericType(), null, "eAllGenericSuperTypes", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
2154
2540
2155
    EOperation op = addEOperation(eClassEClass, this.getEBoolean(), "isSuperTypeOf", 0, 1, IS_UNIQUE, IS_ORDERED);
2541
    EOperation op = initEOperation(getEClass__IsSuperTypeOf_EClass(), this.getEBoolean(), "isSuperTypeOf", 0, 1, IS_UNIQUE, IS_ORDERED);
2156
    addEParameter(op, this.getEClass(), "someClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2542
    addEParameter(op, this.getEClass(), "someClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2157
2543
2158
    addEOperation(eClassEClass, this.getEInt(), "getFeatureCount", 0, 1, IS_UNIQUE, IS_ORDERED);
2544
    initEOperation(getEClass__GetFeatureCount(), this.getEInt(), "getFeatureCount", 0, 1, IS_UNIQUE, IS_ORDERED);
2159
2545
2160
    op = addEOperation(eClassEClass, this.getEStructuralFeature(), "getEStructuralFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2546
    op = initEOperation(getEClass__GetEStructuralFeature_int(), this.getEStructuralFeature(), "getEStructuralFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2161
    addEParameter(op, this.getEInt(), "featureID", 0, 1, IS_UNIQUE, IS_ORDERED);
2547
    addEParameter(op, this.getEInt(), "featureID", 0, 1, IS_UNIQUE, IS_ORDERED);
2162
2548
2163
    op = addEOperation(eClassEClass, this.getEInt(), "getFeatureID", 0, 1, IS_UNIQUE, IS_ORDERED);
2549
    op = initEOperation(getEClass__GetFeatureID_EStructuralFeature(), this.getEInt(), "getFeatureID", 0, 1, IS_UNIQUE, IS_ORDERED);
2164
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2550
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2165
2551
2166
    op = addEOperation(eClassEClass, this.getEStructuralFeature(), "getEStructuralFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2552
    op = initEOperation(getEClass__GetEStructuralFeature_String(), this.getEStructuralFeature(), "getEStructuralFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2167
    addEParameter(op, this.getEString(), "featureName", 0, 1, IS_UNIQUE, IS_ORDERED);
2553
    addEParameter(op, this.getEString(), "featureName", 0, 1, IS_UNIQUE, IS_ORDERED);
2168
2554
2555
    initEOperation(getEClass__GetOperationCount(), this.getEInt(), "getOperationCount", 0, 1, IS_UNIQUE, IS_ORDERED);
2556
2557
    op = initEOperation(getEClass__GetEOperation_int(), this.getEOperation(), "getEOperation", 0, 1, IS_UNIQUE, IS_ORDERED);
2558
    addEParameter(op, this.getEInt(), "operationID", 0, 1, IS_UNIQUE, IS_ORDERED);
2559
2560
    op = initEOperation(getEClass__GetOperationID_EOperation(), this.getEInt(), "getOperationID", 0, 1, IS_UNIQUE, IS_ORDERED);
2561
    addEParameter(op, this.getEOperation(), "operation", 0, 1, IS_UNIQUE, IS_ORDERED);
2562
2169
    initEClass(eClassifierEClass, EClassifier.class, "EClassifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2563
    initEClass(eClassifierEClass, EClassifier.class, "EClassifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2170
    initEAttribute(getEClassifier_InstanceClassName(), this.getEString(), "instanceClassName", null, 0, 1, EClassifier.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2564
    initEAttribute(getEClassifier_InstanceClassName(), this.getEString(), "instanceClassName", null, 0, 1, EClassifier.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2171
    EGenericType g1 = createEGenericType(this.getEJavaClass());
2565
    EGenericType g1 = createEGenericType(this.getEJavaClass());
Lines 2177-2186 Link Here
2177
    initEReference(getEClassifier_EPackage(), this.getEPackage(), this.getEPackage_EClassifiers(), "ePackage", null, 0, 1, EClassifier.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2571
    initEReference(getEClassifier_EPackage(), this.getEPackage(), this.getEPackage_EClassifiers(), "ePackage", null, 0, 1, EClassifier.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2178
    initEReference(getEClassifier_ETypeParameters(), this.getETypeParameter(), null, "eTypeParameters", null, 0, -1, EClassifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2572
    initEReference(getEClassifier_ETypeParameters(), this.getETypeParameter(), null, "eTypeParameters", null, 0, -1, EClassifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2179
2573
2180
    op = addEOperation(eClassifierEClass, this.getEBoolean(), "isInstance", 0, 1, IS_UNIQUE, IS_ORDERED);
2574
    op = initEOperation(getEClassifier__IsInstance_Object(), this.getEBoolean(), "isInstance", 0, 1, IS_UNIQUE, IS_ORDERED);
2181
    addEParameter(op, this.getEJavaObject(), "object", 0, 1, IS_UNIQUE, IS_ORDERED);
2575
    addEParameter(op, this.getEJavaObject(), "object", 0, 1, IS_UNIQUE, IS_ORDERED);
2182
2576
2183
    addEOperation(eClassifierEClass, this.getEInt(), "getClassifierID", 0, 1, IS_UNIQUE, IS_ORDERED);
2577
    initEOperation(getEClassifier__GetClassifierID(), this.getEInt(), "getClassifierID", 0, 1, IS_UNIQUE, IS_ORDERED);
2184
2578
2185
    initEClass(eDataTypeEClass, EDataType.class, "EDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2579
    initEClass(eDataTypeEClass, EDataType.class, "EDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2186
    initEAttribute(getEDataType_Serializable(), this.getEBoolean(), "serializable", "true", 0, 1, EDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2580
    initEAttribute(getEDataType_Serializable(), this.getEBoolean(), "serializable", "true", 0, 1, EDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
Lines 2188-2200 Link Here
2188
    initEClass(eEnumEClass, EEnum.class, "EEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2582
    initEClass(eEnumEClass, EEnum.class, "EEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2189
    initEReference(getEEnum_ELiterals(), this.getEEnumLiteral(), this.getEEnumLiteral_EEnum(), "eLiterals", null, 0, -1, EEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2583
    initEReference(getEEnum_ELiterals(), this.getEEnumLiteral(), this.getEEnumLiteral_EEnum(), "eLiterals", null, 0, -1, EEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2190
2584
2191
    op = addEOperation(eEnumEClass, this.getEEnumLiteral(), "getEEnumLiteral", 0, 1, IS_UNIQUE, IS_ORDERED);
2585
    op = initEOperation(getEEnum__GetEEnumLiteral_String(), this.getEEnumLiteral(), "getEEnumLiteral", 0, 1, IS_UNIQUE, IS_ORDERED);
2192
    addEParameter(op, this.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);
2586
    addEParameter(op, this.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);
2193
2587
2194
    op = addEOperation(eEnumEClass, this.getEEnumLiteral(), "getEEnumLiteral", 0, 1, IS_UNIQUE, IS_ORDERED);
2588
    op = initEOperation(getEEnum__GetEEnumLiteral_int(), this.getEEnumLiteral(), "getEEnumLiteral", 0, 1, IS_UNIQUE, IS_ORDERED);
2195
    addEParameter(op, this.getEInt(), "value", 0, 1, IS_UNIQUE, IS_ORDERED);
2589
    addEParameter(op, this.getEInt(), "value", 0, 1, IS_UNIQUE, IS_ORDERED);
2196
2590
2197
    op = addEOperation(eEnumEClass, this.getEEnumLiteral(), "getEEnumLiteralByLiteral", 0, 1, IS_UNIQUE, IS_ORDERED);
2591
    op = initEOperation(getEEnum__GetEEnumLiteralByLiteral_String(), this.getEEnumLiteral(), "getEEnumLiteralByLiteral", 0, 1, IS_UNIQUE, IS_ORDERED);
2198
    addEParameter(op, this.getEString(), "literal", 0, 1, IS_UNIQUE, IS_ORDERED);
2592
    addEParameter(op, this.getEString(), "literal", 0, 1, IS_UNIQUE, IS_ORDERED);
2199
2593
2200
    initEClass(eEnumLiteralEClass, EEnumLiteral.class, "EEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2594
    initEClass(eEnumLiteralEClass, EEnumLiteral.class, "EEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
Lines 2206-2226 Link Here
2206
    initEClass(eFactoryEClass, EFactory.class, "EFactory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2600
    initEClass(eFactoryEClass, EFactory.class, "EFactory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2207
    initEReference(getEFactory_EPackage(), this.getEPackage(), this.getEPackage_EFactoryInstance(), "ePackage", null, 1, 1, EFactory.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2601
    initEReference(getEFactory_EPackage(), this.getEPackage(), this.getEPackage_EFactoryInstance(), "ePackage", null, 1, 1, EFactory.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2208
2602
2209
    op = addEOperation(eFactoryEClass, this.getEObject(), "create", 0, 1, IS_UNIQUE, IS_ORDERED);
2603
    op = initEOperation(getEFactory__Create_EClass(), this.getEObject(), "create", 0, 1, IS_UNIQUE, IS_ORDERED);
2210
    addEParameter(op, this.getEClass(), "eClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2604
    addEParameter(op, this.getEClass(), "eClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2211
2605
2212
    op = addEOperation(eFactoryEClass, this.getEJavaObject(), "createFromString", 0, 1, IS_UNIQUE, IS_ORDERED);
2606
    op = initEOperation(getEFactory__CreateFromString_EDataType_String(), this.getEJavaObject(), "createFromString", 0, 1, IS_UNIQUE, IS_ORDERED);
2213
    addEParameter(op, this.getEDataType(), "eDataType", 0, 1, IS_UNIQUE, IS_ORDERED);
2607
    addEParameter(op, this.getEDataType(), "eDataType", 0, 1, IS_UNIQUE, IS_ORDERED);
2214
    addEParameter(op, this.getEString(), "literalValue", 0, 1, IS_UNIQUE, IS_ORDERED);
2608
    addEParameter(op, this.getEString(), "literalValue", 0, 1, IS_UNIQUE, IS_ORDERED);
2215
2609
2216
    op = addEOperation(eFactoryEClass, this.getEString(), "convertToString", 0, 1, IS_UNIQUE, IS_ORDERED);
2610
    op = initEOperation(getEFactory__ConvertToString_EDataType_Object(), this.getEString(), "convertToString", 0, 1, IS_UNIQUE, IS_ORDERED);
2217
    addEParameter(op, this.getEDataType(), "eDataType", 0, 1, IS_UNIQUE, IS_ORDERED);
2611
    addEParameter(op, this.getEDataType(), "eDataType", 0, 1, IS_UNIQUE, IS_ORDERED);
2218
    addEParameter(op, this.getEJavaObject(), "instanceValue", 0, 1, IS_UNIQUE, IS_ORDERED);
2612
    addEParameter(op, this.getEJavaObject(), "instanceValue", 0, 1, IS_UNIQUE, IS_ORDERED);
2219
2613
2220
    initEClass(eModelElementEClass, EModelElement.class, "EModelElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2614
    initEClass(eModelElementEClass, EModelElement.class, "EModelElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2221
    initEReference(getEModelElement_EAnnotations(), this.getEAnnotation(), this.getEAnnotation_EModelElement(), "eAnnotations", null, 0, -1, EModelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2615
    initEReference(getEModelElement_EAnnotations(), this.getEAnnotation(), this.getEAnnotation_EModelElement(), "eAnnotations", null, 0, -1, EModelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2222
2616
2223
    op = addEOperation(eModelElementEClass, this.getEAnnotation(), "getEAnnotation", 0, 1, IS_UNIQUE, IS_ORDERED);
2617
    op = initEOperation(getEModelElement__GetEAnnotation_String(), this.getEAnnotation(), "getEAnnotation", 0, 1, IS_UNIQUE, IS_ORDERED);
2224
    addEParameter(op, this.getEString(), "source", 0, 1, IS_UNIQUE, IS_ORDERED);
2618
    addEParameter(op, this.getEString(), "source", 0, 1, IS_UNIQUE, IS_ORDERED);
2225
2619
2226
    initEClass(eNamedElementEClass, ENamedElement.class, "ENamedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2620
    initEClass(eNamedElementEClass, ENamedElement.class, "ENamedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
Lines 2228-2280 Link Here
2228
2622
2229
    initEClass(eObjectEClass, EObject.class, "EObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2623
    initEClass(eObjectEClass, EObject.class, "EObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2230
2624
2231
    addEOperation(eObjectEClass, this.getEClass(), "eClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2625
    initEOperation(getEObject__EClass(), this.getEClass(), "eClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2232
2626
2233
    addEOperation(eObjectEClass, this.getEBoolean(), "eIsProxy", 0, 1, IS_UNIQUE, IS_ORDERED);
2627
    initEOperation(getEObject__EIsProxy(), this.getEBoolean(), "eIsProxy", 0, 1, IS_UNIQUE, IS_ORDERED);
2234
2628
2235
    addEOperation(eObjectEClass, this.getEResource(), "eResource", 0, 1, IS_UNIQUE, IS_ORDERED);
2629
    initEOperation(getEObject__EResource(), this.getEResource(), "eResource", 0, 1, IS_UNIQUE, IS_ORDERED);
2236
2630
2237
    addEOperation(eObjectEClass, this.getEObject(), "eContainer", 0, 1, IS_UNIQUE, IS_ORDERED);
2631
    initEOperation(getEObject__EContainer(), this.getEObject(), "eContainer", 0, 1, IS_UNIQUE, IS_ORDERED);
2238
2632
2239
    addEOperation(eObjectEClass, this.getEStructuralFeature(), "eContainingFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2633
    initEOperation(getEObject__EContainingFeature(), this.getEStructuralFeature(), "eContainingFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2240
2634
2241
    addEOperation(eObjectEClass, this.getEReference(), "eContainmentFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2635
    initEOperation(getEObject__EContainmentFeature(), this.getEReference(), "eContainmentFeature", 0, 1, IS_UNIQUE, IS_ORDERED);
2242
2636
2243
    op = addEOperation(eObjectEClass, null, "eContents", 0, 1, IS_UNIQUE, IS_ORDERED);
2637
    op = initEOperation(getEObject__EContents(), null, "eContents", 0, 1, IS_UNIQUE, IS_ORDERED);
2244
    g1 = createEGenericType(this.getEEList());
2638
    g1 = createEGenericType(this.getEEList());
2245
    g2 = createEGenericType(this.getEObject());
2639
    g2 = createEGenericType(this.getEObject());
2246
    g1.getETypeArguments().add(g2);
2640
    g1.getETypeArguments().add(g2);
2247
    initEOperation(op, g1);
2641
    initEOperation(op, g1);
2248
2642
2249
    op = addEOperation(eObjectEClass, null, "eAllContents", 0, 1, IS_UNIQUE, IS_ORDERED);
2643
    op = initEOperation(getEObject__EAllContents(), null, "eAllContents", 0, 1, IS_UNIQUE, IS_ORDERED);
2250
    g1 = createEGenericType(this.getETreeIterator());
2644
    g1 = createEGenericType(this.getETreeIterator());
2251
    g2 = createEGenericType(this.getEObject());
2645
    g2 = createEGenericType(this.getEObject());
2252
    g1.getETypeArguments().add(g2);
2646
    g1.getETypeArguments().add(g2);
2253
    initEOperation(op, g1);
2647
    initEOperation(op, g1);
2254
2648
2255
    op = addEOperation(eObjectEClass, null, "eCrossReferences", 0, 1, IS_UNIQUE, IS_ORDERED);
2649
    op = initEOperation(getEObject__ECrossReferences(), null, "eCrossReferences", 0, 1, IS_UNIQUE, IS_ORDERED);
2256
    g1 = createEGenericType(this.getEEList());
2650
    g1 = createEGenericType(this.getEEList());
2257
    g2 = createEGenericType(this.getEObject());
2651
    g2 = createEGenericType(this.getEObject());
2258
    g1.getETypeArguments().add(g2);
2652
    g1.getETypeArguments().add(g2);
2259
    initEOperation(op, g1);
2653
    initEOperation(op, g1);
2260
2654
2261
    op = addEOperation(eObjectEClass, this.getEJavaObject(), "eGet", 0, 1, IS_UNIQUE, IS_ORDERED);
2655
    op = initEOperation(getEObject__EGet_EStructuralFeature(), this.getEJavaObject(), "eGet", 0, 1, IS_UNIQUE, IS_ORDERED);
2262
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2656
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2263
2657
2264
    op = addEOperation(eObjectEClass, this.getEJavaObject(), "eGet", 0, 1, IS_UNIQUE, IS_ORDERED);
2658
    op = initEOperation(getEObject__EGet_EStructuralFeature_boolean(), this.getEJavaObject(), "eGet", 0, 1, IS_UNIQUE, IS_ORDERED);
2265
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2659
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2266
    addEParameter(op, this.getEBoolean(), "resolve", 0, 1, IS_UNIQUE, IS_ORDERED);
2660
    addEParameter(op, this.getEBoolean(), "resolve", 0, 1, IS_UNIQUE, IS_ORDERED);
2267
2661
2268
    op = addEOperation(eObjectEClass, null, "eSet", 0, 1, IS_UNIQUE, IS_ORDERED);
2662
    op = initEOperation(getEObject__ESet_EStructuralFeature_Object(), null, "eSet", 0, 1, IS_UNIQUE, IS_ORDERED);
2269
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2663
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2270
    addEParameter(op, this.getEJavaObject(), "newValue", 0, 1, IS_UNIQUE, IS_ORDERED);
2664
    addEParameter(op, this.getEJavaObject(), "newValue", 0, 1, IS_UNIQUE, IS_ORDERED);
2271
2665
2272
    op = addEOperation(eObjectEClass, this.getEBoolean(), "eIsSet", 0, 1, IS_UNIQUE, IS_ORDERED);
2666
    op = initEOperation(getEObject__EIsSet_EStructuralFeature(), this.getEBoolean(), "eIsSet", 0, 1, IS_UNIQUE, IS_ORDERED);
2273
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2667
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2274
2668
2275
    op = addEOperation(eObjectEClass, null, "eUnset", 0, 1, IS_UNIQUE, IS_ORDERED);
2669
    op = initEOperation(getEObject__EUnset_EStructuralFeature(), null, "eUnset", 0, 1, IS_UNIQUE, IS_ORDERED);
2276
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2670
    addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED);
2277
2671
2672
    op = initEOperation(getEObject__EInvoke_EOperation_EList(), this.getEJavaObject(), "eInvoke", 0, 1, IS_UNIQUE, IS_ORDERED);
2673
    addEParameter(op, this.getEOperation(), "operation", 0, 1, IS_UNIQUE, IS_ORDERED);
2674
    g1 = createEGenericType(ecorePackage.getEEList());
2675
    g2 = createEGenericType();
2676
    g1.getETypeArguments().add(g2);
2677
    addEParameter(op, g1, "arguments", 0, 1, IS_UNIQUE, IS_ORDERED);
2678
    addEException(op, this.getEInvocationTargetException());
2679
2278
    initEClass(eOperationEClass, EOperation.class, "EOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2680
    initEClass(eOperationEClass, EOperation.class, "EOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2279
    initEReference(getEOperation_EContainingClass(), this.getEClass(), this.getEClass_EOperations(), "eContainingClass", null, 0, 1, EOperation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2681
    initEReference(getEOperation_EContainingClass(), this.getEClass(), this.getEClass_EOperations(), "eContainingClass", null, 0, 1, EOperation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2280
    initEReference(getEOperation_ETypeParameters(), this.getETypeParameter(), null, "eTypeParameters", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2682
    initEReference(getEOperation_ETypeParameters(), this.getETypeParameter(), null, "eTypeParameters", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
Lines 2282-2287 Link Here
2282
    initEReference(getEOperation_EExceptions(), this.getEClassifier(), null, "eExceptions", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2684
    initEReference(getEOperation_EExceptions(), this.getEClassifier(), null, "eExceptions", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2283
    initEReference(getEOperation_EGenericExceptions(), this.getEGenericType(), null, "eGenericExceptions", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2685
    initEReference(getEOperation_EGenericExceptions(), this.getEGenericType(), null, "eGenericExceptions", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2284
2686
2687
    initEOperation(getEOperation__GetOperationID(), this.getEInt(), "getOperationID", 0, 1, IS_UNIQUE, IS_ORDERED);
2688
2285
    initEClass(ePackageEClass, EPackage.class, "EPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2689
    initEClass(ePackageEClass, EPackage.class, "EPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2286
    initEAttribute(getEPackage_NsURI(), this.getEString(), "nsURI", null, 0, 1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2690
    initEAttribute(getEPackage_NsURI(), this.getEString(), "nsURI", null, 0, 1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2287
    initEAttribute(getEPackage_NsPrefix(), this.getEString(), "nsPrefix", null, 0, 1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2691
    initEAttribute(getEPackage_NsPrefix(), this.getEString(), "nsPrefix", null, 0, 1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
Lines 2290-2296 Link Here
2290
    initEReference(getEPackage_ESubpackages(), this.getEPackage(), this.getEPackage_ESuperPackage(), "eSubpackages", null, 0, -1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2694
    initEReference(getEPackage_ESubpackages(), this.getEPackage(), this.getEPackage_ESuperPackage(), "eSubpackages", null, 0, -1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2291
    initEReference(getEPackage_ESuperPackage(), this.getEPackage(), this.getEPackage_ESubpackages(), "eSuperPackage", null, 0, 1, EPackage.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2695
    initEReference(getEPackage_ESuperPackage(), this.getEPackage(), this.getEPackage_ESubpackages(), "eSuperPackage", null, 0, 1, EPackage.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2292
2696
2293
    op = addEOperation(ePackageEClass, this.getEClassifier(), "getEClassifier", 0, 1, IS_UNIQUE, IS_ORDERED);
2697
    op = initEOperation(getEPackage__GetEClassifier_String(), this.getEClassifier(), "getEClassifier", 0, 1, IS_UNIQUE, IS_ORDERED);
2294
    addEParameter(op, this.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);
2698
    addEParameter(op, this.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);
2295
2699
2296
    initEClass(eParameterEClass, EParameter.class, "EParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2700
    initEClass(eParameterEClass, EParameter.class, "EParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
Lines 2314-2322 Link Here
2314
    initEAttribute(getEStructuralFeature_Derived(), this.getEBoolean(), "derived", null, 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2718
    initEAttribute(getEStructuralFeature_Derived(), this.getEBoolean(), "derived", null, 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2315
    initEReference(getEStructuralFeature_EContainingClass(), this.getEClass(), this.getEClass_EStructuralFeatures(), "eContainingClass", null, 0, 1, EStructuralFeature.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2719
    initEReference(getEStructuralFeature_EContainingClass(), this.getEClass(), this.getEClass_EStructuralFeatures(), "eContainingClass", null, 0, 1, EStructuralFeature.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2316
2720
2317
    addEOperation(eStructuralFeatureEClass, this.getEInt(), "getFeatureID", 0, 1, IS_UNIQUE, IS_ORDERED);
2721
    initEOperation(getEStructuralFeature__GetFeatureID(), this.getEInt(), "getFeatureID", 0, 1, IS_UNIQUE, IS_ORDERED);
2318
2722
2319
    op = addEOperation(eStructuralFeatureEClass, null, "getContainerClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2723
    op = initEOperation(getEStructuralFeature__GetContainerClass(), null, "getContainerClass", 0, 1, IS_UNIQUE, IS_ORDERED);
2320
    g1 = createEGenericType(this.getEJavaClass());
2724
    g1 = createEGenericType(this.getEJavaClass());
2321
    g2 = createEGenericType();
2725
    g2 = createEGenericType();
2322
    g1.getETypeArguments().add(g2);
2726
    g1.getETypeArguments().add(g2);
Lines 2380-2385 Link Here
2380
    initEDataType(eShortObjectEDataType, Short.class, "EShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2784
    initEDataType(eShortObjectEDataType, Short.class, "EShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2381
    initEDataType(eStringEDataType, String.class, "EString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2785
    initEDataType(eStringEDataType, String.class, "EString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2382
    initEDataType(eTreeIteratorEDataType, TreeIterator.class, "ETreeIterator", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2786
    initEDataType(eTreeIteratorEDataType, TreeIterator.class, "ETreeIterator", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2787
    initEDataType(eInvocationTargetExceptionEDataType, InvocationTargetException.class, "EInvocationTargetException", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2383
2788
2384
    // Create resource
2789
    // Create resource
2385
    createResource(eNS_URI);
2790
    createResource(eNS_URI);
Lines 2652-2655 Link Here
2652
    return (EReference)eFactoryEClass.getEStructuralFeatures().get(0);
3057
    return (EReference)eFactoryEClass.getEStructuralFeatures().get(0);
2653
  }
3058
  }
2654
3059
3060
  /**
3061
   * <!-- begin-user-doc -->
3062
   * <!-- end-user-doc -->
3063
   * @generated
3064
   */
3065
  public EOperation getEFactory__Create_EClass()
3066
  {
3067
    return (EOperation)eFactoryEClass.getEOperations().get(0);
3068
  }
3069
3070
  /**
3071
   * <!-- begin-user-doc -->
3072
   * <!-- end-user-doc -->
3073
   * @generated
3074
   */
3075
  public EOperation getEFactory__CreateFromString_EDataType_String()
3076
  {
3077
    return (EOperation)eFactoryEClass.getEOperations().get(1);
3078
  }
3079
3080
  /**
3081
   * <!-- begin-user-doc -->
3082
   * <!-- end-user-doc -->
3083
   * @generated
3084
   */
3085
  public EOperation getEFactory__ConvertToString_EDataType_Object()
3086
  {
3087
    return (EOperation)eFactoryEClass.getEOperations().get(2);
3088
  }
3089
2655
}
3090
}
(-)src/org/eclipse/emf/ecore/impl/EEnumImpl.java (-1 / +22 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
17
package org.eclipse.emf.ecore.impl;
18
18
19
19
20
import java.lang.reflect.InvocationTargetException;
20
import java.util.Collection;
21
import java.util.Collection;
21
22
22
import org.eclipse.emf.common.notify.NotificationChain;
23
import org.eclipse.emf.common.notify.NotificationChain;
Lines 287-292 Link Here
287
  }
288
  }
288
289
289
  /**
290
  /**
291
   * <!-- begin-user-doc -->
292
   * <!-- end-user-doc -->
293
   * @generated
294
   */
295
  @Override
296
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
297
  {
298
    switch (operationID)
299
    {
300
      case EcorePackage.EENUM___GET_EENUM_LITERAL__STRING:
301
        return getEEnumLiteral((String)arguments.get(0));
302
      case EcorePackage.EENUM___GET_EENUM_LITERAL__INT:
303
        return getEEnumLiteral((Integer)arguments.get(0));
304
      case EcorePackage.EENUM___GET_EENUM_LITERAL_BY_LITERAL__STRING:
305
        return getEEnumLiteralByLiteral((String)arguments.get(0));
306
    }
307
    return eDynamicInvoke(operationID, arguments);
308
  }
309
310
  /**
290
   * @generated NOT
311
   * @generated NOT
291
   */
312
   */
292
  public EEnumLiteral getEEnumLiteral(String name)
313
  public EEnumLiteral getEEnumLiteral(String name)
(-)src/org/eclipse/emf/ecore/impl/EOperationImpl.java (-2 / +65 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 * 
9
 * 
10
 * Contributors: 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
18
package org.eclipse.emf.ecore.impl;
18
19
19
20
21
import java.lang.reflect.InvocationTargetException;
20
import java.lang.reflect.Array;
22
import java.lang.reflect.Array;
21
import java.util.AbstractSequentialList;
23
import java.util.AbstractSequentialList;
22
import java.util.Collection;
24
import java.util.Collection;
Lines 38-46 Link Here
38
import org.eclipse.emf.ecore.EcoreFactory;
40
import org.eclipse.emf.ecore.EcoreFactory;
39
import org.eclipse.emf.ecore.EcorePackage;
41
import org.eclipse.emf.ecore.EcorePackage;
40
import org.eclipse.emf.ecore.InternalEObject;
42
import org.eclipse.emf.ecore.InternalEObject;
43
import org.eclipse.emf.ecore.util.BasicInvocationDelegate;
41
import org.eclipse.emf.ecore.util.DelegatingEcoreEList;
44
import org.eclipse.emf.ecore.util.DelegatingEcoreEList;
42
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
45
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
43
import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
46
import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
47
import org.eclipse.emf.ecore.util.EcoreUtil;
44
// import org.eclipse.emf.ecore.util.EObjectResolvingEList;
48
// import org.eclipse.emf.ecore.util.EObjectResolvingEList;
45
import org.eclipse.emf.ecore.util.InternalEList;
49
import org.eclipse.emf.ecore.util.InternalEList;
46
50
Lines 48-53 Link Here
48
/**
52
/**
49
 * <!-- begin-user-doc -->
53
 * <!-- begin-user-doc -->
50
 * An implementation of the model object '<em><b>EOperation</b></em>'.
54
 * An implementation of the model object '<em><b>EOperation</b></em>'.
55
 * @extends EOperation.Internal
51
 * <!-- end-user-doc -->
56
 * <!-- end-user-doc -->
52
 * <p>
57
 * <p>
53
 * The following features are implemented:
58
 * The following features are implemented:
Lines 62-69 Link Here
62
 *
67
 *
63
 * @generated
68
 * @generated
64
 */
69
 */
65
public class EOperationImpl extends ETypedElementImpl implements EOperation
70
public class EOperationImpl extends ETypedElementImpl implements EOperation, EOperation.Internal
66
{
71
{
72
  protected int operationID = -1;
73
67
  /**
74
  /**
68
   * The cached value of the '{@link #getETypeParameters() <em>EType Parameters</em>}' containment reference list.
75
   * The cached value of the '{@link #getETypeParameters() <em>EType Parameters</em>}' containment reference list.
69
   * <!-- begin-user-doc -->
76
   * <!-- begin-user-doc -->
Lines 736-741 Link Here
736
  /**
743
  /**
737
   * <!-- begin-user-doc -->
744
   * <!-- begin-user-doc -->
738
   * <!-- end-user-doc -->
745
   * <!-- end-user-doc -->
746
   * @generated modifiable
747
   */
748
  public int getOperationID()
749
  {
750
    return operationID;
751
  }
752
753
  public void setOperationID(int operationID)
754
  {
755
    this.operationID = operationID;
756
  }
757
758
  /**
759
   * <!-- begin-user-doc -->
760
   * <!-- end-user-doc -->
739
   * @generated
761
   * @generated
740
   */
762
   */
741
  public EList<ETypeParameter> getETypeParameters()
763
  public EList<ETypeParameter> getETypeParameters()
Lines 1007-1010 Link Here
1007
    return eDynamicIsSet(featureID);
1029
    return eDynamicIsSet(featureID);
1008
  }
1030
  }
1009
1031
1032
  /**
1033
   * <!-- begin-user-doc -->
1034
   * <!-- end-user-doc -->
1035
   * @generated
1036
   */
1037
  @Override
1038
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
1039
  {
1040
    switch (operationID)
1041
    {
1042
      case EcorePackage.EOPERATION___GET_OPERATION_ID:
1043
        return getOperationID();
1044
    }
1045
    return eDynamicInvoke(operationID, arguments);
1046
  }
1047
1048
  protected EOperation.Internal.InvocationDelegate invocationDelegate;
1049
  
1050
  public InvocationDelegate getInvocationDelegate()
1051
  {
1052
    if (invocationDelegate == null)
1053
    {
1054
      InvocationDelegate.Factory factory = EcoreUtil.getInvocationDelegateFactory(this);
1055
      if (factory != null)
1056
      {
1057
        invocationDelegate = factory.createInvocationDelegate(this);
1058
      }
1059
      if (invocationDelegate == null)
1060
      {
1061
        invocationDelegate = new BasicInvocationDelegate(this);
1062
      }
1063
    }
1064
    
1065
    return invocationDelegate;
1066
  }
1067
  
1068
  public void setInvocationDelegate(InvocationDelegate invocationDelegate)
1069
  {
1070
    this.invocationDelegate = invocationDelegate;
1071
  }
1072
  
1010
}
1073
}
(-)src/org/eclipse/emf/ecore/impl/EModelElementImpl.java (-1 / +18 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
17
package org.eclipse.emf.ecore.impl;
18
18
19
19
20
import java.lang.reflect.InvocationTargetException;
20
import java.util.Collection;
21
import java.util.Collection;
21
22
22
import org.eclipse.emf.common.notify.NotificationChain;
23
import org.eclipse.emf.common.notify.NotificationChain;
Lines 310-315 Link Here
310
    return eDynamicIsSet(featureID);
311
    return eDynamicIsSet(featureID);
311
  }
312
  }
312
313
314
  /**
315
   * <!-- begin-user-doc -->
316
   * <!-- end-user-doc -->
317
   * @generated
318
   */
319
  @Override
320
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
321
  {
322
    switch (operationID)
323
    {
324
      case EcorePackage.EMODEL_ELEMENT___GET_EANNOTATION__STRING:
325
        return getEAnnotation((String)arguments.get(0));
326
    }
327
    return eDynamicInvoke(operationID, arguments);
328
  }
329
313
  @Override
330
  @Override
314
  public String eURIFragmentSegment(EStructuralFeature eStructuralFeature, EObject eObject)
331
  public String eURIFragmentSegment(EStructuralFeature eStructuralFeature, EObject eObject)
315
  {
332
  {
(-)src/org/eclipse/emf/ecore/impl/BasicEObjectImpl.java (+68 lines)
Lines 9-14 Link Here
9
 * 
9
 * 
10
 * Contributors: 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
18
package org.eclipse.emf.ecore.impl;
18
19
19
20
21
import java.lang.reflect.InvocationTargetException;
20
import java.util.ArrayList;
22
import java.util.ArrayList;
21
import java.util.Iterator;
23
import java.util.Iterator;
22
import java.util.List;
24
import java.util.List;
Lines 36-41 Link Here
36
import org.eclipse.emf.ecore.EDataType;
38
import org.eclipse.emf.ecore.EDataType;
37
import org.eclipse.emf.ecore.EFactory;
39
import org.eclipse.emf.ecore.EFactory;
38
import org.eclipse.emf.ecore.EObject;
40
import org.eclipse.emf.ecore.EObject;
41
import org.eclipse.emf.ecore.EOperation;
39
import org.eclipse.emf.ecore.EReference;
42
import org.eclipse.emf.ecore.EReference;
40
import org.eclipse.emf.ecore.EStructuralFeature;
43
import org.eclipse.emf.ecore.EStructuralFeature;
41
import org.eclipse.emf.ecore.ETypedElement;
44
import org.eclipse.emf.ecore.ETypedElement;
Lines 226-231 Link Here
226
    return eStaticClass().getFeatureCount();
229
    return eStaticClass().getFeatureCount();
227
  }
230
  }
228
231
232
  protected int eStaticOperationCount()
233
  {
234
    return eStaticClass().getOperationCount();
235
  }
236
229
  protected EPropertiesHolder eProperties()
237
  protected EPropertiesHolder eProperties()
230
  {
238
  {
231
    throw new UnsupportedOperationException();
239
    throw new UnsupportedOperationException();
Lines 1504-1509 Link Here
1504
    }
1512
    }
1505
  }
1513
  }
1506
1514
1515
  public int eBaseOperationID(int derivedOperationID, Class<?> baseClass)
1516
  {
1517
    return derivedOperationID;
1518
  }
1519
1520
  public int eDerivedOperationID(int baseOperationID, Class<?> baseClass)
1521
  {
1522
    return baseOperationID;
1523
  }
1524
1525
  public int eDerivedOperationID(EOperation eOperation)
1526
  {
1527
    Class<?> containerClass = eOperation.getEContainingClass().getInstanceClass();
1528
    if (containerClass == null)
1529
    {
1530
      return eClass().getOperationID(eOperation);
1531
    }
1532
    else
1533
    {
1534
      assert eClass().getEAllOperations().contains(eOperation) : "The operation '" + eOperation.getName() + "' is not a valid operation";
1535
      return eDerivedOperationID(eOperation.getOperationID(), containerClass);
1536
    }
1537
  }
1538
1507
  public EClass eClass()
1539
  public EClass eClass()
1508
  {
1540
  {
1509
    if (eBasicProperties() != null)
1541
    if (eBasicProperties() != null)
Lines 1613-1618 Link Here
1613
    return setting;
1645
    return setting;
1614
  }
1646
  }
1615
1647
1648
  protected EOperation.Internal.InvocationDelegate eInvocationDelegate(EOperation eOperation)
1649
  {
1650
    return ((EOperation.Internal)eOperation).getInvocationDelegate();
1651
  }
1652
1616
  public InternalEObject.EStore eStore()
1653
  public InternalEObject.EStore eStore()
1617
  {
1654
  {
1618
    return null;
1655
    return null;
Lines 1995-2000 Link Here
1995
    }
2032
    }
1996
  }
2033
  }
1997
  
2034
  
2035
  public Object eInvoke(EOperation eOperation, EList<?> arguments) throws InvocationTargetException
2036
  {
2037
    int operationID = eDerivedOperationID(eOperation);
2038
    if (operationID >= 0)
2039
    {
2040
      return eInvoke(operationID, arguments);
2041
    }
2042
    else
2043
    {
2044
      throw new IllegalArgumentException("The operation '" + eOperation.getName() + "' is not a valid operation");
2045
    }
2046
  }
2047
2048
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
2049
  {
2050
    EOperation eOperation = eClass().getEOperation(operationID);
2051
    assert eOperation != null : "Invalid operationID: " + operationID;
2052
      
2053
    return eInvocationDelegate(eOperation).dynamicInvoke(this, arguments);
2054
  }
2055
  
2056
  public Object eDynamicInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
2057
  {
2058
    return eDynamicInvoke(eClass().getEOperation(operationID), arguments);
2059
  }
2060
2061
  protected Object eDynamicInvoke(EOperation eOperation, EList<?> arguments) throws InvocationTargetException
2062
  {
2063
    return eInvocationDelegate(eOperation).dynamicInvoke(this, arguments);
2064
  }
2065
  
1998
  @Override
2066
  @Override
1999
  public String toString()
2067
  public String toString()
2000
  {
2068
  {
(-)src/org/eclipse/emf/ecore/impl/EStructuralFeatureImpl.java (-5 / +30 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 17-28 Link Here
17
package org.eclipse.emf.ecore.impl;
17
package org.eclipse.emf.ecore.impl;
18
18
19
19
20
import java.lang.reflect.InvocationTargetException;
20
import java.util.Collection;
21
import java.util.Collection;
21
import java.util.List;
22
import java.util.List;
22
import java.util.Map;
23
import java.util.Map;
23
24
24
import org.eclipse.emf.common.notify.Notification;
25
import org.eclipse.emf.common.notify.Notification;
25
import org.eclipse.emf.common.notify.NotificationChain;
26
import org.eclipse.emf.common.notify.NotificationChain;
27
import org.eclipse.emf.common.util.EList;
26
import org.eclipse.emf.common.notify.impl.NotificationChainImpl;
28
import org.eclipse.emf.common.notify.impl.NotificationChainImpl;
27
import org.eclipse.emf.common.util.BasicEMap;
29
import org.eclipse.emf.common.util.BasicEMap;
28
import org.eclipse.emf.common.util.EMap;
30
import org.eclipse.emf.common.util.EMap;
Lines 766-771 Link Here
766
    return eDynamicIsSet(featureID);
768
    return eDynamicIsSet(featureID);
767
  }
769
  }
768
770
771
  /**
772
   * <!-- begin-user-doc -->
773
   * <!-- end-user-doc -->
774
   * @generated
775
   */
776
  @Override
777
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
778
  {
779
    switch (operationID)
780
    {
781
      case EcorePackage.ESTRUCTURAL_FEATURE___GET_FEATURE_ID:
782
        return getFeatureID();
783
      case EcorePackage.ESTRUCTURAL_FEATURE___GET_CONTAINER_CLASS:
784
        return getContainerClass();
785
    }
786
    return eDynamicInvoke(operationID, arguments);
787
  }
788
769
  public void setContainerClass(Class<?> containerClass)
789
  public void setContainerClass(Class<?> containerClass)
770
  {
790
  {
771
    this.containerClass = containerClass;
791
    this.containerClass = containerClass;
Lines 816-825 Link Here
816
      Object intrinsicDefaultValue = eType.getDefaultValue();
836
      Object intrinsicDefaultValue = eType.getDefaultValue();
817
837
818
      EStructuralFeature featureMapFeature;
838
      EStructuralFeature featureMapFeature;
819
      if (isDerived() && 
839
      SettingDelegate.Factory settingDelegateFactory;
820
            (((featureMapFeature = ExtendedMetaData.INSTANCE.getMixedFeature(eClass)) != null && 
840
      if ((settingDelegateFactory = EcoreUtil.getSettingDelegateFactory(this)) != null)
821
               featureMapFeature != this) ||
841
      {
822
              ((featureMapFeature = ExtendedMetaData.INSTANCE.getGroup(this)) != null)))
842
        settingDelegate = settingDelegateFactory.createSettingDelegate(this);
843
      }
844
      else if (isDerived() && 
845
                 (((featureMapFeature = ExtendedMetaData.INSTANCE.getMixedFeature(eClass)) != null && 
846
                    featureMapFeature != this) ||
847
                    ((featureMapFeature = ExtendedMetaData.INSTANCE.getGroup(this)) != null)))
823
      {
848
      {
824
        settingDelegate = new InternalSettingDelegateFeatureMapDelegator(this, featureMapFeature);
849
        settingDelegate = new InternalSettingDelegateFeatureMapDelegator(this, featureMapFeature);
825
      }
850
      }
(-)src/org/eclipse/emf/ecore/impl/EClassImpl.java (-2 / +105 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 14-23 Link Here
14
 *
14
 *
15
 * $Id: EClassImpl.java,v 1.46 2008/12/22 14:24:54 emerks Exp $
15
 * $Id: EClassImpl.java,v 1.46 2008/12/22 14:24:54 emerks Exp $
16
 */
16
 */
17
18
package org.eclipse.emf.ecore.impl;
17
package org.eclipse.emf.ecore.impl;
19
18
20
19
20
import java.lang.reflect.InvocationTargetException;
21
import java.lang.reflect.Array;
21
import java.lang.reflect.Array;
22
import java.util.AbstractSequentialList;
22
import java.util.AbstractSequentialList;
23
import java.util.Collection;
23
import java.util.Collection;
Lines 105-110 Link Here
105
  protected EStructuralFeature[] eAllStructuralFeaturesData;
105
  protected EStructuralFeature[] eAllStructuralFeaturesData;
106
  protected BasicEList<EReference> eAllContainments;  
106
  protected BasicEList<EReference> eAllContainments;  
107
  protected BasicEList<EOperation> eAllOperations;
107
  protected BasicEList<EOperation> eAllOperations;
108
  protected EOperation[] eAllOperationsData;
108
  protected BasicEList<EClass> eAllSuperTypes;
109
  protected BasicEList<EClass> eAllSuperTypes;
109
  protected BasicEList<EGenericType> eAllGenericSuperTypes;
110
  protected BasicEList<EGenericType> eAllGenericSuperTypes;
110
  protected Map<String, EStructuralFeature> eNameToFeatureMap;
111
  protected Map<String, EStructuralFeature> eNameToFeatureMap;
Lines 923-939 Link Here
923
        }
924
        }
924
        computationInProgress.remove(this);
925
        computationInProgress.remove(this);
925
      }
926
      }
927
      int operationID = result.size();
928
      for (Iterator<EOperation> i = getEOperations().iterator(); i.hasNext(); ++operationID)
929
      {
930
        ((EOperationImpl)i.next()).setOperationID(operationID);
931
      }
926
      result.addAll(getEOperations());
932
      result.addAll(getEOperations());
927
      result.shrink();
933
      result.shrink();
928
      eAllOperations = 
934
      eAllOperations = 
929
        new EcoreEList.UnmodifiableEList.FastCompare<EOperation>
935
        new EcoreEList.UnmodifiableEList.FastCompare<EOperation>
930
          (this, EcorePackage.eINSTANCE.getEClass_EAllOperations(), result.size(), result.data());
936
          (this, EcorePackage.eINSTANCE.getEClass_EAllOperations(), result.size(), result.data());
937
      eAllOperationsData = (EOperation[])result.data();
938
      if (eAllOperationsData == null)
939
      {
940
        eAllOperationsData = NO_EALL_OPERATIONS_DATA;
941
      }
931
      getESuperAdapter().setAllOperationsCollectionModified(false);
942
      getESuperAdapter().setAllOperationsCollectionModified(false);
932
    }
943
    }
933
944
934
    return eAllOperations;
945
    return eAllOperations;
935
  }
946
  }
936
947
948
  private static final EOperation[] NO_EALL_OPERATIONS_DATA = {};
949
937
  /**
950
  /**
938
   * <!-- begin-user-doc -->
951
   * <!-- begin-user-doc -->
939
   * <!-- end-user-doc -->
952
   * <!-- end-user-doc -->
Lines 1160-1165 Link Here
1160
    return eDynamicIsSet(featureID);
1173
    return eDynamicIsSet(featureID);
1161
  }
1174
  }
1162
1175
1176
  /**
1177
   * <!-- begin-user-doc -->
1178
   * <!-- end-user-doc -->
1179
   * @generated
1180
   */
1181
  @Override
1182
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
1183
  {
1184
    switch (operationID)
1185
    {
1186
      case EcorePackage.ECLASS___IS_SUPER_TYPE_OF__ECLASS:
1187
        return isSuperTypeOf((EClass)arguments.get(0));
1188
      case EcorePackage.ECLASS___GET_FEATURE_COUNT:
1189
        return getFeatureCount();
1190
      case EcorePackage.ECLASS___GET_ESTRUCTURAL_FEATURE__INT:
1191
        return getEStructuralFeature((Integer)arguments.get(0));
1192
      case EcorePackage.ECLASS___GET_FEATURE_ID__ESTRUCTURALFEATURE:
1193
        return getFeatureID((EStructuralFeature)arguments.get(0));
1194
      case EcorePackage.ECLASS___GET_ESTRUCTURAL_FEATURE__STRING:
1195
        return getEStructuralFeature((String)arguments.get(0));
1196
      case EcorePackage.ECLASS___GET_OPERATION_COUNT:
1197
        return getOperationCount();
1198
      case EcorePackage.ECLASS___GET_EOPERATION__INT:
1199
        return getEOperation((Integer)arguments.get(0));
1200
      case EcorePackage.ECLASS___GET_OPERATION_ID__EOPERATION:
1201
        return getOperationID((EOperation)arguments.get(0));
1202
    }
1203
    return eDynamicInvoke(operationID, arguments);
1204
  }
1205
1163
  public EList<EReference> getEAllContainments()
1206
  public EList<EReference> getEAllContainments()
1164
  {
1207
  {
1165
    if (eAllContainments == null)
1208
    if (eAllContainments == null)
Lines 1215-1220 Link Here
1215
    return eNameToFeatureMap.get(name);
1258
    return eNameToFeatureMap.get(name);
1216
  }
1259
  }
1217
1260
1261
  protected EOperation[] getEAllOperationsData()
1262
  {
1263
    if (eAllOperationsData == null)
1264
    {
1265
      getEAllOperations();
1266
    }
1267
    return eAllOperationsData;
1268
  }
1269
  
1270
  /**
1271
   * <!-- begin-user-doc -->
1272
   * <!-- end-user-doc -->
1273
   * @generated NOT
1274
   */
1275
  public int getOperationCount()
1276
  {
1277
    return getEAllOperationsData().length;
1278
  }
1279
1280
  /**
1281
   * <!-- begin-user-doc -->
1282
   * <!-- end-user-doc -->
1283
   * @generated NOT
1284
   */
1285
  public EOperation getEOperation(int operationID)
1286
  {
1287
    EOperation [] eAllOperationsData  = getEAllOperationsData();
1288
    return 
1289
      operationID >= 0 && operationID < eAllOperationsData.length ? 
1290
        eAllOperationsData[operationID] : 
1291
        null;
1292
  }
1293
1294
  /**
1295
   * <!-- begin-user-doc -->
1296
   * <!-- end-user-doc -->
1297
   * @generated NOT
1298
   */
1299
  public int getOperationID(EOperation operation)
1300
  {
1301
    EOperation [] eAllOperationsData  = getEAllOperationsData();
1302
    int index = operation.getOperationID();
1303
    if (index != -1)
1304
    {
1305
      for (int last = eAllOperationsData.length; index < last; ++index)
1306
      {
1307
        if (eAllOperationsData[index] == operation)
1308
        {
1309
          return index;
1310
        }
1311
      }
1312
    }
1313
    return -1;
1314
  }
1315
1218
  /**
1316
  /**
1219
   * <!-- begin-user-doc -->
1317
   * <!-- begin-user-doc -->
1220
   * <!-- end-user-doc -->
1318
   * <!-- end-user-doc -->
Lines 1285-1290 Link Here
1285
    return getEAllStructuralFeaturesData().length;
1383
    return getEAllStructuralFeaturesData().length;
1286
  }
1384
  }
1287
  
1385
  
1386
  /**
1387
   * <!-- begin-user-doc -->
1388
   * <!-- end-user-doc -->
1389
   * @generated NOT
1390
   */
1288
  public EStructuralFeature getEStructuralFeature(int featureID) 
1391
  public EStructuralFeature getEStructuralFeature(int featureID) 
1289
  {
1392
  {
1290
    EStructuralFeature [] eAllStructuralFeaturesData  = getEAllStructuralFeaturesData();
1393
    EStructuralFeature [] eAllStructuralFeaturesData  = getEAllStructuralFeaturesData();
(-)src/org/eclipse/emf/ecore/impl/EPackageImpl.java (-10 / +87 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
17
package org.eclipse.emf.ecore.impl;
18
18
19
19
20
import java.lang.reflect.InvocationTargetException;
20
import java.lang.reflect.Method;
21
import java.lang.reflect.Method;
21
import java.util.Collection;
22
import java.util.Collection;
22
import java.util.HashMap;
23
import java.util.HashMap;
Lines 699-704 Link Here
699
   * @generated
700
   * @generated
700
   */
701
   */
701
  @Override
702
  @Override
703
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
704
  {
705
    switch (operationID)
706
    {
707
      case EcorePackage.EPACKAGE___GET_ECLASSIFIER__STRING:
708
        return getEClassifier((String)arguments.get(0));
709
    }
710
    return eDynamicInvoke(operationID, arguments);
711
  }
712
713
  /**
714
   * <!-- begin-user-doc -->
715
   * <!-- end-user-doc -->
716
   * @generated
717
   */
718
  @Override
702
  public String toString()
719
  public String toString()
703
  {
720
  {
704
    if (eIsProxy()) return super.toString();
721
    if (eIsProxy()) return super.toString();
Lines 774-780 Link Here
774
    r.setFeatureID(id);
791
    r.setFeatureID(id);
775
    owner.getEStructuralFeatures().add(r);
792
    owner.getEStructuralFeatures().add(r);
776
  }
793
  }
777
  
794
795
  /**
796
   * @since 2.6
797
   */
798
  protected void createEOperation(EClass owner, int id)
799
  {
800
    EOperationImpl o = (EOperationImpl)ecoreFactory.createEOperation();
801
    o.setOperationID(id);
802
    owner.getEOperations().add(o);
803
  }
804
778
  protected ETypeParameter addETypeParameter(EClassifier owner, String name)
805
  protected ETypeParameter addETypeParameter(EClassifier owner, String name)
779
  {
806
  {
780
    ETypeParameter eTypeParameter = ecoreFactory.createETypeParameter();
807
    ETypeParameter eTypeParameter = ecoreFactory.createETypeParameter();
Lines 1471-1498 Link Here
1471
  protected EOperation addEOperation(EClass owner, EClassifier type, String name)
1498
  protected EOperation addEOperation(EClass owner, EClassifier type, String name)
1472
  {
1499
  {
1473
    EOperation o = ecoreFactory.createEOperation();
1500
    EOperation o = ecoreFactory.createEOperation();
1474
    o.setEType(type);
1501
    initEOperation(o, type, name);
1475
    o.setName(name);
1476
    owner.getEOperations().add(o);
1502
    owner.getEOperations().add(o);
1477
    return o;
1503
    return o;
1478
  }
1504
  }
1479
1505
1480
  protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound)
1506
  protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound)
1481
  {
1507
  {
1482
    EOperation o = addEOperation(owner, type, name);
1508
    EOperation o = ecoreFactory.createEOperation();
1483
    o.setLowerBound(lowerBound);
1509
    initEOperation(o, type, name, lowerBound, upperBound);
1484
    o.setUpperBound(upperBound);
1510
    owner.getEOperations().add(o);
1485
    return o;
1511
    return o;
1486
  }
1512
  }
1487
1513
1488
  protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)
1514
  protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)
1489
  {
1515
  {
1490
    EOperation o = addEOperation(owner, type, name, lowerBound, upperBound);
1516
    EOperation o = ecoreFactory.createEOperation();
1491
    o.setUnique(isUnique);
1517
    initEOperation(o, type, name, lowerBound, upperBound, isUnique, isOrdered);
1492
    o.setOrdered(isOrdered);
1518
    owner.getEOperations().add(o);
1493
    return o;
1519
    return o;
1494
  }
1520
  }
1495
1521
1522
  /**
1523
   * @since 2.6
1524
   */
1525
  protected EOperation initEOperation(EOperation eOperation, EClassifier type, String name)
1526
  {
1527
    eOperation.setEType(type);
1528
    eOperation.setName(name);
1529
    return eOperation;
1530
  }
1531
1532
  /**
1533
   * @since 2.6
1534
   */
1535
  protected EOperation initEOperation(EOperation eOperation, EClassifier type, String name, int lowerBound, int upperBound)
1536
  {
1537
    initEOperation(eOperation, type, name);
1538
    eOperation.setLowerBound(lowerBound);
1539
    eOperation.setUpperBound(upperBound);
1540
    return eOperation;
1541
  }
1542
1543
  /**
1544
   * @since 2.6
1545
   */
1546
  protected EOperation initEOperation(EOperation eOperation, EClassifier type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)
1547
  {
1548
    initEOperation(eOperation, type, name, lowerBound, upperBound);
1549
    eOperation.setUnique(isUnique);
1550
    eOperation.setOrdered(isOrdered);
1551
    return eOperation;
1552
  }
1553
1496
  protected void initEOperation(EOperation eOperation, EGenericType eGenericType)
1554
  protected void initEOperation(EOperation eOperation, EGenericType eGenericType)
1497
  {
1555
  {
1498
    eOperation.setEGenericType(eGenericType);
1556
    eOperation.setEGenericType(eGenericType);
Lines 1643-1648 Link Here
1643
        eClassifier.setClassifierID(id++);
1701
        eClassifier.setClassifierID(id++);
1644
        fixInstanceClass(eClassifier);
1702
        fixInstanceClass(eClassifier);
1645
        fixEStructuralFeatures((EClass)eClassifier);
1703
        fixEStructuralFeatures((EClass)eClassifier);
1704
        fixEOperations((EClass)eClassifier);
1646
      }
1705
      }
1647
    }
1706
    }
1648
    
1707
    
Lines 1711-1716 Link Here
1711
    }
1770
    }
1712
  }
1771
  }
1713
1772
1773
  /**
1774
   * @since 2.6
1775
   */
1776
  protected void fixEOperations(EClass eClass)
1777
  {
1778
    List<EOperation> operations = eClass.getEOperations();
1779
    if (!operations.isEmpty())
1780
    {
1781
      int id = eClass.getOperationID(operations.get(0));
1782
      
1783
      for (Iterator<EOperation> i = operations.iterator(); i.hasNext(); )
1784
      {
1785
        EOperationImpl eOperation = (EOperationImpl)i.next();
1786
        eOperation.setOperationID(id++);
1787
      }
1788
    }
1789
  }
1790
1714
  protected void fixEEnumLiterals(EEnum eEnum)
1791
  protected void fixEEnumLiterals(EEnum eEnum)
1715
  {
1792
  {
1716
    Class<?> enumClass = eEnum.getInstanceClass();
1793
    Class<?> enumClass = eEnum.getInstanceClass();
(-)src/org/eclipse/emf/ecore/impl/EcoreFactoryImpl.java (-1 / +27 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 * 
9
 * 
10
 * Contributors: 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
18
package org.eclipse.emf.ecore.impl;
18
19
19
20
21
import java.lang.reflect.InvocationTargetException;
20
import java.math.BigDecimal;
22
import java.math.BigDecimal;
21
import java.math.BigInteger;
23
import java.math.BigInteger;
22
import java.text.ParseException;
24
import java.text.ParseException;
Lines 161-166 Link Here
161
        return createEShortObjectFromString(eDataType, initialValue);
163
        return createEShortObjectFromString(eDataType, initialValue);
162
      case EcorePackage.ESTRING:
164
      case EcorePackage.ESTRING:
163
        return createEStringFromString(eDataType, initialValue);
165
        return createEStringFromString(eDataType, initialValue);
166
      case EcorePackage.EINVOCATION_TARGET_EXCEPTION:
167
        return createEInvocationTargetExceptionFromString(eDataType, initialValue);
164
      default:
168
      default:
165
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
169
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
166
    }
170
    }
Lines 222-227 Link Here
222
        return convertEShortObjectToString(eDataType, instanceValue);
226
        return convertEShortObjectToString(eDataType, instanceValue);
223
      case EcorePackage.ESTRING:
227
      case EcorePackage.ESTRING:
224
        return convertEStringToString(eDataType, instanceValue);
228
        return convertEStringToString(eDataType, instanceValue);
229
      case EcorePackage.EINVOCATION_TARGET_EXCEPTION:
230
        return convertEInvocationTargetExceptionToString(eDataType, instanceValue);
225
      default:
231
      default:
226
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
232
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
227
    }
233
    }
Lines 654-659 Link Here
654
  /**
660
  /**
655
   * <!-- begin-user-doc -->
661
   * <!-- begin-user-doc -->
656
   * <!-- end-user-doc -->
662
   * <!-- end-user-doc -->
663
   * @generated
664
   */
665
  public InvocationTargetException createEInvocationTargetExceptionFromString(EDataType eDataType, String initialValue)
666
  {
667
    return (InvocationTargetException)super.createFromString(eDataType, initialValue);
668
  }
669
670
  /**
671
   * <!-- begin-user-doc -->
672
   * <!-- end-user-doc -->
673
   * @generated
674
   */
675
  public String convertEInvocationTargetExceptionToString(EDataType eDataType, Object instanceValue)
676
  {
677
    return super.convertToString(eDataType, instanceValue);
678
  }
679
680
		/**
681
   * <!-- begin-user-doc -->
682
   * <!-- end-user-doc -->
657
   * @generated NOT
683
   * @generated NOT
658
   */
684
   */
659
  public Integer createEIntFromString(EDataType metaObject, String initialValue) 
685
  public Integer createEIntFromString(EDataType metaObject, String initialValue) 
(-)src/org/eclipse/emf/ecore/impl/EClassifierImpl.java (-1 / +20 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 17-22 Link Here
17
package org.eclipse.emf.ecore.impl;
17
package org.eclipse.emf.ecore.impl;
18
18
19
19
20
import java.lang.reflect.InvocationTargetException;
20
import java.util.Collection;
21
import java.util.Collection;
21
22
22
import org.eclipse.emf.common.notify.Notification;
23
import org.eclipse.emf.common.notify.Notification;
Lines 900-905 Link Here
900
    return eDynamicIsSet(featureID);
901
    return eDynamicIsSet(featureID);
901
  }
902
  }
902
903
904
  /**
905
   * <!-- begin-user-doc -->
906
   * <!-- end-user-doc -->
907
   * @generated
908
   */
909
  @Override
910
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
911
  {
912
    switch (operationID)
913
    {
914
      case EcorePackage.ECLASSIFIER___IS_INSTANCE__OBJECT:
915
        return isInstance((Object)arguments.get(0));
916
      case EcorePackage.ECLASSIFIER___GET_CLASSIFIER_ID:
917
        return getClassifierID();
918
    }
919
    return eDynamicInvoke(operationID, arguments);
920
  }
921
903
  protected BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData;
922
  protected BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData;
904
923
905
  public BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData()
924
  public BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData()
(-)src/org/eclipse/emf/ecore/impl/DynamicEObjectImpl.java (-1 / +14 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 22-27 Link Here
22
import org.eclipse.emf.common.util.URI;
22
import org.eclipse.emf.common.util.URI;
23
import org.eclipse.emf.ecore.EClass;
23
import org.eclipse.emf.ecore.EClass;
24
import org.eclipse.emf.ecore.EObject;
24
import org.eclipse.emf.ecore.EObject;
25
import org.eclipse.emf.ecore.EOperation;
25
import org.eclipse.emf.ecore.EStructuralFeature;
26
import org.eclipse.emf.ecore.EStructuralFeature;
26
import org.eclipse.emf.ecore.resource.Resource;
27
import org.eclipse.emf.ecore.resource.Resource;
27
28
Lines 250-255 Link Here
250
  }
251
  }
251
252
252
  @Override
253
  @Override
254
  protected int eStaticOperationCount()
255
  {
256
    return 0;
257
  }
258
259
  @Override
260
  public int eDerivedOperationID(EOperation eOperation)
261
  {
262
    return eClass().getOperationID(eOperation);
263
  }
264
265
  @Override
253
  protected EClass eDynamicClass()
266
  protected EClass eDynamicClass()
254
  {
267
  {
255
    return eClass;
268
    return eClass;
(-)plugin.properties (+3 lines)
Lines 118-123 Link Here
118
_UI_ContentHandlerRegistry_extensionpoint = Content Handler Registry
118
_UI_ContentHandlerRegistry_extensionpoint = Content Handler Registry
119
_UI_URIMappingRegistry_extensionpoint = URI Converter Mapping Registry
119
_UI_URIMappingRegistry_extensionpoint = URI Converter Mapping Registry
120
_UI_PackageRegistryImplementation_extensionpoint = Ecore Package Registry Implementation
120
_UI_PackageRegistryImplementation_extensionpoint = Ecore Package Registry Implementation
121
_UI_ValidationDelegateRegistry_extensionpoint = Validation Delegate Registry
122
_UI_SettingDelegateRegistry_extensionpoint = Feature Setting Delegate Factory Registry
123
_UI_InvocationDelegateRegistry_extensionpoint = Operation Invocation Delegate Factory Registry
121
124
122
_UI_GenericInvariant_diagnostic = The ''{0}'' invariant is violated on ''{1}''
125
_UI_GenericInvariant_diagnostic = The ''{0}'' invariant is violated on ''{1}''
123
_UI_GenericConstraint_diagnostic = The ''{0}'' constraint is violated on ''{1}''
126
_UI_GenericConstraint_diagnostic = The ''{0}'' constraint is violated on ''{1}''
(-)plugin.xml (+2 lines)
Lines 11-16 Link Here
11
   <extension-point id="uri_mapping" name="%_UI_URIMappingRegistry_extensionpoint" schema="schema/uri_mapping.exsd"/>
11
   <extension-point id="uri_mapping" name="%_UI_URIMappingRegistry_extensionpoint" schema="schema/uri_mapping.exsd"/>
12
   <extension-point id="package_registry_implementation" name="%_UI_PackageRegistryImplementation_extensionpoint" schema="schema/package_registry_implementation.exsd"/>
12
   <extension-point id="package_registry_implementation" name="%_UI_PackageRegistryImplementation_extensionpoint" schema="schema/package_registry_implementation.exsd"/>
13
   <extension-point id="validation_delegate" name="%_UI_ValidationDelegateRegistry_extensionpoint" schema="schema/validation_delegate.exsd"/>
13
   <extension-point id="validation_delegate" name="%_UI_ValidationDelegateRegistry_extensionpoint" schema="schema/validation_delegate.exsd"/>
14
   <extension-point id="setting_delegate" name="%_UI_SettingDelegateRegistry_extensionpoint" schema="schema/setting_delegate.exsd"/>
15
   <extension-point id="invocation_delegate" name="%_UI_InvocationDelegateRegistry_extensionpoint" schema="schema/invocation_delegate.exsd"/>
14
16
15
   <extension point="org.eclipse.emf.ecore.generated_package">
17
   <extension point="org.eclipse.emf.ecore.generated_package">
16
      <package
18
      <package
(-)src/org/eclipse/emf/ecore/util/EcoreUtil.java (+140 lines)
Lines 4155-4160 Link Here
4155
    }
4155
    }
4156
  }
4156
  }
4157
4157
4158
  /**
4159
   * @since 2.6
4160
   */
4161
  public static List<String> getSettingDelegates(EPackage ePackage)
4162
  {
4163
    EAnnotation eAnnotation = ePackage.getEAnnotation(EcorePackage.eNS_URI);
4164
    if (eAnnotation != null)
4165
    {
4166
      String settingDelegates = eAnnotation.getDetails().get("settingDelegates");
4167
      if (settingDelegates != null)
4168
      {
4169
        List<String> result = new ArrayList<String>();
4170
        for (StringTokenizer stringTokenizer = new StringTokenizer(settingDelegates); stringTokenizer.hasMoreTokens();)
4171
        {
4172
          String settingDelegate = stringTokenizer.nextToken();
4173
          result.add(settingDelegate);
4174
        }
4175
        return result;
4176
      }
4177
    }
4178
    return Collections.emptyList();
4179
  }
4180
4181
  /**
4182
   * @since 2.6
4183
   */
4184
  public static void setSettingDelegates(EPackage ePackage, List<String> settingDelegates)
4185
  {
4186
    EAnnotation eAnnotation = ePackage.getEAnnotation(EcorePackage.eNS_URI);
4187
    if (settingDelegates == null || settingDelegates.isEmpty())
4188
    {
4189
      if (eAnnotation != null)
4190
      {
4191
        eAnnotation.getDetails().remove("settingDelegates");
4192
      }
4193
    }
4194
    else
4195
    {
4196
      if (eAnnotation == null)
4197
      {
4198
        eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
4199
        eAnnotation.setSource(EcorePackage.eNS_URI);
4200
        ePackage.getEAnnotations().add(eAnnotation);
4201
      }
4202
      StringBuffer value = new StringBuffer();
4203
      for (Iterator<String> i = settingDelegates.iterator(); i.hasNext();)
4204
      {
4205
        value.append(i.next());
4206
        if (i.hasNext())
4207
        {
4208
          value.append(' ');
4209
        }
4210
      }
4211
      eAnnotation.getDetails().put("settingDelegates", value.toString());
4212
    }
4213
  }
4214
4215
  /**
4216
   * @since 2.6
4217
   */
4218
  public static EStructuralFeature.Internal.SettingDelegate.Factory getSettingDelegateFactory(EStructuralFeature eStructuralFeature)
4219
  {
4220
    for (String settingDelegate : getSettingDelegates(eStructuralFeature.getEContainingClass().getEPackage()))
4221
    {
4222
      if (eStructuralFeature.getEAnnotation(settingDelegate) != null)
4223
        return EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE.getFactory(settingDelegate);
4224
    }
4225
    return null;
4226
  }
4227
4228
  /**
4229
   * @since 2.6
4230
   */
4231
  public static List<String> getInvocationDelegates(EPackage ePackage)
4232
  {
4233
    EAnnotation eAnnotation = ePackage.getEAnnotation(EcorePackage.eNS_URI);
4234
    if (eAnnotation != null)
4235
    {
4236
      String invocationDelegates = eAnnotation.getDetails().get("invocationDelegates");
4237
      if (invocationDelegates != null)
4238
      {
4239
        List<String> result = new ArrayList<String>();
4240
        for (StringTokenizer stringTokenizer = new StringTokenizer(invocationDelegates); stringTokenizer.hasMoreTokens();)
4241
        {
4242
          String invocationDelegate = stringTokenizer.nextToken();
4243
          result.add(invocationDelegate);
4244
        }
4245
        return result;
4246
      }
4247
    }
4248
    return Collections.emptyList();
4249
  }
4250
4251
  /**
4252
   * @since 2.6
4253
   */
4254
  public static void setInvocationDelegates(EPackage ePackage, List<String> invocationDelegates)
4255
  {
4256
    EAnnotation eAnnotation = ePackage.getEAnnotation(EcorePackage.eNS_URI);
4257
    if (invocationDelegates == null || invocationDelegates.isEmpty())
4258
    {
4259
      if (eAnnotation != null)
4260
      {
4261
        eAnnotation.getDetails().remove("invocationDelegates");
4262
      }
4263
    }
4264
    else
4265
    {
4266
      if (eAnnotation == null)
4267
      {
4268
        eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
4269
        eAnnotation.setSource(EcorePackage.eNS_URI);
4270
        ePackage.getEAnnotations().add(eAnnotation);
4271
      }
4272
      StringBuffer value = new StringBuffer();
4273
      for (Iterator<String> i = invocationDelegates.iterator(); i.hasNext();)
4274
      {
4275
        value.append(i.next());
4276
        if (i.hasNext())
4277
        {
4278
          value.append(' ');
4279
        }
4280
      }
4281
      eAnnotation.getDetails().put("invocationDelegates", value.toString());
4282
    }
4283
  }
4284
4285
  /**
4286
   * @since 2.6
4287
   */
4288
  public static EOperation.Internal.InvocationDelegate.Factory getInvocationDelegateFactory(EOperation eOperation)
4289
  {
4290
    for (String invocationDelegate : getInvocationDelegates(eOperation.getEContainingClass().getEPackage()))
4291
    {
4292
      if (eOperation.getEAnnotation(invocationDelegate) != null)
4293
        return EOperation.Internal.InvocationDelegate.Factory.Registry.INSTANCE.getFactory(invocationDelegate);
4294
    }
4295
    return null;
4296
  }
4297
4158
  /*
4298
  /*
4159
   static 
4299
   static 
4160
   {
4300
   {
(-)src/org/eclipse/emf/ecore/util/EcoreValidator.java (-1 / +15 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2006-2007 IBM Corporation and others.
4
 * Copyright (c) 2006-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 *
9
 *
10
 * Contributors:
10
 * Contributors:
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *   Christian Damus (Zeligsoft) - 255469
12
 *
13
 *
13
 * </copyright>
14
 * </copyright>
14
 *
15
 *
Lines 16-21 Link Here
16
 */
17
 */
17
package org.eclipse.emf.ecore.util;
18
package org.eclipse.emf.ecore.util;
18
19
20
import java.lang.reflect.InvocationTargetException;
19
import java.math.BigDecimal;
21
import java.math.BigDecimal;
20
import java.math.BigInteger;
22
import java.math.BigInteger;
21
23
Lines 501-506 Link Here
501
        return validateEString((String)value, diagnostics, context);
503
        return validateEString((String)value, diagnostics, context);
502
      case EcorePackage.ETREE_ITERATOR:
504
      case EcorePackage.ETREE_ITERATOR:
503
        return validateETreeIterator((TreeIterator<?>)value, diagnostics, context);
505
        return validateETreeIterator((TreeIterator<?>)value, diagnostics, context);
506
      case EcorePackage.EINVOCATION_TARGET_EXCEPTION:
507
        return validateEInvocationTargetException((InvocationTargetException)value, diagnostics, context);
504
      default:
508
      default:
505
        return true;
509
        return true;
506
    }
510
    }
Lines 4087-4092 Link Here
4087
  }
4091
  }
4088
4092
4089
  /**
4093
  /**
4094
   * <!-- begin-user-doc -->
4095
   * <!-- end-user-doc -->
4096
   * @generated
4097
   */
4098
  public boolean validateEInvocationTargetException(InvocationTargetException eInvocationTargetException, DiagnosticChain diagnostics, Map<Object, Object> context)
4099
  {
4100
    return true;
4101
  }
4102
4103
  /**
4090
   * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
4104
   * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
4091
   * <!-- begin-user-doc -->
4105
   * <!-- begin-user-doc -->
4092
   * <!-- end-user-doc -->
4106
   * <!-- end-user-doc -->
(-)src/org/eclipse/emf/ecore/plugin/EcorePlugin.java (-1 / +5 lines)
Lines 576-581 Link Here
576
      new ContentHandlerRegistryReader().readRegistry();
576
      new ContentHandlerRegistryReader().readRegistry();
577
      new URIMappingRegistryReader().readRegistry();
577
      new URIMappingRegistryReader().readRegistry();
578
      new ValidationDelegateRegistryReader().readRegistry();
578
      new ValidationDelegateRegistryReader().readRegistry();
579
      new SettingDelegateFactoryRegistryReader().readRegistry();
580
      new InvocationDelegateFactoryRegistryReader().readRegistry();
579
    }
581
    }
580
  }
582
  }
581
583
Lines 632-636 Link Here
632
  public static final String SCHEME_PARSER_PPID = "scheme_parser";
634
  public static final String SCHEME_PARSER_PPID = "scheme_parser";
633
  public static final String URI_MAPPING_PPID = "uri_mapping";
635
  public static final String URI_MAPPING_PPID = "uri_mapping";
634
  public static final String PACKAGE_REGISTRY_IMPLEMENTATION_PPID = "package_registry_implementation";
636
  public static final String PACKAGE_REGISTRY_IMPLEMENTATION_PPID = "package_registry_implementation";
635
  public static final String VALIDATION_DELEGATE_PPID = "validation_delegate";  
637
  public static final String VALIDATION_DELEGATE_PPID = "validation_delegate";
638
  public static final String SETTING_DELEGATE_PPID = "setting_delegate";
639
  public static final String INVOCATION_DELEGATE_PPID = "invocation_delegate";
636
}
640
}
(-)schema/validation_delegate.exsd (-1 / +1 lines)
Lines 88-94 Link Here
88
         Following is an example of how a validation delegate can be registered: 
88
         Following is an example of how a validation delegate can be registered: 
89
&lt;pre&gt;
89
&lt;pre&gt;
90
  &lt;extension point=&quot;org.eclipse.emf.ecore.validation_delegate&quot; &gt;
90
  &lt;extension point=&quot;org.eclipse.emf.ecore.validation_delegate&quot; &gt;
91
    &lt;delegate uri=&quot;org.eclipse.ocl.ecore.OCL&quot; class=&quot;org.eclipse.ocl.OCLValidationDelegate&quot;/&gt; 
91
    &lt;delegate uri=&quot;org.eclipse.ocl.ecore.OCL&quot; class=&quot;org.eclipse.ocl.ecore.delegate.OCLValidationDelegate&quot;/&gt; 
92
  &lt;/extension&gt;
92
  &lt;/extension&gt;
93
&lt;/pre&gt;
93
&lt;/pre&gt;
94
      </documentation>
94
      </documentation>
(-)src/org/eclipse/emf/ecore/util/BasicInvocationDelegate.java (+97 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * 
4
 * Copyright (c) 2008-2009 Zeligsoft Inc. and others.
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 * 
10
 * Contributors:
11
 *   Zeligsoft - Initial API and implementation
12
 * 
13
 * </copyright>
14
 *
15
 * $Id$
16
 */
17
18
package org.eclipse.emf.ecore.util;
19
20
import java.lang.reflect.InvocationTargetException;
21
22
import org.eclipse.emf.common.util.EList;
23
import org.eclipse.emf.ecore.EObject;
24
import org.eclipse.emf.ecore.EStructuralFeature;
25
import org.eclipse.emf.ecore.EcorePackage;
26
import org.eclipse.emf.ecore.InternalEObject;
27
import org.eclipse.emf.ecore.EOperation;
28
29
30
/**
31
 * A basic implementation of the dynamic operation-invocation delegate API.  In
32
 * fact, it is so basic that it isn't much an implementation at all, but merely
33
 * throws {@link UnsupportedOperationException} on every invocation, except for
34
 * the operations defined for the {@link EObject} class.
35
 * Subclasses should override the {@link #dynamicCall(InternalEObject, EList)}
36
 * method to not do that.
37
 */
38
public class BasicInvocationDelegate implements EOperation.Internal.InvocationDelegate
39
{
40
  protected EOperation eOperation;
41
  
42
  /**
43
   * Initializes me with the operation that delegates invokes me.
44
   * 
45
   * @param operation my operation
46
   */
47
  public BasicInvocationDelegate(EOperation operation)
48
  {
49
    this.eOperation = operation;
50
  }
51
52
  public Object dynamicInvoke(InternalEObject target, EList< ? > arguments) throws InvocationTargetException
53
  {
54
    if (eOperation.getEContainingClass() == EcorePackage.Literals.EOBJECT)
55
    {
56
57
      switch (eOperation.getEContainingClass().getEAllOperations().indexOf(eOperation))
58
      {
59
        case EcorePackage.EOBJECT___ECLASS:
60
          return target.eClass();
61
        case EcorePackage.EOBJECT___EIS_PROXY:
62
          return target.eIsProxy();
63
        case EcorePackage.EOBJECT___ERESOURCE:
64
          return target.eResource();
65
        case EcorePackage.EOBJECT___ECONTAINER:
66
          return target.eContainer();
67
        case EcorePackage.EOBJECT___ECONTAINING_FEATURE:
68
          return target.eContainingFeature();
69
        case EcorePackage.EOBJECT___ECONTAINMENT_FEATURE:
70
          return target.eContainmentFeature();
71
        case EcorePackage.EOBJECT___ECONTENTS:
72
          return target.eContents();
73
        case EcorePackage.EOBJECT___EALL_CONTENTS:
74
          return target.eAllContents();
75
        case EcorePackage.EOBJECT___ECROSS_REFERENCES:
76
          return target.eCrossReferences();
77
        case EcorePackage.EOBJECT___EGET__ESTRUCTURALFEATURE:
78
          return target.eGet((EStructuralFeature)arguments.get(0));
79
        case EcorePackage.EOBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN:
80
          return target.eGet((EStructuralFeature)arguments.get(0), (Boolean)arguments.get(1));
81
        case EcorePackage.EOBJECT___ESET__ESTRUCTURALFEATURE_OBJECT:
82
          target.eSet((EStructuralFeature)arguments.get(0), arguments.get(1));
83
          return null;
84
        case EcorePackage.EOBJECT___EIS_SET__ESTRUCTURALFEATURE:
85
          return target.eIsSet((EStructuralFeature)arguments.get(0));
86
        case EcorePackage.EOBJECT___EUNSET__ESTRUCTURALFEATURE:
87
          target.eUnset((EStructuralFeature)arguments.get(0));
88
          return null;
89
        case EcorePackage.EOBJECT___EINVOKE__EOPERATION_ELIST:
90
          return target.eInvoke((EOperation)arguments.get(0), (EList< ? >)arguments.get(1));
91
      }
92
    }
93
94
    throw new UnsupportedOperationException("eInvoke not implemented for " + eOperation.getName());
95
  }
96
97
}
(-)schema/setting_delegate.exsd (+124 lines)
Added Link Here
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Schema file written by PDE -->
3
<schema targetNamespace="org.eclipse.emf.ecore" xmlns="http://www.w3.org/2001/XMLSchema">
4
<annotation>
5
      <appInfo>
6
         <meta.schema plugin="org.eclipse.emf.ecore" id="setting_delegate" name="Setting Delegate Factory Registry"/>
7
      </appInfo>
8
      <documentation>
9
         This extension point is used to define a factory for setting delegates whose type is identified by a URI. The global EMF setting delegate factory registry, &lt;samp&gt;EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE&lt;/samp&gt;, is used to record the registration.
10
      </documentation>
11
   </annotation>
12
13
   <element name="extension">
14
      <annotation>
15
         <appInfo>
16
            <meta.element />
17
         </appInfo>
18
      </annotation>
19
      <complexType>
20
         <sequence>
21
            <element ref="factory" minOccurs="1" maxOccurs="unbounded"/>
22
         </sequence>
23
         <attribute name="point" type="string" use="required">
24
            <annotation>
25
               <documentation>
26
                  A fully qualified identifier of the target extension point.
27
               </documentation>
28
            </annotation>
29
         </attribute>
30
         <attribute name="id" type="string">
31
            <annotation>
32
               <documentation>
33
                  An optional identifier of the extension instance.
34
               </documentation>
35
            </annotation>
36
         </attribute>
37
         <attribute name="name" type="string">
38
            <annotation>
39
               <documentation>
40
                  An optional name of the extension instance.
41
               </documentation>
42
            </annotation>
43
         </attribute>
44
      </complexType>
45
   </element>
46
47
   <element name="factory">
48
      <annotation>
49
         <appInfo>
50
            <meta.element labelAttribute="id"/>
51
         </appInfo>
52
      </annotation>
53
      <complexType>
54
         <attribute name="uri" type="string" use="required">
55
            <annotation>
56
               <documentation>
57
                  A URI identifying the type of setting delegates that can be created by the factory.
58
               </documentation>
59
            </annotation>
60
         </attribute>
61
         <attribute name="class" type="string" use="required">
62
            <annotation>
63
               <documentation>
64
                  The fully qualified name of a Java class implementing &lt;samp&gt;org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate.Factory&lt;/samp&gt;.
65
               </documentation>
66
               <appInfo>
67
                  <meta.attribute kind="java" basedOn="org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate.Factory"/>
68
               </appInfo>
69
            </annotation>
70
         </attribute>
71
      </complexType>
72
   </element>
73
74
   <annotation>
75
      <appInfo>
76
         <meta.section type="since"/>
77
      </appInfo>
78
      <documentation>
79
         2.6.0
80
      </documentation>
81
   </annotation>
82
83
   <annotation>
84
      <appInfo>
85
         <meta.section type="examples"/>
86
      </appInfo>
87
      <documentation>
88
         Following is an example of how a setting delegate factory can be registered: 
89
&lt;pre&gt;
90
  &lt;extension point=&quot;org.eclipse.emf.ecore.setting_delegate&quot; &gt;
91
    &lt;factory uri=&quot;org.eclipse.ocl.ecore.OCL&quot; class=&quot;org.eclipse.ocl.ecore.delegate.OCLSettingDelegateFactory&quot;/&gt; 
92
  &lt;/extension&gt;
93
&lt;/pre&gt;
94
      </documentation>
95
   </annotation>
96
97
   <annotation>
98
      <appInfo>
99
         <meta.section type="apiInfo"/>
100
      </appInfo>
101
      <documentation>
102
         The value of the class attribute must represent a class that implements &lt;samp&gt;org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate.Factory&lt;/samp&gt; and has a no argument contructor.
103
&lt;p&gt;
104
A setting delegate factory can be also registered from the source code with the &lt;samp&gt;EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE&lt;/samp&gt; as follows:
105
&lt;/p&gt;
106
&lt;pre&gt;
107
  EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE.put(&quot;org.eclipse.ocl.ecore.OCL&quot;, new OCLSettingDelegateFactory());
108
&lt;/pre&gt;
109
      </documentation>
110
   </annotation>
111
112
113
   <annotation>
114
      <appInfo>
115
         <meta.section type="copyright"/>
116
      </appInfo>
117
      <documentation>
118
         Copyright (c) 2009 Kenn Hussey and others.&lt;br&gt;
119
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at &lt;a 
120
href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
121
      </documentation>
122
   </annotation>
123
124
</schema>
(-)src/org/eclipse/emf/ecore/util/BasicSettingDelegate.java (+303 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 *
4
 * Copyright (c) 2008-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 * 
10
 * Contributors: 
11
 *   IBM - Initial API and implementation
12
 *
13
 * </copyright>
14
 *
15
 * $Id$
16
 */
17
package org.eclipse.emf.ecore.util;
18
19
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.ecore.EObject;
21
import org.eclipse.emf.ecore.EStructuralFeature;
22
import org.eclipse.emf.ecore.InternalEObject;
23
import org.eclipse.emf.ecore.EStructuralFeature.Setting;
24
import org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder;
25
26
/**
27
 * A basic implementation of a stateful setting delegate.
28
 * At least the first two of these methods need to be overridden.
29
 * <ul>
30
 *   <li>{@link #dynamicGet(InternalEObject, DynamicValueHolder, int, boolean, boolean)}</li>
31
 *   <li>{@link #dynamicIsSet(InternalEObject, DynamicValueHolder, int)}</li>
32
 *   <li>{@link #dynamicSet(InternalEObject, DynamicValueHolder, int, Object)}</li>
33
 *   <li>{@link #dynamicUnset(InternalEObject, DynamicValueHolder, int)}</li>
34
 *   <li>{@link #dynamicInverseAdd(InternalEObject, DynamicValueHolder, int, InternalEObject, NotificationChain)}</li>
35
 *   <li>{@link #dynamicInverseRemove(InternalEObject, DynamicValueHolder, int, InternalEObject, NotificationChain)}</li>
36
 * </ul>
37
 */
38
public abstract class BasicSettingDelegate implements EStructuralFeature.Internal.SettingDelegate
39
{
40
  protected EStructuralFeature eStructuralFeature;
41
42
  public BasicSettingDelegate(EStructuralFeature eStructuralFeature)
43
  {
44
    this.eStructuralFeature = eStructuralFeature;
45
  }
46
47
  public Setting dynamicSetting(final InternalEObject owner, final DynamicValueHolder settings, final int dynamicFeatureID)
48
  {
49
    return 
50
      new EStructuralFeature.Setting()
51
      {
52
        public EObject getEObject()
53
        {
54
          return owner;
55
        }
56
57
        public EStructuralFeature getEStructuralFeature()
58
        {
59
          return eStructuralFeature;
60
        }
61
62
        public Object get(boolean resolve)
63
        {
64
          return BasicSettingDelegate.this.dynamicGet(owner, settings, dynamicFeatureID, resolve, true);
65
        }
66
67
        public boolean isSet()
68
        {
69
          return BasicSettingDelegate.this.dynamicIsSet(owner, settings, dynamicFeatureID);
70
        }
71
72
        public void set(Object newValue)
73
        {
74
          BasicSettingDelegate.this.dynamicSet(owner, settings, dynamicFeatureID, newValue);
75
        }
76
77
        public void unset()
78
        {
79
          BasicSettingDelegate.this.dynamicUnset(owner, settings, dynamicFeatureID);
80
        }
81
      };
82
  }
83
84
  public abstract Object dynamicGet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, boolean resolve, boolean coreType);
85
86
  public abstract boolean dynamicIsSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID);
87
  
88
  public void dynamicSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, Object newValue)
89
  {
90
    throw new UnsupportedOperationException();
91
  }
92
93
  public void dynamicUnset(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
94
  {
95
    throw new UnsupportedOperationException();
96
  }
97
98
  public NotificationChain dynamicInverseAdd
99
   (InternalEObject owner,
100
    DynamicValueHolder settings,
101
    int dynamicFeatureID,
102
    InternalEObject otherEnd,
103
    NotificationChain notifications)
104
  {
105
    throw new UnsupportedOperationException();
106
  }
107
108
  public NotificationChain dynamicInverseRemove
109
   (InternalEObject owner,
110
    DynamicValueHolder settings,
111
    int dynamicFeatureID,
112
    InternalEObject otherEnd,
113
    NotificationChain notifications)
114
  {
115
    throw new UnsupportedOperationException();
116
  }
117
118
  /**
119
   * A basic implementation of a stateless setting delegate.
120
   * At least the first two of these methods should be overridden.
121
   * <ul>
122
   *   <li>{@link #setting(InternalEObject)}</li>
123
   *   <li>{@link #get(InternalEObject, boolean, boolean)}</li>
124
   *   <li>{@link #set(InternalEObject, Object)}</li>
125
   *   <li>{@link #isSet(InternalEObject)}</li>
126
   *   <li>{@link #unset(InternalEObject)}</li>
127
   *   <li>{@link #inverseAdd(InternalEObject, InternalEObject, NotificationChain)}</li>
128
   *   <li>{@link #inverseRemove(InternalEObject, InternalEObject, NotificationChain)}</li>
129
   * </ul>
130
   */
131
  public static abstract class Stateless extends BasicSettingDelegate
132
  {
133
    public Stateless(EStructuralFeature eStructuralFeature)
134
    {
135
      super(eStructuralFeature);
136
    }
137
138
    @Override
139
    public final Setting dynamicSetting(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
140
    {
141
      return setting(owner);
142
    }
143
144
    /**
145
     * Creates a setting for the owner and this delegate's feature.
146
     * @param owner the owner for the setting.
147
     * @return a new setting.
148
     */
149
    protected Setting setting(final InternalEObject owner)
150
    {
151
      return 
152
        new EStructuralFeature.Setting()
153
        {
154
          public EObject getEObject()
155
          {
156
            return owner;
157
          }
158
  
159
          public EStructuralFeature getEStructuralFeature()
160
          {
161
            return eStructuralFeature;
162
          }
163
  
164
          public Object get(boolean resolve)
165
          {
166
            return Stateless.this.get(owner, resolve, true);
167
          }
168
  
169
          public boolean isSet()
170
          {
171
            return Stateless.this.isSet(owner);
172
          }
173
  
174
          public void set(Object newValue)
175
          {
176
            Stateless.this.set(owner, newValue);
177
          }
178
  
179
          public void unset()
180
          {
181
            Stateless.this.unset(owner);
182
          }
183
        };
184
    }
185
  
186
    @Override
187
    public final Object dynamicGet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, boolean resolve, boolean coreType)
188
    {
189
      return get(owner, resolve, coreType);
190
    }
191
  
192
    /**
193
     * Returns the value of this delegate's feature for the owner.
194
     * @param owner the object for with to fetch the value.
195
     * @param resolve whether the returned object should be resolved it if is a proxy.
196
     * @param coreType whether to return the core type value or the API type value.
197
     * @return the value of this delegate's feature for the owner.
198
     * @see InternalEObject#eGet(EStructuralFeature, boolean, boolean)
199
     */
200
    protected abstract Object get(InternalEObject owner, boolean resolve, boolean coreType);
201
  
202
    @Override
203
    public final boolean dynamicIsSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
204
    {
205
      return isSet(owner);
206
    }
207
  
208
    /**
209
     * Returns whether the value of this delegate's feature is considered set for the owner.
210
     * @param owner the object for with to test is set.
211
     * @return whether the value of this delegate's feature is considered set for the owner.
212
     * @see EObject#eIsSet(EStructuralFeature)
213
     */
214
    protected abstract boolean isSet(InternalEObject owner);
215
  
216
    @Override
217
    public final void dynamicSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, Object newValue)
218
    {
219
      set(owner, newValue);
220
    }
221
  
222
    /**
223
     * Sets this new value of this delegate's feature for the owner.
224
     * @param owner the owner for which to set the value
225
     * @param newValue the new value for the feature.
226
     * @see EObject#eSet(EStructuralFeature, Object)
227
     */
228
    protected void set(InternalEObject owner, Object newValue)
229
    {
230
      throw new UnsupportedOperationException();
231
    }
232
  
233
    @Override
234
    public final void dynamicUnset(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
235
    {
236
      unset(owner);
237
    }
238
  
239
    /**
240
     * Unsets the values of this delegate's feature for the owner.
241
     * @param owner the owner for which to unset the value.
242
     * @see EObject#eUnset(EStructuralFeature)
243
     */
244
    protected void unset(InternalEObject owner)
245
    {
246
      throw new UnsupportedOperationException();
247
    }
248
  
249
    @Override
250
    public final NotificationChain dynamicInverseAdd
251
     (InternalEObject owner,
252
      DynamicValueHolder settings,
253
      int dynamicFeatureID,
254
      InternalEObject otherEnd,
255
      NotificationChain notifications)
256
    {
257
      return inverseAdd(owner, otherEnd, notifications);
258
    }
259
  
260
    /**
261
     * Adds the object at the other end of a bidirectional reference to this delegate's feature
262
     * and returns accumulated notifications.
263
     * @param owner the owner for which to do the inverse add.
264
     * @param otherEnd the object to inverse add.
265
     * @param notifications the notifications accumulated so far.
266
     * @return the accumulated notifications.
267
     */
268
    protected NotificationChain inverseAdd
269
     (InternalEObject owner,
270
      InternalEObject otherEnd,
271
      NotificationChain notifications)
272
    {
273
      throw new UnsupportedOperationException();
274
    }
275
  
276
    @Override
277
    public final NotificationChain dynamicInverseRemove
278
     (InternalEObject owner,
279
      DynamicValueHolder settings,
280
      int dynamicFeatureID,
281
      InternalEObject otherEnd,
282
      NotificationChain notifications)
283
    {
284
      return inverseRemove(owner, otherEnd, notifications);
285
    }
286
  
287
    /**
288
     * Remove the object at the other end of a bidirectional reference from this delegate's feature
289
     * and returns accumulated notifications.
290
     * @param owner the owner for which to do the inverse remove.
291
     * @param otherEnd the object to inverse remove.
292
     * @param notifications the notifications accumulated so far.
293
     * @return the accumulated notifications.
294
     */
295
    protected NotificationChain inverseRemove
296
     (InternalEObject owner,
297
      InternalEObject otherEnd,
298
      NotificationChain notifications)
299
    {
300
      throw new UnsupportedOperationException();
301
    }
302
  }
303
}
(-)src/org/eclipse/emf/ecore/plugin/SettingDelegateFactoryRegistryReader.java (+93 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 *
4
 * Copyright (c) 2009 Kenn Hussey and others.
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 * 
10
 * Contributors: 
11
 *   Kenn Hussey - Initial API and implementation
12
 *
13
 * </copyright>
14
 *
15
 * $Id$
16
 */
17
package org.eclipse.emf.ecore.plugin;
18
19
import org.eclipse.core.runtime.IConfigurationElement;
20
import org.eclipse.core.runtime.Platform;
21
22
import org.eclipse.emf.ecore.EStructuralFeature;
23
24
25
/**
26
 * A plugin extension reader that populates the
27
 * {@link org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate.Factory.Registry#INSTANCE global} setting delegate factory registry.
28
 * Clients are not expected to use this class directly.
29
 */
30
class SettingDelegateFactoryRegistryReader extends RegistryReader
31
{
32
  static class SettingDelegateFactoryDescriptor extends PluginClassDescriptor implements EStructuralFeature.Internal.SettingDelegate.Factory.Descriptor
33
  {
34
    protected EStructuralFeature.Internal.SettingDelegate.Factory factory;
35
36
    public SettingDelegateFactoryDescriptor(IConfigurationElement e, String attrName)
37
    {
38
      super(e, attrName);
39
    }
40
41
    public EStructuralFeature.Internal.SettingDelegate.Factory getFactory()
42
    {
43
      if (factory == null)
44
      {
45
        factory = (EStructuralFeature.Internal.SettingDelegate.Factory)createInstance();
46
      }
47
      return factory;
48
    }
49
  }
50
51
  static final String TAG_FACTORY = "factory";
52
  static final String ATT_URI = "uri";
53
  static final String ATT_CLASS = "class";
54
55
  public SettingDelegateFactoryRegistryReader()
56
  {
57
    super(Platform.getExtensionRegistry(), EcorePlugin.getPlugin().getBundle().getSymbolicName(), EcorePlugin.SETTING_DELEGATE_PPID);
58
  }
59
60
  @Override
61
  protected boolean readElement(IConfigurationElement element, boolean add)
62
  {
63
    if (element.getName().equals(TAG_FACTORY))
64
    {
65
      String uri = element.getAttribute(ATT_URI);
66
      if (uri == null)
67
      {
68
        logMissingAttribute(element, ATT_URI);
69
      }
70
      else if (element.getAttribute(ATT_CLASS) == null)
71
      {
72
        logMissingAttribute(element, ATT_CLASS);
73
      }
74
      else if (add)
75
      {
76
        Object previous = EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE.put(uri, new SettingDelegateFactoryDescriptor(element, ATT_CLASS));
77
        if (previous instanceof SettingDelegateFactoryDescriptor)
78
        {
79
          SettingDelegateFactoryDescriptor descriptor = (SettingDelegateFactoryDescriptor)previous;
80
          EcorePlugin.INSTANCE.log("Both '" + descriptor.element.getContributor().getName() + "' and '" + element.getContributor().getName() + "' register a setting delegate factory for '" + uri + "'");
81
        }
82
        return true;
83
      }
84
      else
85
      {
86
        EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE.remove(uri);
87
        return true;
88
      }
89
    }
90
91
    return false;
92
  }
93
}
(-)schema/invocation_delegate.exsd (+124 lines)
Added Link Here
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Schema file written by PDE -->
3
<schema targetNamespace="org.eclipse.emf.ecore" xmlns="http://www.w3.org/2001/XMLSchema">
4
<annotation>
5
      <appInfo>
6
         <meta.schema plugin="org.eclipse.emf.ecore" id="invocation_delegate" name="Invocation Delegate Factory Registry"/>
7
      </appInfo>
8
      <documentation>
9
         This extension point is used to define a factory for invocation delegates whose type is identified by a URI. The global EMF invocation delegate factory registry, &lt;samp&gt;EOperation.Internal.InvocationDelegate.Factory.Registry.INSTANCE&lt;/samp&gt;, is used to record the registration.
10
      </documentation>
11
   </annotation>
12
13
   <element name="extension">
14
      <annotation>
15
         <appInfo>
16
            <meta.element />
17
         </appInfo>
18
      </annotation>
19
      <complexType>
20
         <sequence>
21
            <element ref="factory" minOccurs="1" maxOccurs="unbounded"/>
22
         </sequence>
23
         <attribute name="point" type="string" use="required">
24
            <annotation>
25
               <documentation>
26
                  A fully qualified identifier of the target extension point.
27
               </documentation>
28
            </annotation>
29
         </attribute>
30
         <attribute name="id" type="string">
31
            <annotation>
32
               <documentation>
33
                  An optional identifier of the extension instance.
34
               </documentation>
35
            </annotation>
36
         </attribute>
37
         <attribute name="name" type="string">
38
            <annotation>
39
               <documentation>
40
                  An optional name of the extension instance.
41
               </documentation>
42
            </annotation>
43
         </attribute>
44
      </complexType>
45
   </element>
46
47
   <element name="factory">
48
      <annotation>
49
         <appInfo>
50
            <meta.element labelAttribute="id"/>
51
         </appInfo>
52
      </annotation>
53
      <complexType>
54
         <attribute name="uri" type="string" use="required">
55
            <annotation>
56
               <documentation>
57
                  A URI identifying the type of invocation delegates that can be created by the factory.
58
               </documentation>
59
            </annotation>
60
         </attribute>
61
         <attribute name="class" type="string" use="required">
62
            <annotation>
63
               <documentation>
64
                  The fully qualified name of a Java class implementing &lt;samp&gt;org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory&lt;/samp&gt;.
65
               </documentation>
66
               <appInfo>
67
                  <meta.attribute kind="java" basedOn="org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory"/>
68
               </appInfo>
69
            </annotation>
70
         </attribute>
71
      </complexType>
72
   </element>
73
74
   <annotation>
75
      <appInfo>
76
         <meta.section type="since"/>
77
      </appInfo>
78
      <documentation>
79
         2.6.0
80
      </documentation>
81
   </annotation>
82
83
   <annotation>
84
      <appInfo>
85
         <meta.section type="examples"/>
86
      </appInfo>
87
      <documentation>
88
         Following is an example of how an invocation delegate factory can be registered: 
89
&lt;pre&gt;
90
  &lt;extension point=&quot;org.eclipse.emf.ecore.invocation_delegate&quot; &gt;
91
    &lt;factory uri=&quot;org.eclipse.ocl.ecore.OCL&quot; class=&quot;org.eclipse.ocl.ecore.delegate.OCLInvocationDelegateFactory&quot;/&gt; 
92
  &lt;/extension&gt;
93
&lt;/pre&gt;
94
      </documentation>
95
   </annotation>
96
97
   <annotation>
98
      <appInfo>
99
         <meta.section type="apiInfo"/>
100
      </appInfo>
101
      <documentation>
102
         The value of the class attribute must represent a class that implements &lt;samp&gt;org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory&lt;/samp&gt; and has a no argument contructor.
103
&lt;p&gt;
104
An invocation delegate factory can be also registered from the source code with the &lt;samp&gt;EOperation.Internal.InvocationDelegate.Factory.Registry.INSTANCE&lt;/samp&gt; as follows:
105
&lt;/p&gt;
106
&lt;pre&gt;
107
  EOperation.Internal.InvocationDelegate.Factory.Registry.INSTANCE.put(&quot;org.eclipse.ocl.ecore.OCL&quot;, new OCLInvocationDelegateFactory());
108
&lt;/pre&gt;
109
      </documentation>
110
   </annotation>
111
112
113
   <annotation>
114
      <appInfo>
115
         <meta.section type="copyright"/>
116
      </appInfo>
117
      <documentation>
118
         Copyright (c) 2009 Kenn Hussey and others.&lt;br&gt;
119
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at &lt;a 
120
href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
121
      </documentation>
122
   </annotation>
123
124
</schema>
(-)src/org/eclipse/emf/ecore/plugin/InvocationDelegateFactoryRegistryReader.java (+93 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 *
4
 * Copyright (c) 2009 Kenn Hussey and others.
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 * 
10
 * Contributors: 
11
 *   Kenn Hussey - Initial API and implementation
12
 *
13
 * </copyright>
14
 *
15
 * $Id$
16
 */
17
package org.eclipse.emf.ecore.plugin;
18
19
import org.eclipse.core.runtime.IConfigurationElement;
20
import org.eclipse.core.runtime.Platform;
21
22
import org.eclipse.emf.ecore.EOperation;
23
24
25
/**
26
 * A plugin extension reader that populates the
27
 * {@link org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry#INSTANCE global} operation delegate factory registry.
28
 * Clients are not expected to use this class directly.
29
 */
30
class InvocationDelegateFactoryRegistryReader extends RegistryReader
31
{
32
  static class InvocationDelegateFactoryDescriptor extends PluginClassDescriptor implements EOperation.Internal.InvocationDelegate.Factory.Descriptor
33
  {
34
    protected EOperation.Internal.InvocationDelegate.Factory factory;
35
36
    public InvocationDelegateFactoryDescriptor(IConfigurationElement e, String attrName)
37
    {
38
      super(e, attrName);
39
    }
40
41
    public EOperation.Internal.InvocationDelegate.Factory getFactory()
42
    {
43
      if (factory == null)
44
      {
45
        factory = (EOperation.Internal.InvocationDelegate.Factory)createInstance();
46
      }
47
      return factory;
48
    }
49
  }
50
51
  static final String TAG_FACTORY = "factory";
52
  static final String ATT_URI = "uri";
53
  static final String ATT_CLASS = "class";
54
55
  public InvocationDelegateFactoryRegistryReader()
56
  {
57
    super(Platform.getExtensionRegistry(), EcorePlugin.getPlugin().getBundle().getSymbolicName(), EcorePlugin.INVOCATION_DELEGATE_PPID);
58
  }
59
60
  @Override
61
  protected boolean readElement(IConfigurationElement element, boolean add)
62
  {
63
    if (element.getName().equals(TAG_FACTORY))
64
    {
65
      String uri = element.getAttribute(ATT_URI);
66
      if (uri == null)
67
      {
68
        logMissingAttribute(element, ATT_URI);
69
      }
70
      else if (element.getAttribute(ATT_CLASS) == null)
71
      {
72
        logMissingAttribute(element, ATT_CLASS);
73
      }
74
      else if (add)
75
      {
76
        Object previous = EOperation.Internal.InvocationDelegate.Factory.Registry.INSTANCE.put(uri, new InvocationDelegateFactoryDescriptor(element, ATT_CLASS));
77
        if (previous instanceof InvocationDelegateFactoryDescriptor)
78
        {
79
          InvocationDelegateFactoryDescriptor descriptor = (InvocationDelegateFactoryDescriptor)previous;
80
          EcorePlugin.INSTANCE.log("Both '" + descriptor.element.getContributor().getName() + "' and '" + element.getContributor().getName() + "' register an invocation delegate factory for '" + uri + "'");
81
        }
82
        return true;
83
      }
84
      else
85
      {
86
        EOperation.Internal.InvocationDelegate.Factory.Registry.INSTANCE.remove(uri);
87
        return true;
88
      }
89
    }
90
91
    return false;
92
  }
93
}
(-)templates/model/Class.javajet (-7 / +176 lines)
Lines 22-27 Link Here
22
<%final String singleWildcard = isJDK50 ? "<?>" : "";%>
22
<%final String singleWildcard = isJDK50 ? "<?>" : "";%>
23
<%final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - " + genClass.getOffsetCorrectionField(null) : "";%>
23
<%final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - " + genClass.getOffsetCorrectionField(null) : "";%>
24
<%final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(null) : "";%>
24
<%final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(null) : "";%>
25
<%final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION" : "";%>
26
<%final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION" : "";%>
25
<%@ include file="../Header.javajetinc"%>
27
<%@ include file="../Header.javajetinc"%>
26
<%if (isInterface) {%>
28
<%if (isInterface) {%>
27
package <%=genPackage.getInterfacePackageName()%>;
29
package <%=genPackage.getInterfacePackageName()%>;
Lines 165-171 Link Here
165
  <%for (GenFeature genFeature : genClass.getDeclaredFieldGenFeatures()) {%>
167
  <%for (GenFeature genFeature : genClass.getDeclaredFieldGenFeatures()) {%>
166
<%@ include file="Class/declaredFieldGenFeature.override.javajetinc" fail="alternative" %>
168
<%@ include file="Class/declaredFieldGenFeature.override.javajetinc" fail="alternative" %>
167
<%@ start %>
169
<%@ start %>
168
    <%if (genFeature.isListType() || genFeature.isReferenceType()) {%>
170
    <%if (genFeature.hasSettingDelegate()) {%>
171
	/**
172
	 * The cached setting delegate for the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
173
	 * <!-- begin-user-doc -->
174
	 * <!-- end-user-doc -->
175
	 * @see #<%=genFeature.getGetAccessor()%>()
176
	 * @generated
177
	 * @ordered
178
	 */
179
	protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal.SettingDelegate <%=genFeature.getUpperName()%>__ESETTING_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal)<%=genFeature.getQualifiedFeatureAccessor()%>).getSettingDelegate();
180
181
    <%} else if (genFeature.isListType() || genFeature.isReferenceType()) {%>
169
      <%if (genClass.isField(genFeature)) {%>
182
      <%if (genClass.isField(genFeature)) {%>
170
	/**
183
	/**
171
	 * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
184
	 * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
Lines 335-340 Link Here
335
    <%}%>
348
    <%}%>
336
  <%}%>
349
  <%}%>
337
<%}%>
350
<%}%>
351
<%if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenOperations().isEmpty()) {%>
352
	/**
353
	 * <!-- begin-user-doc -->
354
	 * <!-- end-user-doc -->
355
	 * @generated
356
	 */
357
	private static final int "EOPERATION_OFFSET_CORRECTION" = <%=genClass.getQualifiedClassifierAccessor()%>.getOperationID(<%=genClass.getImplementedGenOperations().get(0).getQualifiedOperationAccessor()%>) - <%=genClass.getQualifiedOperationID(genClass.getImplementedGenOperations().get(0))%>;
358
359
<%}%>
338
<%if (isImplementation) {%>
360
<%if (isImplementation) {%>
339
	/**
361
	/**
340
	 * <!-- begin-user-doc -->
362
	 * <!-- begin-user-doc -->
Lines 564-570 Link Here
564
	<%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%>();
586
	<%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%>();
565
587
566
<%} else {%>
588
<%} else {%>
567
  <%if (genModel.useGenerics() && ((genFeature.isContainer() || genFeature.isResolveProxies()) && !genFeature.isListType() && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation()) && genFeature.isUncheckedCast(genClass) || genFeature.isListType() && !genFeature.isFeatureMapType() && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel.isDynamicDelegation()) || genFeature.isListDataType() && genFeature.hasDelegateFeature())) {%>
589
  <%if (genModel.useGenerics() && ((genFeature.isContainer() || genFeature.isResolveProxies()) && !genFeature.isListType() && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation()) && genFeature.isUncheckedCast(genClass) || genFeature.isListType() && !genFeature.isFeatureMapType() && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel.isDynamicDelegation()) || genFeature.isListDataType() && genFeature.hasDelegateFeature() || genFeature.isListType() && genFeature.hasSettingDelegate())) {%>
568
	@SuppressWarnings("unchecked")
590
	@SuppressWarnings("unchecked")
569
  <%}%>
591
  <%}%>
570
	public <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%><%if (genClass.hasCollidingGetAccessorOperation(genFeature)) {%>_<%}%>()
592
	public <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%><%if (genClass.hasCollidingGetAccessorOperation(genFeature)) {%>_<%}%>()
Lines 574-579 Link Here
574
		return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, true, <%=!genFeature.isEffectiveSuppressEMFTypes()%>)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
596
		return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, true, <%=!genFeature.isEffectiveSuppressEMFTypes()%>)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
575
    <%} else if (genModel.isReflectiveDelegation()) {%>
597
    <%} else if (genModel.isReflectiveDelegation()) {%>
576
		return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eGet(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
598
		return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eGet(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
599
    <%} else if (genFeature.hasSettingDelegate()) {%>
600
		return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
577
    <%} else if (!genFeature.isVolatile()) {%>
601
    <%} else if (!genFeature.isVolatile()) {%>
578
      <%if (genFeature.isListType()) {%>
602
      <%if (genFeature.isListType()) {%>
579
        <%if (genModel.isVirtualDelegation()) {%>
603
        <%if (genModel.isVirtualDelegation()) {%>
Lines 701-706 Link Here
701
<%@ include file="Class/basicGetGenFeature.pre.insert.javajetinc" fail="silent" %>
725
<%@ include file="Class/basicGetGenFeature.pre.insert.javajetinc" fail="silent" %>
702
    <%if (genModel.isDynamicDelegation()) {%>
726
    <%if (genModel.isDynamicDelegation()) {%>
703
		return (<%=genFeature.getImportedType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, false, <%=!genFeature.isEffectiveSuppressEMFTypes()%>);
727
		return (<%=genFeature.getImportedType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, false, <%=!genFeature.isEffectiveSuppressEMFTypes()%>);
728
    <%} else if (genFeature.hasSettingDelegate()) {%>
729
		return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
704
    <%} else if (genFeature.isContainer()) {%>
730
    <%} else if (genFeature.isContainer()) {%>
705
		if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null;
731
		if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null;
706
		return (<%=genFeature.getImportedType(genClass)%>)eInternalContainer();
732
		return (<%=genFeature.getImportedType(genClass)%>)eInternalContainer();
Lines 859-864 Link Here
859
		eDynamicSet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
885
		eDynamicSet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
860
    <%} else if (genModel.isReflectiveDelegation()) {%>
886
    <%} else if (genModel.isReflectiveDelegation()) {%>
861
		eSet(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
887
		eSet(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
888
    <%} else if (genFeature.hasSettingDelegate()) {%>
889
		<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicSet(this, null, 0, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
862
    <%} else if (!genFeature.isVolatile()) {%>
890
    <%} else if (!genFeature.isVolatile()) {%>
863
      <%if (genFeature.isContainer()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(reverseFeature) : "";%>
891
      <%if (genFeature.isContainer()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(reverseFeature) : "";%>
864
		if (new<%=genFeature.getCapName()%> != eInternalContainer() || (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%> && new<%=genFeature.getCapName()%> != null))
892
		if (new<%=genFeature.getCapName()%> != eInternalContainer() || (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%> && new<%=genFeature.getCapName()%> != null))
Lines 1112-1117 Link Here
1112
		eDynamicUnset(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
1140
		eDynamicUnset(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
1113
    <%} else if (genModel.isReflectiveDelegation()) {%>
1141
    <%} else if (genModel.isReflectiveDelegation()) {%>
1114
		eUnset(<%=genFeature.getQualifiedFeatureAccessor()%>);
1142
		eUnset(<%=genFeature.getQualifiedFeatureAccessor()%>);
1143
    <%} else if (genFeature.hasSettingDelegate()) {%>
1144
		<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicUnset(this, null, 0);
1115
    <%} else if (!genFeature.isVolatile()) {%>
1145
    <%} else if (!genFeature.isVolatile()) {%>
1116
      <%if (genFeature.isListType()) {%>
1146
      <%if (genFeature.isListType()) {%>
1117
        <%if (genModel.isVirtualDelegation()) {%>
1147
        <%if (genModel.isVirtualDelegation()) {%>
Lines 1277-1282 Link Here
1277
		return eDynamicIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
1307
		return eDynamicIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
1278
    <%} else if (genModel.isReflectiveDelegation()) {%>
1308
    <%} else if (genModel.isReflectiveDelegation()) {%>
1279
		return eIsSet(<%=genFeature.getQualifiedFeatureAccessor()%>);
1309
		return eIsSet(<%=genFeature.getQualifiedFeatureAccessor()%>);
1310
    <%} else if (genFeature.hasSettingDelegate()) {%>
1311
		return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);
1280
    <%} else if (!genFeature.isVolatile()) {%>
1312
    <%} else if (!genFeature.isVolatile()) {%>
1281
      <%if (genFeature.isListType()) {%>
1313
      <%if (genFeature.isListType()) {%>
1282
        <%if (genModel.isVirtualDelegation()) {%>
1314
        <%if (genModel.isVirtualDelegation()) {%>
Lines 1320-1335 Link Here
1320
<%for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) {%>
1352
<%for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) {%>
1321
<%@ include file="Class/genOperation.override.javajetinc" fail="alternative" %>
1353
<%@ include file="Class/genOperation.override.javajetinc" fail="alternative" %>
1322
<%@ start %>
1354
<%@ start %>
1323
  <%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && isImplementation && genOperation.isInvariant() && genOperation.hasInvariantExpression()) {%>
1355
  <%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && isImplementation) {%>
1356
    <%if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) {%>
1324
	/**
1357
	/**
1325
	 * The cached validation expression for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' invariant operation.
1358
	 * The cached validation expression for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' invariant operation.
1326
	 * <!-- begin-user-doc -->
1359
	 * <!-- begin-user-doc -->
1327
	 * <!-- end-user-doc -->
1360
	 * <!-- end-user-doc -->
1328
	 * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
1361
	 * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
1329
	 * @generated
1362
	 * @generated
1363
	 * @ordered
1364
	 */
1365
	protected static final <%=genModel.getImportedName("java.lang.String")%> <%=CodeGenUtil.upperName(genOperation.getName() + genOperation.getParameterTypes("_", false, "__"), genModel.getLocale())%>__EEXPRESSION = "<%=genOperation.getInvariantExpression("\t\t")%>";<%=genModel.getNonNLS()%>
1366
1367
    <%} else if (genOperation.hasInvocationDelegate()) {%>
1368
	/**
1369
	 * The cached invocation delegate for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation.
1370
	 * <!-- begin-user-doc -->
1371
	 * <!-- end-user-doc -->
1372
	 * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
1373
	 * @generated
1374
	 * @ordered
1330
	 */
1375
	 */
1331
	protected static final <%=genModel.getImportedName("java.lang.String")%> <%=CodeGenUtil.upperName(genOperation.getName(), genModel.getLocale())%><%=genOperation.getGenParameters().size() == 0 ? "" : "__" + CodeGenUtil.upperName(genOperation.getParameterTypes("_", false), genModel.getLocale())%>__EEXPRESSION = "<%=genOperation.getInvariantExpression("\t\t")%>";<%=genModel.getNonNLS()%>
1376
	protected static final <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal.InvocationDelegate <%=CodeGenUtil.upperName(genOperation.getName() + genOperation.getParameterTypes("_", false, "__"), genModel.getLocale())%>__EINVOCATION_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal)<%=genOperation.getQualifiedOperationAccessor()%>).getInvocationDelegate();
1332
1377
1378
    <%}%>
1333
  <%}%>
1379
  <%}%>
1334
<%if (isInterface) {%>
1380
<%if (isInterface) {%>
1335
<%@ include file="Class/genOperation.javadoc.override.javajetinc" fail="alternative" %>
1381
<%@ include file="Class/genOperation.javadoc.override.javajetinc" fail="alternative" %>
Lines 1392-1399 Link Here
1392
				 <%=diagnostics%>,
1438
				 <%=diagnostics%>,
1393
				 <%=context%>,
1439
				 <%=context%>,
1394
				 "<%=genOperation.getValidationDelegate()%>",<%=genModel.getNonNLS()%>
1440
				 "<%=genOperation.getValidationDelegate()%>",<%=genModel.getNonNLS()%>
1395
				 <%=opClass.getQualifiedClassifierAccessor()%>.getEOperations().get(<%=opClass.getEcoreClass().getEOperations().indexOf(genOperation.getEcoreOperation())%>),
1441
				 <%=genOperation.getQualifiedOperationAccessor()%>,
1396
				 <%=CodeGenUtil.upperName(genOperation.getName(), genModel.getLocale())%><%=genOperation.getGenParameters().size() == 0 ? "" : "__" + CodeGenUtil.upperName(genOperation.getParameterTypes("_", false), genModel.getLocale())%>__EEXPRESSION,
1442
				 <%=CodeGenUtil.upperName(genOperation.getName() + genOperation.getParameterTypes("_", false, "__"), genModel.getLocale())%>__EEXPRESSION,
1397
				 <%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
1443
				 <%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
1398
				 <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE,
1444
				 <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE,
1399
				 <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>);
1445
				 <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>);
Lines 1418-1423 Link Here
1418
		}
1464
		}
1419
		return true;
1465
		return true;
1420
    <%}%>
1466
    <%}%>
1467
  <%} else if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && genOperation.hasInvocationDelegate()) { int size = genOperation.getGenParameters().size();%>
1468
		try
1469
		{
1470
    <%if (genOperation.isVoid()) {%>
1471
			<%=CodeGenUtil.upperName(genOperation.getName() + genOperation.getParameterTypes("_", false, "__"), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>);
1472
    <%} else {%>
1473
			return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>(<%}%>(<%=genOperation.getObjectType(genClass)%>)<%=CodeGenUtil.upperName(genOperation.getName() + genOperation.getParameterTypes("_", false, "__"), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>).<%=genOperation.getPrimitiveValueFunction()%>()<%}%>;
1474
    <%}%>
1475
		}
1476
		catch (<%=genModel.getImportedName("java.lang.reflect.InvocationTargetException")%> ite)
1477
		{
1478
			throw new <%=genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")%>(ite);
1479
		}
1421
  <%} else {%>
1480
  <%} else {%>
1422
<%@ include file="Class/implementedGenOperation.TODO.override.javajetinc" fail="alternative" %>
1481
<%@ include file="Class/implementedGenOperation.TODO.override.javajetinc" fail="alternative" %>
1423
<%@ start %>
1482
<%@ start %>
Lines 1731-1737 Link Here
1731
		{
1790
		{
1732
<%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; }%>
1791
<%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; }%>
1733
			case <%=genClass.getQualifiedFeatureID(genFeature)%>:
1792
			case <%=genClass.getQualifiedFeatureID(genFeature)%>:
1734
  <%if (genFeature.isListType() && !genFeature.isUnsettable()) {%>
1793
  <%if (genFeature.hasSettingDelegate()) {%>
1794
    <%if (genFeature.isUnsettable()) {%>
1795
				return isSet<%=genFeature.getAccessorName()%>();
1796
    <%} else {%>
1797
				return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);
1798
    <%}%>
1799
  <%} else if (genFeature.isListType() && !genFeature.isUnsettable()) {%>
1735
    <%if (genFeature.isWrappedFeatureMapType()) {%>
1800
    <%if (genFeature.isWrappedFeatureMapType()) {%>
1736
      <%if (genFeature.isVolatile()) {%>
1801
      <%if (genFeature.isVolatile()) {%>
1737
				return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().isEmpty();
1802
				return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().isEmpty();
Lines 1879-1884 Link Here
1879
	}
1944
	}
1880
1945
1881
<%}%>
1946
<%}%>
1947
<%if (genModel.isOperationReflection() && isImplementation && (!genClass.getMixinGenOperations().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) {%>
1948
  <%if (!genClass.getMixinGenOperations().isEmpty()) {%>
1949
	/**
1950
	 * <!-- begin-user-doc -->
1951
	 * <!-- end-user-doc -->
1952
	 * @generated
1953
	 */
1954
    <%if (genModel.useClassOverrideAnnotation()) {%>
1955
	@Override
1956
    <%}%>
1957
	public int eBaseOperationID(int derivedOperationID, Class<%=singleWildcard%> baseClass)
1958
	{
1959
    <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
1960
		if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
1961
		{
1962
			switch (derivedOperationID<%=negativeOperationOffsetCorrection%>)
1963
			{
1964
      <%for (GenOperation genOperation : mixinGenClass.getGenOperations()) {%>
1965
				case <%=genClass.getQualifiedOperationID(genOperation)%>: return <%=mixinGenClass.getQualifiedOperationID(genOperation)%>;
1966
      <%}%>
1967
				default: return -1;
1968
			}
1969
		}
1970
    <%}%>
1971
		return super.eBaseOperationID(derivedOperationID, baseClass);
1972
	}
1973
  <%}%>
1974
1975
	/**
1976
	 * <!-- begin-user-doc -->
1977
	 * <!-- end-user-doc -->
1978
	 * @generated
1979
	 */
1980
  <%if (genModel.useClassOverrideAnnotation()) {%>
1981
	@Override
1982
  <%}%>
1983
	public int eDerivedOperationID(int baseOperationID, Class<%=singleWildcard%> baseClass)
1984
	{
1985
  <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
1986
		if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
1987
		{
1988
			switch (baseOperationID)
1989
			{
1990
    <%for (GenOperation genOperation : mixinGenClass.getGenOperations()) {%>
1991
				case <%=mixinGenClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(genOperation)%><%=positiveOperationOffsetCorrection%>;
1992
    <%}%>
1993
				default: return -1;
1994
			}
1995
		}
1996
  <%}%>
1997
  <%if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) {%>
1998
		if (baseClass == <%=genClass.getRawImportedInterfaceName()%>.class)
1999
		{
2000
			switch (baseOperationID<%=negativeOperationOffsetCorrection%>)
2001
			{
2002
    <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
2003
				case <%=genClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(genOperation)%><%=positiveOperationOffsetCorrection%>;
2004
    <%}%>
2005
				default: return -1;
2006
			}
2007
		}
2008
  <%}%>
2009
		return super.eDerivedOperationID(baseOperationID, baseClass);
2010
	}
2011
2012
<%}%>
1882
<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%>
2013
<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%>
1883
  <%if (eVirtualValuesField != null) {%>
2014
  <%if (eVirtualValuesField != null) {%>
1884
	/**
2015
	/**
Lines 1956-1961 Link Here
1956
    <%}%>
2087
    <%}%>
1957
  <%}%>
2088
  <%}%>
1958
<%}%>
2089
<%}%>
2090
<%if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) {%>
2091
	/**
2092
	 * <!-- begin-user-doc -->
2093
	 * <!-- end-user-doc -->
2094
	 * @generated
2095
	 */
2096
  <%if (genModel.useClassOverrideAnnotation()) {%>
2097
	@Override
2098
  <%}%>
2099
  <%LOOP: for (GenOperation genOperation : genClass.getGenOperations()) {%>
2100
    <%for (GenParameter genParameter : genOperation.getGenParameters()) {%>
2101
      <%if (genParameter.isUncheckedCast()) {%>
2102
	@SuppressWarnings("unchecked")
2103
      <%break LOOP;}%>
2104
    <%}%>
2105
  <%}%>
2106
	public Object eInvoke(int operationID, <%=genModel.getImportedName("org.eclipse.emf.common.util.EList")%><%=singleWildcard%> arguments) throws <%=genModel.getImportedName("java.lang.reflect.InvocationTargetException")%>
2107
	{
2108
		switch (operationID<%=negativeOperationOffsetCorrection%>)
2109
		{
2110
<%for (GenOperation genOperation : genClass.getGenOperations()) { List<GenParameter> genParameters = genOperation.getGenParameters(); int size = genParameters.size();%>
2111
			case <%=genClass.getQualifiedOperationID(genOperation)%>:
2112
  <%if (genOperation.isVoid()) {%>
2113
				<%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%>(<%=genParameter.getObjectType(genClass)%>)arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>);
2114
				return null;
2115
  <%} else {%>
2116
				return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>new <%=genOperation.getObjectType(genClass)%>(<%}%><%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%>(<%=genParameter.getObjectType(genClass)%>)arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>)<%}%>;
2117
  <%}%>
2118
<%}%>
2119
		}
2120
<%if (genModel.isMinimalReflectiveMethods()) {%>
2121
		return super.eInvoke(operationID, arguments);
2122
<%} else {%>
2123
		return eDynamicInvoke(operationID, arguments);
2124
<%}%>
2125
	}
2126
2127
<%}%>
1959
<%if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {%>
2128
<%if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {%>
1960
	/**
2129
	/**
1961
	 * <!-- begin-user-doc -->
2130
	 * <!-- begin-user-doc -->
(-)templates/model/PackageClass.javajet (-6 / +84 lines)
Lines 3-9 Link Here
3
/**
3
/**
4
 * <copyright>
4
 * <copyright>
5
 *
5
 *
6
 * Copyright (c) 2002-2006 IBM Corporation and others.
6
 * Copyright (c) 2002-2009 IBM Corporation and others.
7
 * All rights reserved.   This program and the accompanying materials
7
 * All rights reserved.   This program and the accompanying materials
8
 * are made available under the terms of the Eclipse Public License v1.0
8
 * are made available under the terms of the Eclipse Public License v1.0
9
 * which accompanies this distribution, and is available at
9
 * which accompanies this distribution, and is available at
Lines 47-52 Link Here
47
 * <ul>
47
 * <ul>
48
 *   <li>each class,</li>
48
 *   <li>each class,</li>
49
 *   <li>each feature of each class,</li>
49
 *   <li>each feature of each class,</li>
50
  <%if (genModel.isOperationReflection()) {%>
51
 *   <li>each operation of each class,</li>
52
  <%}%>
50
 *   <li>each enum,</li>
53
 *   <li>each enum,</li>
51
 *   <li>and each data type</li>
54
 *   <li>and each data type</li>
52
 * </ul>
55
 * </ul>
Lines 186-191 Link Here
186
	 */
189
	 */
187
	<%=publicStaticFinalFlag%>int <%=genClass.getFeatureCountID()%> = <%=genClass.getFeatureCountValue()%>;
190
	<%=publicStaticFinalFlag%>int <%=genClass.getFeatureCountID()%> = <%=genClass.getFeatureCountValue()%>;
188
191
192
      <%if (genModel.isOperationReflection()) {%>
193
        <%for (GenOperation genOperation : genClass.getAllGenOperations()) {%>
194
	/**
195
	 * The operation id for the '<em><%=genOperation.getFormattedName()%></em>' operation.
196
	 * <!-- begin-user-doc -->
197
	 * <!-- end-user-doc -->
198
	 * @generated
199
	 * @ordered
200
	 */
201
	<%=publicStaticFinalFlag%>int <%=genClass.getOperationID(genOperation, false)%> = <%=genClass.getOperationValue(genOperation)%>;
202
203
        <%}%>
204
	/**
205
	 * The number of operations of the '<em><%=genClass.getFormattedName()%></em>' class.
206
	 * <!-- begin-user-doc -->
207
	 * <!-- end-user-doc -->
208
	 * @generated
209
	 * @ordered
210
	 */
211
	<%=publicStaticFinalFlag%>int <%=genClass.getOperationCountID()%> = <%=genClass.getOperationCountValue()%>;
212
213
      <%}%>
189
    <%}%>
214
    <%}%>
190
  <%}%>
215
  <%}%>
191
<%}%>
216
<%}%>
Lines 440-445 Link Here
440
<%}%>
465
<%}%>
441
466
442
      <%}%>
467
      <%}%>
468
      <%if (genModel.isOperationReflection()) {%>
469
        <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
470
<%if (isInterface) {%>
471
	/**
472
	 * Returns the meta object for the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation.
473
	 * <!-- begin-user-doc -->
474
	 * <!-- end-user-doc -->
475
	 * @return the meta object for the '<em><%=genOperation.getFormattedName()%></em>' operation.
476
	 * @see <%=genClass.getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
477
	 * @generated
478
	 */
479
<%} else {%>
480
	/**
481
	 * <!-- begin-user-doc -->
482
	 * <!-- end-user-doc -->
483
	 * @generated
484
	 */
485
<%}%>
486
<%if (isImplementation) {%>
487
	public <%=genOperation.getImportedMetaType()%> get<%=genOperation.getOperationAccessorName()%>()
488
	{
489
        <%if (!genPackage.isLoadedInitialization()) {%>
490
		return (<%=genOperation.getImportedMetaType()%>)<%=genClass.getClassifierInstanceName()%>.getEOperations().get(<%=genClass.getLocalOperationIndex(genOperation)%>);
491
        <%} else {%>
492
        return (<%=genOperation.getImportedMetaType()%>)get<%=genClassifier.getClassifierAccessorName()%>().getEOperations().get(<%=genClass.getLocalOperationIndex(genOperation)%>);
493
        <%}%>
494
	}
495
<%} else {%>
496
	<%=genOperation.getImportedMetaType()%> get<%=genOperation.getOperationAccessorName()%>();
497
<%}%>
498
499
        <%}%>
500
      <%}%>
443
    <%}%>
501
    <%}%>
444
  <%}%>
502
  <%}%>
445
<%if (isInterface) {%>
503
<%if (isInterface) {%>
Lines 494-499 Link Here
494
        <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
552
        <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
495
		create<%=genFeature.getMetaType()%>(<%=genClass.getClassifierInstanceName()%>, <%=genClass.getFeatureID(genFeature)%>);
553
		create<%=genFeature.getMetaType()%>(<%=genClass.getClassifierInstanceName()%>, <%=genClass.getFeatureID(genFeature)%>);
496
        <%}%>
554
        <%}%>
555
        <%if (genModel.isOperationReflection()) {%>
556
          <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
557
		createEOperation(<%=genClass.getClassifierInstanceName()%>, <%=genClass.getOperationID(genOperation, false)%>);
558
          <%}%>
559
        <%}%>
497
        <%if (c.hasNext()) {%>
560
        <%if (c.hasNext()) {%>
498
561
499
        <%}%>
562
        <%}%>
Lines 673-679 Link Here
673
        <%}%>
736
        <%}%>
674
      <%}%>
737
      <%}%>
675
738
676
		// Initialize classes and features; add operations and parameters
739
		// Initialize classes<%if (genModel.isOperationReflection()) {%>, features, and operations; add parameters<%} else {%> and features; add operations and parameters<%}%>
677
      <%for (Iterator<GenClass> c=genPackage.getGenClasses().iterator(); c.hasNext();) { GenClass genClass = c.next(); boolean hasInstanceTypeName = genModel.useGenerics() && genClass.getEcoreClass().getInstanceTypeName() != null && genClass.getEcoreClass().getInstanceTypeName().contains("<");%>
740
      <%for (Iterator<GenClass> c=genPackage.getGenClasses().iterator(); c.hasNext();) { GenClass genClass = c.next(); boolean hasInstanceTypeName = genModel.useGenerics() && genClass.getEcoreClass().getInstanceTypeName() != null && genClass.getEcoreClass().getInstanceTypeName().contains("<");%>
678
		initEClass(<%=genClass.getClassifierInstanceName()%>, <%if (genClass.isDynamic()) {%>null<%} else {%><%=genClass.getRawImportedInterfaceName()%>.class<%}%>, "<%=genClass.getName()%>", <%=genClass.getAbstractFlag()%>, <%=genClass.getInterfaceFlag()%>, <%=genClass.getGeneratedInstanceClassFlag()%><%if (hasInstanceTypeName) {%>, "<%=genClass.getEcoreClass().getInstanceTypeName()%>"<%}%>);<%=genModel.getNonNLS()%><%if (hasInstanceTypeName) {%><%=genModel.getNonNLS(2)%><%}%>
741
		initEClass(<%=genClass.getClassifierInstanceName()%>, <%if (genClass.isDynamic()) {%>null<%} else {%><%=genClass.getRawImportedInterfaceName()%>.class<%}%>, "<%=genClass.getName()%>", <%=genClass.getAbstractFlag()%>, <%=genClass.getInterfaceFlag()%>, <%=genClass.getGeneratedInstanceClassFlag()%><%if (hasInstanceTypeName) {%>, "<%=genClass.getEcoreClass().getInstanceTypeName()%>"<%}%>);<%=genModel.getNonNLS()%><%if (hasInstanceTypeName) {%><%=genModel.getNonNLS(2)%><%}%>
679
        <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
742
        <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
Lines 698-712 Link Here
698
        <%for (GenOperation genOperation : genClass.getGenOperations()) {String prefix = ""; if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty() || !genOperation.getGenExceptions().isEmpty() || !genOperation.getGenTypeParameters().isEmpty()) { if (firstOperationAssignment) { firstOperationAssignment = false; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = "; } else { prefix = "op = "; }} %>
761
        <%for (GenOperation genOperation : genClass.getGenOperations()) {String prefix = ""; if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty() || !genOperation.getGenExceptions().isEmpty() || !genOperation.getGenTypeParameters().isEmpty()) { if (firstOperationAssignment) { firstOperationAssignment = false; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = "; } else { prefix = "op = "; }} %>
699
762
700
          <%if (genModel.useGenerics()) {%>
763
          <%if (genModel.useGenerics()) {%>
701
		<%=prefix%>addEOperation(<%=genClass.getClassifierInstanceName()%>, <%if (genOperation.isVoid() || genOperation.hasGenericType()) {%>null<%} else {%><%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>()<%}%>, "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
764
		<%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%if (genOperation.isVoid() || genOperation.hasGenericType()) {%>null<%} else {%><%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>()<%}%>, "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
702
          <%} else if (!genOperation.isVoid()) {%>
765
          <%} else if (!genOperation.isVoid()) {%>
703
            <%if (!genOperation.getEcoreOperation().isOrdered() || !genOperation.getEcoreOperation().isUnique()) { needsAddEOperation = true;%>
766
            <%if (!genOperation.getEcoreOperation().isOrdered() || !genOperation.getEcoreOperation().isUnique()) { needsAddEOperation = true;%>
704
		<%=prefix%>addEOperation(<%=genClass.getClassifierInstanceName()%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
767
		<%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
705
            <%} else {%>
768
            <%} else {%>
706
		<%=prefix%>addEOperation(<%=genClass.getClassifierInstanceName()%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>);<%=genModel.getNonNLS()%>
769
		<%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>);<%=genModel.getNonNLS()%>
707
            <%}%>
770
            <%}%>
708
          <%} else {%>
771
          <%} else {%>
709
		<%=prefix%>addEOperation(<%=genClass.getClassifierInstanceName()%>, null, "<%=genOperation.getName()%>");<%=genModel.getNonNLS()%>
772
		<%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, null, "<%=genOperation.getName()%>");<%=genModel.getNonNLS()%>
710
          <%}%>
773
          <%}%>
711
          <%if (genModel.useGenerics()) {%>
774
          <%if (genModel.useGenerics()) {%>
712
            <%for (ListIterator<GenTypeParameter> t=genOperation.getGenTypeParameters().listIterator(); t.hasNext(); ) { GenTypeParameter genTypeParameter = t.next(); String typeParameterVariable = ""; if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) { if (maxTypeParameterAssignment <= t.previousIndex()) { ++maxTypeParameterAssignment; typeParameterVariable = genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter") + " t" + t.nextIndex() + " = "; } else { typeParameterVariable = "t" + t.nextIndex() + " = "; }} %>
775
            <%for (ListIterator<GenTypeParameter> t=genOperation.getGenTypeParameters().listIterator(); t.hasNext(); ) { GenTypeParameter genTypeParameter = t.next(); String typeParameterVariable = ""; if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) { if (maxTypeParameterAssignment <= t.previousIndex()) { ++maxTypeParameterAssignment; typeParameterVariable = genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter") + " t" + t.nextIndex() + " = "; } else { typeParameterVariable = "t" + t.nextIndex() + " = "; }} %>
Lines 1002-1007 Link Here
1002
	 * <ul>
1065
	 * <ul>
1003
	 *   <li>each class,</li>
1066
	 *   <li>each class,</li>
1004
	 *   <li>each feature of each class,</li>
1067
	 *   <li>each feature of each class,</li>
1068
  <%if (genModel.isOperationReflection()) {%>
1069
	 *   <li>each operation of each class,</li>
1070
  <%}%>
1005
	 *   <li>each enum,</li>
1071
	 *   <li>each enum,</li>
1006
	 *   <li>and each data type</li>
1072
	 *   <li>and each data type</li>
1007
	 * </ul>
1073
	 * </ul>
Lines 1053-1058 Link Here
1053
		<%=publicStaticFinalFlag%><%=genFeature.getImportedMetaType()%> <%=genClass.getFeatureID(genFeature)%> = eINSTANCE.get<%=genFeature.getFeatureAccessorName()%>();
1119
		<%=publicStaticFinalFlag%><%=genFeature.getImportedMetaType()%> <%=genClass.getFeatureID(genFeature)%> = eINSTANCE.get<%=genFeature.getFeatureAccessorName()%>();
1054
1120
1055
      <%}%>
1121
      <%}%>
1122
      <%if (genModel.isOperationReflection()) {%>
1123
        <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
1124
		/**
1125
		 * The meta object literal for the '<em><b><%=genOperation.getFormattedName()%></b></em>' operation.
1126
		 * <!-- begin-user-doc -->
1127
		 * <!-- end-user-doc -->
1128
		 * @generated
1129
		 */
1130
		<%=publicStaticFinalFlag%><%=genOperation.getImportedMetaType()%> <%=genClass.getOperationID(genOperation, false)%> = eINSTANCE.get<%=genOperation.getOperationAccessorName()%>();
1131
1132
        <%}%>
1133
      <%}%>
1056
    <%}%>
1134
    <%}%>
1057
  <%}%>
1135
  <%}%>
1058
	}
1136
	}
(-)src/org/eclipse/emf/codegen/ecore/genmodel/impl/GenModelPackageImpl.java (-2 / +13 lines)
Lines 1572-1577 Link Here
1572
   * <!-- end-user-doc -->
1572
   * <!-- end-user-doc -->
1573
   * @generated
1573
   * @generated
1574
   */
1574
   */
1575
  public EOperation getGenBase__GetGenAnnotation_String()
1576
  {
1577
    return (EOperation)genBaseEClass.getEOperations().get(0);
1578
  }
1579
1580
  /**
1581
   * <!-- begin-user-doc -->
1582
   * <!-- end-user-doc -->
1583
   * @generated
1584
   */
1575
  public EClass getGenEnum()
1585
  public EClass getGenEnum()
1576
  {
1586
  {
1577
    return genEnumEClass;
1587
    return genEnumEClass;
Lines 2080-2085 Link Here
2080
2090
2081
    genBaseEClass = createEClass(GEN_BASE);
2091
    genBaseEClass = createEClass(GEN_BASE);
2082
    createEReference(genBaseEClass, GEN_BASE__GEN_ANNOTATIONS);
2092
    createEReference(genBaseEClass, GEN_BASE__GEN_ANNOTATIONS);
2093
    createEOperation(genBaseEClass, GEN_BASE___GET_GEN_ANNOTATION__STRING);
2083
2094
2084
    genEnumEClass = createEClass(GEN_ENUM);
2095
    genEnumEClass = createEClass(GEN_ENUM);
2085
    createEAttribute(genEnumEClass, GEN_ENUM__TYPE_SAFE_ENUM_COMPATIBLE);
2096
    createEAttribute(genEnumEClass, GEN_ENUM__TYPE_SAFE_ENUM_COMPATIBLE);
Lines 2174-2180 Link Here
2174
    genAnnotationEClass.getESuperTypes().add(this.getGenBase());
2185
    genAnnotationEClass.getESuperTypes().add(this.getGenBase());
2175
    genTypeParameterEClass.getESuperTypes().add(this.getGenBase());
2186
    genTypeParameterEClass.getESuperTypes().add(this.getGenBase());
2176
2187
2177
    // Initialize classes and features; add operations and parameters
2188
    // Initialize classes, features, and operations; add parameters
2178
    initEClass(genModelEClass, GenModel.class, "GenModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2189
    initEClass(genModelEClass, GenModel.class, "GenModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2179
    initEAttribute(getGenModel_CopyrightText(), ecorePackage.getEString(), "copyrightText", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2190
    initEAttribute(getGenModel_CopyrightText(), ecorePackage.getEString(), "copyrightText", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2180
    initEAttribute(getGenModel_ModelDirectory(), ecorePackage.getEString(), "modelDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2191
    initEAttribute(getGenModel_ModelDirectory(), ecorePackage.getEString(), "modelDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
Lines 2309-2315 Link Here
2309
    initEClass(genBaseEClass, GenBase.class, "GenBase", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2320
    initEClass(genBaseEClass, GenBase.class, "GenBase", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2310
    initEReference(getGenBase_GenAnnotations(), this.getGenAnnotation(), this.getGenAnnotation_GenBase(), "genAnnotations", null, 0, -1, GenBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2321
    initEReference(getGenBase_GenAnnotations(), this.getGenAnnotation(), this.getGenAnnotation_GenBase(), "genAnnotations", null, 0, -1, GenBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2311
2322
2312
    EOperation op = addEOperation(genBaseEClass, this.getGenAnnotation(), "getGenAnnotation", 0, 1, IS_UNIQUE, IS_ORDERED);
2323
    EOperation op = initEOperation(getGenBase__GetGenAnnotation_String(), this.getGenAnnotation(), "getGenAnnotation", 0, 1, IS_UNIQUE, IS_ORDERED);
2313
    addEParameter(op, ecorePackage.getEString(), "source", 0, 1, IS_UNIQUE, IS_ORDERED);
2324
    addEParameter(op, ecorePackage.getEString(), "source", 0, 1, IS_UNIQUE, IS_ORDERED);
2314
2325
2315
    initEClass(genEnumEClass, GenEnum.class, "GenEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2326
    initEClass(genEnumEClass, GenEnum.class, "GenEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
(-)src/org/eclipse/emf/codegen/ecore/genmodel/impl/GenBaseImpl.java (+17 lines)
Lines 17-22 Link Here
17
package org.eclipse.emf.codegen.ecore.genmodel.impl;
17
package org.eclipse.emf.codegen.ecore.genmodel.impl;
18
18
19
19
20
import java.lang.reflect.InvocationTargetException;
20
import java.io.BufferedInputStream;
21
import java.io.BufferedInputStream;
21
import java.io.ByteArrayOutputStream;
22
import java.io.ByteArrayOutputStream;
22
import java.io.DataInputStream;
23
import java.io.DataInputStream;
Lines 307-312 Link Here
307
    return super.eIsSet(featureID);
308
    return super.eIsSet(featureID);
308
  }
309
  }
309
310
311
  /**
312
   * <!-- begin-user-doc -->
313
   * <!-- end-user-doc -->
314
   * @generated
315
   */
316
  @Override
317
  public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
318
  {
319
    switch (operationID)
320
    {
321
      case GenModelPackage.GEN_BASE___GET_GEN_ANNOTATION__STRING:
322
        return getGenAnnotation((String)arguments.get(0));
323
    }
324
    return super.eInvoke(operationID, arguments);
325
  }
326
310
  public GenModel getGenModel()
327
  public GenModel getGenModel()
311
  {
328
  {
312
    return ((GenBase)eInternalContainer()).getGenModel();
329
    return ((GenBase)eInternalContainer()).getGenModel();
(-)src/org/eclipse/emf/codegen/ecore/genmodel/impl/GenOperationImpl.java (+64 lines)
Lines 597-603 Link Here
597
597
598
  public String getParameterTypes(String separator, boolean qualified)
598
  public String getParameterTypes(String separator, boolean qualified)
599
  {
599
  {
600
    return getParameterTypes(separator, qualified, "");
601
  }
602
603
  public String getParameterTypes(String separator, boolean qualified, String prefix)
604
  {
600
    StringBuffer parameterTypes = new StringBuffer();
605
    StringBuffer parameterTypes = new StringBuffer();
606
    
607
    if (prefix != null && getGenParameters().size() > 0)
608
    {
609
      parameterTypes.append(prefix);
610
    }
601
611
602
    for (Iterator<GenParameter> genParameterIterator = getGenParameters().iterator(); genParameterIterator.hasNext();)
612
    for (Iterator<GenParameter> genParameterIterator = getGenParameters().iterator(); genParameterIterator.hasNext();)
603
    {
613
    {
Lines 632-637 Link Here
632
    return parameterTypes.toString();
642
    return parameterTypes.toString();
633
  }
643
  }
634
644
645
  public String getParametersArray(GenClass context)
646
  {
647
    boolean isJSK50 = getGenModel().getComplianceLevel().getValue() >= GenJDKLevel.JDK50;
648
    StringBuffer parametersArray = new StringBuffer("new Object[]{");
649
    for (Iterator<GenParameter> genParameterIterator = getGenParameters().iterator(); genParameterIterator.hasNext();)
650
    {
651
      GenParameter genParameter = genParameterIterator.next();
652
      if (!isJSK50 && genParameter.isPrimitiveType())
653
      {
654
        parametersArray.append("new " + genParameter.getObjectType(context) + "(");
655
      }
656
      parametersArray.append(genParameter.getName());
657
      if (!isJSK50 && genParameter.isPrimitiveType())
658
      {
659
        parametersArray.append(")");
660
      }
661
      if (genParameterIterator.hasNext())
662
      {
663
        parametersArray.append(", ");
664
      }
665
    }
666
    parametersArray.append("}");
667
668
    return parametersArray.toString();
669
  }
670
671
  public String getOperationAccessorName()
672
  {
673
    return getGenClass().getName() + "__" + getCapName() + getParameterTypes("_", false, "_");
674
  }
675
676
  public String getQualifiedOperationAccessorName()
677
  {
678
    return getGenPackage().getImportedPackageInterfaceName() + ".eINSTANCE.get" + getOperationAccessorName();
679
  }
680
681
  public String getQualifiedOperationAccessor()
682
  {
683
    if (getGenModel().isOperationReflection())
684
    {
685
      return getGenPackage().isLiteralsInterface() ? getGenPackage().getImportedPackageInterfaceName() + ".Literals."
686
        + getGenClass().getOperationID(this, false) : getQualifiedOperationAccessorName() + "()";
687
    }
688
    else
689
    {
690
      return getGenClass().getQualifiedClassifierAccessor() + ".getEOperations().get(" + getGenClass().getLocalOperationIndex(this) + ")";
691
    }
692
  }
693
635
  public String getImportedMetaType()
694
  public String getImportedMetaType()
636
  {
695
  {
637
    return getGenModel().getImportedName("org.eclipse.emf.ecore.EOperation");
696
    return getGenModel().getImportedName("org.eclipse.emf.ecore.EOperation");
Lines 1126-1129 Link Here
1126
  {
1185
  {
1127
    return EcoreUtil.isSuppressedVisibility(getEcoreOperation());
1186
    return EcoreUtil.isSuppressedVisibility(getEcoreOperation());
1128
  }
1187
  }
1188
1189
  public boolean hasInvocationDelegate()
1190
  {
1191
    return EcoreUtil.getInvocationDelegateFactory(getEcoreOperation()) != null;
1192
  }
1129
}
1193
}
(-)src/org/eclipse/emf/codegen/ecore/genmodel/impl/GenPackageImpl.java (-9 / +13 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright> 
2
 * <copyright> 
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 4211-4224 Link Here
4211
          @Override
4211
          @Override
4212
          public String caseEOperation(EOperation eOperation)
4212
          public String caseEOperation(EOperation eOperation)
4213
          {
4213
          {
4214
            EClass eClass = eOperation.getEContainingClass();
4214
            if (getGenModel().isOperationReflection())
4215
            return 
4215
            {
4216
              (useGenerics ?  "" : "(" + getGenModel().getImportedName("org.eclipse.emf.ecore.EOperation") +  ")") + 
4216
              return "get" + findGenOperation(eOperation).getOperationAccessorName() + "()";
4217
                caseEClassifier(eClass) + 
4217
            }
4218
                ".getEOperations().get(" +
4218
            else
4219
                eClass.getEOperations().indexOf(eOperation) +
4219
            {
4220
                ")";
4220
              EClass eClass = eOperation.getEContainingClass();
4221
          }
4221
              return (useGenerics ? "" : "(" + getGenModel().getImportedName("org.eclipse.emf.ecore.EOperation") + ")")
4222
                + caseEClassifier(eClass) + ".getEOperations().get(" + eClass.getEOperations().indexOf(eOperation) + ")";
4223
            }
4224
        }
4225
4222
          @Override
4226
          @Override
4223
          public String caseEEnumLiteral(EEnumLiteral eEnumLiteral)
4227
          public String caseEEnumLiteral(EEnumLiteral eEnumLiteral)
4224
          {
4228
          {
(-)src/org/eclipse/emf/codegen/ecore/genmodel/impl/GenModelImpl.java (+5 lines)
Lines 8770-8775 Link Here
8770
    return "_UI_" + CodeGenUtil.validJavaIdentifier(category) + "PropertyCategory";
8770
    return "_UI_" + CodeGenUtil.validJavaIdentifier(category) + "PropertyCategory";
8771
  }
8771
  }
8772
8772
8773
  public boolean isOperationReflection()
8774
  {
8775
    return getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE;
8776
  }
8777
8773
  public boolean isVirtualDelegation()
8778
  public boolean isVirtualDelegation()
8774
  {
8779
  {
8775
    return getFeatureDelegation() == GenDelegationKind.VIRTUAL_LITERAL;
8780
    return getFeatureDelegation() == GenDelegationKind.VIRTUAL_LITERAL;
(-)src/org/eclipse/emf/codegen/ecore/genmodel/impl/GenFeatureImpl.java (-1 / +6 lines)
Lines 1840-1846 Link Here
1840
1840
1841
  public boolean isESetField()
1841
  public boolean isESetField()
1842
  {
1842
  {
1843
    return !isContainer() && !isListType() && isUnsettable() && !isVolatile();
1843
    return !isContainer() && !isListType() && isUnsettable() && !isVolatile() && !hasSettingDelegate();
1844
  }
1844
  }
1845
1845
1846
  public boolean isGet()
1846
  public boolean isGet()
Lines 1903-1906 Link Here
1903
  {
1903
  {
1904
    return isVolatile() || isDerived();
1904
    return isVolatile() || isDerived();
1905
  }
1905
  }
1906
1907
  public boolean hasSettingDelegate()
1908
  {
1909
    return EcoreUtil.getSettingDelegateFactory(getEcoreFeature()) != null;
1910
  }
1906
} //GenFeatureImpl
1911
} //GenFeatureImpl
(-)src/org/eclipse/emf/codegen/ecore/genmodel/impl/GenClassImpl.java (-2 / +68 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright> 
2
 * <copyright> 
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 947-953 Link Here
947
947
948
  public String getOperationID(GenOperation genOperation)
948
  public String getOperationID(GenOperation genOperation)
949
  {
949
  {
950
    return getClassifierID() + "__" + format(genOperation.getName(), '_', null, false, false).toUpperCase(getGenModel().getLocale());
950
    return getOperationID(genOperation, true);
951
  }
951
  }
952
952
953
  public String getFeatureValue(GenFeature genFeature)
953
  public String getFeatureValue(GenFeature genFeature)
Lines 978-983 Link Here
978
    return Integer.toString(getEcoreClass().getEStructuralFeatures().indexOf(genFeature.getEcoreFeature()));
978
    return Integer.toString(getEcoreClass().getEStructuralFeatures().indexOf(genFeature.getEcoreFeature()));
979
  }
979
  }
980
980
981
  public String getOperationID(GenOperation genOperation, boolean diagnosticCode)
982
  {
983
    return getClassifierID() + (diagnosticCode ? "__" : "___") + (format(genOperation.getName(), '_', null, false, false) + (diagnosticCode ? "" : genOperation.getParameterTypes("_", false, "__"))).toUpperCase(getGenModel().getLocale());
984
  }
985
986
  public String getQualifiedOperationID(GenOperation genOperation)
987
  {
988
    return getGenPackage().getImportedPackageInterfaceName() + "." + getOperationID(genOperation, false);
989
  }
990
991
  public String getOperationValue(GenOperation genOperation)
992
  {
993
    List<GenOperation> allOperations = getAllGenOperations();
994
    int i = allOperations.indexOf(genOperation);
995
    GenClass base = getBaseGenClass();
996
997
    if (base == null)
998
    {
999
      return Integer.toString(i);
1000
    }
1001
1002
    int baseCount = base.getOperationCount();    
1003
    if (i < baseCount)
1004
    {
1005
      return getGenPackage() == base.getGenPackage() ?
1006
        base.getOperationID(genOperation, false) : base.getQualifiedOperationID(genOperation);
1007
    }
1008
1009
    String baseCountID = getGenPackage() == base.getGenPackage() ?
1010
      base.getOperationCountID() : base.getQualifiedOperationCountID();
1011
    return baseCountID + " + " + Integer.toString(i - baseCount);
1012
  }
1013
1014
  public String getLocalOperationIndex(GenOperation genOperation)
1015
  {
1016
    return Integer.toString(getEcoreClass().getEOperations().indexOf(genOperation.getEcoreOperation()));
1017
  }
1018
981
  public String getFlagsField(GenFeature genFeature)
1019
  public String getFlagsField(GenFeature genFeature)
982
  {
1020
  {
983
    if (isFlag(genFeature))
1021
    if (isFlag(genFeature))
Lines 1151-1156 Link Here
1151
    return getAllGenFeatures().size();
1189
    return getAllGenFeatures().size();
1152
  }
1190
  }
1153
1191
1192
  public String getOperationCountID()
1193
  {
1194
    return getClassifierID() + "_OPERATION_COUNT";
1195
  }
1196
1197
  public String getQualifiedOperationCountID()
1198
  {
1199
    return getGenPackage().getImportedPackageInterfaceName() + "." + getOperationCountID();
1200
  }
1201
1202
  public String getOperationCountValue()
1203
  {
1204
    GenClass base = getBaseGenClass();
1205
    if (base == null)
1206
    {
1207
      return Integer.toString(getOperationCount());
1208
    }
1209
1210
    String baseCountID = getGenPackage() == base.getGenPackage() ?
1211
      base.getOperationCountID() : base.getQualifiedOperationCountID();
1212
    return baseCountID + " + " + Integer.toString(getOperationCount() - base.getOperationCount());
1213
  }
1214
1215
  public int getOperationCount()
1216
  {
1217
    return getAllGenOperations().size();
1218
  }
1219
1154
  public boolean isEObject()
1220
  public boolean isEObject()
1155
  {
1221
  {
1156
    return getName().equals("EObject") && getGenPackage().isEcorePackage();
1222
    return getName().equals("EObject") && getGenPackage().isEcorePackage();
(-)src/org/eclipse/emf/codegen/ecore/genmodel/GenModelPackage.java (-1 / +272 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright>
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 20-25 Link Here
20
import org.eclipse.emf.ecore.EAttribute;
20
import org.eclipse.emf.ecore.EAttribute;
21
import org.eclipse.emf.ecore.EClass;
21
import org.eclipse.emf.ecore.EClass;
22
import org.eclipse.emf.ecore.EEnum;
22
import org.eclipse.emf.ecore.EEnum;
23
import org.eclipse.emf.ecore.EOperation;
23
import org.eclipse.emf.ecore.EPackage;
24
import org.eclipse.emf.ecore.EPackage;
24
import org.eclipse.emf.ecore.EReference;
25
import org.eclipse.emf.ecore.EReference;
25
26
Lines 114-119 Link Here
114
  int GEN_BASE_FEATURE_COUNT = 1;
115
  int GEN_BASE_FEATURE_COUNT = 1;
115
116
116
  /**
117
  /**
118
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
119
   * <!-- begin-user-doc -->
120
   * <!-- end-user-doc -->
121
   * @generated
122
   * @ordered
123
   */
124
  int GEN_BASE___GET_GEN_ANNOTATION__STRING = 0;
125
126
  /**
127
   * The number of operations of the '<em>Gen Base</em>' class.
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   * @ordered
132
   */
133
  int GEN_BASE_OPERATION_COUNT = 1;
134
135
  /**
117
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenModelImpl <em>Gen Model</em>}' class.
136
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenModelImpl <em>Gen Model</em>}' class.
118
   * <!-- begin-user-doc -->
137
   * <!-- begin-user-doc -->
119
   * <!-- end-user-doc -->
138
   * <!-- end-user-doc -->
Lines 826-831 Link Here
826
  int GEN_MODEL_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 76;
845
  int GEN_MODEL_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 76;
827
846
828
  /**
847
  /**
848
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
849
   * <!-- begin-user-doc -->
850
   * <!-- end-user-doc -->
851
   * @generated
852
   * @ordered
853
   */
854
  int GEN_MODEL___GET_GEN_ANNOTATION__STRING = GEN_BASE___GET_GEN_ANNOTATION__STRING;
855
856
  /**
857
   * The number of operations of the '<em>Gen Model</em>' class.
858
   * <!-- begin-user-doc -->
859
   * <!-- end-user-doc -->
860
   * @generated
861
   * @ordered
862
   */
863
  int GEN_MODEL_OPERATION_COUNT = GEN_BASE_OPERATION_COUNT + 0;
864
865
  /**
829
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenPackageImpl <em>Gen Package</em>}' class.
866
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenPackageImpl <em>Gen Package</em>}' class.
830
   * <!-- begin-user-doc -->
867
   * <!-- begin-user-doc -->
831
   * <!-- end-user-doc -->
868
   * <!-- end-user-doc -->
Lines 1115-1120 Link Here
1115
  int GEN_PACKAGE_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 29;
1152
  int GEN_PACKAGE_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 29;
1116
1153
1117
  /**
1154
  /**
1155
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1156
   * <!-- begin-user-doc -->
1157
   * <!-- end-user-doc -->
1158
   * @generated
1159
   * @ordered
1160
   */
1161
  int GEN_PACKAGE___GET_GEN_ANNOTATION__STRING = GEN_BASE___GET_GEN_ANNOTATION__STRING;
1162
1163
  /**
1164
   * The number of operations of the '<em>Gen Package</em>' class.
1165
   * <!-- begin-user-doc -->
1166
   * <!-- end-user-doc -->
1167
   * @generated
1168
   * @ordered
1169
   */
1170
  int GEN_PACKAGE_OPERATION_COUNT = GEN_BASE_OPERATION_COUNT + 0;
1171
1172
  /**
1118
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl <em>Gen Classifier</em>}' class.
1173
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl <em>Gen Classifier</em>}' class.
1119
   * <!-- begin-user-doc -->
1174
   * <!-- begin-user-doc -->
1120
   * <!-- end-user-doc -->
1175
   * <!-- end-user-doc -->
Lines 1161-1166 Link Here
1161
  int GEN_CLASSIFIER_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 2;
1216
  int GEN_CLASSIFIER_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 2;
1162
1217
1163
  /**
1218
  /**
1219
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1220
   * <!-- begin-user-doc -->
1221
   * <!-- end-user-doc -->
1222
   * @generated
1223
   * @ordered
1224
   */
1225
  int GEN_CLASSIFIER___GET_GEN_ANNOTATION__STRING = GEN_BASE___GET_GEN_ANNOTATION__STRING;
1226
1227
  /**
1228
   * The number of operations of the '<em>Gen Classifier</em>' class.
1229
   * <!-- begin-user-doc -->
1230
   * <!-- end-user-doc -->
1231
   * @generated
1232
   * @ordered
1233
   */
1234
  int GEN_CLASSIFIER_OPERATION_COUNT = GEN_BASE_OPERATION_COUNT + 0;
1235
1236
  /**
1164
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassImpl <em>Gen Class</em>}' class.
1237
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassImpl <em>Gen Class</em>}' class.
1165
   * <!-- begin-user-doc -->
1238
   * <!-- begin-user-doc -->
1166
   * <!-- end-user-doc -->
1239
   * <!-- end-user-doc -->
Lines 1270-1275 Link Here
1270
  int GEN_CLASS_FEATURE_COUNT = GEN_CLASSIFIER_FEATURE_COUNT + 7;
1343
  int GEN_CLASS_FEATURE_COUNT = GEN_CLASSIFIER_FEATURE_COUNT + 7;
1271
1344
1272
  /**
1345
  /**
1346
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1347
   * <!-- begin-user-doc -->
1348
   * <!-- end-user-doc -->
1349
   * @generated
1350
   * @ordered
1351
   */
1352
  int GEN_CLASS___GET_GEN_ANNOTATION__STRING = GEN_CLASSIFIER___GET_GEN_ANNOTATION__STRING;
1353
1354
  /**
1355
   * The number of operations of the '<em>Gen Class</em>' class.
1356
   * <!-- begin-user-doc -->
1357
   * <!-- end-user-doc -->
1358
   * @generated
1359
   * @ordered
1360
   */
1361
  int GEN_CLASS_OPERATION_COUNT = GEN_CLASSIFIER_OPERATION_COUNT + 0;
1362
1363
  /**
1273
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenTypedElementImpl <em>Gen Typed Element</em>}' class.
1364
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenTypedElementImpl <em>Gen Typed Element</em>}' class.
1274
   * <!-- begin-user-doc -->
1365
   * <!-- begin-user-doc -->
1275
   * <!-- end-user-doc -->
1366
   * <!-- end-user-doc -->
Lines 1298-1303 Link Here
1298
  int GEN_TYPED_ELEMENT_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 0;
1389
  int GEN_TYPED_ELEMENT_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 0;
1299
1390
1300
  /**
1391
  /**
1392
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1393
   * <!-- begin-user-doc -->
1394
   * <!-- end-user-doc -->
1395
   * @generated
1396
   * @ordered
1397
   */
1398
  int GEN_TYPED_ELEMENT___GET_GEN_ANNOTATION__STRING = GEN_BASE___GET_GEN_ANNOTATION__STRING;
1399
1400
  /**
1401
   * The number of operations of the '<em>Gen Typed Element</em>' class.
1402
   * <!-- begin-user-doc -->
1403
   * <!-- end-user-doc -->
1404
   * @generated
1405
   * @ordered
1406
   */
1407
  int GEN_TYPED_ELEMENT_OPERATION_COUNT = GEN_BASE_OPERATION_COUNT + 0;
1408
1409
  /**
1301
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenFeatureImpl <em>Gen Feature</em>}' class.
1410
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenFeatureImpl <em>Gen Feature</em>}' class.
1302
   * <!-- begin-user-doc -->
1411
   * <!-- begin-user-doc -->
1303
   * <!-- end-user-doc -->
1412
   * <!-- end-user-doc -->
Lines 1425-1430 Link Here
1425
  int GEN_FEATURE_FEATURE_COUNT = GEN_TYPED_ELEMENT_FEATURE_COUNT + 11;
1534
  int GEN_FEATURE_FEATURE_COUNT = GEN_TYPED_ELEMENT_FEATURE_COUNT + 11;
1426
1535
1427
  /**
1536
  /**
1537
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1538
   * <!-- begin-user-doc -->
1539
   * <!-- end-user-doc -->
1540
   * @generated
1541
   * @ordered
1542
   */
1543
  int GEN_FEATURE___GET_GEN_ANNOTATION__STRING = GEN_TYPED_ELEMENT___GET_GEN_ANNOTATION__STRING;
1544
1545
  /**
1546
   * The number of operations of the '<em>Gen Feature</em>' class.
1547
   * <!-- begin-user-doc -->
1548
   * <!-- end-user-doc -->
1549
   * @generated
1550
   * @ordered
1551
   */
1552
  int GEN_FEATURE_OPERATION_COUNT = GEN_TYPED_ELEMENT_OPERATION_COUNT + 0;
1553
1554
  /**
1428
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenDataTypeImpl <em>Gen Data Type</em>}' class.
1555
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenDataTypeImpl <em>Gen Data Type</em>}' class.
1429
   * <!-- begin-user-doc -->
1556
   * <!-- begin-user-doc -->
1430
   * <!-- end-user-doc -->
1557
   * <!-- end-user-doc -->
Lines 1480-1485 Link Here
1480
  int GEN_DATA_TYPE_FEATURE_COUNT = GEN_CLASSIFIER_FEATURE_COUNT + 1;
1607
  int GEN_DATA_TYPE_FEATURE_COUNT = GEN_CLASSIFIER_FEATURE_COUNT + 1;
1481
1608
1482
  /**
1609
  /**
1610
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1611
   * <!-- begin-user-doc -->
1612
   * <!-- end-user-doc -->
1613
   * @generated
1614
   * @ordered
1615
   */
1616
  int GEN_DATA_TYPE___GET_GEN_ANNOTATION__STRING = GEN_CLASSIFIER___GET_GEN_ANNOTATION__STRING;
1617
1618
  /**
1619
   * The number of operations of the '<em>Gen Data Type</em>' class.
1620
   * <!-- begin-user-doc -->
1621
   * <!-- end-user-doc -->
1622
   * @generated
1623
   * @ordered
1624
   */
1625
  int GEN_DATA_TYPE_OPERATION_COUNT = GEN_CLASSIFIER_OPERATION_COUNT + 0;
1626
1627
  /**
1483
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenEnumImpl <em>Gen Enum</em>}' class.
1628
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenEnumImpl <em>Gen Enum</em>}' class.
1484
   * <!-- begin-user-doc -->
1629
   * <!-- begin-user-doc -->
1485
   * <!-- end-user-doc -->
1630
   * <!-- end-user-doc -->
Lines 1562-1567 Link Here
1562
  int GEN_ENUM_FEATURE_COUNT = GEN_DATA_TYPE_FEATURE_COUNT + 3;
1707
  int GEN_ENUM_FEATURE_COUNT = GEN_DATA_TYPE_FEATURE_COUNT + 3;
1563
1708
1564
  /**
1709
  /**
1710
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1711
   * <!-- begin-user-doc -->
1712
   * <!-- end-user-doc -->
1713
   * @generated
1714
   * @ordered
1715
   */
1716
  int GEN_ENUM___GET_GEN_ANNOTATION__STRING = GEN_DATA_TYPE___GET_GEN_ANNOTATION__STRING;
1717
1718
  /**
1719
   * The number of operations of the '<em>Gen Enum</em>' class.
1720
   * <!-- begin-user-doc -->
1721
   * <!-- end-user-doc -->
1722
   * @generated
1723
   * @ordered
1724
   */
1725
  int GEN_ENUM_OPERATION_COUNT = GEN_DATA_TYPE_OPERATION_COUNT + 0;
1726
1727
  /**
1565
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenEnumLiteralImpl <em>Gen Enum Literal</em>}' class.
1728
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenEnumLiteralImpl <em>Gen Enum Literal</em>}' class.
1566
   * <!-- begin-user-doc -->
1729
   * <!-- begin-user-doc -->
1567
   * <!-- end-user-doc -->
1730
   * <!-- end-user-doc -->
Lines 1608-1613 Link Here
1608
  int GEN_ENUM_LITERAL_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 2;
1771
  int GEN_ENUM_LITERAL_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 2;
1609
1772
1610
  /**
1773
  /**
1774
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1775
   * <!-- begin-user-doc -->
1776
   * <!-- end-user-doc -->
1777
   * @generated
1778
   * @ordered
1779
   */
1780
  int GEN_ENUM_LITERAL___GET_GEN_ANNOTATION__STRING = GEN_BASE___GET_GEN_ANNOTATION__STRING;
1781
1782
  /**
1783
   * The number of operations of the '<em>Gen Enum Literal</em>' class.
1784
   * <!-- begin-user-doc -->
1785
   * <!-- end-user-doc -->
1786
   * @generated
1787
   * @ordered
1788
   */
1789
  int GEN_ENUM_LITERAL_OPERATION_COUNT = GEN_BASE_OPERATION_COUNT + 0;
1790
1791
  /**
1611
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenOperationImpl <em>Gen Operation</em>}' class.
1792
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenOperationImpl <em>Gen Operation</em>}' class.
1612
   * <!-- begin-user-doc -->
1793
   * <!-- begin-user-doc -->
1613
   * <!-- end-user-doc -->
1794
   * <!-- end-user-doc -->
Lines 1672-1677 Link Here
1672
  int GEN_OPERATION_FEATURE_COUNT = GEN_TYPED_ELEMENT_FEATURE_COUNT + 4;
1853
  int GEN_OPERATION_FEATURE_COUNT = GEN_TYPED_ELEMENT_FEATURE_COUNT + 4;
1673
1854
1674
  /**
1855
  /**
1856
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1857
   * <!-- begin-user-doc -->
1858
   * <!-- end-user-doc -->
1859
   * @generated
1860
   * @ordered
1861
   */
1862
  int GEN_OPERATION___GET_GEN_ANNOTATION__STRING = GEN_TYPED_ELEMENT___GET_GEN_ANNOTATION__STRING;
1863
1864
  /**
1865
   * The number of operations of the '<em>Gen Operation</em>' class.
1866
   * <!-- begin-user-doc -->
1867
   * <!-- end-user-doc -->
1868
   * @generated
1869
   * @ordered
1870
   */
1871
  int GEN_OPERATION_OPERATION_COUNT = GEN_TYPED_ELEMENT_OPERATION_COUNT + 0;
1872
1873
  /**
1675
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenParameterImpl <em>Gen Parameter</em>}' class.
1874
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenParameterImpl <em>Gen Parameter</em>}' class.
1676
   * <!-- begin-user-doc -->
1875
   * <!-- begin-user-doc -->
1677
   * <!-- end-user-doc -->
1876
   * <!-- end-user-doc -->
Lines 1719-1724 Link Here
1719
1918
1720
1919
1721
  /**
1920
  /**
1921
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
1922
   * <!-- begin-user-doc -->
1923
   * <!-- end-user-doc -->
1924
   * @generated
1925
   * @ordered
1926
   */
1927
  int GEN_PARAMETER___GET_GEN_ANNOTATION__STRING = GEN_TYPED_ELEMENT___GET_GEN_ANNOTATION__STRING;
1928
1929
  /**
1930
   * The number of operations of the '<em>Gen Parameter</em>' class.
1931
   * <!-- begin-user-doc -->
1932
   * <!-- end-user-doc -->
1933
   * @generated
1934
   * @ordered
1935
   */
1936
  int GEN_PARAMETER_OPERATION_COUNT = GEN_TYPED_ELEMENT_OPERATION_COUNT + 0;
1937
1938
  /**
1722
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenAnnotationImpl <em>Gen Annotation</em>}' class.
1939
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenAnnotationImpl <em>Gen Annotation</em>}' class.
1723
   * <!-- begin-user-doc -->
1940
   * <!-- begin-user-doc -->
1724
   * <!-- end-user-doc -->
1941
   * <!-- end-user-doc -->
Lines 1792-1797 Link Here
1792
  int GEN_ANNOTATION_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 5;
2009
  int GEN_ANNOTATION_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 5;
1793
2010
1794
  /**
2011
  /**
2012
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
2013
   * <!-- begin-user-doc -->
2014
   * <!-- end-user-doc -->
2015
   * @generated
2016
   * @ordered
2017
   */
2018
  int GEN_ANNOTATION___GET_GEN_ANNOTATION__STRING = GEN_BASE___GET_GEN_ANNOTATION__STRING;
2019
2020
  /**
2021
   * The number of operations of the '<em>Gen Annotation</em>' class.
2022
   * <!-- begin-user-doc -->
2023
   * <!-- end-user-doc -->
2024
   * @generated
2025
   * @ordered
2026
   */
2027
  int GEN_ANNOTATION_OPERATION_COUNT = GEN_BASE_OPERATION_COUNT + 0;
2028
2029
  /**
1795
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenTypeParameterImpl <em>Gen Type Parameter</em>}' class.
2030
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenTypeParameterImpl <em>Gen Type Parameter</em>}' class.
1796
   * <!-- begin-user-doc -->
2031
   * <!-- begin-user-doc -->
1797
   * <!-- end-user-doc -->
2032
   * <!-- end-user-doc -->
Lines 1829-1834 Link Here
1829
  int GEN_TYPE_PARAMETER_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 1;
2064
  int GEN_TYPE_PARAMETER_FEATURE_COUNT = GEN_BASE_FEATURE_COUNT + 1;
1830
2065
1831
  /**
2066
  /**
2067
   * The operation id for the '<em>Get Gen Annotation</em>' operation.
2068
   * <!-- begin-user-doc -->
2069
   * <!-- end-user-doc -->
2070
   * @generated
2071
   * @ordered
2072
   */
2073
  int GEN_TYPE_PARAMETER___GET_GEN_ANNOTATION__STRING = GEN_BASE___GET_GEN_ANNOTATION__STRING;
2074
2075
  /**
2076
   * The number of operations of the '<em>Gen Type Parameter</em>' class.
2077
   * <!-- begin-user-doc -->
2078
   * <!-- end-user-doc -->
2079
   * @generated
2080
   * @ordered
2081
   */
2082
  int GEN_TYPE_PARAMETER_OPERATION_COUNT = GEN_BASE_OPERATION_COUNT + 0;
2083
2084
  /**
1832
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenProviderKind <em>Gen Provider Kind</em>}' enum.
2085
   * The meta object id for the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenProviderKind <em>Gen Provider Kind</em>}' enum.
1833
   * <!-- begin-user-doc -->
2086
   * <!-- begin-user-doc -->
1834
   * <!-- end-user-doc -->
2087
   * <!-- end-user-doc -->
Lines 3308-3313 Link Here
3308
  EReference getGenBase_GenAnnotations();
3561
  EReference getGenBase_GenAnnotations();
3309
3562
3310
  /**
3563
  /**
3564
   * Returns the meta object for the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenBase#getGenAnnotation(java.lang.String) <em>Get Gen Annotation</em>}' operation.
3565
   * <!-- begin-user-doc -->
3566
   * <!-- end-user-doc -->
3567
   * @return the meta object for the '<em>Get Gen Annotation</em>' operation.
3568
   * @see org.eclipse.emf.codegen.ecore.genmodel.GenBase#getGenAnnotation(java.lang.String)
3569
   * @generated
3570
   */
3571
  EOperation getGenBase__GetGenAnnotation_String();
3572
3573
  /**
3311
   * Returns the meta object for class '{@link org.eclipse.emf.codegen.ecore.genmodel.GenEnum <em>Gen Enum</em>}'.
3574
   * Returns the meta object for class '{@link org.eclipse.emf.codegen.ecore.genmodel.GenEnum <em>Gen Enum</em>}'.
3312
   * <!-- begin-user-doc -->
3575
   * <!-- begin-user-doc -->
3313
   * <!-- end-user-doc -->
3576
   * <!-- end-user-doc -->
Lines 4743-4748 Link Here
4743
    EReference GEN_BASE__GEN_ANNOTATIONS = eINSTANCE.getGenBase_GenAnnotations();
5006
    EReference GEN_BASE__GEN_ANNOTATIONS = eINSTANCE.getGenBase_GenAnnotations();
4744
5007
4745
    /**
5008
    /**
5009
     * The meta object literal for the '<em><b>Get Gen Annotation</b></em>' operation.
5010
     * <!-- begin-user-doc -->
5011
     * <!-- end-user-doc -->
5012
     * @generated
5013
     */
5014
    EOperation GEN_BASE___GET_GEN_ANNOTATION__STRING = eINSTANCE.getGenBase__GetGenAnnotation_String();
5015
5016
    /**
4746
     * The meta object literal for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenEnumImpl <em>Gen Enum</em>}' class.
5017
     * The meta object literal for the '{@link org.eclipse.emf.codegen.ecore.genmodel.impl.GenEnumImpl <em>Gen Enum</em>}' class.
4747
     * <!-- begin-user-doc -->
5018
     * <!-- begin-user-doc -->
4748
     * <!-- end-user-doc -->
5019
     * <!-- end-user-doc -->
(-)src/org/eclipse/emf/codegen/ecore/genmodel/GenModel.java (+5 lines)
Lines 2534-2539 Link Here
2534
  boolean isVirtualDelegation();
2534
  boolean isVirtualDelegation();
2535
  
2535
  
2536
  /**
2536
  /**
2537
   * @since 2.6
2538
   */
2539
  boolean isOperationReflection();
2540
2541
  /**
2537
   * @since 2.5
2542
   * @since 2.5
2538
   */
2543
   */
2539
  boolean isDynamicDelegation();
2544
  boolean isDynamicDelegation();
(-)src/org/eclipse/emf/codegen/ecore/genmodel/GenOperation.java (+31 lines)
Lines 123-128 Link Here
123
  String getCapName();
123
  String getCapName();
124
  String getFormattedName();
124
  String getFormattedName();
125
125
126
  /**
127
   * @since 2.6
128
   */
129
  String getOperationAccessorName(); // returns the name of the operation get method in the package interface
130
131
  /**
132
   * @since 2.6
133
   */
134
  String getQualifiedOperationAccessorName(); // returns the name of the operation get method in the package interface
135
136
  /**
137
   * @since 2.6
138
   */
139
  String getQualifiedOperationAccessor();
140
126
  boolean isVoid();
141
  boolean isVoid();
127
142
128
  /**
143
  /**
Lines 180-185 Link Here
180
  String getParameterTypes(String separator, boolean qualified);
195
  String getParameterTypes(String separator, boolean qualified);
181
  String getParameterNames(String separator);
196
  String getParameterNames(String separator);
182
197
198
  /**
199
   * @since 2.6
200
   */
201
  String getParameterTypes(String separator, boolean qualified, String prefix);
202
203
  /**
204
   * @since 2.6
205
   */
206
  String getParametersArray(GenClass context);
207
183
  String getImportedMetaType();
208
  String getImportedMetaType();
184
209
185
  GenPackage getGenPackage();
210
  GenPackage getGenPackage();
Lines 259-262 Link Here
259
   * @since 2.4
284
   * @since 2.4
260
   */
285
   */
261
  boolean isSuppressedVisibility();
286
  boolean isSuppressedVisibility();
287
288
  /**
289
   * Returns whether this operation is implemented with a registered invocation delegate.
290
   * @since 2.6
291
   */
292
  boolean hasInvocationDelegate();
262
}
293
}
(-)src/org/eclipse/emf/codegen/ecore/genmodel/GenClass.java (-1 / +43 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright> 
2
 * <copyright> 
3
 *
3
 *
4
 * Copyright (c) 2002-2007 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 284-293 Link Here
284
  String getLocalFeatureIndex(GenFeature genFeature);
284
  String getLocalFeatureIndex(GenFeature genFeature);
285
  String getFlagsField(GenFeature genFeature);
285
  String getFlagsField(GenFeature genFeature);
286
  int getFlagIndex(GenFeature genFeature);
286
  int getFlagIndex(GenFeature genFeature);
287
288
  /**
289
   * @since 2.6
290
   */
291
  String getOperationID(GenOperation genOperation, boolean diagnosticCode);
292
293
  /**
294
   * @since 2.6
295
   */
296
  String getQualifiedOperationID(GenOperation genOperation);
297
298
  /**
299
   * @since 2.6
300
   */
301
  String getOperationValue(GenOperation genOperation);
302
303
  /**
304
   * @since 2.6
305
   */
306
  String getLocalOperationIndex(GenOperation genOperation);
307
287
  /**
308
  /**
288
   * @since 2.4
309
   * @since 2.4
289
   */
310
   */
290
  int getFlagSize(GenFeature genFeature);
311
  int getFlagSize(GenFeature genFeature);
312
291
  /**
313
  /**
292
   * @since 2.4
314
   * @since 2.4
293
   */
315
   */
Lines 300-305 Link Here
300
  String getFeatureCountValue();
322
  String getFeatureCountValue();
301
  int getFeatureCount();
323
  int getFeatureCount();
302
324
325
  /**
326
   * @since 2.6
327
   */
328
  String getOperationCountID();
329
330
  /**
331
   * @since 2.6
332
   */
333
  String getQualifiedOperationCountID();
334
335
  /**
336
   * @since 2.6
337
   */
338
  String getOperationCountValue();
339
340
  /**
341
   * @since 2.6
342
   */
343
  int getOperationCount();
344
303
  boolean isEObject();
345
  boolean isEObject();
304
  boolean isEObjectExtension();
346
  boolean isEObjectExtension();
305
  String getCastFromEObject();
347
  String getCastFromEObject();
(-)src/org/eclipse/emf/codegen/ecore/genmodel/GenFeature.java (-1 / +7 lines)
Lines 1-7 Link Here
1
/**
1
/**
2
 * <copyright> 
2
 * <copyright> 
3
 *
3
 *
4
 * Copyright (c) 2002-2006 IBM Corporation and others.
4
 * Copyright (c) 2002-2009 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 446-449 Link Here
446
   * @since 2.3
446
   * @since 2.3
447
   */
447
   */
448
  boolean isTested();
448
  boolean isTested();
449
  
450
  /**
451
   * Returns whether this feature is implemented with a registered setting delegate.
452
   * @since 2.6
453
   */
454
  boolean hasSettingDelegate();
449
}
455
}

Return to bug 255469