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 247226 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/emf/cdo/tests/legacy/model4/model4Package.java (-530 / +409 lines)
Lines 16-22 Link Here
16
16
17
import org.eclipse.emf.ecore.EAttribute;
17
import org.eclipse.emf.ecore.EAttribute;
18
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EPackage;
20
import org.eclipse.emf.ecore.EReference;
19
import org.eclipse.emf.ecore.EReference;
21
20
22
/**
21
/**
Lines 28-72 Link Here
28
 * <li>and each data type</li>
27
 * <li>and each data type</li>
29
 * </ul>
28
 * </ul>
30
 * <!-- end-user-doc -->
29
 * <!-- end-user-doc -->
31
 * 
32
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Factory
30
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Factory
33
 * @model kind="package"
31
 * @model kind="package"
34
 * @generated
32
 * @generated
35
 */
33
 */
36
public interface model4Package extends EPackage
34
public interface model4Package extends org.eclipse.emf.cdo.tests.model4.model4Package
37
{
35
{
38
  /**
36
  /**
39
   * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
37
   * The package name.
40
   * 
38
   * <!-- begin-user-doc --> <!-- end-user-doc -->
41
   * @generated
39
   * @generated
42
   */
40
   */
43
  String eNAME = "model4";
41
  String eNAME = "model4";
44
42
45
  /**
43
  /**
46
   * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
44
   * The package namespace URI.
47
   * 
45
   * <!-- begin-user-doc --> <!-- end-user-doc -->
48
   * @generated
46
   * @generated NOT
49
   */
47
   */
50
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4/1.0.0";
48
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model4/1.0.0";
51
49
52
  /**
50
  /**
53
   * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * The package namespace name.
54
   * 
52
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * @generated
53
   * @generated
56
   */
54
   */
57
  String eNS_PREFIX = "model4";
55
  String eNS_PREFIX = "model4";
58
56
59
  /**
57
  /**
60
   * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
58
   * The singleton instance of the package.
61
   * 
59
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * @generated
60
   * @generated
63
   */
61
   */
64
  model4Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl.init();
62
  model4Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl.init();
65
63
66
  /**
64
  /**
67
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl
65
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl <em>Ref Single Contained</em>}' class.
68
   * <em>Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * 
70
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl
67
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl
71
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContained()
68
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContained()
72
   * @generated
69
   * @generated
Lines 83-100 Link Here
83
  int REF_SINGLE_CONTAINED__ELEMENT = 0;
80
  int REF_SINGLE_CONTAINED__ELEMENT = 0;
84
81
85
  /**
82
  /**
86
   * The number of structural features of the '<em>Ref Single Contained</em>' class. <!-- begin-user-doc --> <!--
83
   * The number of structural features of the '<em>Ref Single Contained</em>' class.
84
   * <!-- begin-user-doc --> <!--
87
   * end-user-doc -->
85
   * end-user-doc -->
88
   * 
89
   * @generated
86
   * @generated
90
   * @ordered
87
   * @ordered
91
   */
88
   */
92
  int REF_SINGLE_CONTAINED_FEATURE_COUNT = 1;
89
  int REF_SINGLE_CONTAINED_FEATURE_COUNT = 1;
93
90
94
  /**
91
  /**
95
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl
92
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl <em>Single Contained Element</em>}' class.
96
   * <em>Single Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * 
98
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl
94
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl
99
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleContainedElement()
95
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleContainedElement()
100
   * @generated
96
   * @generated
Lines 102-135 Link Here
102
  int SINGLE_CONTAINED_ELEMENT = 1;
98
  int SINGLE_CONTAINED_ELEMENT = 1;
103
99
104
  /**
100
  /**
105
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
101
   * The feature id for the '<em><b>Name</b></em>' attribute.
106
   * 
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
107
   * @generated
103
   * @generated
108
   * @ordered
104
   * @ordered
109
   */
105
   */
110
  int SINGLE_CONTAINED_ELEMENT__NAME = 0;
106
  int SINGLE_CONTAINED_ELEMENT__NAME = 0;
111
107
112
  /**
108
  /**
113
   * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
109
   * The feature id for the '<em><b>Parent</b></em>' container reference.
114
   * 
110
   * <!-- begin-user-doc --> <!-- end-user-doc -->
115
   * @generated
111
   * @generated
116
   * @ordered
112
   * @ordered
117
   */
113
   */
118
  int SINGLE_CONTAINED_ELEMENT__PARENT = 1;
114
  int SINGLE_CONTAINED_ELEMENT__PARENT = 1;
119
115
120
  /**
116
  /**
121
   * The number of structural features of the '<em>Single Contained Element</em>' class. <!-- begin-user-doc --> <!--
117
   * The number of structural features of the '<em>Single Contained Element</em>' class.
118
   * <!-- begin-user-doc --> <!--
122
   * end-user-doc -->
119
   * end-user-doc -->
123
   * 
124
   * @generated
120
   * @generated
125
   * @ordered
121
   * @ordered
126
   */
122
   */
127
  int SINGLE_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
123
  int SINGLE_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
128
124
129
  /**
125
  /**
130
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl
126
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl <em>Ref Single Non Contained</em>}' class.
131
   * <em>Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
127
   * <!-- begin-user-doc --> <!-- end-user-doc -->
132
   * 
133
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl
128
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl
134
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContained()
129
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContained()
135
   * @generated
130
   * @generated
Lines 137-162 Link Here
137
  int REF_SINGLE_NON_CONTAINED = 2;
132
  int REF_SINGLE_NON_CONTAINED = 2;
138
133
139
  /**
134
  /**
140
   * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * The feature id for the '<em><b>Element</b></em>' reference.
141
   * 
136
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * @generated
137
   * @generated
143
   * @ordered
138
   * @ordered
144
   */
139
   */
145
  int REF_SINGLE_NON_CONTAINED__ELEMENT = 0;
140
  int REF_SINGLE_NON_CONTAINED__ELEMENT = 0;
146
141
147
  /**
142
  /**
148
   * The number of structural features of the '<em>Ref Single Non Contained</em>' class. <!-- begin-user-doc --> <!--
143
   * The number of structural features of the '<em>Ref Single Non Contained</em>' class.
144
   * <!-- begin-user-doc --> <!--
149
   * end-user-doc -->
145
   * end-user-doc -->
150
   * 
151
   * @generated
146
   * @generated
152
   * @ordered
147
   * @ordered
153
   */
148
   */
154
  int REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1;
149
  int REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1;
155
150
156
  /**
151
  /**
157
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl
152
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl <em>Single Non Contained Element</em>}' class.
158
   * <em>Single Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl
154
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl
161
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleNonContainedElement()
155
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleNonContainedElement()
162
   * @generated
156
   * @generated
Lines 164-197 Link Here
164
  int SINGLE_NON_CONTAINED_ELEMENT = 3;
158
  int SINGLE_NON_CONTAINED_ELEMENT = 3;
165
159
166
  /**
160
  /**
167
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * The feature id for the '<em><b>Name</b></em>' attribute.
168
   * 
162
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * @generated
163
   * @generated
170
   * @ordered
164
   * @ordered
171
   */
165
   */
172
  int SINGLE_NON_CONTAINED_ELEMENT__NAME = 0;
166
  int SINGLE_NON_CONTAINED_ELEMENT__NAME = 0;
173
167
174
  /**
168
  /**
175
   * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * The feature id for the '<em><b>Parent</b></em>' reference.
176
   * 
170
   * <!-- begin-user-doc --> <!-- end-user-doc -->
177
   * @generated
171
   * @generated
178
   * @ordered
172
   * @ordered
179
   */
173
   */
180
  int SINGLE_NON_CONTAINED_ELEMENT__PARENT = 1;
174
  int SINGLE_NON_CONTAINED_ELEMENT__PARENT = 1;
181
175
182
  /**
176
  /**
183
   * The number of structural features of the '<em>Single Non Contained Element</em>' class. <!-- begin-user-doc -->
177
   * The number of structural features of the '<em>Single Non Contained Element</em>' class.
178
   * <!-- begin-user-doc -->
184
   * <!-- end-user-doc -->
179
   * <!-- end-user-doc -->
185
   * 
186
   * @generated
180
   * @generated
187
   * @ordered
181
   * @ordered
188
   */
182
   */
189
  int SINGLE_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
183
  int SINGLE_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
190
184
191
  /**
185
  /**
192
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl
186
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl <em>Ref Multi Contained</em>}' class.
193
   * <em>Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
187
   * <!-- begin-user-doc --> <!-- end-user-doc -->
194
   * 
195
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl
188
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl
196
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContained()
189
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContained()
197
   * @generated
190
   * @generated
Lines 199-225 Link Here
199
  int REF_MULTI_CONTAINED = 4;
192
  int REF_MULTI_CONTAINED = 4;
200
193
201
  /**
194
  /**
202
   * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
195
   * The feature id for the '<em><b>Elements</b></em>' containment reference list.
196
   * <!-- begin-user-doc --> <!--
203
   * end-user-doc -->
197
   * end-user-doc -->
204
   * 
205
   * @generated
198
   * @generated
206
   * @ordered
199
   * @ordered
207
   */
200
   */
208
  int REF_MULTI_CONTAINED__ELEMENTS = 0;
201
  int REF_MULTI_CONTAINED__ELEMENTS = 0;
209
202
210
  /**
203
  /**
211
   * The number of structural features of the '<em>Ref Multi Contained</em>' class. <!-- begin-user-doc --> <!--
204
   * The number of structural features of the '<em>Ref Multi Contained</em>' class.
205
   * <!-- begin-user-doc --> <!--
212
   * end-user-doc -->
206
   * end-user-doc -->
213
   * 
214
   * @generated
207
   * @generated
215
   * @ordered
208
   * @ordered
216
   */
209
   */
217
  int REF_MULTI_CONTAINED_FEATURE_COUNT = 1;
210
  int REF_MULTI_CONTAINED_FEATURE_COUNT = 1;
218
211
219
  /**
212
  /**
220
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl
213
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl <em>Multi Contained Element</em>}' class.
221
   * <em>Multi Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
222
   * 
223
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl
215
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl
224
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiContainedElement()
216
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiContainedElement()
225
   * @generated
217
   * @generated
Lines 227-260 Link Here
227
  int MULTI_CONTAINED_ELEMENT = 5;
219
  int MULTI_CONTAINED_ELEMENT = 5;
228
220
229
  /**
221
  /**
230
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
222
   * The feature id for the '<em><b>Name</b></em>' attribute.
231
   * 
223
   * <!-- begin-user-doc --> <!-- end-user-doc -->
232
   * @generated
224
   * @generated
233
   * @ordered
225
   * @ordered
234
   */
226
   */
235
  int MULTI_CONTAINED_ELEMENT__NAME = 0;
227
  int MULTI_CONTAINED_ELEMENT__NAME = 0;
236
228
237
  /**
229
  /**
238
   * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
230
   * The feature id for the '<em><b>Parent</b></em>' container reference.
239
   * 
231
   * <!-- begin-user-doc --> <!-- end-user-doc -->
240
   * @generated
232
   * @generated
241
   * @ordered
233
   * @ordered
242
   */
234
   */
243
  int MULTI_CONTAINED_ELEMENT__PARENT = 1;
235
  int MULTI_CONTAINED_ELEMENT__PARENT = 1;
244
236
245
  /**
237
  /**
246
   * The number of structural features of the '<em>Multi Contained Element</em>' class. <!-- begin-user-doc --> <!--
238
   * The number of structural features of the '<em>Multi Contained Element</em>' class.
239
   * <!-- begin-user-doc --> <!--
247
   * end-user-doc -->
240
   * end-user-doc -->
248
   * 
249
   * @generated
241
   * @generated
250
   * @ordered
242
   * @ordered
251
   */
243
   */
252
  int MULTI_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
244
  int MULTI_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
253
245
254
  /**
246
  /**
255
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl
247
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl <em>Ref Multi Non Contained</em>}' class.
256
   * <em>Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
248
   * <!-- begin-user-doc --> <!-- end-user-doc -->
257
   * 
258
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl
249
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl
259
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContained()
250
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContained()
260
   * @generated
251
   * @generated
Lines 262-287 Link Here
262
  int REF_MULTI_NON_CONTAINED = 6;
253
  int REF_MULTI_NON_CONTAINED = 6;
263
254
264
  /**
255
  /**
265
   * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
256
   * The feature id for the '<em><b>Elements</b></em>' reference list.
266
   * 
257
   * <!-- begin-user-doc --> <!-- end-user-doc -->
267
   * @generated
258
   * @generated
268
   * @ordered
259
   * @ordered
269
   */
260
   */
270
  int REF_MULTI_NON_CONTAINED__ELEMENTS = 0;
261
  int REF_MULTI_NON_CONTAINED__ELEMENTS = 0;
271
262
272
  /**
263
  /**
273
   * The number of structural features of the '<em>Ref Multi Non Contained</em>' class. <!-- begin-user-doc --> <!--
264
   * The number of structural features of the '<em>Ref Multi Non Contained</em>' class.
265
   * <!-- begin-user-doc --> <!--
274
   * end-user-doc -->
266
   * end-user-doc -->
275
   * 
276
   * @generated
267
   * @generated
277
   * @ordered
268
   * @ordered
278
   */
269
   */
279
  int REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1;
270
  int REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1;
280
271
281
  /**
272
  /**
282
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl
273
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl <em>Multi Non Contained Element</em>}' class.
283
   * <em>Multi Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
274
   * <!-- begin-user-doc --> <!-- end-user-doc -->
284
   * 
285
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl
275
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl
286
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedElement()
276
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedElement()
287
   * @generated
277
   * @generated
Lines 289-322 Link Here
289
  int MULTI_NON_CONTAINED_ELEMENT = 7;
279
  int MULTI_NON_CONTAINED_ELEMENT = 7;
290
280
291
  /**
281
  /**
292
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
282
   * The feature id for the '<em><b>Name</b></em>' attribute.
293
   * 
283
   * <!-- begin-user-doc --> <!-- end-user-doc -->
294
   * @generated
284
   * @generated
295
   * @ordered
285
   * @ordered
296
   */
286
   */
297
  int MULTI_NON_CONTAINED_ELEMENT__NAME = 0;
287
  int MULTI_NON_CONTAINED_ELEMENT__NAME = 0;
298
288
299
  /**
289
  /**
300
   * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
290
   * The feature id for the '<em><b>Parent</b></em>' reference.
301
   * 
291
   * <!-- begin-user-doc --> <!-- end-user-doc -->
302
   * @generated
292
   * @generated
303
   * @ordered
293
   * @ordered
304
   */
294
   */
305
  int MULTI_NON_CONTAINED_ELEMENT__PARENT = 1;
295
  int MULTI_NON_CONTAINED_ELEMENT__PARENT = 1;
306
296
307
  /**
297
  /**
308
   * The number of structural features of the '<em>Multi Non Contained Element</em>' class. <!-- begin-user-doc --> <!--
298
   * The number of structural features of the '<em>Multi Non Contained Element</em>' class.
299
   * <!-- begin-user-doc --> <!--
309
   * end-user-doc -->
300
   * end-user-doc -->
310
   * 
311
   * @generated
301
   * @generated
312
   * @ordered
302
   * @ordered
313
   */
303
   */
314
  int MULTI_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
304
  int MULTI_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2;
315
305
316
  /**
306
  /**
317
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl
307
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl <em>Ref Single Contained NPL</em>}' class.
318
   * <em>Ref Single Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
308
   * <!-- begin-user-doc --> <!-- end-user-doc -->
319
   * 
320
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl
309
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl
321
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContainedNPL()
310
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContainedNPL()
322
   * @generated
311
   * @generated
Lines 333-350 Link Here
333
  int REF_SINGLE_CONTAINED_NPL__ELEMENT = 0;
322
  int REF_SINGLE_CONTAINED_NPL__ELEMENT = 0;
334
323
335
  /**
324
  /**
336
   * The number of structural features of the '<em>Ref Single Contained NPL</em>' class. <!-- begin-user-doc --> <!--
325
   * The number of structural features of the '<em>Ref Single Contained NPL</em>' class.
326
   * <!-- begin-user-doc --> <!--
337
   * end-user-doc -->
327
   * end-user-doc -->
338
   * 
339
   * @generated
328
   * @generated
340
   * @ordered
329
   * @ordered
341
   */
330
   */
342
  int REF_SINGLE_CONTAINED_NPL_FEATURE_COUNT = 1;
331
  int REF_SINGLE_CONTAINED_NPL_FEATURE_COUNT = 1;
343
332
344
  /**
333
  /**
345
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl
334
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl <em>Ref Single Non Contained NPL</em>}' class.
346
   * <em>Ref Single Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
335
   * <!-- begin-user-doc --> <!-- end-user-doc -->
347
   * 
348
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl
336
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl
349
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL()
337
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL()
350
   * @generated
338
   * @generated
Lines 352-377 Link Here
352
  int REF_SINGLE_NON_CONTAINED_NPL = 9;
340
  int REF_SINGLE_NON_CONTAINED_NPL = 9;
353
341
354
  /**
342
  /**
355
   * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
343
   * The feature id for the '<em><b>Element</b></em>' reference.
356
   * 
344
   * <!-- begin-user-doc --> <!-- end-user-doc -->
357
   * @generated
345
   * @generated
358
   * @ordered
346
   * @ordered
359
   */
347
   */
360
  int REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = 0;
348
  int REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = 0;
361
349
362
  /**
350
  /**
363
   * The number of structural features of the '<em>Ref Single Non Contained NPL</em>' class. <!-- begin-user-doc -->
351
   * The number of structural features of the '<em>Ref Single Non Contained NPL</em>' class.
352
   * <!-- begin-user-doc -->
364
   * <!-- end-user-doc -->
353
   * <!-- end-user-doc -->
365
   * 
366
   * @generated
354
   * @generated
367
   * @ordered
355
   * @ordered
368
   */
356
   */
369
  int REF_SINGLE_NON_CONTAINED_NPL_FEATURE_COUNT = 1;
357
  int REF_SINGLE_NON_CONTAINED_NPL_FEATURE_COUNT = 1;
370
358
371
  /**
359
  /**
372
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl
360
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl <em>Ref Multi Contained NPL</em>}' class.
373
   * <em>Ref Multi Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
361
   * <!-- begin-user-doc --> <!-- end-user-doc -->
374
   * 
375
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl
362
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl
376
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContainedNPL()
363
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContainedNPL()
377
   * @generated
364
   * @generated
Lines 379-405 Link Here
379
  int REF_MULTI_CONTAINED_NPL = 10;
366
  int REF_MULTI_CONTAINED_NPL = 10;
380
367
381
  /**
368
  /**
382
   * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
369
   * The feature id for the '<em><b>Elements</b></em>' containment reference list.
370
   * <!-- begin-user-doc --> <!--
383
   * end-user-doc -->
371
   * end-user-doc -->
384
   * 
385
   * @generated
372
   * @generated
386
   * @ordered
373
   * @ordered
387
   */
374
   */
388
  int REF_MULTI_CONTAINED_NPL__ELEMENTS = 0;
375
  int REF_MULTI_CONTAINED_NPL__ELEMENTS = 0;
389
376
390
  /**
377
  /**
391
   * The number of structural features of the '<em>Ref Multi Contained NPL</em>' class. <!-- begin-user-doc --> <!--
378
   * The number of structural features of the '<em>Ref Multi Contained NPL</em>' class.
379
   * <!-- begin-user-doc --> <!--
392
   * end-user-doc -->
380
   * end-user-doc -->
393
   * 
394
   * @generated
381
   * @generated
395
   * @ordered
382
   * @ordered
396
   */
383
   */
397
  int REF_MULTI_CONTAINED_NPL_FEATURE_COUNT = 1;
384
  int REF_MULTI_CONTAINED_NPL_FEATURE_COUNT = 1;
398
385
399
  /**
386
  /**
400
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl
387
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl <em>Ref Multi Non Contained NPL</em>}' class.
401
   * <em>Ref Multi Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
388
   * <!-- begin-user-doc --> <!-- end-user-doc -->
402
   * 
403
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl
389
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl
404
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL()
390
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL()
405
   * @generated
391
   * @generated
Lines 407-432 Link Here
407
  int REF_MULTI_NON_CONTAINED_NPL = 11;
393
  int REF_MULTI_NON_CONTAINED_NPL = 11;
408
394
409
  /**
395
  /**
410
   * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
396
   * The feature id for the '<em><b>Elements</b></em>' reference list.
411
   * 
397
   * <!-- begin-user-doc --> <!-- end-user-doc -->
412
   * @generated
398
   * @generated
413
   * @ordered
399
   * @ordered
414
   */
400
   */
415
  int REF_MULTI_NON_CONTAINED_NPL__ELEMENTS = 0;
401
  int REF_MULTI_NON_CONTAINED_NPL__ELEMENTS = 0;
416
402
417
  /**
403
  /**
418
   * The number of structural features of the '<em>Ref Multi Non Contained NPL</em>' class. <!-- begin-user-doc --> <!--
404
   * The number of structural features of the '<em>Ref Multi Non Contained NPL</em>' class.
405
   * <!-- begin-user-doc --> <!--
419
   * end-user-doc -->
406
   * end-user-doc -->
420
   * 
421
   * @generated
407
   * @generated
422
   * @ordered
408
   * @ordered
423
   */
409
   */
424
  int REF_MULTI_NON_CONTAINED_NPL_FEATURE_COUNT = 1;
410
  int REF_MULTI_NON_CONTAINED_NPL_FEATURE_COUNT = 1;
425
411
426
  /**
412
  /**
427
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl
413
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl <em>Contained Element No Opposite</em>}' class.
428
   * <em>Contained Element No Opposite</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
414
   * <!-- begin-user-doc --> <!-- end-user-doc -->
429
   * 
430
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl
415
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl
431
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getContainedElementNoOpposite()
416
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getContainedElementNoOpposite()
432
   * @generated
417
   * @generated
Lines 434-459 Link Here
434
  int CONTAINED_ELEMENT_NO_OPPOSITE = 12;
419
  int CONTAINED_ELEMENT_NO_OPPOSITE = 12;
435
420
436
  /**
421
  /**
437
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
422
   * The feature id for the '<em><b>Name</b></em>' attribute.
438
   * 
423
   * <!-- begin-user-doc --> <!-- end-user-doc -->
439
   * @generated
424
   * @generated
440
   * @ordered
425
   * @ordered
441
   */
426
   */
442
  int CONTAINED_ELEMENT_NO_OPPOSITE__NAME = 0;
427
  int CONTAINED_ELEMENT_NO_OPPOSITE__NAME = 0;
443
428
444
  /**
429
  /**
445
   * The number of structural features of the '<em>Contained Element No Opposite</em>' class. <!-- begin-user-doc -->
430
   * The number of structural features of the '<em>Contained Element No Opposite</em>' class.
431
   * <!-- begin-user-doc -->
446
   * <!-- end-user-doc -->
432
   * <!-- end-user-doc -->
447
   * 
448
   * @generated
433
   * @generated
449
   * @ordered
434
   * @ordered
450
   */
435
   */
451
  int CONTAINED_ELEMENT_NO_OPPOSITE_FEATURE_COUNT = 1;
436
  int CONTAINED_ELEMENT_NO_OPPOSITE_FEATURE_COUNT = 1;
452
437
453
  /**
438
  /**
454
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl
439
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl <em>Gen Ref Single Contained</em>}' class.
455
   * <em>Gen Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
440
   * <!-- begin-user-doc --> <!-- end-user-doc -->
456
   * 
457
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl
441
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl
458
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleContained()
442
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleContained()
459
   * @generated
443
   * @generated
Lines 470-487 Link Here
470
  int GEN_REF_SINGLE_CONTAINED__ELEMENT = 0;
454
  int GEN_REF_SINGLE_CONTAINED__ELEMENT = 0;
471
455
472
  /**
456
  /**
473
   * The number of structural features of the '<em>Gen Ref Single Contained</em>' class. <!-- begin-user-doc --> <!--
457
   * The number of structural features of the '<em>Gen Ref Single Contained</em>' class.
458
   * <!-- begin-user-doc --> <!--
474
   * end-user-doc -->
459
   * end-user-doc -->
475
   * 
476
   * @generated
460
   * @generated
477
   * @ordered
461
   * @ordered
478
   */
462
   */
479
  int GEN_REF_SINGLE_CONTAINED_FEATURE_COUNT = 1;
463
  int GEN_REF_SINGLE_CONTAINED_FEATURE_COUNT = 1;
480
464
481
  /**
465
  /**
482
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl
466
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl <em>Gen Ref Single Non Contained</em>}' class.
483
   * <em>Gen Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
467
   * <!-- begin-user-doc --> <!-- end-user-doc -->
484
   * 
485
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl
468
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl
486
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleNonContained()
469
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleNonContained()
487
   * @generated
470
   * @generated
Lines 489-514 Link Here
489
  int GEN_REF_SINGLE_NON_CONTAINED = 14;
472
  int GEN_REF_SINGLE_NON_CONTAINED = 14;
490
473
491
  /**
474
  /**
492
   * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
475
   * The feature id for the '<em><b>Element</b></em>' reference.
493
   * 
476
   * <!-- begin-user-doc --> <!-- end-user-doc -->
494
   * @generated
477
   * @generated
495
   * @ordered
478
   * @ordered
496
   */
479
   */
497
  int GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = 0;
480
  int GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = 0;
498
481
499
  /**
482
  /**
500
   * The number of structural features of the '<em>Gen Ref Single Non Contained</em>' class. <!-- begin-user-doc -->
483
   * The number of structural features of the '<em>Gen Ref Single Non Contained</em>' class.
484
   * <!-- begin-user-doc -->
501
   * <!-- end-user-doc -->
485
   * <!-- end-user-doc -->
502
   * 
503
   * @generated
486
   * @generated
504
   * @ordered
487
   * @ordered
505
   */
488
   */
506
  int GEN_REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1;
489
  int GEN_REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1;
507
490
508
  /**
491
  /**
509
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl
492
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl <em>Gen Ref Multi Contained</em>}' class.
510
   * <em>Gen Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
493
   * <!-- begin-user-doc --> <!-- end-user-doc -->
511
   * 
512
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl
494
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl
513
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiContained()
495
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiContained()
514
   * @generated
496
   * @generated
Lines 516-542 Link Here
516
  int GEN_REF_MULTI_CONTAINED = 15;
498
  int GEN_REF_MULTI_CONTAINED = 15;
517
499
518
  /**
500
  /**
519
   * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
501
   * The feature id for the '<em><b>Elements</b></em>' containment reference list.
502
   * <!-- begin-user-doc --> <!--
520
   * end-user-doc -->
503
   * end-user-doc -->
521
   * 
522
   * @generated
504
   * @generated
523
   * @ordered
505
   * @ordered
524
   */
506
   */
525
  int GEN_REF_MULTI_CONTAINED__ELEMENTS = 0;
507
  int GEN_REF_MULTI_CONTAINED__ELEMENTS = 0;
526
508
527
  /**
509
  /**
528
   * The number of structural features of the '<em>Gen Ref Multi Contained</em>' class. <!-- begin-user-doc --> <!--
510
   * The number of structural features of the '<em>Gen Ref Multi Contained</em>' class.
511
   * <!-- begin-user-doc --> <!--
529
   * end-user-doc -->
512
   * end-user-doc -->
530
   * 
531
   * @generated
513
   * @generated
532
   * @ordered
514
   * @ordered
533
   */
515
   */
534
  int GEN_REF_MULTI_CONTAINED_FEATURE_COUNT = 1;
516
  int GEN_REF_MULTI_CONTAINED_FEATURE_COUNT = 1;
535
517
536
  /**
518
  /**
537
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl
519
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl <em>Gen Ref Multi Non Contained</em>}' class.
538
   * <em>Gen Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
520
   * <!-- begin-user-doc --> <!-- end-user-doc -->
539
   * 
540
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl
521
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl
541
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNonContained()
522
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNonContained()
542
   * @generated
523
   * @generated
Lines 544-569 Link Here
544
  int GEN_REF_MULTI_NON_CONTAINED = 16;
525
  int GEN_REF_MULTI_NON_CONTAINED = 16;
545
526
546
  /**
527
  /**
547
   * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
528
   * The feature id for the '<em><b>Elements</b></em>' reference list.
548
   * 
529
   * <!-- begin-user-doc --> <!-- end-user-doc -->
549
   * @generated
530
   * @generated
550
   * @ordered
531
   * @ordered
551
   */
532
   */
552
  int GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = 0;
533
  int GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = 0;
553
534
554
  /**
535
  /**
555
   * The number of structural features of the '<em>Gen Ref Multi Non Contained</em>' class. <!-- begin-user-doc --> <!--
536
   * The number of structural features of the '<em>Gen Ref Multi Non Contained</em>' class.
537
   * <!-- begin-user-doc --> <!--
556
   * end-user-doc -->
538
   * end-user-doc -->
557
   * 
558
   * @generated
539
   * @generated
559
   * @ordered
540
   * @ordered
560
   */
541
   */
561
  int GEN_REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1;
542
  int GEN_REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1;
562
543
563
  /**
544
  /**
564
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl
545
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl <em>Impl Single Ref Container</em>}' class.
565
   * <em>Impl Single Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
546
   * <!-- begin-user-doc --> <!-- end-user-doc -->
566
   * 
567
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl
547
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl
568
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainer()
548
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainer()
569
   * @generated
549
   * @generated
Lines 580-597 Link Here
580
  int IMPL_SINGLE_REF_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER__ELEMENT;
560
  int IMPL_SINGLE_REF_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER__ELEMENT;
581
561
582
  /**
562
  /**
583
   * The number of structural features of the '<em>Impl Single Ref Container</em>' class. <!-- begin-user-doc --> <!--
563
   * The number of structural features of the '<em>Impl Single Ref Container</em>' class.
564
   * <!-- begin-user-doc --> <!--
584
   * end-user-doc -->
565
   * end-user-doc -->
585
   * 
586
   * @generated
566
   * @generated
587
   * @ordered
567
   * @ordered
588
   */
568
   */
589
  int IMPL_SINGLE_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_FEATURE_COUNT + 0;
569
  int IMPL_SINGLE_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_FEATURE_COUNT + 0;
590
570
591
  /**
571
  /**
592
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl
572
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl <em>Impl Single Ref Contained Element</em>}' class.
593
   * <em>Impl Single Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
573
   * <!-- begin-user-doc --> <!-- end-user-doc -->
594
   * 
595
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl
574
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl
596
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainedElement()
575
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainedElement()
597
   * @generated
576
   * @generated
Lines 599-632 Link Here
599
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT = 18;
578
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT = 18;
600
579
601
  /**
580
  /**
602
   * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
581
   * The feature id for the '<em><b>Parent</b></em>' container reference.
603
   * 
582
   * <!-- begin-user-doc --> <!-- end-user-doc -->
604
   * @generated
583
   * @generated
605
   * @ordered
584
   * @ordered
606
   */
585
   */
607
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT__PARENT;
586
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT__PARENT;
608
587
609
  /**
588
  /**
610
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
589
   * The feature id for the '<em><b>Name</b></em>' attribute.
611
   * 
590
   * <!-- begin-user-doc --> <!-- end-user-doc -->
612
   * @generated
591
   * @generated
613
   * @ordered
592
   * @ordered
614
   */
593
   */
615
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0;
594
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0;
616
595
617
  /**
596
  /**
618
   * The number of structural features of the '<em>Impl Single Ref Contained Element</em>' class. <!-- begin-user-doc
597
   * The number of structural features of the '<em>Impl Single Ref Contained Element</em>' class.
598
   * <!-- begin-user-doc
619
   * --> <!-- end-user-doc -->
599
   * --> <!-- end-user-doc -->
620
   * 
621
   * @generated
600
   * @generated
622
   * @ordered
601
   * @ordered
623
   */
602
   */
624
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
603
  int IMPL_SINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
625
604
626
  /**
605
  /**
627
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl
606
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl <em>Impl Single Ref Non Container</em>}' class.
628
   * <em>Impl Single Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
607
   * <!-- begin-user-doc --> <!-- end-user-doc -->
629
   * 
630
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl
608
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl
631
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainer()
609
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainer()
632
   * @generated
610
   * @generated
Lines 634-660 Link Here
634
  int IMPL_SINGLE_REF_NON_CONTAINER = 19;
612
  int IMPL_SINGLE_REF_NON_CONTAINER = 19;
635
613
636
  /**
614
  /**
637
   * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
615
   * The feature id for the '<em><b>Element</b></em>' reference.
638
   * 
616
   * <!-- begin-user-doc --> <!-- end-user-doc -->
639
   * @generated
617
   * @generated
640
   * @ordered
618
   * @ordered
641
   */
619
   */
642
  int IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER__ELEMENT;
620
  int IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER__ELEMENT;
643
621
644
  /**
622
  /**
645
   * The number of structural features of the '<em>Impl Single Ref Non Container</em>' class. <!-- begin-user-doc -->
623
   * The number of structural features of the '<em>Impl Single Ref Non Container</em>' class.
624
   * <!-- begin-user-doc -->
646
   * <!-- end-user-doc -->
625
   * <!-- end-user-doc -->
647
   * 
648
   * @generated
626
   * @generated
649
   * @ordered
627
   * @ordered
650
   */
628
   */
651
  int IMPL_SINGLE_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT + 0;
629
  int IMPL_SINGLE_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT + 0;
652
630
653
  /**
631
  /**
654
   * The meta object id for the '
632
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl <em>Impl Single Ref Non Contained Element</em>}' class.
655
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl
633
   * <!-- begin-user-doc --> <!-- end-user-doc -->
656
   * <em>Impl Single Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
657
   * 
658
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl
634
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl
659
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement()
635
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement()
660
   * @generated
636
   * @generated
Lines 662-677 Link Here
662
  int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = 20;
638
  int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = 20;
663
639
664
  /**
640
  /**
665
   * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
641
   * The feature id for the '<em><b>Parent</b></em>' reference.
666
   * 
642
   * <!-- begin-user-doc --> <!-- end-user-doc -->
667
   * @generated
643
   * @generated
668
   * @ordered
644
   * @ordered
669
   */
645
   */
670
  int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT;
646
  int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT;
671
647
672
  /**
648
  /**
673
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
649
   * The feature id for the '<em><b>Name</b></em>' attribute.
674
   * 
650
   * <!-- begin-user-doc --> <!-- end-user-doc -->
675
   * @generated
651
   * @generated
676
   * @ordered
652
   * @ordered
677
   */
653
   */
Lines 687-695 Link Here
687
  int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
663
  int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
688
664
689
  /**
665
  /**
690
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl
666
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl <em>Impl Multi Ref Non Container</em>}' class.
691
   * <em>Impl Multi Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
667
   * <!-- begin-user-doc --> <!-- end-user-doc -->
692
   * 
693
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl
668
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl
694
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainer()
669
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainer()
695
   * @generated
670
   * @generated
Lines 697-723 Link Here
697
  int IMPL_MULTI_REF_NON_CONTAINER = 21;
672
  int IMPL_MULTI_REF_NON_CONTAINER = 21;
698
673
699
  /**
674
  /**
700
   * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
675
   * The feature id for the '<em><b>Elements</b></em>' reference list.
701
   * 
676
   * <!-- begin-user-doc --> <!-- end-user-doc -->
702
   * @generated
677
   * @generated
703
   * @ordered
678
   * @ordered
704
   */
679
   */
705
  int IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER__ELEMENTS;
680
  int IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER__ELEMENTS;
706
681
707
  /**
682
  /**
708
   * The number of structural features of the '<em>Impl Multi Ref Non Container</em>' class. <!-- begin-user-doc -->
683
   * The number of structural features of the '<em>Impl Multi Ref Non Container</em>' class.
684
   * <!-- begin-user-doc -->
709
   * <!-- end-user-doc -->
685
   * <!-- end-user-doc -->
710
   * 
711
   * @generated
686
   * @generated
712
   * @ordered
687
   * @ordered
713
   */
688
   */
714
  int IMPL_MULTI_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_FEATURE_COUNT + 0;
689
  int IMPL_MULTI_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_FEATURE_COUNT + 0;
715
690
716
  /**
691
  /**
717
   * The meta object id for the '
692
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl <em>Impl Multi Ref Non Contained Element</em>}' class.
718
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl
693
   * <!-- begin-user-doc --> <!-- end-user-doc -->
719
   * <em>Impl Multi Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
720
   * 
721
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl
694
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl
722
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement()
695
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement()
723
   * @generated
696
   * @generated
Lines 725-758 Link Here
725
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = 22;
698
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = 22;
726
699
727
  /**
700
  /**
728
   * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
701
   * The feature id for the '<em><b>Parent</b></em>' reference.
729
   * 
702
   * <!-- begin-user-doc --> <!-- end-user-doc -->
730
   * @generated
703
   * @generated
731
   * @ordered
704
   * @ordered
732
   */
705
   */
733
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT;
706
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT;
734
707
735
  /**
708
  /**
736
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
709
   * The feature id for the '<em><b>Name</b></em>' attribute.
737
   * 
710
   * <!-- begin-user-doc --> <!-- end-user-doc -->
738
   * @generated
711
   * @generated
739
   * @ordered
712
   * @ordered
740
   */
713
   */
741
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 0;
714
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 0;
742
715
743
  /**
716
  /**
744
   * The number of structural features of the '<em>Impl Multi Ref Non Contained Element</em>' class. <!-- begin-user-doc
717
   * The number of structural features of the '<em>Impl Multi Ref Non Contained Element</em>' class.
718
   * <!-- begin-user-doc
745
   * --> <!-- end-user-doc -->
719
   * --> <!-- end-user-doc -->
746
   * 
747
   * @generated
720
   * @generated
748
   * @ordered
721
   * @ordered
749
   */
722
   */
750
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
723
  int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
751
724
752
  /**
725
  /**
753
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl
726
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl <em>Impl Multi Ref Container</em>}' class.
754
   * <em>Impl Multi Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
727
   * <!-- begin-user-doc --> <!-- end-user-doc -->
755
   * 
756
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl
728
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl
757
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainer()
729
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainer()
758
   * @generated
730
   * @generated
Lines 760-786 Link Here
760
  int IMPL_MULTI_REF_CONTAINER = 23;
732
  int IMPL_MULTI_REF_CONTAINER = 23;
761
733
762
  /**
734
  /**
763
   * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
735
   * The feature id for the '<em><b>Elements</b></em>' containment reference list.
736
   * <!-- begin-user-doc --> <!--
764
   * end-user-doc -->
737
   * end-user-doc -->
765
   * 
766
   * @generated
738
   * @generated
767
   * @ordered
739
   * @ordered
768
   */
740
   */
769
  int IMPL_MULTI_REF_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER__ELEMENTS;
741
  int IMPL_MULTI_REF_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER__ELEMENTS;
770
742
771
  /**
743
  /**
772
   * The number of structural features of the '<em>Impl Multi Ref Container</em>' class. <!-- begin-user-doc --> <!--
744
   * The number of structural features of the '<em>Impl Multi Ref Container</em>' class.
745
   * <!-- begin-user-doc --> <!--
773
   * end-user-doc -->
746
   * end-user-doc -->
774
   * 
775
   * @generated
747
   * @generated
776
   * @ordered
748
   * @ordered
777
   */
749
   */
778
  int IMPL_MULTI_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_FEATURE_COUNT + 0;
750
  int IMPL_MULTI_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_FEATURE_COUNT + 0;
779
751
780
  /**
752
  /**
781
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl
753
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl <em>Impl Multi Ref Contained Element</em>}' class.
782
   * <em>Impl Multi Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
754
   * <!-- begin-user-doc --> <!-- end-user-doc -->
783
   * 
784
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl
755
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl
785
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainedElement()
756
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainedElement()
786
   * @generated
757
   * @generated
Lines 788-821 Link Here
788
  int IMPL_MULTI_REF_CONTAINED_ELEMENT = 24;
759
  int IMPL_MULTI_REF_CONTAINED_ELEMENT = 24;
789
760
790
  /**
761
  /**
791
   * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
762
   * The feature id for the '<em><b>Parent</b></em>' container reference.
792
   * 
763
   * <!-- begin-user-doc --> <!-- end-user-doc -->
793
   * @generated
764
   * @generated
794
   * @ordered
765
   * @ordered
795
   */
766
   */
796
  int IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT__PARENT;
767
  int IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT__PARENT;
797
768
798
  /**
769
  /**
799
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
770
   * The feature id for the '<em><b>Name</b></em>' attribute.
800
   * 
771
   * <!-- begin-user-doc --> <!-- end-user-doc -->
801
   * @generated
772
   * @generated
802
   * @ordered
773
   * @ordered
803
   */
774
   */
804
  int IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0;
775
  int IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0;
805
776
806
  /**
777
  /**
807
   * The number of structural features of the '<em>Impl Multi Ref Contained Element</em>' class. <!-- begin-user-doc -->
778
   * The number of structural features of the '<em>Impl Multi Ref Contained Element</em>' class.
779
   * <!-- begin-user-doc -->
808
   * <!-- end-user-doc -->
780
   * <!-- end-user-doc -->
809
   * 
810
   * @generated
781
   * @generated
811
   * @ordered
782
   * @ordered
812
   */
783
   */
813
  int IMPL_MULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
784
  int IMPL_MULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1;
814
785
815
  /**
786
  /**
816
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl
787
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl <em>Impl Single Ref Container NPL</em>}' class.
817
   * <em>Impl Single Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
788
   * <!-- begin-user-doc --> <!-- end-user-doc -->
818
   * 
819
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl
789
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl
820
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL()
790
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL()
821
   * @generated
791
   * @generated
Lines 832-849 Link Here
832
  int IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL__ELEMENT;
802
  int IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL__ELEMENT;
833
803
834
  /**
804
  /**
835
   * The number of structural features of the '<em>Impl Single Ref Container NPL</em>' class. <!-- begin-user-doc -->
805
   * The number of structural features of the '<em>Impl Single Ref Container NPL</em>' class.
806
   * <!-- begin-user-doc -->
836
   * <!-- end-user-doc -->
807
   * <!-- end-user-doc -->
837
   * 
838
   * @generated
808
   * @generated
839
   * @ordered
809
   * @ordered
840
   */
810
   */
841
  int IMPL_SINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT + 0;
811
  int IMPL_SINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT + 0;
842
812
843
  /**
813
  /**
844
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl
814
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl <em>Impl Single Ref Non Container NPL</em>}' class.
845
   * <em>Impl Single Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
815
   * <!-- begin-user-doc --> <!-- end-user-doc -->
846
   * 
847
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl
816
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl
848
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL()
817
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL()
849
   * @generated
818
   * @generated
Lines 851-876 Link Here
851
  int IMPL_SINGLE_REF_NON_CONTAINER_NPL = 26;
820
  int IMPL_SINGLE_REF_NON_CONTAINER_NPL = 26;
852
821
853
  /**
822
  /**
854
   * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
823
   * The feature id for the '<em><b>Element</b></em>' reference.
855
   * 
824
   * <!-- begin-user-doc --> <!-- end-user-doc -->
856
   * @generated
825
   * @generated
857
   * @ordered
826
   * @ordered
858
   */
827
   */
859
  int IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT;
828
  int IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT;
860
829
861
  /**
830
  /**
862
   * The number of structural features of the '<em>Impl Single Ref Non Container NPL</em>' class. <!-- begin-user-doc
831
   * The number of structural features of the '<em>Impl Single Ref Non Container NPL</em>' class.
832
   * <!-- begin-user-doc
863
   * --> <!-- end-user-doc -->
833
   * --> <!-- end-user-doc -->
864
   * 
865
   * @generated
834
   * @generated
866
   * @ordered
835
   * @ordered
867
   */
836
   */
868
  int IMPL_SINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0;
837
  int IMPL_SINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0;
869
838
870
  /**
839
  /**
871
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl
840
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl <em>Impl Multi Ref Container NPL</em>}' class.
872
   * <em>Impl Multi Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
841
   * <!-- begin-user-doc --> <!-- end-user-doc -->
873
   * 
874
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl
842
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl
875
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL()
843
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL()
876
   * @generated
844
   * @generated
Lines 878-904 Link Here
878
  int IMPL_MULTI_REF_CONTAINER_NPL = 27;
846
  int IMPL_MULTI_REF_CONTAINER_NPL = 27;
879
847
880
  /**
848
  /**
881
   * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
849
   * The feature id for the '<em><b>Elements</b></em>' containment reference list.
850
   * <!-- begin-user-doc --> <!--
882
   * end-user-doc -->
851
   * end-user-doc -->
883
   * 
884
   * @generated
852
   * @generated
885
   * @ordered
853
   * @ordered
886
   */
854
   */
887
  int IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL__ELEMENTS;
855
  int IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL__ELEMENTS;
888
856
889
  /**
857
  /**
890
   * The number of structural features of the '<em>Impl Multi Ref Container NPL</em>' class. <!-- begin-user-doc -->
858
   * The number of structural features of the '<em>Impl Multi Ref Container NPL</em>' class.
859
   * <!-- begin-user-doc -->
891
   * <!-- end-user-doc -->
860
   * <!-- end-user-doc -->
892
   * 
893
   * @generated
861
   * @generated
894
   * @ordered
862
   * @ordered
895
   */
863
   */
896
  int IMPL_MULTI_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT + 0;
864
  int IMPL_MULTI_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT + 0;
897
865
898
  /**
866
  /**
899
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl
867
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl <em>Impl Multi Ref Non Container NPL</em>}' class.
900
   * <em>Impl Multi Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
868
   * <!-- begin-user-doc --> <!-- end-user-doc -->
901
   * 
902
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl
869
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl
903
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL()
870
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL()
904
   * @generated
871
   * @generated
Lines 906-931 Link Here
906
  int IMPL_MULTI_REF_NON_CONTAINER_NPL = 28;
873
  int IMPL_MULTI_REF_NON_CONTAINER_NPL = 28;
907
874
908
  /**
875
  /**
909
   * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
876
   * The feature id for the '<em><b>Elements</b></em>' reference list.
910
   * 
877
   * <!-- begin-user-doc --> <!-- end-user-doc -->
911
   * @generated
878
   * @generated
912
   * @ordered
879
   * @ordered
913
   */
880
   */
914
  int IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS;
881
  int IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS;
915
882
916
  /**
883
  /**
917
   * The number of structural features of the '<em>Impl Multi Ref Non Container NPL</em>' class. <!-- begin-user-doc -->
884
   * The number of structural features of the '<em>Impl Multi Ref Non Container NPL</em>' class.
885
   * <!-- begin-user-doc -->
918
   * <!-- end-user-doc -->
886
   * <!-- end-user-doc -->
919
   * 
920
   * @generated
887
   * @generated
921
   * @ordered
888
   * @ordered
922
   */
889
   */
923
  int IMPL_MULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0;
890
  int IMPL_MULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0;
924
891
925
  /**
892
  /**
926
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl
893
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl <em>Impl Contained Element NPL</em>}' class.
927
   * <em>Impl Contained Element NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
894
   * <!-- begin-user-doc --> <!-- end-user-doc -->
928
   * 
929
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl
895
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl
930
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplContainedElementNPL()
896
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplContainedElementNPL()
931
   * @generated
897
   * @generated
Lines 933-958 Link Here
933
  int IMPL_CONTAINED_ELEMENT_NPL = 29;
899
  int IMPL_CONTAINED_ELEMENT_NPL = 29;
934
900
935
  /**
901
  /**
936
   * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
902
   * The feature id for the '<em><b>Name</b></em>' attribute.
937
   * 
903
   * <!-- begin-user-doc --> <!-- end-user-doc -->
938
   * @generated
904
   * @generated
939
   * @ordered
905
   * @ordered
940
   */
906
   */
941
  int IMPL_CONTAINED_ELEMENT_NPL__NAME = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 0;
907
  int IMPL_CONTAINED_ELEMENT_NPL__NAME = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 0;
942
908
943
  /**
909
  /**
944
   * The number of structural features of the '<em>Impl Contained Element NPL</em>' class. <!-- begin-user-doc --> <!--
910
   * The number of structural features of the '<em>Impl Contained Element NPL</em>' class.
911
   * <!-- begin-user-doc --> <!--
945
   * end-user-doc -->
912
   * end-user-doc -->
946
   * 
947
   * @generated
913
   * @generated
948
   * @ordered
914
   * @ordered
949
   */
915
   */
950
  int IMPL_CONTAINED_ELEMENT_NPL_FEATURE_COUNT = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 1;
916
  int IMPL_CONTAINED_ELEMENT_NPL_FEATURE_COUNT = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 1;
951
917
952
  /**
918
  /**
953
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl
919
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl <em>Gen Ref Multi NU Non Contained</em>}' class.
954
   * <em>Gen Ref Multi NU Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
920
   * <!-- begin-user-doc --> <!-- end-user-doc -->
955
   * 
956
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl
921
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl
957
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained()
922
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained()
958
   * @generated
923
   * @generated
Lines 960-985 Link Here
960
  int GEN_REF_MULTI_NU_NON_CONTAINED = 30;
925
  int GEN_REF_MULTI_NU_NON_CONTAINED = 30;
961
926
962
  /**
927
  /**
963
   * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
928
   * The feature id for the '<em><b>Elements</b></em>' reference list.
964
   * 
929
   * <!-- begin-user-doc --> <!-- end-user-doc -->
965
   * @generated
930
   * @generated
966
   * @ordered
931
   * @ordered
967
   */
932
   */
968
  int GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = 0;
933
  int GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = 0;
969
934
970
  /**
935
  /**
971
   * The number of structural features of the '<em>Gen Ref Multi NU Non Contained</em>' class. <!-- begin-user-doc -->
936
   * The number of structural features of the '<em>Gen Ref Multi NU Non Contained</em>' class.
937
   * <!-- begin-user-doc -->
972
   * <!-- end-user-doc -->
938
   * <!-- end-user-doc -->
973
   * 
974
   * @generated
939
   * @generated
975
   * @ordered
940
   * @ordered
976
   */
941
   */
977
  int GEN_REF_MULTI_NU_NON_CONTAINED_FEATURE_COUNT = 1;
942
  int GEN_REF_MULTI_NU_NON_CONTAINED_FEATURE_COUNT = 1;
978
943
979
  /**
944
  /**
980
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl
945
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl <em>Gen Ref Map Non Contained</em>}' class.
981
   * <em>Gen Ref Map Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
946
   * <!-- begin-user-doc --> <!-- end-user-doc -->
982
   * 
983
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl
947
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl
984
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMapNonContained()
948
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMapNonContained()
985
   * @generated
949
   * @generated
Lines 987-1012 Link Here
987
  int GEN_REF_MAP_NON_CONTAINED = 31;
951
  int GEN_REF_MAP_NON_CONTAINED = 31;
988
952
989
  /**
953
  /**
990
   * The feature id for the '<em><b>Elements</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
954
   * The feature id for the '<em><b>Elements</b></em>' map.
991
   * 
955
   * <!-- begin-user-doc --> <!-- end-user-doc -->
992
   * @generated
956
   * @generated
993
   * @ordered
957
   * @ordered
994
   */
958
   */
995
  int GEN_REF_MAP_NON_CONTAINED__ELEMENTS = 0;
959
  int GEN_REF_MAP_NON_CONTAINED__ELEMENTS = 0;
996
960
997
  /**
961
  /**
998
   * The number of structural features of the '<em>Gen Ref Map Non Contained</em>' class. <!-- begin-user-doc --> <!--
962
   * The number of structural features of the '<em>Gen Ref Map Non Contained</em>' class.
963
   * <!-- begin-user-doc --> <!--
999
   * end-user-doc -->
964
   * end-user-doc -->
1000
   * 
1001
   * @generated
965
   * @generated
1002
   * @ordered
966
   * @ordered
1003
   */
967
   */
1004
  int GEN_REF_MAP_NON_CONTAINED_FEATURE_COUNT = 1;
968
  int GEN_REF_MAP_NON_CONTAINED_FEATURE_COUNT = 1;
1005
969
1006
  /**
970
  /**
1007
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl
971
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl <em>String To EObject</em>}' class.
1008
   * <em>String To EObject</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
972
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1009
   * 
1010
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl
973
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl
1011
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getStringToEObject()
974
   * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getStringToEObject()
1012
   * @generated
975
   * @generated
Lines 1014-1047 Link Here
1014
  int STRING_TO_EOBJECT = 32;
977
  int STRING_TO_EOBJECT = 32;
1015
978
1016
  /**
979
  /**
1017
   * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
980
   * The feature id for the '<em><b>Key</b></em>' attribute.
1018
   * 
981
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1019
   * @generated
982
   * @generated
1020
   * @ordered
983
   * @ordered
1021
   */
984
   */
1022
  int STRING_TO_EOBJECT__KEY = 0;
985
  int STRING_TO_EOBJECT__KEY = 0;
1023
986
1024
  /**
987
  /**
1025
   * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
988
   * The feature id for the '<em><b>Value</b></em>' reference.
1026
   * 
989
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1027
   * @generated
990
   * @generated
1028
   * @ordered
991
   * @ordered
1029
   */
992
   */
1030
  int STRING_TO_EOBJECT__VALUE = 1;
993
  int STRING_TO_EOBJECT__VALUE = 1;
1031
994
1032
  /**
995
  /**
1033
   * The number of structural features of the '<em>String To EObject</em>' class. <!-- begin-user-doc --> <!--
996
   * The number of structural features of the '<em>String To EObject</em>' class.
997
   * <!-- begin-user-doc --> <!--
1034
   * end-user-doc -->
998
   * end-user-doc -->
1035
   * 
1036
   * @generated
999
   * @generated
1037
   * @ordered
1000
   * @ordered
1038
   */
1001
   */
1039
  int STRING_TO_EOBJECT_FEATURE_COUNT = 2;
1002
  int STRING_TO_EOBJECT_FEATURE_COUNT = 2;
1040
1003
1041
  /**
1004
  /**
1042
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained
1005
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained <em>Ref Single Contained</em>}'.
1043
   * <em>Ref Single Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1006
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1044
   * 
1045
   * @return the meta object for class '<em>Ref Single Contained</em>'.
1007
   * @return the meta object for class '<em>Ref Single Contained</em>'.
1046
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained
1008
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained
1047
   * @generated
1009
   * @generated
Lines 1061-1069 Link Here
1061
  EReference getRefSingleContained_Element();
1023
  EReference getRefSingleContained_Element();
1062
1024
1063
  /**
1025
  /**
1064
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement
1026
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement <em>Single Contained Element</em>}'.
1065
   * <em>Single Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1027
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1066
   * 
1067
   * @return the meta object for class '<em>Single Contained Element</em>'.
1028
   * @return the meta object for class '<em>Single Contained Element</em>'.
1068
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement
1029
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement
1069
   * @generated
1030
   * @generated
Lines 1071-1080 Link Here
1071
  EClass getSingleContainedElement();
1032
  EClass getSingleContainedElement();
1072
1033
1073
  /**
1034
  /**
1074
   * Returns the meta object for the attribute '
1035
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName <em>Name</em>}'.
1075
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName <em>Name</em>}'. <!-- begin-user-doc
1036
   * <!-- begin-user-doc
1076
   * --> <!-- end-user-doc -->
1037
   * --> <!-- end-user-doc -->
1077
   * 
1078
   * @return the meta object for the attribute '<em>Name</em>'.
1038
   * @return the meta object for the attribute '<em>Name</em>'.
1079
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName()
1039
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName()
1080
   * @see #getSingleContainedElement()
1040
   * @see #getSingleContainedElement()
Lines 1095-1103 Link Here
1095
  EReference getSingleContainedElement_Parent();
1055
  EReference getSingleContainedElement_Parent();
1096
1056
1097
  /**
1057
  /**
1098
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained
1058
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained <em>Ref Single Non Contained</em>}'.
1099
   * <em>Ref Single Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1059
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1100
   * 
1101
   * @return the meta object for class '<em>Ref Single Non Contained</em>'.
1060
   * @return the meta object for class '<em>Ref Single Non Contained</em>'.
1102
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained
1061
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained
1103
   * @generated
1062
   * @generated
Lines 1117-1125 Link Here
1117
  EReference getRefSingleNonContained_Element();
1076
  EReference getRefSingleNonContained_Element();
1118
1077
1119
  /**
1078
  /**
1120
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement
1079
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement <em>Single Non Contained Element</em>}'.
1121
   * <em>Single Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1080
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1122
   * 
1123
   * @return the meta object for class '<em>Single Non Contained Element</em>'.
1081
   * @return the meta object for class '<em>Single Non Contained Element</em>'.
1124
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement
1082
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement
1125
   * @generated
1083
   * @generated
Lines 1151-1159 Link Here
1151
  EReference getSingleNonContainedElement_Parent();
1109
  EReference getSingleNonContainedElement_Parent();
1152
1110
1153
  /**
1111
  /**
1154
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained
1112
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained <em>Ref Multi Contained</em>}'.
1155
   * <em>Ref Multi Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1113
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1156
   * 
1157
   * @return the meta object for class '<em>Ref Multi Contained</em>'.
1114
   * @return the meta object for class '<em>Ref Multi Contained</em>'.
1158
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained
1115
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained
1159
   * @generated
1116
   * @generated
Lines 1173-1181 Link Here
1173
  EReference getRefMultiContained_Elements();
1130
  EReference getRefMultiContained_Elements();
1174
1131
1175
  /**
1132
  /**
1176
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement
1133
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement <em>Multi Contained Element</em>}'.
1177
   * <em>Multi Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1134
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1178
   * 
1179
   * @return the meta object for class '<em>Multi Contained Element</em>'.
1135
   * @return the meta object for class '<em>Multi Contained Element</em>'.
1180
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement
1136
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement
1181
   * @generated
1137
   * @generated
Lines 1183-1192 Link Here
1183
  EClass getMultiContainedElement();
1139
  EClass getMultiContainedElement();
1184
1140
1185
  /**
1141
  /**
1186
   * Returns the meta object for the attribute '
1142
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName <em>Name</em>}'.
1187
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName <em>Name</em>}'. <!-- begin-user-doc
1143
   * <!-- begin-user-doc
1188
   * --> <!-- end-user-doc -->
1144
   * --> <!-- end-user-doc -->
1189
   * 
1190
   * @return the meta object for the attribute '<em>Name</em>'.
1145
   * @return the meta object for the attribute '<em>Name</em>'.
1191
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName()
1146
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName()
1192
   * @see #getMultiContainedElement()
1147
   * @see #getMultiContainedElement()
Lines 1207-1215 Link Here
1207
  EReference getMultiContainedElement_Parent();
1162
  EReference getMultiContainedElement_Parent();
1208
1163
1209
  /**
1164
  /**
1210
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained
1165
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained <em>Ref Multi Non Contained</em>}'.
1211
   * <em>Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1166
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1212
   * 
1213
   * @return the meta object for class '<em>Ref Multi Non Contained</em>'.
1167
   * @return the meta object for class '<em>Ref Multi Non Contained</em>'.
1214
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained
1168
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained
1215
   * @generated
1169
   * @generated
Lines 1229-1237 Link Here
1229
  EReference getRefMultiNonContained_Elements();
1183
  EReference getRefMultiNonContained_Elements();
1230
1184
1231
  /**
1185
  /**
1232
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement
1186
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement <em>Multi Non Contained Element</em>}'.
1233
   * <em>Multi Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1187
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1234
   * 
1235
   * @return the meta object for class '<em>Multi Non Contained Element</em>'.
1188
   * @return the meta object for class '<em>Multi Non Contained Element</em>'.
1236
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement
1189
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement
1237
   * @generated
1190
   * @generated
Lines 1263-1271 Link Here
1263
  EReference getMultiNonContainedElement_Parent();
1216
  EReference getMultiNonContainedElement_Parent();
1264
1217
1265
  /**
1218
  /**
1266
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL
1219
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL <em>Ref Single Contained NPL</em>}'.
1267
   * <em>Ref Single Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1220
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1268
   * 
1269
   * @return the meta object for class '<em>Ref Single Contained NPL</em>'.
1221
   * @return the meta object for class '<em>Ref Single Contained NPL</em>'.
1270
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL
1222
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL
1271
   * @generated
1223
   * @generated
Lines 1285-1293 Link Here
1285
  EReference getRefSingleContainedNPL_Element();
1237
  EReference getRefSingleContainedNPL_Element();
1286
1238
1287
  /**
1239
  /**
1288
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL
1240
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL <em>Ref Single Non Contained NPL</em>}'.
1289
   * <em>Ref Single Non Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1241
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1290
   * 
1291
   * @return the meta object for class '<em>Ref Single Non Contained NPL</em>'.
1242
   * @return the meta object for class '<em>Ref Single Non Contained NPL</em>'.
1292
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL
1243
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL
1293
   * @generated
1244
   * @generated
Lines 1307-1315 Link Here
1307
  EReference getRefSingleNonContainedNPL_Element();
1258
  EReference getRefSingleNonContainedNPL_Element();
1308
1259
1309
  /**
1260
  /**
1310
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL
1261
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL <em>Ref Multi Contained NPL</em>}'.
1311
   * <em>Ref Multi Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1262
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1312
   * 
1313
   * @return the meta object for class '<em>Ref Multi Contained NPL</em>'.
1263
   * @return the meta object for class '<em>Ref Multi Contained NPL</em>'.
1314
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL
1264
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL
1315
   * @generated
1265
   * @generated
Lines 1329-1337 Link Here
1329
  EReference getRefMultiContainedNPL_Elements();
1279
  EReference getRefMultiContainedNPL_Elements();
1330
1280
1331
  /**
1281
  /**
1332
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL
1282
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL <em>Ref Multi Non Contained NPL</em>}'.
1333
   * <em>Ref Multi Non Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1283
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1334
   * 
1335
   * @return the meta object for class '<em>Ref Multi Non Contained NPL</em>'.
1284
   * @return the meta object for class '<em>Ref Multi Non Contained NPL</em>'.
1336
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL
1285
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL
1337
   * @generated
1286
   * @generated
Lines 1351-1359 Link Here
1351
  EReference getRefMultiNonContainedNPL_Elements();
1300
  EReference getRefMultiNonContainedNPL_Elements();
1352
1301
1353
  /**
1302
  /**
1354
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite
1303
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</em>}'.
1355
   * <em>Contained Element No Opposite</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1304
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1356
   * 
1357
   * @return the meta object for class '<em>Contained Element No Opposite</em>'.
1305
   * @return the meta object for class '<em>Contained Element No Opposite</em>'.
1358
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite
1306
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite
1359
   * @generated
1307
   * @generated
Lines 1373-1381 Link Here
1373
  EAttribute getContainedElementNoOpposite_Name();
1321
  EAttribute getContainedElementNoOpposite_Name();
1374
1322
1375
  /**
1323
  /**
1376
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained
1324
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained <em>Gen Ref Single Contained</em>}'.
1377
   * <em>Gen Ref Single Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1325
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1378
   * 
1379
   * @return the meta object for class '<em>Gen Ref Single Contained</em>'.
1326
   * @return the meta object for class '<em>Gen Ref Single Contained</em>'.
1380
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained
1327
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained
1381
   * @generated
1328
   * @generated
Lines 1395-1403 Link Here
1395
  EReference getGenRefSingleContained_Element();
1342
  EReference getGenRefSingleContained_Element();
1396
1343
1397
  /**
1344
  /**
1398
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained
1345
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</em>}'.
1399
   * <em>Gen Ref Single Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1346
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1400
   * 
1401
   * @return the meta object for class '<em>Gen Ref Single Non Contained</em>'.
1347
   * @return the meta object for class '<em>Gen Ref Single Non Contained</em>'.
1402
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained
1348
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained
1403
   * @generated
1349
   * @generated
Lines 1417-1425 Link Here
1417
  EReference getGenRefSingleNonContained_Element();
1363
  EReference getGenRefSingleNonContained_Element();
1418
1364
1419
  /**
1365
  /**
1420
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained
1366
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained <em>Gen Ref Multi Contained</em>}'.
1421
   * <em>Gen Ref Multi Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1367
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1422
   * 
1423
   * @return the meta object for class '<em>Gen Ref Multi Contained</em>'.
1368
   * @return the meta object for class '<em>Gen Ref Multi Contained</em>'.
1424
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained
1369
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained
1425
   * @generated
1370
   * @generated
Lines 1439-1447 Link Here
1439
  EReference getGenRefMultiContained_Elements();
1384
  EReference getGenRefMultiContained_Elements();
1440
1385
1441
  /**
1386
  /**
1442
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained
1387
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained <em>Gen Ref Multi Non Contained</em>}'.
1443
   * <em>Gen Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1388
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1444
   * 
1445
   * @return the meta object for class '<em>Gen Ref Multi Non Contained</em>'.
1389
   * @return the meta object for class '<em>Gen Ref Multi Non Contained</em>'.
1446
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained
1390
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained
1447
   * @generated
1391
   * @generated
Lines 1461-1469 Link Here
1461
  EReference getGenRefMultiNonContained_Elements();
1405
  EReference getGenRefMultiNonContained_Elements();
1462
1406
1463
  /**
1407
  /**
1464
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer
1408
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer <em>Impl Single Ref Container</em>}'.
1465
   * <em>Impl Single Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1409
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1466
   * 
1467
   * @return the meta object for class '<em>Impl Single Ref Container</em>'.
1410
   * @return the meta object for class '<em>Impl Single Ref Container</em>'.
1468
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer
1411
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer
1469
   * @generated
1412
   * @generated
Lines 1471-1479 Link Here
1471
  EClass getImplSingleRefContainer();
1414
  EClass getImplSingleRefContainer();
1472
1415
1473
  /**
1416
  /**
1474
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement
1417
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained Element</em>}'.
1475
   * <em>Impl Single Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1418
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1476
   * 
1477
   * @return the meta object for class '<em>Impl Single Ref Contained Element</em>'.
1419
   * @return the meta object for class '<em>Impl Single Ref Contained Element</em>'.
1478
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement
1420
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement
1479
   * @generated
1421
   * @generated
Lines 1493-1501 Link Here
1493
  EAttribute getImplSingleRefContainedElement_Name();
1435
  EAttribute getImplSingleRefContainedElement_Name();
1494
1436
1495
  /**
1437
  /**
1496
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer
1438
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</em>}'.
1497
   * <em>Impl Single Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1439
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1498
   * 
1499
   * @return the meta object for class '<em>Impl Single Ref Non Container</em>'.
1440
   * @return the meta object for class '<em>Impl Single Ref Non Container</em>'.
1500
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer
1441
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer
1501
   * @generated
1442
   * @generated
Lines 1503-1511 Link Here
1503
  EClass getImplSingleRefNonContainer();
1444
  EClass getImplSingleRefNonContainer();
1504
1445
1505
  /**
1446
  /**
1506
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement
1447
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement <em>Impl Single Ref Non Contained Element</em>}'.
1507
   * <em>Impl Single Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1448
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1508
   * 
1509
   * @return the meta object for class '<em>Impl Single Ref Non Contained Element</em>'.
1449
   * @return the meta object for class '<em>Impl Single Ref Non Contained Element</em>'.
1510
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement
1450
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement
1511
   * @generated
1451
   * @generated
Lines 1525-1533 Link Here
1525
  EAttribute getImplSingleRefNonContainedElement_Name();
1465
  EAttribute getImplSingleRefNonContainedElement_Name();
1526
1466
1527
  /**
1467
  /**
1528
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer
1468
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</em>}'.
1529
   * <em>Impl Multi Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1469
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1530
   * 
1531
   * @return the meta object for class '<em>Impl Multi Ref Non Container</em>'.
1470
   * @return the meta object for class '<em>Impl Multi Ref Non Container</em>'.
1532
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer
1471
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer
1533
   * @generated
1472
   * @generated
Lines 1535-1543 Link Here
1535
  EClass getImplMultiRefNonContainer();
1474
  EClass getImplMultiRefNonContainer();
1536
1475
1537
  /**
1476
  /**
1538
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement
1477
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement <em>Impl Multi Ref Non Contained Element</em>}'.
1539
   * <em>Impl Multi Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1478
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1540
   * 
1541
   * @return the meta object for class '<em>Impl Multi Ref Non Contained Element</em>'.
1479
   * @return the meta object for class '<em>Impl Multi Ref Non Contained Element</em>'.
1542
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement
1480
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement
1543
   * @generated
1481
   * @generated
Lines 1557-1565 Link Here
1557
  EAttribute getImplMultiRefNonContainedElement_Name();
1495
  EAttribute getImplMultiRefNonContainedElement_Name();
1558
1496
1559
  /**
1497
  /**
1560
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer
1498
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer <em>Impl Multi Ref Container</em>}'.
1561
   * <em>Impl Multi Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1499
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1562
   * 
1563
   * @return the meta object for class '<em>Impl Multi Ref Container</em>'.
1500
   * @return the meta object for class '<em>Impl Multi Ref Container</em>'.
1564
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer
1501
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer
1565
   * @generated
1502
   * @generated
Lines 1567-1575 Link Here
1567
  EClass getImplMultiRefContainer();
1504
  EClass getImplMultiRefContainer();
1568
1505
1569
  /**
1506
  /**
1570
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement
1507
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement <em>Impl Multi Ref Contained Element</em>}'.
1571
   * <em>Impl Multi Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1508
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1572
   * 
1573
   * @return the meta object for class '<em>Impl Multi Ref Contained Element</em>'.
1509
   * @return the meta object for class '<em>Impl Multi Ref Contained Element</em>'.
1574
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement
1510
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement
1575
   * @generated
1511
   * @generated
Lines 1589-1597 Link Here
1589
  EAttribute getImplMultiRefContainedElement_Name();
1525
  EAttribute getImplMultiRefContainedElement_Name();
1590
1526
1591
  /**
1527
  /**
1592
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL
1528
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container NPL</em>}'.
1593
   * <em>Impl Single Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1529
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1594
   * 
1595
   * @return the meta object for class '<em>Impl Single Ref Container NPL</em>'.
1530
   * @return the meta object for class '<em>Impl Single Ref Container NPL</em>'.
1596
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL
1531
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL
1597
   * @generated
1532
   * @generated
Lines 1599-1607 Link Here
1599
  EClass getImplSingleRefContainerNPL();
1534
  EClass getImplSingleRefContainerNPL();
1600
1535
1601
  /**
1536
  /**
1602
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL
1537
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL <em>Impl Single Ref Non Container NPL</em>}'.
1603
   * <em>Impl Single Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1538
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1604
   * 
1605
   * @return the meta object for class '<em>Impl Single Ref Non Container NPL</em>'.
1539
   * @return the meta object for class '<em>Impl Single Ref Non Container NPL</em>'.
1606
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL
1540
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL
1607
   * @generated
1541
   * @generated
Lines 1609-1617 Link Here
1609
  EClass getImplSingleRefNonContainerNPL();
1543
  EClass getImplSingleRefNonContainerNPL();
1610
1544
1611
  /**
1545
  /**
1612
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL
1546
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container NPL</em>}'.
1613
   * <em>Impl Multi Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1547
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1614
   * 
1615
   * @return the meta object for class '<em>Impl Multi Ref Container NPL</em>'.
1548
   * @return the meta object for class '<em>Impl Multi Ref Container NPL</em>'.
1616
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL
1549
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL
1617
   * @generated
1550
   * @generated
Lines 1619-1627 Link Here
1619
  EClass getImplMultiRefContainerNPL();
1552
  EClass getImplMultiRefContainerNPL();
1620
1553
1621
  /**
1554
  /**
1622
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL
1555
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL <em>Impl Multi Ref Non Container NPL</em>}'.
1623
   * <em>Impl Multi Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1556
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1624
   * 
1625
   * @return the meta object for class '<em>Impl Multi Ref Non Container NPL</em>'.
1557
   * @return the meta object for class '<em>Impl Multi Ref Non Container NPL</em>'.
1626
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL
1558
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL
1627
   * @generated
1559
   * @generated
Lines 1629-1637 Link Here
1629
  EClass getImplMultiRefNonContainerNPL();
1561
  EClass getImplMultiRefNonContainerNPL();
1630
1562
1631
  /**
1563
  /**
1632
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL
1564
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL <em>Impl Contained Element NPL</em>}'.
1633
   * <em>Impl Contained Element NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1565
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1634
   * 
1635
   * @return the meta object for class '<em>Impl Contained Element NPL</em>'.
1566
   * @return the meta object for class '<em>Impl Contained Element NPL</em>'.
1636
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL
1567
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL
1637
   * @generated
1568
   * @generated
Lines 1639-1647 Link Here
1639
  EClass getImplContainedElementNPL();
1570
  EClass getImplContainedElementNPL();
1640
1571
1641
  /**
1572
  /**
1642
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained
1573
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</em>}'.
1643
   * <em>Gen Ref Multi NU Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1574
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1644
   * 
1645
   * @return the meta object for class '<em>Gen Ref Multi NU Non Contained</em>'.
1575
   * @return the meta object for class '<em>Gen Ref Multi NU Non Contained</em>'.
1646
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained
1576
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained
1647
   * @generated
1577
   * @generated
Lines 1661-1669 Link Here
1661
  EReference getGenRefMultiNUNonContained_Elements();
1591
  EReference getGenRefMultiNUNonContained_Elements();
1662
1592
1663
  /**
1593
  /**
1664
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained
1594
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained <em>Gen Ref Map Non Contained</em>}'.
1665
   * <em>Gen Ref Map Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
1595
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1666
   * 
1667
   * @return the meta object for class '<em>Gen Ref Map Non Contained</em>'.
1596
   * @return the meta object for class '<em>Gen Ref Map Non Contained</em>'.
1668
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained
1597
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained
1669
   * @generated
1598
   * @generated
Lines 1683-1703 Link Here
1683
  EReference getGenRefMapNonContained_Elements();
1612
  EReference getGenRefMapNonContained_Elements();
1684
1613
1685
  /**
1614
  /**
1686
   * Returns the meta object for class '{@link java.util.Map.Entry <em>String To EObject</em>}'. <!-- begin-user-doc -->
1615
   * Returns the meta object for class '{@link java.util.Map.Entry <em>String To EObject</em>}'.
1616
   * <!-- begin-user-doc -->
1687
   * <!-- end-user-doc -->
1617
   * <!-- end-user-doc -->
1688
   * 
1689
   * @return the meta object for class '<em>String To EObject</em>'.
1618
   * @return the meta object for class '<em>String To EObject</em>'.
1690
   * @see java.util.Map.Entry
1619
   * @see java.util.Map.Entry
1691
   * @model keyDataType="org.eclipse.emf.ecore.EString" valueType="org.eclipse.emf.ecore.EObject"
1620
   * @model keyDataType="org.eclipse.emf.ecore.EString"
1692
   *        valueResolveProxies="false"
1621
   *        valueType="org.eclipse.emf.ecore.EObject" valueResolveProxies="false"
1693
   * @generated
1622
   * @generated
1694
   */
1623
   */
1695
  EClass getStringToEObject();
1624
  EClass getStringToEObject();
1696
1625
1697
  /**
1626
  /**
1698
   * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
1627
   * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'.
1628
   * <!-- begin-user-doc --> <!--
1699
   * end-user-doc -->
1629
   * end-user-doc -->
1700
   * 
1701
   * @return the meta object for the attribute '<em>Key</em>'.
1630
   * @return the meta object for the attribute '<em>Key</em>'.
1702
   * @see java.util.Map.Entry
1631
   * @see java.util.Map.Entry
1703
   * @see #getStringToEObject()
1632
   * @see #getStringToEObject()
Lines 1706-1714 Link Here
1706
  EAttribute getStringToEObject_Key();
1635
  EAttribute getStringToEObject_Key();
1707
1636
1708
  /**
1637
  /**
1709
   * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
1638
   * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'.
1639
   * <!-- begin-user-doc -->
1710
   * <!-- end-user-doc -->
1640
   * <!-- end-user-doc -->
1711
   * 
1712
   * @return the meta object for the reference '<em>Value</em>'.
1641
   * @return the meta object for the reference '<em>Value</em>'.
1713
   * @see java.util.Map.Entry
1642
   * @see java.util.Map.Entry
1714
   * @see #getStringToEObject()
1643
   * @see #getStringToEObject()
Lines 1717-1724 Link Here
1717
  EReference getStringToEObject_Value();
1646
  EReference getStringToEObject_Value();
1718
1647
1719
  /**
1648
  /**
1720
   * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
1649
   * Returns the factory that creates the instances of the model.
1721
   * 
1650
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1722
   * @return the factory that creates the instances of the model.
1651
   * @return the factory that creates the instances of the model.
1723
   * @generated
1652
   * @generated
1724
   */
1653
   */
Lines 1733-1747 Link Here
1733
   * <li>and each data type</li>
1662
   * <li>and each data type</li>
1734
   * </ul>
1663
   * </ul>
1735
   * <!-- end-user-doc -->
1664
   * <!-- end-user-doc -->
1736
   * 
1737
   * @generated
1665
   * @generated
1738
   */
1666
   */
1739
  interface Literals
1667
  interface Literals
1740
  {
1668
  {
1741
    /**
1669
    /**
1742
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl
1670
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl <em>Ref Single Contained</em>}' class.
1743
     * <em>Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1671
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1744
     * 
1745
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl
1672
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl
1746
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContained()
1673
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContained()
1747
     * @generated
1674
     * @generated
Lines 1749-1765 Link Here
1749
    EClass REF_SINGLE_CONTAINED = eINSTANCE.getRefSingleContained();
1676
    EClass REF_SINGLE_CONTAINED = eINSTANCE.getRefSingleContained();
1750
1677
1751
    /**
1678
    /**
1752
     * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc -->
1679
     * The meta object literal for the '<em><b>Element</b></em>' containment reference feature.
1680
     * <!-- begin-user-doc -->
1753
     * <!-- end-user-doc -->
1681
     * <!-- end-user-doc -->
1754
     * 
1755
     * @generated
1682
     * @generated
1756
     */
1683
     */
1757
    EReference REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getRefSingleContained_Element();
1684
    EReference REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getRefSingleContained_Element();
1758
1685
1759
    /**
1686
    /**
1760
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl
1687
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl <em>Single Contained Element</em>}' class.
1761
     * <em>Single Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1688
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1762
     * 
1763
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl
1689
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl
1764
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleContainedElement()
1690
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleContainedElement()
1765
     * @generated
1691
     * @generated
Lines 1767-1791 Link Here
1767
    EClass SINGLE_CONTAINED_ELEMENT = eINSTANCE.getSingleContainedElement();
1693
    EClass SINGLE_CONTAINED_ELEMENT = eINSTANCE.getSingleContainedElement();
1768
1694
1769
    /**
1695
    /**
1770
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
1696
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1697
     * <!-- begin-user-doc --> <!--
1771
     * end-user-doc -->
1698
     * end-user-doc -->
1772
     * 
1773
     * @generated
1699
     * @generated
1774
     */
1700
     */
1775
    EAttribute SINGLE_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleContainedElement_Name();
1701
    EAttribute SINGLE_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleContainedElement_Name();
1776
1702
1777
    /**
1703
    /**
1778
     * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc -->
1704
     * The meta object literal for the '<em><b>Parent</b></em>' container reference feature.
1705
     * <!-- begin-user-doc -->
1779
     * <!-- end-user-doc -->
1706
     * <!-- end-user-doc -->
1780
     * 
1781
     * @generated
1707
     * @generated
1782
     */
1708
     */
1783
    EReference SINGLE_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleContainedElement_Parent();
1709
    EReference SINGLE_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleContainedElement_Parent();
1784
1710
1785
    /**
1711
    /**
1786
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl
1712
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl <em>Ref Single Non Contained</em>}' class.
1787
     * <em>Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1713
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1788
     * 
1789
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl
1714
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl
1790
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContained()
1715
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContained()
1791
     * @generated
1716
     * @generated
Lines 1793-1810 Link Here
1793
    EClass REF_SINGLE_NON_CONTAINED = eINSTANCE.getRefSingleNonContained();
1718
    EClass REF_SINGLE_NON_CONTAINED = eINSTANCE.getRefSingleNonContained();
1794
1719
1795
    /**
1720
    /**
1796
     * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!--
1721
     * The meta object literal for the '<em><b>Element</b></em>' reference feature.
1722
     * <!-- begin-user-doc --> <!--
1797
     * end-user-doc -->
1723
     * end-user-doc -->
1798
     * 
1799
     * @generated
1724
     * @generated
1800
     */
1725
     */
1801
    EReference REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getRefSingleNonContained_Element();
1726
    EReference REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getRefSingleNonContained_Element();
1802
1727
1803
    /**
1728
    /**
1804
     * The meta object literal for the '
1729
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl <em>Single Non Contained Element</em>}' class.
1805
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl
1730
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1806
     * <em>Single Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1807
     * 
1808
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl
1731
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl
1809
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleNonContainedElement()
1732
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleNonContainedElement()
1810
     * @generated
1733
     * @generated
Lines 1812-1836 Link Here
1812
    EClass SINGLE_NON_CONTAINED_ELEMENT = eINSTANCE.getSingleNonContainedElement();
1735
    EClass SINGLE_NON_CONTAINED_ELEMENT = eINSTANCE.getSingleNonContainedElement();
1813
1736
1814
    /**
1737
    /**
1815
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
1738
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1739
     * <!-- begin-user-doc --> <!--
1816
     * end-user-doc -->
1740
     * end-user-doc -->
1817
     * 
1818
     * @generated
1741
     * @generated
1819
     */
1742
     */
1820
    EAttribute SINGLE_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleNonContainedElement_Name();
1743
    EAttribute SINGLE_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleNonContainedElement_Name();
1821
1744
1822
    /**
1745
    /**
1823
     * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!--
1746
     * The meta object literal for the '<em><b>Parent</b></em>' reference feature.
1747
     * <!-- begin-user-doc --> <!--
1824
     * end-user-doc -->
1748
     * end-user-doc -->
1825
     * 
1826
     * @generated
1749
     * @generated
1827
     */
1750
     */
1828
    EReference SINGLE_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleNonContainedElement_Parent();
1751
    EReference SINGLE_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleNonContainedElement_Parent();
1829
1752
1830
    /**
1753
    /**
1831
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl
1754
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl <em>Ref Multi Contained</em>}' class.
1832
     * <em>Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1755
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1833
     * 
1834
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl
1756
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl
1835
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContained()
1757
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContained()
1836
     * @generated
1758
     * @generated
Lines 1846-1854 Link Here
1846
    EReference REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getRefMultiContained_Elements();
1768
    EReference REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getRefMultiContained_Elements();
1847
1769
1848
    /**
1770
    /**
1849
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl
1771
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl <em>Multi Contained Element</em>}' class.
1850
     * <em>Multi Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1772
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1851
     * 
1852
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl
1773
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl
1853
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiContainedElement()
1774
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiContainedElement()
1854
     * @generated
1775
     * @generated
Lines 1856-1880 Link Here
1856
    EClass MULTI_CONTAINED_ELEMENT = eINSTANCE.getMultiContainedElement();
1777
    EClass MULTI_CONTAINED_ELEMENT = eINSTANCE.getMultiContainedElement();
1857
1778
1858
    /**
1779
    /**
1859
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
1780
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1781
     * <!-- begin-user-doc --> <!--
1860
     * end-user-doc -->
1782
     * end-user-doc -->
1861
     * 
1862
     * @generated
1783
     * @generated
1863
     */
1784
     */
1864
    EAttribute MULTI_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiContainedElement_Name();
1785
    EAttribute MULTI_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiContainedElement_Name();
1865
1786
1866
    /**
1787
    /**
1867
     * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc -->
1788
     * The meta object literal for the '<em><b>Parent</b></em>' container reference feature.
1789
     * <!-- begin-user-doc -->
1868
     * <!-- end-user-doc -->
1790
     * <!-- end-user-doc -->
1869
     * 
1870
     * @generated
1791
     * @generated
1871
     */
1792
     */
1872
    EReference MULTI_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiContainedElement_Parent();
1793
    EReference MULTI_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiContainedElement_Parent();
1873
1794
1874
    /**
1795
    /**
1875
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl
1796
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl <em>Ref Multi Non Contained</em>}' class.
1876
     * <em>Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1797
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1877
     * 
1878
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl
1798
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl
1879
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContained()
1799
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContained()
1880
     * @generated
1800
     * @generated
Lines 1882-1899 Link Here
1882
    EClass REF_MULTI_NON_CONTAINED = eINSTANCE.getRefMultiNonContained();
1802
    EClass REF_MULTI_NON_CONTAINED = eINSTANCE.getRefMultiNonContained();
1883
1803
1884
    /**
1804
    /**
1885
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
1805
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature.
1806
     * <!-- begin-user-doc --> <!--
1886
     * end-user-doc -->
1807
     * end-user-doc -->
1887
     * 
1888
     * @generated
1808
     * @generated
1889
     */
1809
     */
1890
    EReference REF_MULTI_NON_CONTAINED__ELEMENTS = eINSTANCE.getRefMultiNonContained_Elements();
1810
    EReference REF_MULTI_NON_CONTAINED__ELEMENTS = eINSTANCE.getRefMultiNonContained_Elements();
1891
1811
1892
    /**
1812
    /**
1893
     * The meta object literal for the '
1813
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl <em>Multi Non Contained Element</em>}' class.
1894
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl
1814
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1895
     * <em>Multi Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1896
     * 
1897
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl
1815
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl
1898
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedElement()
1816
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedElement()
1899
     * @generated
1817
     * @generated
Lines 1901-1925 Link Here
1901
    EClass MULTI_NON_CONTAINED_ELEMENT = eINSTANCE.getMultiNonContainedElement();
1819
    EClass MULTI_NON_CONTAINED_ELEMENT = eINSTANCE.getMultiNonContainedElement();
1902
1820
1903
    /**
1821
    /**
1904
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
1822
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1823
     * <!-- begin-user-doc --> <!--
1905
     * end-user-doc -->
1824
     * end-user-doc -->
1906
     * 
1907
     * @generated
1825
     * @generated
1908
     */
1826
     */
1909
    EAttribute MULTI_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiNonContainedElement_Name();
1827
    EAttribute MULTI_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiNonContainedElement_Name();
1910
1828
1911
    /**
1829
    /**
1912
     * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!--
1830
     * The meta object literal for the '<em><b>Parent</b></em>' reference feature.
1831
     * <!-- begin-user-doc --> <!--
1913
     * end-user-doc -->
1832
     * end-user-doc -->
1914
     * 
1915
     * @generated
1833
     * @generated
1916
     */
1834
     */
1917
    EReference MULTI_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiNonContainedElement_Parent();
1835
    EReference MULTI_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiNonContainedElement_Parent();
1918
1836
1919
    /**
1837
    /**
1920
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl
1838
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl <em>Ref Single Contained NPL</em>}' class.
1921
     * <em>Ref Single Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1839
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1922
     * 
1923
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl
1840
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl
1924
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContainedNPL()
1841
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContainedNPL()
1925
     * @generated
1842
     * @generated
Lines 1927-1944 Link Here
1927
    EClass REF_SINGLE_CONTAINED_NPL = eINSTANCE.getRefSingleContainedNPL();
1844
    EClass REF_SINGLE_CONTAINED_NPL = eINSTANCE.getRefSingleContainedNPL();
1928
1845
1929
    /**
1846
    /**
1930
     * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc -->
1847
     * The meta object literal for the '<em><b>Element</b></em>' containment reference feature.
1848
     * <!-- begin-user-doc -->
1931
     * <!-- end-user-doc -->
1849
     * <!-- end-user-doc -->
1932
     * 
1933
     * @generated
1850
     * @generated
1934
     */
1851
     */
1935
    EReference REF_SINGLE_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleContainedNPL_Element();
1852
    EReference REF_SINGLE_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleContainedNPL_Element();
1936
1853
1937
    /**
1854
    /**
1938
     * The meta object literal for the '
1855
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl <em>Ref Single Non Contained NPL</em>}' class.
1939
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl
1856
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1940
     * <em>Ref Single Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1941
     * 
1942
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl
1857
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl
1943
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL()
1858
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL()
1944
     * @generated
1859
     * @generated
Lines 1946-1962 Link Here
1946
    EClass REF_SINGLE_NON_CONTAINED_NPL = eINSTANCE.getRefSingleNonContainedNPL();
1861
    EClass REF_SINGLE_NON_CONTAINED_NPL = eINSTANCE.getRefSingleNonContainedNPL();
1947
1862
1948
    /**
1863
    /**
1949
     * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!--
1864
     * The meta object literal for the '<em><b>Element</b></em>' reference feature.
1865
     * <!-- begin-user-doc --> <!--
1950
     * end-user-doc -->
1866
     * end-user-doc -->
1951
     * 
1952
     * @generated
1867
     * @generated
1953
     */
1868
     */
1954
    EReference REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleNonContainedNPL_Element();
1869
    EReference REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleNonContainedNPL_Element();
1955
1870
1956
    /**
1871
    /**
1957
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl
1872
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl <em>Ref Multi Contained NPL</em>}' class.
1958
     * <em>Ref Multi Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1873
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1959
     * 
1960
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl
1874
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl
1961
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContainedNPL()
1875
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContainedNPL()
1962
     * @generated
1876
     * @generated
Lines 1972-1980 Link Here
1972
    EReference REF_MULTI_CONTAINED_NPL__ELEMENTS = eINSTANCE.getRefMultiContainedNPL_Elements();
1886
    EReference REF_MULTI_CONTAINED_NPL__ELEMENTS = eINSTANCE.getRefMultiContainedNPL_Elements();
1973
1887
1974
    /**
1888
    /**
1975
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl
1889
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl <em>Ref Multi Non Contained NPL</em>}' class.
1976
     * <em>Ref Multi Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1890
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1977
     * 
1978
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl
1891
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl
1979
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL()
1892
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL()
1980
     * @generated
1893
     * @generated
Lines 1982-1999 Link Here
1982
    EClass REF_MULTI_NON_CONTAINED_NPL = eINSTANCE.getRefMultiNonContainedNPL();
1895
    EClass REF_MULTI_NON_CONTAINED_NPL = eINSTANCE.getRefMultiNonContainedNPL();
1983
1896
1984
    /**
1897
    /**
1985
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
1898
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature.
1899
     * <!-- begin-user-doc --> <!--
1986
     * end-user-doc -->
1900
     * end-user-doc -->
1987
     * 
1988
     * @generated
1901
     * @generated
1989
     */
1902
     */
1990
    EReference REF_MULTI_NON_CONTAINED_NPL__ELEMENTS = eINSTANCE.getRefMultiNonContainedNPL_Elements();
1903
    EReference REF_MULTI_NON_CONTAINED_NPL__ELEMENTS = eINSTANCE.getRefMultiNonContainedNPL_Elements();
1991
1904
1992
    /**
1905
    /**
1993
     * The meta object literal for the '
1906
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl <em>Contained Element No Opposite</em>}' class.
1994
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl
1907
     * <!-- begin-user-doc --> <!-- end-user-doc -->
1995
     * <em>Contained Element No Opposite</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1996
     * 
1997
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl
1908
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl
1998
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getContainedElementNoOpposite()
1909
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getContainedElementNoOpposite()
1999
     * @generated
1910
     * @generated
Lines 2001-2017 Link Here
2001
    EClass CONTAINED_ELEMENT_NO_OPPOSITE = eINSTANCE.getContainedElementNoOpposite();
1912
    EClass CONTAINED_ELEMENT_NO_OPPOSITE = eINSTANCE.getContainedElementNoOpposite();
2002
1913
2003
    /**
1914
    /**
2004
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
1915
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1916
     * <!-- begin-user-doc --> <!--
2005
     * end-user-doc -->
1917
     * end-user-doc -->
2006
     * 
2007
     * @generated
1918
     * @generated
2008
     */
1919
     */
2009
    EAttribute CONTAINED_ELEMENT_NO_OPPOSITE__NAME = eINSTANCE.getContainedElementNoOpposite_Name();
1920
    EAttribute CONTAINED_ELEMENT_NO_OPPOSITE__NAME = eINSTANCE.getContainedElementNoOpposite_Name();
2010
1921
2011
    /**
1922
    /**
2012
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl
1923
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl <em>Gen Ref Single Contained</em>}' class.
2013
     * <em>Gen Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1924
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2014
     * 
2015
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl
1925
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl
2016
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleContained()
1926
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleContained()
2017
     * @generated
1927
     * @generated
Lines 2019-2036 Link Here
2019
    EClass GEN_REF_SINGLE_CONTAINED = eINSTANCE.getGenRefSingleContained();
1929
    EClass GEN_REF_SINGLE_CONTAINED = eINSTANCE.getGenRefSingleContained();
2020
1930
2021
    /**
1931
    /**
2022
     * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc -->
1932
     * The meta object literal for the '<em><b>Element</b></em>' containment reference feature.
1933
     * <!-- begin-user-doc -->
2023
     * <!-- end-user-doc -->
1934
     * <!-- end-user-doc -->
2024
     * 
2025
     * @generated
1935
     * @generated
2026
     */
1936
     */
2027
    EReference GEN_REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleContained_Element();
1937
    EReference GEN_REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleContained_Element();
2028
1938
2029
    /**
1939
    /**
2030
     * The meta object literal for the '
1940
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl <em>Gen Ref Single Non Contained</em>}' class.
2031
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl
1941
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2032
     * <em>Gen Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2033
     * 
2034
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl
1942
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl
2035
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleNonContained()
1943
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleNonContained()
2036
     * @generated
1944
     * @generated
Lines 2038-2054 Link Here
2038
    EClass GEN_REF_SINGLE_NON_CONTAINED = eINSTANCE.getGenRefSingleNonContained();
1946
    EClass GEN_REF_SINGLE_NON_CONTAINED = eINSTANCE.getGenRefSingleNonContained();
2039
1947
2040
    /**
1948
    /**
2041
     * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!--
1949
     * The meta object literal for the '<em><b>Element</b></em>' reference feature.
1950
     * <!-- begin-user-doc --> <!--
2042
     * end-user-doc -->
1951
     * end-user-doc -->
2043
     * 
2044
     * @generated
1952
     * @generated
2045
     */
1953
     */
2046
    EReference GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleNonContained_Element();
1954
    EReference GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleNonContained_Element();
2047
1955
2048
    /**
1956
    /**
2049
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl
1957
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl <em>Gen Ref Multi Contained</em>}' class.
2050
     * <em>Gen Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1958
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2051
     * 
2052
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl
1959
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl
2053
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiContained()
1960
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiContained()
2054
     * @generated
1961
     * @generated
Lines 2064-2072 Link Here
2064
    EReference GEN_REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiContained_Elements();
1971
    EReference GEN_REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiContained_Elements();
2065
1972
2066
    /**
1973
    /**
2067
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl
1974
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl <em>Gen Ref Multi Non Contained</em>}' class.
2068
     * <em>Gen Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1975
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2069
     * 
2070
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl
1976
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl
2071
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNonContained()
1977
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNonContained()
2072
     * @generated
1978
     * @generated
Lines 2074-2090 Link Here
2074
    EClass GEN_REF_MULTI_NON_CONTAINED = eINSTANCE.getGenRefMultiNonContained();
1980
    EClass GEN_REF_MULTI_NON_CONTAINED = eINSTANCE.getGenRefMultiNonContained();
2075
1981
2076
    /**
1982
    /**
2077
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
1983
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature.
1984
     * <!-- begin-user-doc --> <!--
2078
     * end-user-doc -->
1985
     * end-user-doc -->
2079
     * 
2080
     * @generated
1986
     * @generated
2081
     */
1987
     */
2082
    EReference GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNonContained_Elements();
1988
    EReference GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNonContained_Elements();
2083
1989
2084
    /**
1990
    /**
2085
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl
1991
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl <em>Impl Single Ref Container</em>}' class.
2086
     * <em>Impl Single Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
1992
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2087
     * 
2088
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl
1993
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl
2089
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainer()
1994
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainer()
2090
     * @generated
1995
     * @generated
Lines 2092-2101 Link Here
2092
    EClass IMPL_SINGLE_REF_CONTAINER = eINSTANCE.getImplSingleRefContainer();
1997
    EClass IMPL_SINGLE_REF_CONTAINER = eINSTANCE.getImplSingleRefContainer();
2093
1998
2094
    /**
1999
    /**
2095
     * The meta object literal for the '
2000
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl <em>Impl Single Ref Contained Element</em>}' class.
2096
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl
2001
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2097
     * <em>Impl Single Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2098
     * 
2099
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl
2002
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl
2100
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainedElement()
2003
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainedElement()
2101
     * @generated
2004
     * @generated
Lines 2103-2120 Link Here
2103
    EClass IMPL_SINGLE_REF_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefContainedElement();
2006
    EClass IMPL_SINGLE_REF_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefContainedElement();
2104
2007
2105
    /**
2008
    /**
2106
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
2009
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
2010
     * <!-- begin-user-doc --> <!--
2107
     * end-user-doc -->
2011
     * end-user-doc -->
2108
     * 
2109
     * @generated
2012
     * @generated
2110
     */
2013
     */
2111
    EAttribute IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefContainedElement_Name();
2014
    EAttribute IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefContainedElement_Name();
2112
2015
2113
    /**
2016
    /**
2114
     * The meta object literal for the '
2017
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl <em>Impl Single Ref Non Container</em>}' class.
2115
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl
2018
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2116
     * <em>Impl Single Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2117
     * 
2118
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl
2019
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl
2119
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainer()
2020
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainer()
2120
     * @generated
2021
     * @generated
Lines 2122-2131 Link Here
2122
    EClass IMPL_SINGLE_REF_NON_CONTAINER = eINSTANCE.getImplSingleRefNonContainer();
2023
    EClass IMPL_SINGLE_REF_NON_CONTAINER = eINSTANCE.getImplSingleRefNonContainer();
2123
2024
2124
    /**
2025
    /**
2125
     * The meta object literal for the '
2026
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl <em>Impl Single Ref Non Contained Element</em>}' class.
2126
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl
2027
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2127
     * <em>Impl Single Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2128
     * 
2129
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl
2028
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl
2130
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement()
2029
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement()
2131
     * @generated
2030
     * @generated
Lines 2133-2150 Link Here
2133
    EClass IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefNonContainedElement();
2032
    EClass IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefNonContainedElement();
2134
2033
2135
    /**
2034
    /**
2136
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
2035
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
2036
     * <!-- begin-user-doc --> <!--
2137
     * end-user-doc -->
2037
     * end-user-doc -->
2138
     * 
2139
     * @generated
2038
     * @generated
2140
     */
2039
     */
2141
    EAttribute IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefNonContainedElement_Name();
2040
    EAttribute IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefNonContainedElement_Name();
2142
2041
2143
    /**
2042
    /**
2144
     * The meta object literal for the '
2043
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl <em>Impl Multi Ref Non Container</em>}' class.
2145
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl
2044
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2146
     * <em>Impl Multi Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2147
     * 
2148
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl
2045
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl
2149
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainer()
2046
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainer()
2150
     * @generated
2047
     * @generated
Lines 2152-2161 Link Here
2152
    EClass IMPL_MULTI_REF_NON_CONTAINER = eINSTANCE.getImplMultiRefNonContainer();
2049
    EClass IMPL_MULTI_REF_NON_CONTAINER = eINSTANCE.getImplMultiRefNonContainer();
2153
2050
2154
    /**
2051
    /**
2155
     * The meta object literal for the '
2052
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl <em>Impl Multi Ref Non Contained Element</em>}' class.
2156
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl
2053
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2157
     * <em>Impl Multi Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2158
     * 
2159
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl
2054
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl
2160
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement()
2055
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement()
2161
     * @generated
2056
     * @generated
Lines 2163-2179 Link Here
2163
    EClass IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefNonContainedElement();
2058
    EClass IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefNonContainedElement();
2164
2059
2165
    /**
2060
    /**
2166
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
2061
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
2062
     * <!-- begin-user-doc --> <!--
2167
     * end-user-doc -->
2063
     * end-user-doc -->
2168
     * 
2169
     * @generated
2064
     * @generated
2170
     */
2065
     */
2171
    EAttribute IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefNonContainedElement_Name();
2066
    EAttribute IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefNonContainedElement_Name();
2172
2067
2173
    /**
2068
    /**
2174
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl
2069
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl <em>Impl Multi Ref Container</em>}' class.
2175
     * <em>Impl Multi Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2070
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2176
     * 
2177
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl
2071
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl
2178
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainer()
2072
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainer()
2179
     * @generated
2073
     * @generated
Lines 2181-2190 Link Here
2181
    EClass IMPL_MULTI_REF_CONTAINER = eINSTANCE.getImplMultiRefContainer();
2075
    EClass IMPL_MULTI_REF_CONTAINER = eINSTANCE.getImplMultiRefContainer();
2182
2076
2183
    /**
2077
    /**
2184
     * The meta object literal for the '
2078
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl <em>Impl Multi Ref Contained Element</em>}' class.
2185
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl
2079
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2186
     * <em>Impl Multi Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2187
     * 
2188
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl
2080
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl
2189
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainedElement()
2081
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainedElement()
2190
     * @generated
2082
     * @generated
Lines 2192-2209 Link Here
2192
    EClass IMPL_MULTI_REF_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefContainedElement();
2084
    EClass IMPL_MULTI_REF_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefContainedElement();
2193
2085
2194
    /**
2086
    /**
2195
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
2087
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
2088
     * <!-- begin-user-doc --> <!--
2196
     * end-user-doc -->
2089
     * end-user-doc -->
2197
     * 
2198
     * @generated
2090
     * @generated
2199
     */
2091
     */
2200
    EAttribute IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefContainedElement_Name();
2092
    EAttribute IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefContainedElement_Name();
2201
2093
2202
    /**
2094
    /**
2203
     * The meta object literal for the '
2095
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl <em>Impl Single Ref Container NPL</em>}' class.
2204
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl
2096
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2205
     * <em>Impl Single Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2206
     * 
2207
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl
2097
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl
2208
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL()
2098
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL()
2209
     * @generated
2099
     * @generated
Lines 2211-2220 Link Here
2211
    EClass IMPL_SINGLE_REF_CONTAINER_NPL = eINSTANCE.getImplSingleRefContainerNPL();
2101
    EClass IMPL_SINGLE_REF_CONTAINER_NPL = eINSTANCE.getImplSingleRefContainerNPL();
2212
2102
2213
    /**
2103
    /**
2214
     * The meta object literal for the '
2104
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl <em>Impl Single Ref Non Container NPL</em>}' class.
2215
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl
2105
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2216
     * <em>Impl Single Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2217
     * 
2218
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl
2106
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl
2219
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL()
2107
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL()
2220
     * @generated
2108
     * @generated
Lines 2222-2231 Link Here
2222
    EClass IMPL_SINGLE_REF_NON_CONTAINER_NPL = eINSTANCE.getImplSingleRefNonContainerNPL();
2110
    EClass IMPL_SINGLE_REF_NON_CONTAINER_NPL = eINSTANCE.getImplSingleRefNonContainerNPL();
2223
2111
2224
    /**
2112
    /**
2225
     * The meta object literal for the '
2113
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl <em>Impl Multi Ref Container NPL</em>}' class.
2226
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl
2114
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2227
     * <em>Impl Multi Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2228
     * 
2229
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl
2115
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl
2230
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL()
2116
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL()
2231
     * @generated
2117
     * @generated
Lines 2233-2242 Link Here
2233
    EClass IMPL_MULTI_REF_CONTAINER_NPL = eINSTANCE.getImplMultiRefContainerNPL();
2119
    EClass IMPL_MULTI_REF_CONTAINER_NPL = eINSTANCE.getImplMultiRefContainerNPL();
2234
2120
2235
    /**
2121
    /**
2236
     * The meta object literal for the '
2122
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl <em>Impl Multi Ref Non Container NPL</em>}' class.
2237
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl
2123
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2238
     * <em>Impl Multi Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2239
     * 
2240
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl
2124
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl
2241
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL()
2125
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL()
2242
     * @generated
2126
     * @generated
Lines 2244-2252 Link Here
2244
    EClass IMPL_MULTI_REF_NON_CONTAINER_NPL = eINSTANCE.getImplMultiRefNonContainerNPL();
2128
    EClass IMPL_MULTI_REF_NON_CONTAINER_NPL = eINSTANCE.getImplMultiRefNonContainerNPL();
2245
2129
2246
    /**
2130
    /**
2247
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl
2131
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl <em>Impl Contained Element NPL</em>}' class.
2248
     * <em>Impl Contained Element NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2132
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2249
     * 
2250
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl
2133
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl
2251
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplContainedElementNPL()
2134
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplContainedElementNPL()
2252
     * @generated
2135
     * @generated
Lines 2254-2263 Link Here
2254
    EClass IMPL_CONTAINED_ELEMENT_NPL = eINSTANCE.getImplContainedElementNPL();
2137
    EClass IMPL_CONTAINED_ELEMENT_NPL = eINSTANCE.getImplContainedElementNPL();
2255
2138
2256
    /**
2139
    /**
2257
     * The meta object literal for the '
2140
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl <em>Gen Ref Multi NU Non Contained</em>}' class.
2258
     * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl
2141
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2259
     * <em>Gen Ref Multi NU Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2260
     * 
2261
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl
2142
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl
2262
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained()
2143
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained()
2263
     * @generated
2144
     * @generated
Lines 2265-2281 Link Here
2265
    EClass GEN_REF_MULTI_NU_NON_CONTAINED = eINSTANCE.getGenRefMultiNUNonContained();
2146
    EClass GEN_REF_MULTI_NU_NON_CONTAINED = eINSTANCE.getGenRefMultiNUNonContained();
2266
2147
2267
    /**
2148
    /**
2268
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
2149
     * The meta object literal for the '<em><b>Elements</b></em>' reference list feature.
2150
     * <!-- begin-user-doc --> <!--
2269
     * end-user-doc -->
2151
     * end-user-doc -->
2270
     * 
2271
     * @generated
2152
     * @generated
2272
     */
2153
     */
2273
    EReference GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNUNonContained_Elements();
2154
    EReference GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNUNonContained_Elements();
2274
2155
2275
    /**
2156
    /**
2276
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl
2157
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl <em>Gen Ref Map Non Contained</em>}' class.
2277
     * <em>Gen Ref Map Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2158
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2278
     * 
2279
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl
2159
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl
2280
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMapNonContained()
2160
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMapNonContained()
2281
     * @generated
2161
     * @generated
Lines 2291-2299 Link Here
2291
    EReference GEN_REF_MAP_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMapNonContained_Elements();
2171
    EReference GEN_REF_MAP_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMapNonContained_Elements();
2292
2172
2293
    /**
2173
    /**
2294
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl
2174
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl <em>String To EObject</em>}' class.
2295
     * <em>String To EObject</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
2175
     * <!-- begin-user-doc --> <!-- end-user-doc -->
2296
     * 
2297
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl
2176
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl
2298
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getStringToEObject()
2177
     * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getStringToEObject()
2299
     * @generated
2178
     * @generated
Lines 2301-2317 Link Here
2301
    EClass STRING_TO_EOBJECT = eINSTANCE.getStringToEObject();
2180
    EClass STRING_TO_EOBJECT = eINSTANCE.getStringToEObject();
2302
2181
2303
    /**
2182
    /**
2304
     * The meta object literal for the '<em><b>Key</b></em>' attribute feature. <!-- begin-user-doc --> <!--
2183
     * The meta object literal for the '<em><b>Key</b></em>' attribute feature.
2184
     * <!-- begin-user-doc --> <!--
2305
     * end-user-doc -->
2185
     * end-user-doc -->
2306
     * 
2307
     * @generated
2186
     * @generated
2308
     */
2187
     */
2309
    EAttribute STRING_TO_EOBJECT__KEY = eINSTANCE.getStringToEObject_Key();
2188
    EAttribute STRING_TO_EOBJECT__KEY = eINSTANCE.getStringToEObject_Key();
2310
2189
2311
    /**
2190
    /**
2312
     * The meta object literal for the '<em><b>Value</b></em>' reference feature. <!-- begin-user-doc --> <!--
2191
     * The meta object literal for the '<em><b>Value</b></em>' reference feature.
2192
     * <!-- begin-user-doc --> <!--
2313
     * end-user-doc -->
2193
     * end-user-doc -->
2314
     * 
2315
     * @generated
2194
     * @generated
2316
     */
2195
     */
2317
    EReference STRING_TO_EOBJECT__VALUE = eINSTANCE.getStringToEObject_Value();
2196
    EReference STRING_TO_EOBJECT__VALUE = eINSTANCE.getStringToEObject_Value();
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContained.java (-53 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefMultiNonContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Non Contained</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContained()
29
 * @model
30
 * @generated
31
 */
32
public interface RefMultiNonContained extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement}. It is bidirectional and its opposite is '
37
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent <em>Parent</em>}'. <!--
38
   * begin-user-doc -->
39
   * <p>
40
   * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description
41
   * here...
42
   * </p>
43
   * <!-- end-user-doc -->
44
   * 
45
   * @return the value of the '<em>Elements</em>' reference list.
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContained_Elements()
47
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent
48
   * @model opposite="parent"
49
   * @generated
50
   */
51
  EList<MultiNonContainedElement> getElements();
52
53
} // RefMultiNonContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/model4Factory.java (-53 / +83 lines)
Lines 12-54 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
14
15
import org.eclipse.emf.ecore.EFactory;
15
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained;
17
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
18
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained;
19
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
20
import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained;
21
import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained;
22
import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL;
23
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement;
24
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer;
25
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer;
28
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL;
29
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement;
30
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer;
31
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL;
32
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement;
33
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer;
34
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL;
35
import org.eclipse.emf.cdo.tests.model4.MultiContainedElement;
36
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement;
37
import org.eclipse.emf.cdo.tests.model4.RefMultiContained;
38
import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL;
39
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained;
40
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL;
41
import org.eclipse.emf.cdo.tests.model4.RefSingleContained;
42
import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL;
43
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained;
44
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL;
45
import org.eclipse.emf.cdo.tests.model4.SingleContainedElement;
46
import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement;
16
47
17
/**
48
/**
18
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
49
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
19
 * the model. <!-- end-user-doc -->
50
 * the model. <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package
51
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package
22
 * @generated
52
 * @generated
23
 */
53
 */
24
public interface model4Factory extends EFactory
54
public interface model4Factory extends org.eclipse.emf.cdo.tests.model4.model4Factory
25
{
55
{
26
  /**
56
  /**
27
   * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
57
   * The singleton instance of the factory.
28
   * 
58
   * <!-- begin-user-doc --> <!-- end-user-doc -->
29
   * @generated
59
   * @generated
30
   */
60
   */
31
  model4Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4.impl.model4FactoryImpl.init();
61
  model4Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4.impl.model4FactoryImpl.init();
32
62
33
  /**
63
  /**
34
   * Returns a new object of class '<em>Ref Single Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
64
   * Returns a new object of class '<em>Ref Single Contained</em>'.
35
   * 
65
   * <!-- begin-user-doc --> <!-- end-user-doc -->
36
   * @return a new object of class '<em>Ref Single Contained</em>'.
66
   * @return a new object of class '<em>Ref Single Contained</em>'.
37
   * @generated
67
   * @generated
38
   */
68
   */
39
  RefSingleContained createRefSingleContained();
69
  RefSingleContained createRefSingleContained();
40
70
41
  /**
71
  /**
42
   * Returns a new object of class '<em>Single Contained Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * Returns a new object of class '<em>Single Contained Element</em>'.
43
   * 
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
44
   * @return a new object of class '<em>Single Contained Element</em>'.
74
   * @return a new object of class '<em>Single Contained Element</em>'.
45
   * @generated
75
   * @generated
46
   */
76
   */
47
  SingleContainedElement createSingleContainedElement();
77
  SingleContainedElement createSingleContainedElement();
48
78
49
  /**
79
  /**
50
   * Returns a new object of class '<em>Ref Single Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * Returns a new object of class '<em>Ref Single Non Contained</em>'.
51
   * 
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * @return a new object of class '<em>Ref Single Non Contained</em>'.
82
   * @return a new object of class '<em>Ref Single Non Contained</em>'.
53
   * @generated
83
   * @generated
54
   */
84
   */
Lines 64-103 Link Here
64
  SingleNonContainedElement createSingleNonContainedElement();
94
  SingleNonContainedElement createSingleNonContainedElement();
65
95
66
  /**
96
  /**
67
   * Returns a new object of class '<em>Ref Multi Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * Returns a new object of class '<em>Ref Multi Contained</em>'.
68
   * 
98
   * <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * @return a new object of class '<em>Ref Multi Contained</em>'.
99
   * @return a new object of class '<em>Ref Multi Contained</em>'.
70
   * @generated
100
   * @generated
71
   */
101
   */
72
  RefMultiContained createRefMultiContained();
102
  RefMultiContained createRefMultiContained();
73
103
74
  /**
104
  /**
75
   * Returns a new object of class '<em>Multi Contained Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * Returns a new object of class '<em>Multi Contained Element</em>'.
76
   * 
106
   * <!-- begin-user-doc --> <!-- end-user-doc -->
77
   * @return a new object of class '<em>Multi Contained Element</em>'.
107
   * @return a new object of class '<em>Multi Contained Element</em>'.
78
   * @generated
108
   * @generated
79
   */
109
   */
80
  MultiContainedElement createMultiContainedElement();
110
  MultiContainedElement createMultiContainedElement();
81
111
82
  /**
112
  /**
83
   * Returns a new object of class '<em>Ref Multi Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
113
   * Returns a new object of class '<em>Ref Multi Non Contained</em>'.
84
   * 
114
   * <!-- begin-user-doc --> <!-- end-user-doc -->
85
   * @return a new object of class '<em>Ref Multi Non Contained</em>'.
115
   * @return a new object of class '<em>Ref Multi Non Contained</em>'.
86
   * @generated
116
   * @generated
87
   */
117
   */
88
  RefMultiNonContained createRefMultiNonContained();
118
  RefMultiNonContained createRefMultiNonContained();
89
119
90
  /**
120
  /**
91
   * Returns a new object of class '<em>Multi Non Contained Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
121
   * Returns a new object of class '<em>Multi Non Contained Element</em>'.
92
   * 
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * @return a new object of class '<em>Multi Non Contained Element</em>'.
123
   * @return a new object of class '<em>Multi Non Contained Element</em>'.
94
   * @generated
124
   * @generated
95
   */
125
   */
96
  MultiNonContainedElement createMultiNonContainedElement();
126
  MultiNonContainedElement createMultiNonContainedElement();
97
127
98
  /**
128
  /**
99
   * Returns a new object of class '<em>Ref Single Contained NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * Returns a new object of class '<em>Ref Single Contained NPL</em>'.
100
   * 
130
   * <!-- begin-user-doc --> <!-- end-user-doc -->
101
   * @return a new object of class '<em>Ref Single Contained NPL</em>'.
131
   * @return a new object of class '<em>Ref Single Contained NPL</em>'.
102
   * @generated
132
   * @generated
103
   */
133
   */
Lines 113-128 Link Here
113
  RefSingleNonContainedNPL createRefSingleNonContainedNPL();
143
  RefSingleNonContainedNPL createRefSingleNonContainedNPL();
114
144
115
  /**
145
  /**
116
   * Returns a new object of class '<em>Ref Multi Contained NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
146
   * Returns a new object of class '<em>Ref Multi Contained NPL</em>'.
117
   * 
147
   * <!-- begin-user-doc --> <!-- end-user-doc -->
118
   * @return a new object of class '<em>Ref Multi Contained NPL</em>'.
148
   * @return a new object of class '<em>Ref Multi Contained NPL</em>'.
119
   * @generated
149
   * @generated
120
   */
150
   */
121
  RefMultiContainedNPL createRefMultiContainedNPL();
151
  RefMultiContainedNPL createRefMultiContainedNPL();
122
152
123
  /**
153
  /**
124
   * Returns a new object of class '<em>Ref Multi Non Contained NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
154
   * Returns a new object of class '<em>Ref Multi Non Contained NPL</em>'.
125
   * 
155
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * @return a new object of class '<em>Ref Multi Non Contained NPL</em>'.
156
   * @return a new object of class '<em>Ref Multi Non Contained NPL</em>'.
127
   * @generated
157
   * @generated
128
   */
158
   */
Lines 138-145 Link Here
138
  ContainedElementNoOpposite createContainedElementNoOpposite();
168
  ContainedElementNoOpposite createContainedElementNoOpposite();
139
169
140
  /**
170
  /**
141
   * Returns a new object of class '<em>Gen Ref Single Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
171
   * Returns a new object of class '<em>Gen Ref Single Contained</em>'.
142
   * 
172
   * <!-- begin-user-doc --> <!-- end-user-doc -->
143
   * @return a new object of class '<em>Gen Ref Single Contained</em>'.
173
   * @return a new object of class '<em>Gen Ref Single Contained</em>'.
144
   * @generated
174
   * @generated
145
   */
175
   */
Lines 155-187 Link Here
155
  GenRefSingleNonContained createGenRefSingleNonContained();
185
  GenRefSingleNonContained createGenRefSingleNonContained();
156
186
157
  /**
187
  /**
158
   * Returns a new object of class '<em>Gen Ref Multi Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
188
   * Returns a new object of class '<em>Gen Ref Multi Contained</em>'.
159
   * 
189
   * <!-- begin-user-doc --> <!-- end-user-doc -->
160
   * @return a new object of class '<em>Gen Ref Multi Contained</em>'.
190
   * @return a new object of class '<em>Gen Ref Multi Contained</em>'.
161
   * @generated
191
   * @generated
162
   */
192
   */
163
  GenRefMultiContained createGenRefMultiContained();
193
  GenRefMultiContained createGenRefMultiContained();
164
194
165
  /**
195
  /**
166
   * Returns a new object of class '<em>Gen Ref Multi Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
196
   * Returns a new object of class '<em>Gen Ref Multi Non Contained</em>'.
167
   * 
197
   * <!-- begin-user-doc --> <!-- end-user-doc -->
168
   * @return a new object of class '<em>Gen Ref Multi Non Contained</em>'.
198
   * @return a new object of class '<em>Gen Ref Multi Non Contained</em>'.
169
   * @generated
199
   * @generated
170
   */
200
   */
171
  GenRefMultiNonContained createGenRefMultiNonContained();
201
  GenRefMultiNonContained createGenRefMultiNonContained();
172
202
173
  /**
203
  /**
174
   * Returns a new object of class '<em>Impl Single Ref Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
204
   * Returns a new object of class '<em>Impl Single Ref Container</em>'.
175
   * 
205
   * <!-- begin-user-doc --> <!-- end-user-doc -->
176
   * @return a new object of class '<em>Impl Single Ref Container</em>'.
206
   * @return a new object of class '<em>Impl Single Ref Container</em>'.
177
   * @generated
207
   * @generated
178
   */
208
   */
179
  ImplSingleRefContainer createImplSingleRefContainer();
209
  ImplSingleRefContainer createImplSingleRefContainer();
180
210
181
  /**
211
  /**
182
   * Returns a new object of class '<em>Impl Single Ref Contained Element</em>'. <!-- begin-user-doc --> <!--
212
   * Returns a new object of class '<em>Impl Single Ref Contained Element</em>'.
213
   * <!-- begin-user-doc --> <!--
183
   * end-user-doc -->
214
   * end-user-doc -->
184
   * 
185
   * @return a new object of class '<em>Impl Single Ref Contained Element</em>'.
215
   * @return a new object of class '<em>Impl Single Ref Contained Element</em>'.
186
   * @generated
216
   * @generated
187
   */
217
   */
Lines 197-205 Link Here
197
  ImplSingleRefNonContainer createImplSingleRefNonContainer();
227
  ImplSingleRefNonContainer createImplSingleRefNonContainer();
198
228
199
  /**
229
  /**
200
   * Returns a new object of class '<em>Impl Single Ref Non Contained Element</em>'. <!-- begin-user-doc --> <!--
230
   * Returns a new object of class '<em>Impl Single Ref Non Contained Element</em>'.
231
   * <!-- begin-user-doc --> <!--
201
   * end-user-doc -->
232
   * end-user-doc -->
202
   * 
203
   * @return a new object of class '<em>Impl Single Ref Non Contained Element</em>'.
233
   * @return a new object of class '<em>Impl Single Ref Non Contained Element</em>'.
204
   * @generated
234
   * @generated
205
   */
235
   */
Lines 215-240 Link Here
215
  ImplMultiRefNonContainer createImplMultiRefNonContainer();
245
  ImplMultiRefNonContainer createImplMultiRefNonContainer();
216
246
217
  /**
247
  /**
218
   * Returns a new object of class '<em>Impl Multi Ref Non Contained Element</em>'. <!-- begin-user-doc --> <!--
248
   * Returns a new object of class '<em>Impl Multi Ref Non Contained Element</em>'.
249
   * <!-- begin-user-doc --> <!--
219
   * end-user-doc -->
250
   * end-user-doc -->
220
   * 
221
   * @return a new object of class '<em>Impl Multi Ref Non Contained Element</em>'.
251
   * @return a new object of class '<em>Impl Multi Ref Non Contained Element</em>'.
222
   * @generated
252
   * @generated
223
   */
253
   */
224
  ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement();
254
  ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement();
225
255
226
  /**
256
  /**
227
   * Returns a new object of class '<em>Impl Multi Ref Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
257
   * Returns a new object of class '<em>Impl Multi Ref Container</em>'.
228
   * 
258
   * <!-- begin-user-doc --> <!-- end-user-doc -->
229
   * @return a new object of class '<em>Impl Multi Ref Container</em>'.
259
   * @return a new object of class '<em>Impl Multi Ref Container</em>'.
230
   * @generated
260
   * @generated
231
   */
261
   */
232
  ImplMultiRefContainer createImplMultiRefContainer();
262
  ImplMultiRefContainer createImplMultiRefContainer();
233
263
234
  /**
264
  /**
235
   * Returns a new object of class '<em>Impl Multi Ref Contained Element</em>'. <!-- begin-user-doc --> <!--
265
   * Returns a new object of class '<em>Impl Multi Ref Contained Element</em>'.
266
   * <!-- begin-user-doc --> <!--
236
   * end-user-doc -->
267
   * end-user-doc -->
237
   * 
238
   * @return a new object of class '<em>Impl Multi Ref Contained Element</em>'.
268
   * @return a new object of class '<em>Impl Multi Ref Contained Element</em>'.
239
   * @generated
269
   * @generated
240
   */
270
   */
Lines 250-258 Link Here
250
  ImplSingleRefContainerNPL createImplSingleRefContainerNPL();
280
  ImplSingleRefContainerNPL createImplSingleRefContainerNPL();
251
281
252
  /**
282
  /**
253
   * Returns a new object of class '<em>Impl Single Ref Non Container NPL</em>'. <!-- begin-user-doc --> <!--
283
   * Returns a new object of class '<em>Impl Single Ref Non Container NPL</em>'.
284
   * <!-- begin-user-doc --> <!--
254
   * end-user-doc -->
285
   * end-user-doc -->
255
   * 
256
   * @return a new object of class '<em>Impl Single Ref Non Container NPL</em>'.
286
   * @return a new object of class '<em>Impl Single Ref Non Container NPL</em>'.
257
   * @generated
287
   * @generated
258
   */
288
   */
Lines 268-284 Link Here
268
  ImplMultiRefContainerNPL createImplMultiRefContainerNPL();
298
  ImplMultiRefContainerNPL createImplMultiRefContainerNPL();
269
299
270
  /**
300
  /**
271
   * Returns a new object of class '<em>Impl Multi Ref Non Container NPL</em>'. <!-- begin-user-doc --> <!--
301
   * Returns a new object of class '<em>Impl Multi Ref Non Container NPL</em>'.
302
   * <!-- begin-user-doc --> <!--
272
   * end-user-doc -->
303
   * end-user-doc -->
273
   * 
274
   * @return a new object of class '<em>Impl Multi Ref Non Container NPL</em>'.
304
   * @return a new object of class '<em>Impl Multi Ref Non Container NPL</em>'.
275
   * @generated
305
   * @generated
276
   */
306
   */
277
  ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL();
307
  ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL();
278
308
279
  /**
309
  /**
280
   * Returns a new object of class '<em>Impl Contained Element NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
310
   * Returns a new object of class '<em>Impl Contained Element NPL</em>'.
281
   * 
311
   * <!-- begin-user-doc --> <!-- end-user-doc -->
282
   * @return a new object of class '<em>Impl Contained Element NPL</em>'.
312
   * @return a new object of class '<em>Impl Contained Element NPL</em>'.
283
   * @generated
313
   * @generated
284
   */
314
   */
Lines 294-309 Link Here
294
  GenRefMultiNUNonContained createGenRefMultiNUNonContained();
324
  GenRefMultiNUNonContained createGenRefMultiNUNonContained();
295
325
296
  /**
326
  /**
297
   * Returns a new object of class '<em>Gen Ref Map Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
327
   * Returns a new object of class '<em>Gen Ref Map Non Contained</em>'.
298
   * 
328
   * <!-- begin-user-doc --> <!-- end-user-doc -->
299
   * @return a new object of class '<em>Gen Ref Map Non Contained</em>'.
329
   * @return a new object of class '<em>Gen Ref Map Non Contained</em>'.
300
   * @generated
330
   * @generated
301
   */
331
   */
302
  GenRefMapNonContained createGenRefMapNonContained();
332
  GenRefMapNonContained createGenRefMapNonContained();
303
333
304
  /**
334
  /**
305
   * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
335
   * Returns the package supported by this factory.
306
   * 
336
   * <!-- begin-user-doc --> <!-- end-user-doc -->
307
   * @return the package supported by this factory.
337
   * @return the package supported by this factory.
308
   * @generated
338
   * @generated
309
   */
339
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ContainedElementNoOpposite.java (-59 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ContainedElementNoOpposite.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Contained Element No Opposite</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite#getName <em>Name</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getContainedElementNoOpposite()
28
 * @model
29
 * @generated
30
 */
31
public interface ContainedElementNoOpposite extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
37
   * </p>
38
   * <!-- end-user-doc -->
39
   * 
40
   * @return the value of the '<em>Name</em>' attribute.
41
   * @see #setName(String)
42
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getContainedElementNoOpposite_Name()
43
   * @model
44
   * @generated
45
   */
46
  String getName();
47
48
  /**
49
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite#getName
50
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * 
52
   * @param value
53
   *          the new value of the '<em>Name</em>' attribute.
54
   * @see #getName()
55
   * @generated
56
   */
57
  void setName(String value);
58
59
} // ContainedElementNoOpposite
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNUNonContained.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: GenRefMultiNUNonContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Multi NU Non Contained</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNUNonContained()
29
 * @model
30
 * @generated
31
 */
32
public interface GenRefMultiNUNonContained extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type
36
   * {@link org.eclipse.emf.ecore.EObject}. <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description
39
   * here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Elements</em>' reference list.
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNUNonContained_Elements()
45
   * @model resolveProxies="false"
46
   * @generated
47
   */
48
  EList<EObject> getElements();
49
50
} // GenRefMultiNUNonContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/SingleContainedElement.java (-90 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: SingleContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Single Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName <em>Name</em>}</li>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent <em>Parent</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleContainedElement()
29
 * @model
30
 * @generated
31
 */
32
public interface SingleContainedElement extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
36
   * <p>
37
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Name</em>' attribute.
42
   * @see #setName(String)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleContainedElement_Name()
44
   * @model
45
   * @generated
46
   */
47
  String getName();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName <em>Name</em>}
51
   * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Name</em>' attribute.
55
   * @see #getName()
56
   * @generated
57
   */
58
  void setName(String value);
59
60
  /**
61
   * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is '
62
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement <em>Element</em>}'. <!--
63
   * begin-user-doc -->
64
   * <p>
65
   * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a
66
   * description here...
67
   * </p>
68
   * <!-- end-user-doc -->
69
   * 
70
   * @return the value of the '<em>Parent</em>' container reference.
71
   * @see #setParent(RefSingleContained)
72
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleContainedElement_Parent()
73
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement
74
   * @model opposite="element" transient="false"
75
   * @generated
76
   */
77
  RefSingleContained getParent();
78
79
  /**
80
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent
81
   * <em>Parent</em>}' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * 
83
   * @param value
84
   *          the new value of the '<em>Parent</em>' container reference.
85
   * @see #getParent()
86
   * @generated
87
   */
88
  void setParent(RefSingleContained value);
89
90
} // SingleContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContainedNPL.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefMultiContainedNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Contained NPL</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContainedNPL()
29
 * @model
30
 * @generated
31
 */
32
public interface RefMultiContainedNPL extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite}. <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a
39
   * description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Elements</em>' containment reference list.
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContainedNPL_Elements()
45
   * @model containment="true"
46
   * @generated
47
   */
48
  EList<ContainedElementNoOpposite> getElements();
49
50
} // RefMultiContainedNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainer.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplSingleRefContainer.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Container</b></em>'. <!--
19
 * end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainer()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplSingleRefContainer extends ISingleRefContainer
26
{
27
} // ImplSingleRefContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainedElement.java (-59 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplSingleRefNonContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Non Contained Element</b></em>'.
19
 * <!-- end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement#getName <em>Name</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainedElement()
28
 * @model
29
 * @generated
30
 */
31
public interface ImplSingleRefNonContainedElement extends ISingleRefNonContainedElement
32
{
33
  /**
34
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
37
   * </p>
38
   * <!-- end-user-doc -->
39
   * 
40
   * @return the value of the '<em>Name</em>' attribute.
41
   * @see #setName(String)
42
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainedElement_Name()
43
   * @model
44
   * @generated
45
   */
46
  String getName();
47
48
  /**
49
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement#getName
50
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * 
52
   * @param value
53
   *          the new value of the '<em>Name</em>' attribute.
54
   * @see #getName()
55
   * @generated
56
   */
57
  void setName(String value);
58
59
} // ImplSingleRefNonContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/SingleNonContainedElement.java (-89 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: SingleNonContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Single Non Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getName <em>Name</em>}</li>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent <em>Parent</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleNonContainedElement()
29
 * @model
30
 * @generated
31
 */
32
public interface SingleNonContainedElement extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
36
   * <p>
37
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Name</em>' attribute.
42
   * @see #setName(String)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleNonContainedElement_Name()
44
   * @model
45
   * @generated
46
   */
47
  String getName();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getName
51
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Name</em>' attribute.
55
   * @see #getName()
56
   * @generated
57
   */
58
  void setName(String value);
59
60
  /**
61
   * Returns the value of the '<em><b>Parent</b></em>' reference. It is bidirectional and its opposite is '
62
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement <em>Element</em>}'. <!--
63
   * begin-user-doc -->
64
   * <p>
65
   * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here...
66
   * </p>
67
   * <!-- end-user-doc -->
68
   * 
69
   * @return the value of the '<em>Parent</em>' reference.
70
   * @see #setParent(RefSingleNonContained)
71
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleNonContainedElement_Parent()
72
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement
73
   * @model opposite="element"
74
   * @generated
75
   */
76
  RefSingleNonContained getParent();
77
78
  /**
79
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent
80
   * <em>Parent</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * 
82
   * @param value
83
   *          the new value of the '<em>Parent</em>' reference.
84
   * @see #getParent()
85
   * @generated
86
   */
87
  void setParent(RefSingleNonContained value);
88
89
} // SingleNonContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainerNPL.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplMultiRefContainerNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Container NPL</b></em>'. <!--
19
 * end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainerNPL()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplMultiRefContainerNPL extends IMultiRefContainerNPL
26
{
27
} // ImplMultiRefContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainerNPL.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplMultiRefNonContainerNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Non Container NPL</b></em>'. <!--
19
 * end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainerNPL()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplMultiRefNonContainerNPL extends IMultiRefNonContainerNPL
26
{
27
} // ImplMultiRefNonContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContainedNPL.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefMultiNonContainedNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Non Contained NPL</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContainedNPL()
29
 * @model
30
 * @generated
31
 */
32
public interface RefMultiNonContainedNPL extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite}. <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description
39
   * here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Elements</em>' reference list.
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContainedNPL_Elements()
45
   * @model
46
   * @generated
47
   */
48
  EList<ContainedElementNoOpposite> getElements();
49
50
} // RefMultiNonContainedNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleNonContained.java (-60 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: GenRefSingleNonContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Single Non Contained</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleNonContained()
28
 * @model
29
 * @generated
30
 */
31
public interface GenRefSingleNonContained extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description
37
   * here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Element</em>' reference.
42
   * @see #setElement(EObject)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleNonContained_Element()
44
   * @model
45
   * @generated
46
   */
47
  EObject getElement();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained#getElement
51
   * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Element</em>' reference.
55
   * @see #getElement()
56
   * @generated
57
   */
58
  void setElement(EObject value);
59
60
} // GenRefSingleNonContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainedElement.java (-59 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplMultiRefNonContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Non Contained Element</b></em>'.
19
 * <!-- end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement#getName <em>Name</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainedElement()
28
 * @model
29
 * @generated
30
 */
31
public interface ImplMultiRefNonContainedElement extends IMultiRefNonContainedElement
32
{
33
  /**
34
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
37
   * </p>
38
   * <!-- end-user-doc -->
39
   * 
40
   * @return the value of the '<em>Name</em>' attribute.
41
   * @see #setName(String)
42
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainedElement_Name()
43
   * @model
44
   * @generated
45
   */
46
  String getName();
47
48
  /**
49
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement#getName
50
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * 
52
   * @param value
53
   *          the new value of the '<em>Name</em>' attribute.
54
   * @see #getName()
55
   * @generated
56
   */
57
  void setName(String value);
58
59
} // ImplMultiRefNonContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainerNPL.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplSingleRefNonContainerNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Non Container NPL</b></em>'.
19
 * <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainerNPL()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplSingleRefNonContainerNPL extends ISingleRefNonContainerNPL
26
{
27
} // ImplSingleRefNonContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplContainedElementNPL.java (-28 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplContainedElementNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Contained Element NPL</b></em>'. <!--
20
 * end-user-doc -->
21
 * 
22
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplContainedElementNPL()
23
 * @model
24
 * @generated
25
 */
26
public interface ImplContainedElementNPL extends IContainedElementNoParentLink, INamedElement
27
{
28
} // ImplContainedElementNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiContained.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: GenRefMultiContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Multi Contained</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiContained()
29
 * @model
30
 * @generated
31
 */
32
public interface GenRefMultiContained extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type
36
   * {@link org.eclipse.emf.ecore.EObject}. <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a
39
   * description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Elements</em>' containment reference list.
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiContained_Elements()
45
   * @model containment="true"
46
   * @generated
47
   */
48
  EList<EObject> getElements();
49
50
} // GenRefMultiContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainer.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplSingleRefNonContainer.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Non Container</b></em>'. <!--
19
 * end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainer()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplSingleRefNonContainer extends ISingleRefNonContainer
26
{
27
} // ImplSingleRefNonContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMapNonContained.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: GenRefMapNonContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EMap;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Map Non Contained</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMapNonContained()
29
 * @model
30
 * @generated
31
 */
32
public interface GenRefMapNonContained extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' map. The key is of type {@link java.lang.String}, and the value
36
   * is of type {@link org.eclipse.emf.ecore.EObject}, <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' map isn't clear, there really should be more of a description here...
39
   * </p>
40
   * <!-- end-user-doc -->
41
   * 
42
   * @return the value of the '<em>Elements</em>' map.
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMapNonContained_Elements()
44
   * @model mapType=
45
   *        "org.eclipse.emf.cdo.tests.legacy.model4.StringToEObject<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EObject>"
46
   * @generated
47
   */
48
  EMap<String, EObject> getElements();
49
50
} // GenRefMapNonContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainer.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplMultiRefNonContainer.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Non Container</b></em>'. <!--
19
 * end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainer()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplMultiRefNonContainer extends IMultiRefNonContainer
26
{
27
} // ImplMultiRefNonContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainerNPL.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplSingleRefContainerNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Container NPL</b></em>'. <!--
19
 * end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainerNPL()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplSingleRefContainerNPL extends ISingleRefContainerNPL
26
{
27
} // ImplSingleRefContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainedElement.java (-59 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplMultiRefContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement#getName <em>Name</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainedElement()
28
 * @model
29
 * @generated
30
 */
31
public interface ImplMultiRefContainedElement extends IMultiRefContainedElement
32
{
33
  /**
34
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
37
   * </p>
38
   * <!-- end-user-doc -->
39
   * 
40
   * @return the value of the '<em>Name</em>' attribute.
41
   * @see #setName(String)
42
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainedElement_Name()
43
   * @model
44
   * @generated
45
   */
46
  String getName();
47
48
  /**
49
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement#getName
50
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * 
52
   * @param value
53
   *          the new value of the '<em>Name</em>' attribute.
54
   * @see #getName()
55
   * @generated
56
   */
57
  void setName(String value);
58
59
} // ImplMultiRefContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContained.java (-63 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefSingleContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Contained</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContained()
28
 * @model
29
 * @generated
30
 */
31
public interface RefSingleContained extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' containment reference. It is bidirectional and its opposite is '
35
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent <em>Parent</em>}'. <!--
36
   * begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a
39
   * description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Element</em>' containment reference.
44
   * @see #setElement(SingleContainedElement)
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContained_Element()
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent
47
   * @model opposite="parent" containment="true"
48
   * @generated
49
   */
50
  SingleContainedElement getElement();
51
52
  /**
53
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement
54
   * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @param value
57
   *          the new value of the '<em>Element</em>' containment reference.
58
   * @see #getElement()
59
   * @generated
60
   */
61
  void setElement(SingleContainedElement value);
62
63
} // RefSingleContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/MultiContainedElement.java (-90 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: MultiContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Multi Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName <em>Name</em>}</li>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent <em>Parent</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiContainedElement()
29
 * @model
30
 * @generated
31
 */
32
public interface MultiContainedElement extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
36
   * <p>
37
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Name</em>' attribute.
42
   * @see #setName(String)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiContainedElement_Name()
44
   * @model
45
   * @generated
46
   */
47
  String getName();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName <em>Name</em>}'
51
   * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Name</em>' attribute.
55
   * @see #getName()
56
   * @generated
57
   */
58
  void setName(String value);
59
60
  /**
61
   * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is '
62
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements <em>Elements</em>}'. <!--
63
   * begin-user-doc -->
64
   * <p>
65
   * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a
66
   * description here...
67
   * </p>
68
   * <!-- end-user-doc -->
69
   * 
70
   * @return the value of the '<em>Parent</em>' container reference.
71
   * @see #setParent(RefMultiContained)
72
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiContainedElement_Parent()
73
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements
74
   * @model opposite="elements" transient="false"
75
   * @generated
76
   */
77
  RefMultiContained getParent();
78
79
  /**
80
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent
81
   * <em>Parent</em>}' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * 
83
   * @param value
84
   *          the new value of the '<em>Parent</em>' container reference.
85
   * @see #getParent()
86
   * @generated
87
   */
88
  void setParent(RefMultiContained value);
89
90
} // MultiContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContained.java (-63 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefSingleNonContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Non Contained</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContained()
28
 * @model
29
 * @generated
30
 */
31
public interface RefSingleNonContained extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' reference. It is bidirectional and its opposite is '
35
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent <em>Parent</em>}'. <!--
36
   * begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description
39
   * here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Element</em>' reference.
44
   * @see #setElement(SingleNonContainedElement)
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContained_Element()
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent
47
   * @model opposite="parent"
48
   * @generated
49
   */
50
  SingleNonContainedElement getElement();
51
52
  /**
53
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement
54
   * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @param value
57
   *          the new value of the '<em>Element</em>' reference.
58
   * @see #getElement()
59
   * @generated
60
   */
61
  void setElement(SingleNonContainedElement value);
62
63
} // RefSingleNonContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleContained.java (-60 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: GenRefSingleContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Single Contained</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleContained()
28
 * @model
29
 * @generated
30
 */
31
public interface GenRefSingleContained extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a
37
   * description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Element</em>' containment reference.
42
   * @see #setElement(EObject)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleContained_Element()
44
   * @model containment="true"
45
   * @generated
46
   */
47
  EObject getElement();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained#getElement
51
   * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Element</em>' containment reference.
55
   * @see #getElement()
56
   * @generated
57
   */
58
  void setElement(EObject value);
59
60
} // GenRefSingleContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainedElement.java (-59 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplSingleRefContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Contained Element</b></em>'.
19
 * <!-- end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement#getName <em>Name</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainedElement()
28
 * @model
29
 * @generated
30
 */
31
public interface ImplSingleRefContainedElement extends ISingleRefContainedElement
32
{
33
  /**
34
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
37
   * </p>
38
   * <!-- end-user-doc -->
39
   * 
40
   * @return the value of the '<em>Name</em>' attribute.
41
   * @see #setName(String)
42
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainedElement_Name()
43
   * @model
44
   * @generated
45
   */
46
  String getName();
47
48
  /**
49
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement#getName
50
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * 
52
   * @param value
53
   *          the new value of the '<em>Name</em>' attribute.
54
   * @see #getName()
55
   * @generated
56
   */
57
  void setName(String value);
58
59
} // ImplSingleRefContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContained.java (-53 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefMultiContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Contained</b></em>'. <!-- end-user-doc
20
 * -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContained()
29
 * @model
30
 * @generated
31
 */
32
public interface RefMultiContained extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement}. It is bidirectional and its opposite is '
37
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent <em>Parent</em>}'. <!--
38
   * begin-user-doc -->
39
   * <p>
40
   * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a
41
   * description here...
42
   * </p>
43
   * <!-- end-user-doc -->
44
   * 
45
   * @return the value of the '<em>Elements</em>' containment reference list.
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContained_Elements()
47
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent
48
   * @model opposite="parent" containment="true"
49
   * @generated
50
   */
51
  EList<MultiContainedElement> getElements();
52
53
} // RefMultiContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/MultiNonContainedElement.java (-89 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: MultiNonContainedElement.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Multi Non Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getName <em>Name</em>}</li>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent <em>Parent</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiNonContainedElement()
29
 * @model
30
 * @generated
31
 */
32
public interface MultiNonContainedElement extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
36
   * <p>
37
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Name</em>' attribute.
42
   * @see #setName(String)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiNonContainedElement_Name()
44
   * @model
45
   * @generated
46
   */
47
  String getName();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getName
51
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Name</em>' attribute.
55
   * @see #getName()
56
   * @generated
57
   */
58
  void setName(String value);
59
60
  /**
61
   * Returns the value of the '<em><b>Parent</b></em>' reference. It is bidirectional and its opposite is '
62
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained#getElements <em>Elements</em>}'. <!--
63
   * begin-user-doc -->
64
   * <p>
65
   * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here...
66
   * </p>
67
   * <!-- end-user-doc -->
68
   * 
69
   * @return the value of the '<em>Parent</em>' reference.
70
   * @see #setParent(RefMultiNonContained)
71
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiNonContainedElement_Parent()
72
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained#getElements
73
   * @model opposite="elements"
74
   * @generated
75
   */
76
  RefMultiNonContained getParent();
77
78
  /**
79
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent
80
   * <em>Parent</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * 
82
   * @param value
83
   *          the new value of the '<em>Parent</em>' reference.
84
   * @see #getParent()
85
   * @generated
86
   */
87
  void setParent(RefMultiNonContained value);
88
89
} // MultiNonContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContainedNPL.java (-60 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefSingleNonContainedNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Non Contained NPL</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContainedNPL()
28
 * @model
29
 * @generated
30
 */
31
public interface RefSingleNonContainedNPL extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description
37
   * here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Element</em>' reference.
42
   * @see #setElement(ContainedElementNoOpposite)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContainedNPL_Element()
44
   * @model
45
   * @generated
46
   */
47
  ContainedElementNoOpposite getElement();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL#getElement
51
   * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Element</em>' reference.
55
   * @see #getElement()
56
   * @generated
57
   */
58
  void setElement(ContainedElementNoOpposite value);
59
60
} // RefSingleNonContainedNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainer.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ImplMultiRefContainer.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Container</b></em>'. <!--
19
 * end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainer()
22
 * @model
23
 * @generated
24
 */
25
public interface ImplMultiRefContainer extends IMultiRefContainer
26
{
27
} // ImplMultiRefContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNonContained.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: GenRefMultiNonContained.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Multi Non Contained</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNonContained()
29
 * @model
30
 * @generated
31
 */
32
public interface GenRefMultiNonContained extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type
36
   * {@link org.eclipse.emf.ecore.EObject}. <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description
39
   * here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Elements</em>' reference list.
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNonContained_Elements()
45
   * @model
46
   * @generated
47
   */
48
  EList<EObject> getElements();
49
50
} // GenRefMultiNonContained
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContainedNPL.java (-60 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: RefSingleContainedNPL.java,v 1.2 2009/08/22 09:34:58 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Contained NPL</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContainedNPL()
28
 * @model
29
 * @generated
30
 */
31
public interface RefSingleContainedNPL extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a
37
   * description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Element</em>' containment reference.
42
   * @see #setElement(ContainedElementNoOpposite)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContainedNPL_Element()
44
   * @model containment="true"
45
   * @generated
46
   */
47
  ContainedElementNoOpposite getElement();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL#getElement
51
   * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Element</em>' containment reference.
55
   * @see #getElement()
56
   * @generated
57
   */
58
  void setElement(ContainedElementNoOpposite value);
59
60
} // RefSingleContainedNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedElementImpl.java (-22 / +7 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement;
17
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 29-39 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl#getName <em>Name</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl#getName <em>Name</em>}</li>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl#getParent <em>Parent</em>}</li>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl#getParent <em>Parent</em>}</li>
34
 * </ul>
34
 * </ul>
35
 * </p>
35
 * </p>
36
 * 
36
 *
37
 * @generated
37
 * @generated
38
 */
38
 */
39
public class MultiNonContainedElementImpl extends EObjectImpl implements MultiNonContainedElement
39
public class MultiNonContainedElementImpl extends EObjectImpl implements MultiNonContainedElement
Lines 49-56 Link Here
49
  protected static final String NAME_EDEFAULT = null;
49
  protected static final String NAME_EDEFAULT = null;
50
50
51
  /**
51
  /**
52
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
53
   * 
53
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * @see #getName()
54
   * @see #getName()
55
   * @generated
55
   * @generated
56
   * @ordered
56
   * @ordered
Lines 69-75 Link Here
69
69
70
  /**
70
  /**
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * 
73
   * @generated
72
   * @generated
74
   */
73
   */
75
  protected MultiNonContainedElementImpl()
74
  protected MultiNonContainedElementImpl()
Lines 79-85 Link Here
79
78
80
  /**
79
  /**
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * 
83
   * @generated
81
   * @generated
84
   */
82
   */
85
  @Override
83
  @Override
Lines 90-96 Link Here
90
88
91
  /**
89
  /**
92
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * 
94
   * @generated
91
   * @generated
95
   */
92
   */
96
  public String getName()
93
  public String getName()
Lines 100-106 Link Here
100
97
101
  /**
98
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
100
   * @generated
105
   */
101
   */
106
  public void setName(String newName)
102
  public void setName(String newName)
Lines 114-120 Link Here
114
110
115
  /**
111
  /**
116
   * <!-- begin-user-doc --> <!-- end-user-doc -->
112
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * 
118
   * @generated
113
   * @generated
119
   */
114
   */
120
  public RefMultiNonContained getParent()
115
  public RefMultiNonContained getParent()
Lines 135-141 Link Here
135
130
136
  /**
131
  /**
137
   * <!-- begin-user-doc --> <!-- end-user-doc -->
132
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * 
139
   * @generated
133
   * @generated
140
   */
134
   */
141
  public RefMultiNonContained basicGetParent()
135
  public RefMultiNonContained basicGetParent()
Lines 145-151 Link Here
145
139
146
  /**
140
  /**
147
   * <!-- begin-user-doc --> <!-- end-user-doc -->
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
148
   * 
149
   * @generated
142
   * @generated
150
   */
143
   */
151
  public NotificationChain basicSetParent(RefMultiNonContained newParent, NotificationChain msgs)
144
  public NotificationChain basicSetParent(RefMultiNonContained newParent, NotificationChain msgs)
Lines 166-172 Link Here
166
159
167
  /**
160
  /**
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * 
170
   * @generated
162
   * @generated
171
   */
163
   */
172
  public void setParent(RefMultiNonContained newParent)
164
  public void setParent(RefMultiNonContained newParent)
Lines 191-197 Link Here
191
183
192
  /**
184
  /**
193
   * <!-- begin-user-doc --> <!-- end-user-doc -->
185
   * <!-- begin-user-doc --> <!-- end-user-doc -->
194
   * 
195
   * @generated
186
   * @generated
196
   */
187
   */
197
  @Override
188
  @Override
Lines 210-216 Link Here
210
201
211
  /**
202
  /**
212
   * <!-- begin-user-doc --> <!-- end-user-doc -->
203
   * <!-- begin-user-doc --> <!-- end-user-doc -->
213
   * 
214
   * @generated
204
   * @generated
215
   */
205
   */
216
  @Override
206
  @Override
Lines 226-232 Link Here
226
216
227
  /**
217
  /**
228
   * <!-- begin-user-doc --> <!-- end-user-doc -->
218
   * <!-- begin-user-doc --> <!-- end-user-doc -->
229
   * 
230
   * @generated
219
   * @generated
231
   */
220
   */
232
  @Override
221
  @Override
Lines 246-252 Link Here
246
235
247
  /**
236
  /**
248
   * <!-- begin-user-doc --> <!-- end-user-doc -->
237
   * <!-- begin-user-doc --> <!-- end-user-doc -->
249
   * 
250
   * @generated
238
   * @generated
251
   */
239
   */
252
  @Override
240
  @Override
Lines 266-272 Link Here
266
254
267
  /**
255
  /**
268
   * <!-- begin-user-doc --> <!-- end-user-doc -->
256
   * <!-- begin-user-doc --> <!-- end-user-doc -->
269
   * 
270
   * @generated
257
   * @generated
271
   */
258
   */
272
  @Override
259
  @Override
Lines 286-292 Link Here
286
273
287
  /**
274
  /**
288
   * <!-- begin-user-doc --> <!-- end-user-doc -->
275
   * <!-- begin-user-doc --> <!-- end-user-doc -->
289
   * 
290
   * @generated
276
   * @generated
291
   */
277
   */
292
  @Override
278
  @Override
Lines 304-310 Link Here
304
290
305
  /**
291
  /**
306
   * <!-- begin-user-doc --> <!-- end-user-doc -->
292
   * <!-- begin-user-doc --> <!-- end-user-doc -->
307
   * 
308
   * @generated
293
   * @generated
309
   */
294
   */
310
  @Override
295
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainedElementImpl.java (-22 / +7 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement;
18
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer;
19
19
20
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.notify.NotificationChain;
Lines 31-41 Link Here
31
 * <p>
31
 * <p>
32
 * The following features are implemented:
32
 * The following features are implemented:
33
 * <ul>
33
 * <ul>
34
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl#getParent <em>Parent</em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl#getParent <em>Parent</em>}</li>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl#getName <em>Name</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl#getName <em>Name</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class ImplMultiRefContainedElementImpl extends EObjectImpl implements ImplMultiRefContainedElement
41
public class ImplMultiRefContainedElementImpl extends EObjectImpl implements ImplMultiRefContainedElement
Lines 51-58 Link Here
51
  protected static final String NAME_EDEFAULT = null;
51
  protected static final String NAME_EDEFAULT = null;
52
52
53
  /**
53
  /**
54
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
55
   * 
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * @see #getName()
56
   * @see #getName()
57
   * @generated
57
   * @generated
58
   * @ordered
58
   * @ordered
Lines 61-67 Link Here
61
61
62
  /**
62
  /**
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
64
   * 
65
   * @generated
64
   * @generated
66
   */
65
   */
67
  protected ImplMultiRefContainedElementImpl()
66
  protected ImplMultiRefContainedElementImpl()
Lines 71-77 Link Here
71
70
72
  /**
71
  /**
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * 
75
   * @generated
73
   * @generated
76
   */
74
   */
77
  @Override
75
  @Override
Lines 82-88 Link Here
82
80
83
  /**
81
  /**
84
   * <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * <!-- begin-user-doc --> <!-- end-user-doc -->
85
   * 
86
   * @generated
83
   * @generated
87
   */
84
   */
88
  public IMultiRefContainer getParent()
85
  public IMultiRefContainer getParent()
Lines 94-100 Link Here
94
91
95
  /**
92
  /**
96
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * 
98
   * @generated
94
   * @generated
99
   */
95
   */
100
  public NotificationChain basicSetParent(IMultiRefContainer newParent, NotificationChain msgs)
96
  public NotificationChain basicSetParent(IMultiRefContainer newParent, NotificationChain msgs)
Lines 105-111 Link Here
105
101
106
  /**
102
  /**
107
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
108
   * 
109
   * @generated
104
   * @generated
110
   */
105
   */
111
  public void setParent(IMultiRefContainer newParent)
106
  public void setParent(IMultiRefContainer newParent)
Lines 132-138 Link Here
132
127
133
  /**
128
  /**
134
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * 
136
   * @generated
130
   * @generated
137
   */
131
   */
138
  public String getName()
132
  public String getName()
Lines 142-148 Link Here
142
136
143
  /**
137
  /**
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * 
146
   * @generated
139
   * @generated
147
   */
140
   */
148
  public void setName(String newName)
141
  public void setName(String newName)
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
Lines 174-180 Link Here
174
166
175
  /**
167
  /**
176
   * <!-- begin-user-doc --> <!-- end-user-doc -->
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
177
   * 
178
   * @generated
169
   * @generated
179
   */
170
   */
180
  @Override
171
  @Override
Lines 190-196 Link Here
190
181
191
  /**
182
  /**
192
   * <!-- begin-user-doc --> <!-- end-user-doc -->
183
   * <!-- begin-user-doc --> <!-- end-user-doc -->
193
   * 
194
   * @generated
184
   * @generated
195
   */
185
   */
196
  @Override
186
  @Override
Lines 207-213 Link Here
207
197
208
  /**
198
  /**
209
   * <!-- begin-user-doc --> <!-- end-user-doc -->
199
   * <!-- begin-user-doc --> <!-- end-user-doc -->
210
   * 
211
   * @generated
200
   * @generated
212
   */
201
   */
213
  @Override
202
  @Override
Lines 225-231 Link Here
225
214
226
  /**
215
  /**
227
   * <!-- begin-user-doc --> <!-- end-user-doc -->
216
   * <!-- begin-user-doc --> <!-- end-user-doc -->
228
   * 
229
   * @generated
217
   * @generated
230
   */
218
   */
231
  @Override
219
  @Override
Lines 245-251 Link Here
245
233
246
  /**
234
  /**
247
   * <!-- begin-user-doc --> <!-- end-user-doc -->
235
   * <!-- begin-user-doc --> <!-- end-user-doc -->
248
   * 
249
   * @generated
236
   * @generated
250
   */
237
   */
251
  @Override
238
  @Override
Lines 265-271 Link Here
265
252
266
  /**
253
  /**
267
   * <!-- begin-user-doc --> <!-- end-user-doc -->
254
   * <!-- begin-user-doc --> <!-- end-user-doc -->
268
   * 
269
   * @generated
255
   * @generated
270
   */
256
   */
271
  @Override
257
  @Override
Lines 283-289 Link Here
283
269
284
  /**
270
  /**
285
   * <!-- begin-user-doc --> <!-- end-user-doc -->
271
   * <!-- begin-user-doc --> <!-- end-user-doc -->
286
   * 
287
   * @generated
272
   * @generated
288
   */
273
   */
289
  @Override
274
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerNPLImpl.java (-14 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL;
17
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
18
18
19
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.common.util.EList;
20
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.EClass;
Lines 29-47 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl#getElements <em>Elements
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl#getElements <em>Elements</em>}</li>
33
 * </em>}</li>
34
 * </ul>
33
 * </ul>
35
 * </p>
34
 * </p>
36
 * 
35
 *
37
 * @generated
36
 * @generated
38
 */
37
 */
39
public class ImplMultiRefNonContainerNPLImpl extends EObjectImpl implements ImplMultiRefNonContainerNPL
38
public class ImplMultiRefNonContainerNPLImpl extends EObjectImpl implements ImplMultiRefNonContainerNPL
40
{
39
{
41
  /**
40
  /**
42
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. <!-- begin-user-doc --> <!--
41
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list.
42
   * <!-- begin-user-doc --> <!--
43
   * end-user-doc -->
43
   * end-user-doc -->
44
   * 
45
   * @see #getElements()
44
   * @see #getElements()
46
   * @generated
45
   * @generated
47
   * @ordered
46
   * @ordered
Lines 50-56 Link Here
50
49
51
  /**
50
  /**
52
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * 
54
   * @generated
52
   * @generated
55
   */
53
   */
56
  protected ImplMultiRefNonContainerNPLImpl()
54
  protected ImplMultiRefNonContainerNPLImpl()
Lines 60-66 Link Here
60
58
61
  /**
59
  /**
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * 
64
   * @generated
61
   * @generated
65
   */
62
   */
66
  @Override
63
  @Override
Lines 71-77 Link Here
71
68
72
  /**
69
  /**
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * 
75
   * @generated
71
   * @generated
76
   */
72
   */
77
  public EList<IContainedElementNoParentLink> getElements()
73
  public EList<IContainedElementNoParentLink> getElements()
Lines 86-92 Link Here
86
82
87
  /**
83
  /**
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * 
90
   * @generated
85
   * @generated
91
   */
86
   */
92
  @Override
87
  @Override
Lines 102-108 Link Here
102
97
103
  /**
98
  /**
104
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * 
106
   * @generated
100
   * @generated
107
   */
101
   */
108
  @SuppressWarnings("unchecked")
102
  @SuppressWarnings("unchecked")
Lines 121-127 Link Here
121
115
122
  /**
116
  /**
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * 
125
   * @generated
118
   * @generated
126
   */
119
   */
127
  @Override
120
  @Override
Lines 138-144 Link Here
138
131
139
  /**
132
  /**
140
   * <!-- begin-user-doc --> <!-- end-user-doc -->
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
141
   * 
142
   * @generated
134
   * @generated
143
   */
135
   */
144
  @Override
136
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainedElementImpl.java (-23 / +7 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement;
18
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer;
19
19
20
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.notify.NotificationChain;
Lines 30-41 Link Here
30
 * <p>
30
 * <p>
31
 * The following features are implemented:
31
 * The following features are implemented:
32
 * <ul>
32
 * <ul>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl#getParent <em>Parent
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl#getParent <em>Parent</em>}</li>
34
 * </em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl#getName <em>Name</em>}</li>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl#getName <em>Name</em>}</li>
36
 * </ul>
35
 * </ul>
37
 * </p>
36
 * </p>
38
 * 
37
 *
39
 * @generated
38
 * @generated
40
 */
39
 */
41
public class ImplMultiRefNonContainedElementImpl extends EObjectImpl implements ImplMultiRefNonContainedElement
40
public class ImplMultiRefNonContainedElementImpl extends EObjectImpl implements ImplMultiRefNonContainedElement
Lines 61-68 Link Here
61
  protected static final String NAME_EDEFAULT = null;
60
  protected static final String NAME_EDEFAULT = null;
62
61
63
  /**
62
  /**
64
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
65
   * 
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * @see #getName()
65
   * @see #getName()
67
   * @generated
66
   * @generated
68
   * @ordered
67
   * @ordered
Lines 71-77 Link Here
71
70
72
  /**
71
  /**
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * 
75
   * @generated
73
   * @generated
76
   */
74
   */
77
  protected ImplMultiRefNonContainedElementImpl()
75
  protected ImplMultiRefNonContainedElementImpl()
Lines 81-87 Link Here
81
79
82
  /**
80
  /**
83
   * <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * 
85
   * @generated
82
   * @generated
86
   */
83
   */
87
  @Override
84
  @Override
Lines 92-98 Link Here
92
89
93
  /**
90
  /**
94
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * <!-- begin-user-doc --> <!-- end-user-doc -->
95
   * 
96
   * @generated
92
   * @generated
97
   */
93
   */
98
  public IMultiRefNonContainer getParent()
94
  public IMultiRefNonContainer getParent()
Lines 113-119 Link Here
113
109
114
  /**
110
  /**
115
   * <!-- begin-user-doc --> <!-- end-user-doc -->
111
   * <!-- begin-user-doc --> <!-- end-user-doc -->
116
   * 
117
   * @generated
112
   * @generated
118
   */
113
   */
119
  public IMultiRefNonContainer basicGetParent()
114
  public IMultiRefNonContainer basicGetParent()
Lines 123-129 Link Here
123
118
124
  /**
119
  /**
125
   * <!-- begin-user-doc --> <!-- end-user-doc -->
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * 
127
   * @generated
121
   * @generated
128
   */
122
   */
129
  public NotificationChain basicSetParent(IMultiRefNonContainer newParent, NotificationChain msgs)
123
  public NotificationChain basicSetParent(IMultiRefNonContainer newParent, NotificationChain msgs)
Lines 144-150 Link Here
144
138
145
  /**
139
  /**
146
   * <!-- begin-user-doc --> <!-- end-user-doc -->
140
   * <!-- begin-user-doc --> <!-- end-user-doc -->
147
   * 
148
   * @generated
141
   * @generated
149
   */
142
   */
150
  public void setParent(IMultiRefNonContainer newParent)
143
  public void setParent(IMultiRefNonContainer newParent)
Lines 169-175 Link Here
169
162
170
  /**
163
  /**
171
   * <!-- begin-user-doc --> <!-- end-user-doc -->
164
   * <!-- begin-user-doc --> <!-- end-user-doc -->
172
   * 
173
   * @generated
165
   * @generated
174
   */
166
   */
175
  public String getName()
167
  public String getName()
Lines 179-185 Link Here
179
171
180
  /**
172
  /**
181
   * <!-- begin-user-doc --> <!-- end-user-doc -->
173
   * <!-- begin-user-doc --> <!-- end-user-doc -->
182
   * 
183
   * @generated
174
   * @generated
184
   */
175
   */
185
  public void setName(String newName)
176
  public void setName(String newName)
Lines 193-199 Link Here
193
184
194
  /**
185
  /**
195
   * <!-- begin-user-doc --> <!-- end-user-doc -->
186
   * <!-- begin-user-doc --> <!-- end-user-doc -->
196
   * 
197
   * @generated
187
   * @generated
198
   */
188
   */
199
  @Override
189
  @Override
Lines 212-218 Link Here
212
202
213
  /**
203
  /**
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
204
   * <!-- begin-user-doc --> <!-- end-user-doc -->
215
   * 
216
   * @generated
205
   * @generated
217
   */
206
   */
218
  @Override
207
  @Override
Lines 228-234 Link Here
228
217
229
  /**
218
  /**
230
   * <!-- begin-user-doc --> <!-- end-user-doc -->
219
   * <!-- begin-user-doc --> <!-- end-user-doc -->
231
   * 
232
   * @generated
220
   * @generated
233
   */
221
   */
234
  @Override
222
  @Override
Lines 248-254 Link Here
248
236
249
  /**
237
  /**
250
   * <!-- begin-user-doc --> <!-- end-user-doc -->
238
   * <!-- begin-user-doc --> <!-- end-user-doc -->
251
   * 
252
   * @generated
239
   * @generated
253
   */
240
   */
254
  @Override
241
  @Override
Lines 268-274 Link Here
268
255
269
  /**
256
  /**
270
   * <!-- begin-user-doc --> <!-- end-user-doc -->
257
   * <!-- begin-user-doc --> <!-- end-user-doc -->
271
   * 
272
   * @generated
258
   * @generated
273
   */
259
   */
274
  @Override
260
  @Override
Lines 288-294 Link Here
288
274
289
  /**
275
  /**
290
   * <!-- begin-user-doc --> <!-- end-user-doc -->
276
   * <!-- begin-user-doc --> <!-- end-user-doc -->
291
   * 
292
   * @generated
277
   * @generated
293
   */
278
   */
294
  @Override
279
  @Override
Lines 306-312 Link Here
306
291
307
  /**
292
  /**
308
   * <!-- begin-user-doc --> <!-- end-user-doc -->
293
   * <!-- begin-user-doc --> <!-- end-user-doc -->
309
   * 
310
   * @generated
294
   * @generated
311
   */
295
   */
312
  @Override
296
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNonContainedImpl.java (-12 / +5 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
17
17
18
import org.eclipse.emf.common.util.EList;
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EClass;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl#getElements <em>Elements</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class GenRefMultiNonContainedImpl extends EObjectImpl implements GenRefMultiNonContained
38
public class GenRefMultiNonContainedImpl extends EObjectImpl implements GenRefMultiNonContained
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. <!-- begin-user-doc --> <!--
41
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list.
42
   * <!-- begin-user-doc --> <!--
42
   * end-user-doc -->
43
   * end-user-doc -->
43
   * 
44
   * @see #getElements()
44
   * @see #getElements()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected GenRefMultiNonContainedImpl()
54
  protected GenRefMultiNonContainedImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public EList<EObject> getElements()
73
  public EList<EObject> getElements()
Lines 85-91 Link Here
85
82
86
  /**
83
  /**
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * <!-- begin-user-doc --> <!-- end-user-doc -->
88
   * 
89
   * @generated
85
   * @generated
90
   */
86
   */
91
  @Override
87
  @Override
Lines 101-107 Link Here
101
97
102
  /**
98
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
100
   * @generated
106
   */
101
   */
107
  @SuppressWarnings("unchecked")
102
  @SuppressWarnings("unchecked")
Lines 120-126 Link Here
120
115
121
  /**
116
  /**
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * 
124
   * @generated
118
   * @generated
125
   */
119
   */
126
  @Override
120
  @Override
Lines 137-143 Link Here
137
131
138
  /**
132
  /**
139
   * <!-- begin-user-doc --> <!-- end-user-doc -->
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
140
   * 
141
   * @generated
134
   * @generated
142
   */
135
   */
143
  @Override
136
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/StringToEObjectImpl.java (-21 / +2 lines)
Lines 58-66 Link Here
58
  protected String key = KEY_EDEFAULT;
58
  protected String key = KEY_EDEFAULT;
59
59
60
  /**
60
  /**
61
   * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. <!-- begin-user-doc --> <!--
61
   * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference.
62
   * <!-- begin-user-doc --> <!--
62
   * end-user-doc -->
63
   * end-user-doc -->
63
   * 
64
   * @see #getTypedValue()
64
   * @see #getTypedValue()
65
   * @generated
65
   * @generated
66
   * @ordered
66
   * @ordered
Lines 69-75 Link Here
69
69
70
  /**
70
  /**
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * 
73
   * @generated
72
   * @generated
74
   */
73
   */
75
  protected StringToEObjectImpl()
74
  protected StringToEObjectImpl()
Lines 79-85 Link Here
79
78
80
  /**
79
  /**
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * 
83
   * @generated
81
   * @generated
84
   */
82
   */
85
  @Override
83
  @Override
Lines 90-96 Link Here
90
88
91
  /**
89
  /**
92
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * 
94
   * @generated
91
   * @generated
95
   */
92
   */
96
  public String getTypedKey()
93
  public String getTypedKey()
Lines 100-106 Link Here
100
97
101
  /**
98
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
100
   * @generated
105
   */
101
   */
106
  public void setTypedKey(String newKey)
102
  public void setTypedKey(String newKey)
Lines 113-119 Link Here
113
109
114
  /**
110
  /**
115
   * <!-- begin-user-doc --> <!-- end-user-doc -->
111
   * <!-- begin-user-doc --> <!-- end-user-doc -->
116
   * 
117
   * @generated
112
   * @generated
118
   */
113
   */
119
  public EObject getTypedValue()
114
  public EObject getTypedValue()
Lines 123-129 Link Here
123
118
124
  /**
119
  /**
125
   * <!-- begin-user-doc --> <!-- end-user-doc -->
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * 
127
   * @generated
121
   * @generated
128
   */
122
   */
129
  public void setTypedValue(EObject newValue)
123
  public void setTypedValue(EObject newValue)
Lines 136-142 Link Here
136
130
137
  /**
131
  /**
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
132
   * <!-- begin-user-doc --> <!-- end-user-doc -->
139
   * 
140
   * @generated
133
   * @generated
141
   */
134
   */
142
  @Override
135
  @Override
Lines 154-160 Link Here
154
147
155
  /**
148
  /**
156
   * <!-- begin-user-doc --> <!-- end-user-doc -->
149
   * <!-- begin-user-doc --> <!-- end-user-doc -->
157
   * 
158
   * @generated
150
   * @generated
159
   */
151
   */
160
  @Override
152
  @Override
Lines 174-180 Link Here
174
166
175
  /**
167
  /**
176
   * <!-- begin-user-doc --> <!-- end-user-doc -->
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
177
   * 
178
   * @generated
169
   * @generated
179
   */
170
   */
180
  @Override
171
  @Override
Lines 194-200 Link Here
194
185
195
  /**
186
  /**
196
   * <!-- begin-user-doc --> <!-- end-user-doc -->
187
   * <!-- begin-user-doc --> <!-- end-user-doc -->
197
   * 
198
   * @generated
188
   * @generated
199
   */
189
   */
200
  @Override
190
  @Override
Lines 212-218 Link Here
212
202
213
  /**
203
  /**
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
204
   * <!-- begin-user-doc --> <!-- end-user-doc -->
215
   * 
216
   * @generated
205
   * @generated
217
   */
206
   */
218
  @Override
207
  @Override
Lines 230-243 Link Here
230
219
231
  /**
220
  /**
232
   * <!-- begin-user-doc --> <!-- end-user-doc -->
221
   * <!-- begin-user-doc --> <!-- end-user-doc -->
233
   * 
234
   * @generated
222
   * @generated
235
   */
223
   */
236
  protected int hash = -1;
224
  protected int hash = -1;
237
225
238
  /**
226
  /**
239
   * <!-- begin-user-doc --> <!-- end-user-doc -->
227
   * <!-- begin-user-doc --> <!-- end-user-doc -->
240
   * 
241
   * @generated
228
   * @generated
242
   */
229
   */
243
  public int getHash()
230
  public int getHash()
Lines 252-258 Link Here
252
239
253
  /**
240
  /**
254
   * <!-- begin-user-doc --> <!-- end-user-doc -->
241
   * <!-- begin-user-doc --> <!-- end-user-doc -->
255
   * 
256
   * @generated
242
   * @generated
257
   */
243
   */
258
  public void setHash(int hash)
244
  public void setHash(int hash)
Lines 262-268 Link Here
262
248
263
  /**
249
  /**
264
   * <!-- begin-user-doc --> <!-- end-user-doc -->
250
   * <!-- begin-user-doc --> <!-- end-user-doc -->
265
   * 
266
   * @generated
251
   * @generated
267
   */
252
   */
268
  public String getKey()
253
  public String getKey()
Lines 272-278 Link Here
272
257
273
  /**
258
  /**
274
   * <!-- begin-user-doc --> <!-- end-user-doc -->
259
   * <!-- begin-user-doc --> <!-- end-user-doc -->
275
   * 
276
   * @generated
260
   * @generated
277
   */
261
   */
278
  public void setKey(String key)
262
  public void setKey(String key)
Lines 282-288 Link Here
282
266
283
  /**
267
  /**
284
   * <!-- begin-user-doc --> <!-- end-user-doc -->
268
   * <!-- begin-user-doc --> <!-- end-user-doc -->
285
   * 
286
   * @generated
269
   * @generated
287
   */
270
   */
288
  public EObject getValue()
271
  public EObject getValue()
Lines 292-298 Link Here
292
275
293
  /**
276
  /**
294
   * <!-- begin-user-doc --> <!-- end-user-doc -->
277
   * <!-- begin-user-doc --> <!-- end-user-doc -->
295
   * 
296
   * @generated
278
   * @generated
297
   */
279
   */
298
  public EObject setValue(EObject value)
280
  public EObject setValue(EObject value)
Lines 304-310 Link Here
304
286
305
  /**
287
  /**
306
   * <!-- begin-user-doc --> <!-- end-user-doc -->
288
   * <!-- begin-user-doc --> <!-- end-user-doc -->
307
   * 
308
   * @generated
289
   * @generated
309
   */
290
   */
310
  @SuppressWarnings("unchecked")
291
  @SuppressWarnings("unchecked")
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiContainedElementImpl.java (-22 / +7 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.MultiContainedElement;
17
import org.eclipse.emf.cdo.tests.model4.RefMultiContained;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 30-40 Link Here
30
 * <p>
30
 * <p>
31
 * The following features are implemented:
31
 * The following features are implemented:
32
 * <ul>
32
 * <ul>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl#getName <em>Name</em>}</li>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl#getName <em>Name</em>}</li>
34
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl#getParent <em>Parent</em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl#getParent <em>Parent</em>}</li>
35
 * </ul>
35
 * </ul>
36
 * </p>
36
 * </p>
37
 * 
37
 *
38
 * @generated
38
 * @generated
39
 */
39
 */
40
public class MultiContainedElementImpl extends EObjectImpl implements MultiContainedElement
40
public class MultiContainedElementImpl extends EObjectImpl implements MultiContainedElement
Lines 50-57 Link Here
50
  protected static final String NAME_EDEFAULT = null;
50
  protected static final String NAME_EDEFAULT = null;
51
51
52
  /**
52
  /**
53
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
54
   * 
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * @see #getName()
55
   * @see #getName()
56
   * @generated
56
   * @generated
57
   * @ordered
57
   * @ordered
Lines 60-66 Link Here
60
60
61
  /**
61
  /**
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * 
64
   * @generated
63
   * @generated
65
   */
64
   */
66
  protected MultiContainedElementImpl()
65
  protected MultiContainedElementImpl()
Lines 70-76 Link Here
70
69
71
  /**
70
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
72
   * @generated
75
   */
73
   */
76
  @Override
74
  @Override
Lines 81-87 Link Here
81
79
82
  /**
80
  /**
83
   * <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * 
85
   * @generated
82
   * @generated
86
   */
83
   */
87
  public String getName()
84
  public String getName()
Lines 91-97 Link Here
91
88
92
  /**
89
  /**
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
94
   * 
95
   * @generated
91
   * @generated
96
   */
92
   */
97
  public void setName(String newName)
93
  public void setName(String newName)
Lines 104-110 Link Here
104
100
105
  /**
101
  /**
106
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
107
   * 
108
   * @generated
103
   * @generated
109
   */
104
   */
110
  public RefMultiContained getParent()
105
  public RefMultiContained getParent()
Lines 116-122 Link Here
116
111
117
  /**
112
  /**
118
   * <!-- begin-user-doc --> <!-- end-user-doc -->
113
   * <!-- begin-user-doc --> <!-- end-user-doc -->
119
   * 
120
   * @generated
114
   * @generated
121
   */
115
   */
122
  public NotificationChain basicSetParent(RefMultiContained newParent, NotificationChain msgs)
116
  public NotificationChain basicSetParent(RefMultiContained newParent, NotificationChain msgs)
Lines 127-133 Link Here
127
121
128
  /**
122
  /**
129
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
130
   * 
131
   * @generated
124
   * @generated
132
   */
125
   */
133
  public void setParent(RefMultiContained newParent)
126
  public void setParent(RefMultiContained newParent)
Lines 154-160 Link Here
154
147
155
  /**
148
  /**
156
   * <!-- begin-user-doc --> <!-- end-user-doc -->
149
   * <!-- begin-user-doc --> <!-- end-user-doc -->
157
   * 
158
   * @generated
150
   * @generated
159
   */
151
   */
160
  @Override
152
  @Override
Lines 172-178 Link Here
172
164
173
  /**
165
  /**
174
   * <!-- begin-user-doc --> <!-- end-user-doc -->
166
   * <!-- begin-user-doc --> <!-- end-user-doc -->
175
   * 
176
   * @generated
167
   * @generated
177
   */
168
   */
178
  @Override
169
  @Override
Lines 188-194 Link Here
188
179
189
  /**
180
  /**
190
   * <!-- begin-user-doc --> <!-- end-user-doc -->
181
   * <!-- begin-user-doc --> <!-- end-user-doc -->
191
   * 
192
   * @generated
182
   * @generated
193
   */
183
   */
194
  @Override
184
  @Override
Lines 205-211 Link Here
205
195
206
  /**
196
  /**
207
   * <!-- begin-user-doc --> <!-- end-user-doc -->
197
   * <!-- begin-user-doc --> <!-- end-user-doc -->
208
   * 
209
   * @generated
198
   * @generated
210
   */
199
   */
211
  @Override
200
  @Override
Lines 223-229 Link Here
223
212
224
  /**
213
  /**
225
   * <!-- begin-user-doc --> <!-- end-user-doc -->
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
226
   * 
227
   * @generated
215
   * @generated
228
   */
216
   */
229
  @Override
217
  @Override
Lines 243-249 Link Here
243
231
244
  /**
232
  /**
245
   * <!-- begin-user-doc --> <!-- end-user-doc -->
233
   * <!-- begin-user-doc --> <!-- end-user-doc -->
246
   * 
247
   * @generated
234
   * @generated
248
   */
235
   */
249
  @Override
236
  @Override
Lines 263-269 Link Here
263
250
264
  /**
251
  /**
265
   * <!-- begin-user-doc --> <!-- end-user-doc -->
252
   * <!-- begin-user-doc --> <!-- end-user-doc -->
266
   * 
267
   * @generated
253
   * @generated
268
   */
254
   */
269
  @Override
255
  @Override
Lines 281-287 Link Here
281
267
282
  /**
268
  /**
283
   * <!-- begin-user-doc --> <!-- end-user-doc -->
269
   * <!-- begin-user-doc --> <!-- end-user-doc -->
284
   * 
285
   * @generated
270
   * @generated
286
   */
271
   */
287
  @Override
272
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerImpl.java (-18 / +6 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer;
18
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement;
19
19
20
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.notify.NotificationChain;
Lines 30-47 Link Here
30
 * <p>
30
 * <p>
31
 * The following features are implemented:
31
 * The following features are implemented:
32
 * <ul>
32
 * <ul>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl#getElement <em>Element</em>}</li>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl#getElement <em>Element</em>}</li>
34
 * </ul>
34
 * </ul>
35
 * </p>
35
 * </p>
36
 * 
36
 *
37
 * @generated
37
 * @generated
38
 */
38
 */
39
public class ImplSingleRefNonContainerImpl extends EObjectImpl implements ImplSingleRefNonContainer
39
public class ImplSingleRefNonContainerImpl extends EObjectImpl implements ImplSingleRefNonContainer
40
{
40
{
41
  /**
41
  /**
42
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference. <!-- begin-user-doc --> <!--
42
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
43
   * <!-- begin-user-doc --> <!--
43
   * end-user-doc -->
44
   * end-user-doc -->
44
   * 
45
   * @see #getElement()
45
   * @see #getElement()
46
   * @generated
46
   * @generated
47
   * @ordered
47
   * @ordered
Lines 50-56 Link Here
50
50
51
  /**
51
  /**
52
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * 
54
   * @generated
53
   * @generated
55
   */
54
   */
56
  protected ImplSingleRefNonContainerImpl()
55
  protected ImplSingleRefNonContainerImpl()
Lines 60-66 Link Here
60
59
61
  /**
60
  /**
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * 
64
   * @generated
62
   * @generated
65
   */
63
   */
66
  @Override
64
  @Override
Lines 71-77 Link Here
71
69
72
  /**
70
  /**
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * 
75
   * @generated
72
   * @generated
76
   */
73
   */
77
  public ISingleRefNonContainedElement getElement()
74
  public ISingleRefNonContainedElement getElement()
Lines 92-98 Link Here
92
89
93
  /**
90
  /**
94
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * <!-- begin-user-doc --> <!-- end-user-doc -->
95
   * 
96
   * @generated
92
   * @generated
97
   */
93
   */
98
  public ISingleRefNonContainedElement basicGetElement()
94
  public ISingleRefNonContainedElement basicGetElement()
Lines 102-108 Link Here
102
98
103
  /**
99
  /**
104
   * <!-- begin-user-doc --> <!-- end-user-doc -->
100
   * <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * 
106
   * @generated
101
   * @generated
107
   */
102
   */
108
  public NotificationChain basicSetElement(ISingleRefNonContainedElement newElement, NotificationChain msgs)
103
  public NotificationChain basicSetElement(ISingleRefNonContainedElement newElement, NotificationChain msgs)
Lines 123-129 Link Here
123
118
124
  /**
119
  /**
125
   * <!-- begin-user-doc --> <!-- end-user-doc -->
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * 
127
   * @generated
121
   * @generated
128
   */
122
   */
129
  public void setElement(ISingleRefNonContainedElement newElement)
123
  public void setElement(ISingleRefNonContainedElement newElement)
Lines 150-156 Link Here
150
144
151
  /**
145
  /**
152
   * <!-- begin-user-doc --> <!-- end-user-doc -->
146
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * 
154
   * @generated
147
   * @generated
155
   */
148
   */
156
  @Override
149
  @Override
Lines 170-176 Link Here
170
163
171
  /**
164
  /**
172
   * <!-- begin-user-doc --> <!-- end-user-doc -->
165
   * <!-- begin-user-doc --> <!-- end-user-doc -->
173
   * 
174
   * @generated
166
   * @generated
175
   */
167
   */
176
  @Override
168
  @Override
Lines 186-192 Link Here
186
178
187
  /**
179
  /**
188
   * <!-- begin-user-doc --> <!-- end-user-doc -->
180
   * <!-- begin-user-doc --> <!-- end-user-doc -->
189
   * 
190
   * @generated
181
   * @generated
191
   */
182
   */
192
  @Override
183
  @Override
Lines 204-210 Link Here
204
195
205
  /**
196
  /**
206
   * <!-- begin-user-doc --> <!-- end-user-doc -->
197
   * <!-- begin-user-doc --> <!-- end-user-doc -->
207
   * 
208
   * @generated
198
   * @generated
209
   */
199
   */
210
  @Override
200
  @Override
Lines 221-227 Link Here
221
211
222
  /**
212
  /**
223
   * <!-- begin-user-doc --> <!-- end-user-doc -->
213
   * <!-- begin-user-doc --> <!-- end-user-doc -->
224
   * 
225
   * @generated
214
   * @generated
226
   */
215
   */
227
  @Override
216
  @Override
Lines 238-244 Link Here
238
227
239
  /**
228
  /**
240
   * <!-- begin-user-doc --> <!-- end-user-doc -->
229
   * <!-- begin-user-doc --> <!-- end-user-doc -->
241
   * 
242
   * @generated
230
   * @generated
243
   */
231
   */
244
  @Override
232
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplContainedElementNPLImpl.java (-17 / +6 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL;
18
import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement;
19
19
20
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.ecore.EClass;
21
import org.eclipse.emf.ecore.EClass;
Lines 28-37 Link Here
28
 * <p>
28
 * <p>
29
 * The following features are implemented:
29
 * The following features are implemented:
30
 * <ul>
30
 * <ul>
31
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl#getName <em>Name</em>}</li>
31
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl#getName <em>Name</em>}</li>
32
 * </ul>
32
 * </ul>
33
 * </p>
33
 * </p>
34
 * 
34
 *
35
 * @generated
35
 * @generated
36
 */
36
 */
37
public class ImplContainedElementNPLImpl extends EObjectImpl implements ImplContainedElementNPL
37
public class ImplContainedElementNPLImpl extends EObjectImpl implements ImplContainedElementNPL
Lines 47-54 Link Here
47
  protected static final String NAME_EDEFAULT = null;
47
  protected static final String NAME_EDEFAULT = null;
48
48
49
  /**
49
  /**
50
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
51
   * 
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * @see #getName()
52
   * @see #getName()
53
   * @generated
53
   * @generated
54
   * @ordered
54
   * @ordered
Lines 57-63 Link Here
57
57
58
  /**
58
  /**
59
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * 
61
   * @generated
60
   * @generated
62
   */
61
   */
63
  protected ImplContainedElementNPLImpl()
62
  protected ImplContainedElementNPLImpl()
Lines 67-73 Link Here
67
66
68
  /**
67
  /**
69
   * <!-- begin-user-doc --> <!-- end-user-doc -->
68
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * 
71
   * @generated
69
   * @generated
72
   */
70
   */
73
  @Override
71
  @Override
Lines 78-84 Link Here
78
76
79
  /**
77
  /**
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
78
   * <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * 
82
   * @generated
79
   * @generated
83
   */
80
   */
84
  public String getName()
81
  public String getName()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  public void setName(String newName)
90
  public void setName(String newName)
Lines 102-108 Link Here
102
98
103
  /**
99
  /**
104
   * <!-- begin-user-doc --> <!-- end-user-doc -->
100
   * <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * 
106
   * @generated
101
   * @generated
107
   */
102
   */
108
  @Override
103
  @Override
Lines 118-124 Link Here
118
113
119
  /**
114
  /**
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
115
   * <!-- begin-user-doc --> <!-- end-user-doc -->
121
   * 
122
   * @generated
116
   * @generated
123
   */
117
   */
124
  @Override
118
  @Override
Lines 135-141 Link Here
135
129
136
  /**
130
  /**
137
   * <!-- begin-user-doc --> <!-- end-user-doc -->
131
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * 
139
   * @generated
132
   * @generated
140
   */
133
   */
141
  @Override
134
  @Override
Lines 152-158 Link Here
152
145
153
  /**
146
  /**
154
   * <!-- begin-user-doc --> <!-- end-user-doc -->
147
   * <!-- begin-user-doc --> <!-- end-user-doc -->
155
   * 
156
   * @generated
148
   * @generated
157
   */
149
   */
158
  @Override
150
  @Override
Lines 168-174 Link Here
168
160
169
  /**
161
  /**
170
   * <!-- begin-user-doc --> <!-- end-user-doc -->
162
   * <!-- begin-user-doc --> <!-- end-user-doc -->
171
   * 
172
   * @generated
163
   * @generated
173
   */
164
   */
174
  @Override
165
  @Override
Lines 189-195 Link Here
189
180
190
  /**
181
  /**
191
   * <!-- begin-user-doc --> <!-- end-user-doc -->
182
   * <!-- begin-user-doc --> <!-- end-user-doc -->
192
   * 
193
   * @generated
183
   * @generated
194
   */
184
   */
195
  @Override
185
  @Override
Lines 210-216 Link Here
210
200
211
  /**
201
  /**
212
   * <!-- begin-user-doc --> <!-- end-user-doc -->
202
   * <!-- begin-user-doc --> <!-- end-user-doc -->
213
   * 
214
   * @generated
203
   * @generated
215
   */
204
   */
216
  @Override
205
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainedElementImpl.java (-23 / +7 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement;
18
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer;
19
19
20
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.notify.NotificationChain;
Lines 30-41 Link Here
30
 * <p>
30
 * <p>
31
 * The following features are implemented:
31
 * The following features are implemented:
32
 * <ul>
32
 * <ul>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl#getParent <em>Parent
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl#getParent <em>Parent</em>}</li>
34
 * </em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl#getName <em>Name</em>}</li>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl#getName <em>Name</em>}</li>
36
 * </ul>
35
 * </ul>
37
 * </p>
36
 * </p>
38
 * 
37
 *
39
 * @generated
38
 * @generated
40
 */
39
 */
41
public class ImplSingleRefNonContainedElementImpl extends EObjectImpl implements ImplSingleRefNonContainedElement
40
public class ImplSingleRefNonContainedElementImpl extends EObjectImpl implements ImplSingleRefNonContainedElement
Lines 61-68 Link Here
61
  protected static final String NAME_EDEFAULT = null;
60
  protected static final String NAME_EDEFAULT = null;
62
61
63
  /**
62
  /**
64
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
65
   * 
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * @see #getName()
65
   * @see #getName()
67
   * @generated
66
   * @generated
68
   * @ordered
67
   * @ordered
Lines 71-77 Link Here
71
70
72
  /**
71
  /**
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * 
75
   * @generated
73
   * @generated
76
   */
74
   */
77
  protected ImplSingleRefNonContainedElementImpl()
75
  protected ImplSingleRefNonContainedElementImpl()
Lines 81-87 Link Here
81
79
82
  /**
80
  /**
83
   * <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * 
85
   * @generated
82
   * @generated
86
   */
83
   */
87
  @Override
84
  @Override
Lines 92-98 Link Here
92
89
93
  /**
90
  /**
94
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * <!-- begin-user-doc --> <!-- end-user-doc -->
95
   * 
96
   * @generated
92
   * @generated
97
   */
93
   */
98
  public ISingleRefNonContainer getParent()
94
  public ISingleRefNonContainer getParent()
Lines 113-119 Link Here
113
109
114
  /**
110
  /**
115
   * <!-- begin-user-doc --> <!-- end-user-doc -->
111
   * <!-- begin-user-doc --> <!-- end-user-doc -->
116
   * 
117
   * @generated
112
   * @generated
118
   */
113
   */
119
  public ISingleRefNonContainer basicGetParent()
114
  public ISingleRefNonContainer basicGetParent()
Lines 123-129 Link Here
123
118
124
  /**
119
  /**
125
   * <!-- begin-user-doc --> <!-- end-user-doc -->
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * 
127
   * @generated
121
   * @generated
128
   */
122
   */
129
  public NotificationChain basicSetParent(ISingleRefNonContainer newParent, NotificationChain msgs)
123
  public NotificationChain basicSetParent(ISingleRefNonContainer newParent, NotificationChain msgs)
Lines 144-150 Link Here
144
138
145
  /**
139
  /**
146
   * <!-- begin-user-doc --> <!-- end-user-doc -->
140
   * <!-- begin-user-doc --> <!-- end-user-doc -->
147
   * 
148
   * @generated
141
   * @generated
149
   */
142
   */
150
  public void setParent(ISingleRefNonContainer newParent)
143
  public void setParent(ISingleRefNonContainer newParent)
Lines 169-175 Link Here
169
162
170
  /**
163
  /**
171
   * <!-- begin-user-doc --> <!-- end-user-doc -->
164
   * <!-- begin-user-doc --> <!-- end-user-doc -->
172
   * 
173
   * @generated
165
   * @generated
174
   */
166
   */
175
  public String getName()
167
  public String getName()
Lines 179-185 Link Here
179
171
180
  /**
172
  /**
181
   * <!-- begin-user-doc --> <!-- end-user-doc -->
173
   * <!-- begin-user-doc --> <!-- end-user-doc -->
182
   * 
183
   * @generated
174
   * @generated
184
   */
175
   */
185
  public void setName(String newName)
176
  public void setName(String newName)
Lines 193-199 Link Here
193
184
194
  /**
185
  /**
195
   * <!-- begin-user-doc --> <!-- end-user-doc -->
186
   * <!-- begin-user-doc --> <!-- end-user-doc -->
196
   * 
197
   * @generated
187
   * @generated
198
   */
188
   */
199
  @Override
189
  @Override
Lines 212-218 Link Here
212
202
213
  /**
203
  /**
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
204
   * <!-- begin-user-doc --> <!-- end-user-doc -->
215
   * 
216
   * @generated
205
   * @generated
217
   */
206
   */
218
  @Override
207
  @Override
Lines 228-234 Link Here
228
217
229
  /**
218
  /**
230
   * <!-- begin-user-doc --> <!-- end-user-doc -->
219
   * <!-- begin-user-doc --> <!-- end-user-doc -->
231
   * 
232
   * @generated
220
   * @generated
233
   */
221
   */
234
  @Override
222
  @Override
Lines 248-254 Link Here
248
236
249
  /**
237
  /**
250
   * <!-- begin-user-doc --> <!-- end-user-doc -->
238
   * <!-- begin-user-doc --> <!-- end-user-doc -->
251
   * 
252
   * @generated
239
   * @generated
253
   */
240
   */
254
  @Override
241
  @Override
Lines 268-274 Link Here
268
255
269
  /**
256
  /**
270
   * <!-- begin-user-doc --> <!-- end-user-doc -->
257
   * <!-- begin-user-doc --> <!-- end-user-doc -->
271
   * 
272
   * @generated
258
   * @generated
273
   */
259
   */
274
  @Override
260
  @Override
Lines 288-294 Link Here
288
274
289
  /**
275
  /**
290
   * <!-- begin-user-doc --> <!-- end-user-doc -->
276
   * <!-- begin-user-doc --> <!-- end-user-doc -->
291
   * 
292
   * @generated
277
   * @generated
293
   */
278
   */
294
  @Override
279
  @Override
Lines 306-312 Link Here
306
291
307
  /**
292
  /**
308
   * <!-- begin-user-doc --> <!-- end-user-doc -->
293
   * <!-- begin-user-doc --> <!-- end-user-doc -->
309
   * 
310
   * @generated
294
   * @generated
311
   */
295
   */
312
  @Override
296
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4FactoryImpl.java (-75 / +38 lines)
Lines 12-51 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained;
18
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained;
19
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained;
20
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained;
21
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained;
22
import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL;
23
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement;
24
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer;
25
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer;
28
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL;
29
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement;
30
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer;
31
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL;
32
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement;
33
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer;
34
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL;
35
import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement;
36
import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement;
37
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained;
38
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL;
39
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained;
40
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL;
41
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained;
42
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL;
43
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained;
44
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL;
45
import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement;
46
import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement;
47
import org.eclipse.emf.cdo.tests.legacy.model4.model4Factory;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Factory;
48
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
18
import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained;
19
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
20
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained;
21
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
22
import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained;
23
import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained;
24
import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL;
25
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement;
26
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer;
27
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL;
28
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement;
29
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer;
30
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL;
31
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement;
32
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer;
33
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL;
34
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement;
35
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer;
36
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL;
37
import org.eclipse.emf.cdo.tests.model4.MultiContainedElement;
38
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement;
39
import org.eclipse.emf.cdo.tests.model4.RefMultiContained;
40
import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL;
41
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained;
42
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL;
43
import org.eclipse.emf.cdo.tests.model4.RefSingleContained;
44
import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL;
45
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained;
46
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL;
47
import org.eclipse.emf.cdo.tests.model4.SingleContainedElement;
48
import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement;
49
49
50
import org.eclipse.emf.ecore.EClass;
50
import org.eclipse.emf.ecore.EClass;
51
import org.eclipse.emf.ecore.EObject;
51
import org.eclipse.emf.ecore.EObject;
Lines 57-78 Link Here
57
57
58
/**
58
/**
59
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
59
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
60
 * 
61
 * @generated
60
 * @generated
62
 */
61
 */
63
public class model4FactoryImpl extends EFactoryImpl implements model4Factory
62
public class model4FactoryImpl extends EFactoryImpl implements model4Factory
64
{
63
{
65
  /**
64
  /**
66
   * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * Creates the default factory implementation.
67
   * 
66
   * <!-- begin-user-doc --> <!-- end-user-doc -->
68
   * @generated
67
   * @generated NOT
69
   */
68
   */
70
  public static model4Factory init()
69
  public static model4Factory init()
71
  {
70
  {
72
    try
71
    try
73
    {
72
    {
74
      model4Factory themodel4Factory = (model4Factory)EPackage.Registry.INSTANCE
73
      model4Factory themodel4Factory = (model4Factory)EPackage.Registry.INSTANCE
75
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/model4/1.0.0");
74
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model4/1.0.0");
76
      if (themodel4Factory != null)
75
      if (themodel4Factory != null)
77
      {
76
      {
78
        return themodel4Factory;
77
        return themodel4Factory;
Lines 86-93 Link Here
86
  }
85
  }
87
86
88
  /**
87
  /**
89
   * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
88
   * Creates an instance of the factory.
90
   * 
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * @generated
90
   * @generated
92
   */
91
   */
93
  public model4FactoryImpl()
92
  public model4FactoryImpl()
Lines 97-103 Link Here
97
96
98
  /**
97
  /**
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
98
   * <!-- begin-user-doc --> <!-- end-user-doc -->
100
   * 
101
   * @generated
99
   * @generated
102
   */
100
   */
103
  @Override
101
  @Override
Lines 178-184 Link Here
178
176
179
  /**
177
  /**
180
   * <!-- begin-user-doc --> <!-- end-user-doc -->
178
   * <!-- begin-user-doc --> <!-- end-user-doc -->
181
   * 
182
   * @generated
179
   * @generated
183
   */
180
   */
184
  public RefSingleContained createRefSingleContained()
181
  public RefSingleContained createRefSingleContained()
Lines 189-195 Link Here
189
186
190
  /**
187
  /**
191
   * <!-- begin-user-doc --> <!-- end-user-doc -->
188
   * <!-- begin-user-doc --> <!-- end-user-doc -->
192
   * 
193
   * @generated
189
   * @generated
194
   */
190
   */
195
  public SingleContainedElement createSingleContainedElement()
191
  public SingleContainedElement createSingleContainedElement()
Lines 200-206 Link Here
200
196
201
  /**
197
  /**
202
   * <!-- begin-user-doc --> <!-- end-user-doc -->
198
   * <!-- begin-user-doc --> <!-- end-user-doc -->
203
   * 
204
   * @generated
199
   * @generated
205
   */
200
   */
206
  public RefSingleNonContained createRefSingleNonContained()
201
  public RefSingleNonContained createRefSingleNonContained()
Lines 211-217 Link Here
211
206
212
  /**
207
  /**
213
   * <!-- begin-user-doc --> <!-- end-user-doc -->
208
   * <!-- begin-user-doc --> <!-- end-user-doc -->
214
   * 
215
   * @generated
209
   * @generated
216
   */
210
   */
217
  public SingleNonContainedElement createSingleNonContainedElement()
211
  public SingleNonContainedElement createSingleNonContainedElement()
Lines 222-228 Link Here
222
216
223
  /**
217
  /**
224
   * <!-- begin-user-doc --> <!-- end-user-doc -->
218
   * <!-- begin-user-doc --> <!-- end-user-doc -->
225
   * 
226
   * @generated
219
   * @generated
227
   */
220
   */
228
  public RefMultiContained createRefMultiContained()
221
  public RefMultiContained createRefMultiContained()
Lines 233-239 Link Here
233
226
234
  /**
227
  /**
235
   * <!-- begin-user-doc --> <!-- end-user-doc -->
228
   * <!-- begin-user-doc --> <!-- end-user-doc -->
236
   * 
237
   * @generated
229
   * @generated
238
   */
230
   */
239
  public MultiContainedElement createMultiContainedElement()
231
  public MultiContainedElement createMultiContainedElement()
Lines 244-250 Link Here
244
236
245
  /**
237
  /**
246
   * <!-- begin-user-doc --> <!-- end-user-doc -->
238
   * <!-- begin-user-doc --> <!-- end-user-doc -->
247
   * 
248
   * @generated
239
   * @generated
249
   */
240
   */
250
  public RefMultiNonContained createRefMultiNonContained()
241
  public RefMultiNonContained createRefMultiNonContained()
Lines 255-261 Link Here
255
246
256
  /**
247
  /**
257
   * <!-- begin-user-doc --> <!-- end-user-doc -->
248
   * <!-- begin-user-doc --> <!-- end-user-doc -->
258
   * 
259
   * @generated
249
   * @generated
260
   */
250
   */
261
  public MultiNonContainedElement createMultiNonContainedElement()
251
  public MultiNonContainedElement createMultiNonContainedElement()
Lines 266-272 Link Here
266
256
267
  /**
257
  /**
268
   * <!-- begin-user-doc --> <!-- end-user-doc -->
258
   * <!-- begin-user-doc --> <!-- end-user-doc -->
269
   * 
270
   * @generated
259
   * @generated
271
   */
260
   */
272
  public RefSingleContainedNPL createRefSingleContainedNPL()
261
  public RefSingleContainedNPL createRefSingleContainedNPL()
Lines 277-283 Link Here
277
266
278
  /**
267
  /**
279
   * <!-- begin-user-doc --> <!-- end-user-doc -->
268
   * <!-- begin-user-doc --> <!-- end-user-doc -->
280
   * 
281
   * @generated
269
   * @generated
282
   */
270
   */
283
  public RefSingleNonContainedNPL createRefSingleNonContainedNPL()
271
  public RefSingleNonContainedNPL createRefSingleNonContainedNPL()
Lines 288-294 Link Here
288
276
289
  /**
277
  /**
290
   * <!-- begin-user-doc --> <!-- end-user-doc -->
278
   * <!-- begin-user-doc --> <!-- end-user-doc -->
291
   * 
292
   * @generated
279
   * @generated
293
   */
280
   */
294
  public RefMultiContainedNPL createRefMultiContainedNPL()
281
  public RefMultiContainedNPL createRefMultiContainedNPL()
Lines 299-305 Link Here
299
286
300
  /**
287
  /**
301
   * <!-- begin-user-doc --> <!-- end-user-doc -->
288
   * <!-- begin-user-doc --> <!-- end-user-doc -->
302
   * 
303
   * @generated
289
   * @generated
304
   */
290
   */
305
  public RefMultiNonContainedNPL createRefMultiNonContainedNPL()
291
  public RefMultiNonContainedNPL createRefMultiNonContainedNPL()
Lines 310-316 Link Here
310
296
311
  /**
297
  /**
312
   * <!-- begin-user-doc --> <!-- end-user-doc -->
298
   * <!-- begin-user-doc --> <!-- end-user-doc -->
313
   * 
314
   * @generated
299
   * @generated
315
   */
300
   */
316
  public ContainedElementNoOpposite createContainedElementNoOpposite()
301
  public ContainedElementNoOpposite createContainedElementNoOpposite()
Lines 321-327 Link Here
321
306
322
  /**
307
  /**
323
   * <!-- begin-user-doc --> <!-- end-user-doc -->
308
   * <!-- begin-user-doc --> <!-- end-user-doc -->
324
   * 
325
   * @generated
309
   * @generated
326
   */
310
   */
327
  public GenRefSingleContained createGenRefSingleContained()
311
  public GenRefSingleContained createGenRefSingleContained()
Lines 332-338 Link Here
332
316
333
  /**
317
  /**
334
   * <!-- begin-user-doc --> <!-- end-user-doc -->
318
   * <!-- begin-user-doc --> <!-- end-user-doc -->
335
   * 
336
   * @generated
319
   * @generated
337
   */
320
   */
338
  public GenRefSingleNonContained createGenRefSingleNonContained()
321
  public GenRefSingleNonContained createGenRefSingleNonContained()
Lines 343-349 Link Here
343
326
344
  /**
327
  /**
345
   * <!-- begin-user-doc --> <!-- end-user-doc -->
328
   * <!-- begin-user-doc --> <!-- end-user-doc -->
346
   * 
347
   * @generated
329
   * @generated
348
   */
330
   */
349
  public GenRefMultiContained createGenRefMultiContained()
331
  public GenRefMultiContained createGenRefMultiContained()
Lines 354-360 Link Here
354
336
355
  /**
337
  /**
356
   * <!-- begin-user-doc --> <!-- end-user-doc -->
338
   * <!-- begin-user-doc --> <!-- end-user-doc -->
357
   * 
358
   * @generated
339
   * @generated
359
   */
340
   */
360
  public GenRefMultiNonContained createGenRefMultiNonContained()
341
  public GenRefMultiNonContained createGenRefMultiNonContained()
Lines 365-371 Link Here
365
346
366
  /**
347
  /**
367
   * <!-- begin-user-doc --> <!-- end-user-doc -->
348
   * <!-- begin-user-doc --> <!-- end-user-doc -->
368
   * 
369
   * @generated
349
   * @generated
370
   */
350
   */
371
  public ImplSingleRefContainer createImplSingleRefContainer()
351
  public ImplSingleRefContainer createImplSingleRefContainer()
Lines 376-382 Link Here
376
356
377
  /**
357
  /**
378
   * <!-- begin-user-doc --> <!-- end-user-doc -->
358
   * <!-- begin-user-doc --> <!-- end-user-doc -->
379
   * 
380
   * @generated
359
   * @generated
381
   */
360
   */
382
  public ImplSingleRefContainedElement createImplSingleRefContainedElement()
361
  public ImplSingleRefContainedElement createImplSingleRefContainedElement()
Lines 387-393 Link Here
387
366
388
  /**
367
  /**
389
   * <!-- begin-user-doc --> <!-- end-user-doc -->
368
   * <!-- begin-user-doc --> <!-- end-user-doc -->
390
   * 
391
   * @generated
369
   * @generated
392
   */
370
   */
393
  public ImplSingleRefNonContainer createImplSingleRefNonContainer()
371
  public ImplSingleRefNonContainer createImplSingleRefNonContainer()
Lines 398-404 Link Here
398
376
399
  /**
377
  /**
400
   * <!-- begin-user-doc --> <!-- end-user-doc -->
378
   * <!-- begin-user-doc --> <!-- end-user-doc -->
401
   * 
402
   * @generated
379
   * @generated
403
   */
380
   */
404
  public ImplSingleRefNonContainedElement createImplSingleRefNonContainedElement()
381
  public ImplSingleRefNonContainedElement createImplSingleRefNonContainedElement()
Lines 409-415 Link Here
409
386
410
  /**
387
  /**
411
   * <!-- begin-user-doc --> <!-- end-user-doc -->
388
   * <!-- begin-user-doc --> <!-- end-user-doc -->
412
   * 
413
   * @generated
389
   * @generated
414
   */
390
   */
415
  public ImplMultiRefNonContainer createImplMultiRefNonContainer()
391
  public ImplMultiRefNonContainer createImplMultiRefNonContainer()
Lines 420-426 Link Here
420
396
421
  /**
397
  /**
422
   * <!-- begin-user-doc --> <!-- end-user-doc -->
398
   * <!-- begin-user-doc --> <!-- end-user-doc -->
423
   * 
424
   * @generated
399
   * @generated
425
   */
400
   */
426
  public ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement()
401
  public ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement()
Lines 431-437 Link Here
431
406
432
  /**
407
  /**
433
   * <!-- begin-user-doc --> <!-- end-user-doc -->
408
   * <!-- begin-user-doc --> <!-- end-user-doc -->
434
   * 
435
   * @generated
409
   * @generated
436
   */
410
   */
437
  public ImplMultiRefContainer createImplMultiRefContainer()
411
  public ImplMultiRefContainer createImplMultiRefContainer()
Lines 442-448 Link Here
442
416
443
  /**
417
  /**
444
   * <!-- begin-user-doc --> <!-- end-user-doc -->
418
   * <!-- begin-user-doc --> <!-- end-user-doc -->
445
   * 
446
   * @generated
419
   * @generated
447
   */
420
   */
448
  public ImplMultiRefContainedElement createImplMultiRefContainedElement()
421
  public ImplMultiRefContainedElement createImplMultiRefContainedElement()
Lines 453-459 Link Here
453
426
454
  /**
427
  /**
455
   * <!-- begin-user-doc --> <!-- end-user-doc -->
428
   * <!-- begin-user-doc --> <!-- end-user-doc -->
456
   * 
457
   * @generated
429
   * @generated
458
   */
430
   */
459
  public ImplSingleRefContainerNPL createImplSingleRefContainerNPL()
431
  public ImplSingleRefContainerNPL createImplSingleRefContainerNPL()
Lines 464-470 Link Here
464
436
465
  /**
437
  /**
466
   * <!-- begin-user-doc --> <!-- end-user-doc -->
438
   * <!-- begin-user-doc --> <!-- end-user-doc -->
467
   * 
468
   * @generated
439
   * @generated
469
   */
440
   */
470
  public ImplSingleRefNonContainerNPL createImplSingleRefNonContainerNPL()
441
  public ImplSingleRefNonContainerNPL createImplSingleRefNonContainerNPL()
Lines 475-481 Link Here
475
446
476
  /**
447
  /**
477
   * <!-- begin-user-doc --> <!-- end-user-doc -->
448
   * <!-- begin-user-doc --> <!-- end-user-doc -->
478
   * 
479
   * @generated
449
   * @generated
480
   */
450
   */
481
  public ImplMultiRefContainerNPL createImplMultiRefContainerNPL()
451
  public ImplMultiRefContainerNPL createImplMultiRefContainerNPL()
Lines 486-492 Link Here
486
456
487
  /**
457
  /**
488
   * <!-- begin-user-doc --> <!-- end-user-doc -->
458
   * <!-- begin-user-doc --> <!-- end-user-doc -->
489
   * 
490
   * @generated
459
   * @generated
491
   */
460
   */
492
  public ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL()
461
  public ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL()
Lines 497-503 Link Here
497
466
498
  /**
467
  /**
499
   * <!-- begin-user-doc --> <!-- end-user-doc -->
468
   * <!-- begin-user-doc --> <!-- end-user-doc -->
500
   * 
501
   * @generated
469
   * @generated
502
   */
470
   */
503
  public ImplContainedElementNPL createImplContainedElementNPL()
471
  public ImplContainedElementNPL createImplContainedElementNPL()
Lines 508-514 Link Here
508
476
509
  /**
477
  /**
510
   * <!-- begin-user-doc --> <!-- end-user-doc -->
478
   * <!-- begin-user-doc --> <!-- end-user-doc -->
511
   * 
512
   * @generated
479
   * @generated
513
   */
480
   */
514
  public GenRefMultiNUNonContained createGenRefMultiNUNonContained()
481
  public GenRefMultiNUNonContained createGenRefMultiNUNonContained()
Lines 519-525 Link Here
519
486
520
  /**
487
  /**
521
   * <!-- begin-user-doc --> <!-- end-user-doc -->
488
   * <!-- begin-user-doc --> <!-- end-user-doc -->
522
   * 
523
   * @generated
489
   * @generated
524
   */
490
   */
525
  public GenRefMapNonContained createGenRefMapNonContained()
491
  public GenRefMapNonContained createGenRefMapNonContained()
Lines 530-536 Link Here
530
496
531
  /**
497
  /**
532
   * <!-- begin-user-doc --> <!-- end-user-doc -->
498
   * <!-- begin-user-doc --> <!-- end-user-doc -->
533
   * 
534
   * @generated
499
   * @generated
535
   */
500
   */
536
  public Map.Entry<String, EObject> createStringToEObject()
501
  public Map.Entry<String, EObject> createStringToEObject()
Lines 541-547 Link Here
541
506
542
  /**
507
  /**
543
   * <!-- begin-user-doc --> <!-- end-user-doc -->
508
   * <!-- begin-user-doc --> <!-- end-user-doc -->
544
   * 
545
   * @generated
509
   * @generated
546
   */
510
   */
547
  public model4Package getmodel4Package()
511
  public model4Package getmodel4Package()
Lines 551-557 Link Here
551
515
552
  /**
516
  /**
553
   * <!-- begin-user-doc --> <!-- end-user-doc -->
517
   * <!-- begin-user-doc --> <!-- end-user-doc -->
554
   * 
555
   * @deprecated
518
   * @deprecated
556
   * @generated
519
   * @generated
557
   */
520
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedNPLImpl.java (-13 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
17
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL;
18
18
19
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.common.util.EList;
20
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.EClass;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl#getElements <em>Elements</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class RefMultiNonContainedNPLImpl extends EObjectImpl implements RefMultiNonContainedNPL
38
public class RefMultiNonContainedNPLImpl extends EObjectImpl implements RefMultiNonContainedNPL
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. <!-- begin-user-doc --> <!--
41
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list.
42
   * <!-- begin-user-doc --> <!--
42
   * end-user-doc -->
43
   * end-user-doc -->
43
   * 
44
   * @see #getElements()
44
   * @see #getElements()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected RefMultiNonContainedNPLImpl()
54
  protected RefMultiNonContainedNPLImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public EList<ContainedElementNoOpposite> getElements()
73
  public EList<ContainedElementNoOpposite> getElements()
Lines 85-91 Link Here
85
82
86
  /**
83
  /**
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * <!-- begin-user-doc --> <!-- end-user-doc -->
88
   * 
89
   * @generated
85
   * @generated
90
   */
86
   */
91
  @Override
87
  @Override
Lines 101-107 Link Here
101
97
102
  /**
98
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
100
   * @generated
106
   */
101
   */
107
  @SuppressWarnings("unchecked")
102
  @SuppressWarnings("unchecked")
Lines 120-126 Link Here
120
115
121
  /**
116
  /**
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * 
124
   * @generated
118
   * @generated
125
   */
119
   */
126
  @Override
120
  @Override
Lines 137-143 Link Here
137
131
138
  /**
132
  /**
139
   * <!-- begin-user-doc --> <!-- end-user-doc -->
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
140
   * 
141
   * @generated
134
   * @generated
142
   */
135
   */
143
  @Override
136
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedNPLImpl.java (-14 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
17
import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL;
18
18
19
import org.eclipse.emf.common.notify.NotificationChain;
19
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.util.EList;
20
import org.eclipse.emf.common.util.EList;
Lines 32-49 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl#getElements <em>Elements</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl#getElements <em>Elements</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class RefMultiContainedNPLImpl extends EObjectImpl implements RefMultiContainedNPL
41
public class RefMultiContainedNPLImpl extends EObjectImpl implements RefMultiContainedNPL
42
{
42
{
43
  /**
43
  /**
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. <!-- begin-user-doc
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
45
   * <!-- begin-user-doc
45
   * --> <!-- end-user-doc -->
46
   * --> <!-- end-user-doc -->
46
   * 
47
   * @see #getElements()
47
   * @see #getElements()
48
   * @generated
48
   * @generated
49
   * @ordered
49
   * @ordered
Lines 52-58 Link Here
52
52
53
  /**
53
  /**
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @generated
55
   * @generated
57
   */
56
   */
58
  protected RefMultiContainedNPLImpl()
57
  protected RefMultiContainedNPLImpl()
Lines 62-68 Link Here
62
61
63
  /**
62
  /**
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * 
66
   * @generated
64
   * @generated
67
   */
65
   */
68
  @Override
66
  @Override
Lines 73-79 Link Here
73
71
74
  /**
72
  /**
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * 
77
   * @generated
74
   * @generated
78
   */
75
   */
79
  public EList<ContainedElementNoOpposite> getElements()
76
  public EList<ContainedElementNoOpposite> getElements()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  @Override
90
  @Override
Lines 104-110 Link Here
104
100
105
  /**
101
  /**
106
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
107
   * 
108
   * @generated
103
   * @generated
109
   */
104
   */
110
  @Override
105
  @Override
Lines 120-126 Link Here
120
115
121
  /**
116
  /**
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * 
124
   * @generated
118
   * @generated
125
   */
119
   */
126
  @SuppressWarnings("unchecked")
120
  @SuppressWarnings("unchecked")
Lines 139-145 Link Here
139
133
140
  /**
134
  /**
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * 
143
   * @generated
136
   * @generated
144
   */
137
   */
145
  @Override
138
  @Override
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerNPLImpl.java (-16 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL;
17
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl#getElement <em>Element</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl#getElement <em>Element</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class ImplSingleRefContainerNPLImpl extends EObjectImpl implements ImplSingleRefContainerNPL
38
public class ImplSingleRefContainerNPLImpl extends EObjectImpl implements ImplSingleRefContainerNPL
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. <!-- begin-user-doc -->
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference.
42
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
43
   * 
44
   * @see #getElement()
44
   * @see #getElement()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected ImplSingleRefContainerNPLImpl()
54
  protected ImplSingleRefContainerNPLImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public IContainedElementNoParentLink getElement()
73
  public IContainedElementNoParentLink getElement()
Lines 80-86 Link Here
80
77
81
  /**
78
  /**
82
   * <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * <!-- begin-user-doc --> <!-- end-user-doc -->
83
   * 
84
   * @generated
80
   * @generated
85
   */
81
   */
86
  public NotificationChain basicSetElement(IContainedElementNoParentLink newElement, NotificationChain msgs)
82
  public NotificationChain basicSetElement(IContainedElementNoParentLink newElement, NotificationChain msgs)
Lines 101-107 Link Here
101
97
102
  /**
98
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
100
   * @generated
106
   */
101
   */
107
  public void setElement(IContainedElementNoParentLink newElement)
102
  public void setElement(IContainedElementNoParentLink newElement)
Lines 126-132 Link Here
126
121
127
  /**
122
  /**
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * 
130
   * @generated
124
   * @generated
131
   */
125
   */
132
  @Override
126
  @Override
Lines 142-148 Link Here
142
136
143
  /**
137
  /**
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * 
146
   * @generated
139
   * @generated
147
   */
140
   */
148
  @Override
141
  @Override
Lines 158-164 Link Here
158
151
159
  /**
152
  /**
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * 
162
   * @generated
154
   * @generated
163
   */
155
   */
164
  @Override
156
  @Override
Lines 175-181 Link Here
175
167
176
  /**
168
  /**
177
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * <!-- begin-user-doc --> <!-- end-user-doc -->
178
   * 
179
   * @generated
170
   * @generated
180
   */
171
   */
181
  @Override
172
  @Override
Lines 192-198 Link Here
192
183
193
  /**
184
  /**
194
   * <!-- begin-user-doc --> <!-- end-user-doc -->
185
   * <!-- begin-user-doc --> <!-- end-user-doc -->
195
   * 
196
   * @generated
186
   * @generated
197
   */
187
   */
198
  @Override
188
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerImpl.java (-17 / +6 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer;
18
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement;
19
19
20
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.notify.NotificationChain;
Lines 30-47 Link Here
30
 * <p>
30
 * <p>
31
 * The following features are implemented:
31
 * The following features are implemented:
32
 * <ul>
32
 * <ul>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl#getElement <em>Element</em>}</li>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl#getElement <em>Element</em>}</li>
34
 * </ul>
34
 * </ul>
35
 * </p>
35
 * </p>
36
 * 
36
 *
37
 * @generated
37
 * @generated
38
 */
38
 */
39
public class ImplSingleRefContainerImpl extends EObjectImpl implements ImplSingleRefContainer
39
public class ImplSingleRefContainerImpl extends EObjectImpl implements ImplSingleRefContainer
40
{
40
{
41
  /**
41
  /**
42
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. <!-- begin-user-doc -->
42
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference.
43
   * <!-- begin-user-doc -->
43
   * <!-- end-user-doc -->
44
   * <!-- end-user-doc -->
44
   * 
45
   * @see #getElement()
45
   * @see #getElement()
46
   * @generated
46
   * @generated
47
   * @ordered
47
   * @ordered
Lines 50-56 Link Here
50
50
51
  /**
51
  /**
52
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * 
54
   * @generated
53
   * @generated
55
   */
54
   */
56
  protected ImplSingleRefContainerImpl()
55
  protected ImplSingleRefContainerImpl()
Lines 60-66 Link Here
60
59
61
  /**
60
  /**
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * 
64
   * @generated
62
   * @generated
65
   */
63
   */
66
  @Override
64
  @Override
Lines 71-77 Link Here
71
69
72
  /**
70
  /**
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * 
75
   * @generated
72
   * @generated
76
   */
73
   */
77
  public ISingleRefContainedElement getElement()
74
  public ISingleRefContainedElement getElement()
Lines 81-87 Link Here
81
78
82
  /**
79
  /**
83
   * <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * 
85
   * @generated
81
   * @generated
86
   */
82
   */
87
  public NotificationChain basicSetElement(ISingleRefContainedElement newElement, NotificationChain msgs)
83
  public NotificationChain basicSetElement(ISingleRefContainedElement newElement, NotificationChain msgs)
Lines 102-108 Link Here
102
98
103
  /**
99
  /**
104
   * <!-- begin-user-doc --> <!-- end-user-doc -->
100
   * <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * 
106
   * @generated
101
   * @generated
107
   */
102
   */
108
  public void setElement(ISingleRefContainedElement newElement)
103
  public void setElement(ISingleRefContainedElement newElement)
Lines 127-133 Link Here
127
122
128
  /**
123
  /**
129
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * <!-- begin-user-doc --> <!-- end-user-doc -->
130
   * 
131
   * @generated
125
   * @generated
132
   */
126
   */
133
  @Override
127
  @Override
Lines 146-152 Link Here
146
140
147
  /**
141
  /**
148
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * <!-- begin-user-doc --> <!-- end-user-doc -->
149
   * 
150
   * @generated
143
   * @generated
151
   */
144
   */
152
  @Override
145
  @Override
Lines 162-168 Link Here
162
155
163
  /**
156
  /**
164
   * <!-- begin-user-doc --> <!-- end-user-doc -->
157
   * <!-- begin-user-doc --> <!-- end-user-doc -->
165
   * 
166
   * @generated
158
   * @generated
167
   */
159
   */
168
  @Override
160
  @Override
Lines 178-184 Link Here
178
170
179
  /**
171
  /**
180
   * <!-- begin-user-doc --> <!-- end-user-doc -->
172
   * <!-- begin-user-doc --> <!-- end-user-doc -->
181
   * 
182
   * @generated
173
   * @generated
183
   */
174
   */
184
  @Override
175
  @Override
Lines 195-201 Link Here
195
186
196
  /**
187
  /**
197
   * <!-- begin-user-doc --> <!-- end-user-doc -->
188
   * <!-- begin-user-doc --> <!-- end-user-doc -->
198
   * 
199
   * @generated
189
   * @generated
200
   */
190
   */
201
  @Override
191
  @Override
Lines 212-218 Link Here
212
202
213
  /**
203
  /**
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
204
   * <!-- begin-user-doc --> <!-- end-user-doc -->
215
   * 
216
   * @generated
205
   * @generated
217
   */
206
   */
218
  @Override
207
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNUNonContainedImpl.java (-12 / +5 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained;
17
17
18
import org.eclipse.emf.common.util.EList;
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EClass;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl#getElements <em>Elements</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class GenRefMultiNUNonContainedImpl extends EObjectImpl implements GenRefMultiNUNonContained
38
public class GenRefMultiNUNonContainedImpl extends EObjectImpl implements GenRefMultiNUNonContained
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. <!-- begin-user-doc --> <!--
41
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list.
42
   * <!-- begin-user-doc --> <!--
42
   * end-user-doc -->
43
   * end-user-doc -->
43
   * 
44
   * @see #getElements()
44
   * @see #getElements()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected GenRefMultiNUNonContainedImpl()
54
  protected GenRefMultiNUNonContainedImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public EList<EObject> getElements()
73
  public EList<EObject> getElements()
Lines 84-90 Link Here
84
81
85
  /**
82
  /**
86
   * <!-- begin-user-doc --> <!-- end-user-doc -->
83
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * 
88
   * @generated
84
   * @generated
89
   */
85
   */
90
  @Override
86
  @Override
Lines 100-106 Link Here
100
96
101
  /**
97
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
98
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
99
   * @generated
105
   */
100
   */
106
  @SuppressWarnings("unchecked")
101
  @SuppressWarnings("unchecked")
Lines 119-125 Link Here
119
114
120
  /**
115
  /**
121
   * <!-- begin-user-doc --> <!-- end-user-doc -->
116
   * <!-- begin-user-doc --> <!-- end-user-doc -->
122
   * 
123
   * @generated
117
   * @generated
124
   */
118
   */
125
  @Override
119
  @Override
Lines 136-142 Link Here
136
130
137
  /**
131
  /**
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
132
   * <!-- begin-user-doc --> <!-- end-user-doc -->
139
   * 
140
   * @generated
133
   * @generated
141
   */
134
   */
142
  @Override
135
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedImpl.java (-18 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained;
17
import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl#getElement <em>Element</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl#getElement <em>Element</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class RefSingleNonContainedImpl extends EObjectImpl implements RefSingleNonContained
38
public class RefSingleNonContainedImpl extends EObjectImpl implements RefSingleNonContained
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference. <!-- begin-user-doc --> <!--
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
42
   * <!-- begin-user-doc --> <!--
42
   * end-user-doc -->
43
   * end-user-doc -->
43
   * 
44
   * @see #getElement()
44
   * @see #getElement()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected RefSingleNonContainedImpl()
54
  protected RefSingleNonContainedImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public SingleNonContainedElement getElement()
73
  public SingleNonContainedElement getElement()
Lines 91-97 Link Here
91
88
92
  /**
89
  /**
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
94
   * 
95
   * @generated
91
   * @generated
96
   */
92
   */
97
  public SingleNonContainedElement basicGetElement()
93
  public SingleNonContainedElement basicGetElement()
Lines 101-107 Link Here
101
97
102
  /**
98
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
100
   * @generated
106
   */
101
   */
107
  public NotificationChain basicSetElement(SingleNonContainedElement newElement, NotificationChain msgs)
102
  public NotificationChain basicSetElement(SingleNonContainedElement newElement, NotificationChain msgs)
Lines 122-128 Link Here
122
117
123
  /**
118
  /**
124
   * <!-- begin-user-doc --> <!-- end-user-doc -->
119
   * <!-- begin-user-doc --> <!-- end-user-doc -->
125
   * 
126
   * @generated
120
   * @generated
127
   */
121
   */
128
  public void setElement(SingleNonContainedElement newElement)
122
  public void setElement(SingleNonContainedElement newElement)
Lines 147-153 Link Here
147
141
148
  /**
142
  /**
149
   * <!-- begin-user-doc --> <!-- end-user-doc -->
143
   * <!-- begin-user-doc --> <!-- end-user-doc -->
150
   * 
151
   * @generated
144
   * @generated
152
   */
145
   */
153
  @Override
146
  @Override
Lines 166-172 Link Here
166
159
167
  /**
160
  /**
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * 
170
   * @generated
162
   * @generated
171
   */
163
   */
172
  @Override
164
  @Override
Lines 182-188 Link Here
182
174
183
  /**
175
  /**
184
   * <!-- begin-user-doc --> <!-- end-user-doc -->
176
   * <!-- begin-user-doc --> <!-- end-user-doc -->
185
   * 
186
   * @generated
177
   * @generated
187
   */
178
   */
188
  @Override
179
  @Override
Lines 200-206 Link Here
200
191
201
  /**
192
  /**
202
   * <!-- begin-user-doc --> <!-- end-user-doc -->
193
   * <!-- begin-user-doc --> <!-- end-user-doc -->
203
   * 
204
   * @generated
194
   * @generated
205
   */
195
   */
206
  @Override
196
  @Override
Lines 217-223 Link Here
217
207
218
  /**
208
  /**
219
   * <!-- begin-user-doc --> <!-- end-user-doc -->
209
   * <!-- begin-user-doc --> <!-- end-user-doc -->
220
   * 
221
   * @generated
210
   * @generated
222
   */
211
   */
223
  @Override
212
  @Override
Lines 234-240 Link Here
234
223
235
  /**
224
  /**
236
   * <!-- begin-user-doc --> <!-- end-user-doc -->
225
   * <!-- begin-user-doc --> <!-- end-user-doc -->
237
   * 
238
   * @generated
226
   * @generated
239
   */
227
   */
240
  @Override
228
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleNonContainedElementImpl.java (-22 / +7 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained;
17
import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 29-39 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl#getName <em>Name</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl#getName <em>Name</em>}</li>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl#getParent <em>Parent</em>}</li>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl#getParent <em>Parent</em>}</li>
34
 * </ul>
34
 * </ul>
35
 * </p>
35
 * </p>
36
 * 
36
 *
37
 * @generated
37
 * @generated
38
 */
38
 */
39
public class SingleNonContainedElementImpl extends EObjectImpl implements SingleNonContainedElement
39
public class SingleNonContainedElementImpl extends EObjectImpl implements SingleNonContainedElement
Lines 49-56 Link Here
49
  protected static final String NAME_EDEFAULT = null;
49
  protected static final String NAME_EDEFAULT = null;
50
50
51
  /**
51
  /**
52
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
53
   * 
53
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * @see #getName()
54
   * @see #getName()
55
   * @generated
55
   * @generated
56
   * @ordered
56
   * @ordered
Lines 69-75 Link Here
69
69
70
  /**
70
  /**
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * 
73
   * @generated
72
   * @generated
74
   */
73
   */
75
  protected SingleNonContainedElementImpl()
74
  protected SingleNonContainedElementImpl()
Lines 79-85 Link Here
79
78
80
  /**
79
  /**
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * 
83
   * @generated
81
   * @generated
84
   */
82
   */
85
  @Override
83
  @Override
Lines 90-96 Link Here
90
88
91
  /**
89
  /**
92
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * 
94
   * @generated
91
   * @generated
95
   */
92
   */
96
  public String getName()
93
  public String getName()
Lines 100-106 Link Here
100
97
101
  /**
98
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
100
   * @generated
105
   */
101
   */
106
  public void setName(String newName)
102
  public void setName(String newName)
Lines 114-120 Link Here
114
110
115
  /**
111
  /**
116
   * <!-- begin-user-doc --> <!-- end-user-doc -->
112
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * 
118
   * @generated
113
   * @generated
119
   */
114
   */
120
  public RefSingleNonContained getParent()
115
  public RefSingleNonContained getParent()
Lines 135-141 Link Here
135
130
136
  /**
131
  /**
137
   * <!-- begin-user-doc --> <!-- end-user-doc -->
132
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * 
139
   * @generated
133
   * @generated
140
   */
134
   */
141
  public RefSingleNonContained basicGetParent()
135
  public RefSingleNonContained basicGetParent()
Lines 145-151 Link Here
145
139
146
  /**
140
  /**
147
   * <!-- begin-user-doc --> <!-- end-user-doc -->
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
148
   * 
149
   * @generated
142
   * @generated
150
   */
143
   */
151
  public NotificationChain basicSetParent(RefSingleNonContained newParent, NotificationChain msgs)
144
  public NotificationChain basicSetParent(RefSingleNonContained newParent, NotificationChain msgs)
Lines 166-172 Link Here
166
159
167
  /**
160
  /**
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * 
170
   * @generated
162
   * @generated
171
   */
163
   */
172
  public void setParent(RefSingleNonContained newParent)
164
  public void setParent(RefSingleNonContained newParent)
Lines 191-197 Link Here
191
183
192
  /**
184
  /**
193
   * <!-- begin-user-doc --> <!-- end-user-doc -->
185
   * <!-- begin-user-doc --> <!-- end-user-doc -->
194
   * 
195
   * @generated
186
   * @generated
196
   */
187
   */
197
  @Override
188
  @Override
Lines 210-216 Link Here
210
201
211
  /**
202
  /**
212
   * <!-- begin-user-doc --> <!-- end-user-doc -->
203
   * <!-- begin-user-doc --> <!-- end-user-doc -->
213
   * 
214
   * @generated
204
   * @generated
215
   */
205
   */
216
  @Override
206
  @Override
Lines 226-232 Link Here
226
216
227
  /**
217
  /**
228
   * <!-- begin-user-doc --> <!-- end-user-doc -->
218
   * <!-- begin-user-doc --> <!-- end-user-doc -->
229
   * 
230
   * @generated
219
   * @generated
231
   */
220
   */
232
  @Override
221
  @Override
Lines 246-252 Link Here
246
235
247
  /**
236
  /**
248
   * <!-- begin-user-doc --> <!-- end-user-doc -->
237
   * <!-- begin-user-doc --> <!-- end-user-doc -->
249
   * 
250
   * @generated
238
   * @generated
251
   */
239
   */
252
  @Override
240
  @Override
Lines 266-272 Link Here
266
254
267
  /**
255
  /**
268
   * <!-- begin-user-doc --> <!-- end-user-doc -->
256
   * <!-- begin-user-doc --> <!-- end-user-doc -->
269
   * 
270
   * @generated
257
   * @generated
271
   */
258
   */
272
  @Override
259
  @Override
Lines 286-292 Link Here
286
273
287
  /**
274
  /**
288
   * <!-- begin-user-doc --> <!-- end-user-doc -->
275
   * <!-- begin-user-doc --> <!-- end-user-doc -->
289
   * 
290
   * @generated
276
   * @generated
291
   */
277
   */
292
  @Override
278
  @Override
Lines 304-310 Link Here
304
290
305
  /**
291
  /**
306
   * <!-- begin-user-doc --> <!-- end-user-doc -->
292
   * <!-- begin-user-doc --> <!-- end-user-doc -->
307
   * 
308
   * @generated
293
   * @generated
309
   */
294
   */
310
  @Override
295
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedImpl.java (-17 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.RefSingleContained;
17
import org.eclipse.emf.cdo.tests.model4.SingleContainedElement;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl#getElement <em>Element</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl#getElement <em>Element</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class RefSingleContainedImpl extends EObjectImpl implements RefSingleContained
38
public class RefSingleContainedImpl extends EObjectImpl implements RefSingleContained
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. <!-- begin-user-doc -->
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference.
42
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
43
   * 
44
   * @see #getElement()
44
   * @see #getElement()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected RefSingleContainedImpl()
54
  protected RefSingleContainedImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public SingleContainedElement getElement()
73
  public SingleContainedElement getElement()
Lines 80-86 Link Here
80
77
81
  /**
78
  /**
82
   * <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * <!-- begin-user-doc --> <!-- end-user-doc -->
83
   * 
84
   * @generated
80
   * @generated
85
   */
81
   */
86
  public NotificationChain basicSetElement(SingleContainedElement newElement, NotificationChain msgs)
82
  public NotificationChain basicSetElement(SingleContainedElement newElement, NotificationChain msgs)
Lines 101-107 Link Here
101
97
102
  /**
98
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
100
   * @generated
106
   */
101
   */
107
  public void setElement(SingleContainedElement newElement)
102
  public void setElement(SingleContainedElement newElement)
Lines 126-132 Link Here
126
121
127
  /**
122
  /**
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * 
130
   * @generated
124
   * @generated
131
   */
125
   */
132
  @Override
126
  @Override
Lines 145-151 Link Here
145
139
146
  /**
140
  /**
147
   * <!-- begin-user-doc --> <!-- end-user-doc -->
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
148
   * 
149
   * @generated
142
   * @generated
150
   */
143
   */
151
  @Override
144
  @Override
Lines 161-167 Link Here
161
154
162
  /**
155
  /**
163
   * <!-- begin-user-doc --> <!-- end-user-doc -->
156
   * <!-- begin-user-doc --> <!-- end-user-doc -->
164
   * 
165
   * @generated
157
   * @generated
166
   */
158
   */
167
  @Override
159
  @Override
Lines 177-183 Link Here
177
169
178
  /**
170
  /**
179
   * <!-- begin-user-doc --> <!-- end-user-doc -->
171
   * <!-- begin-user-doc --> <!-- end-user-doc -->
180
   * 
181
   * @generated
172
   * @generated
182
   */
173
   */
183
  @Override
174
  @Override
Lines 194-200 Link Here
194
185
195
  /**
186
  /**
196
   * <!-- begin-user-doc --> <!-- end-user-doc -->
187
   * <!-- begin-user-doc --> <!-- end-user-doc -->
197
   * 
198
   * @generated
188
   * @generated
199
   */
189
   */
200
  @Override
190
  @Override
Lines 211-217 Link Here
211
201
212
  /**
202
  /**
213
   * <!-- begin-user-doc --> <!-- end-user-doc -->
203
   * <!-- begin-user-doc --> <!-- end-user-doc -->
214
   * 
215
   * @generated
204
   * @generated
216
   */
205
   */
217
  @Override
206
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java (-15 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
17
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.EClass;
Lines 28-45 Link Here
28
 * <p>
28
 * <p>
29
 * The following features are implemented:
29
 * The following features are implemented:
30
 * <ul>
30
 * <ul>
31
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl#getElement <em>Element</em>}</li>
31
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl#getElement <em>Element</em>}</li>
32
 * </ul>
32
 * </ul>
33
 * </p>
33
 * </p>
34
 * 
34
 *
35
 * @generated
35
 * @generated
36
 */
36
 */
37
public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSingleNonContainedNPL
37
public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSingleNonContainedNPL
38
{
38
{
39
  /**
39
  /**
40
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference. <!-- begin-user-doc --> <!--
40
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
41
   * <!-- begin-user-doc --> <!--
41
   * end-user-doc -->
42
   * end-user-doc -->
42
   * 
43
   * @see #getElement()
43
   * @see #getElement()
44
   * @generated
44
   * @generated
45
   * @ordered
45
   * @ordered
Lines 48-54 Link Here
48
48
49
  /**
49
  /**
50
   * <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * 
52
   * @generated
51
   * @generated
53
   */
52
   */
54
  protected RefSingleNonContainedNPLImpl()
53
  protected RefSingleNonContainedNPLImpl()
Lines 58-64 Link Here
58
57
59
  /**
58
  /**
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * <!-- begin-user-doc --> <!-- end-user-doc -->
61
   * 
62
   * @generated
60
   * @generated
63
   */
61
   */
64
  @Override
62
  @Override
Lines 69-75 Link Here
69
67
70
  /**
68
  /**
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * 
73
   * @generated
70
   * @generated
74
   */
71
   */
75
  public ContainedElementNoOpposite getElement()
72
  public ContainedElementNoOpposite getElement()
Lines 90-96 Link Here
90
87
91
  /**
88
  /**
92
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * 
94
   * @generated
90
   * @generated
95
   */
91
   */
96
  public ContainedElementNoOpposite basicGetElement()
92
  public ContainedElementNoOpposite basicGetElement()
Lines 100-106 Link Here
100
96
101
  /**
97
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
98
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
99
   * @generated
105
   */
100
   */
106
  public void setElement(ContainedElementNoOpposite newElement)
101
  public void setElement(ContainedElementNoOpposite newElement)
Lines 114-120 Link Here
114
109
115
  /**
110
  /**
116
   * <!-- begin-user-doc --> <!-- end-user-doc -->
111
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * 
118
   * @generated
112
   * @generated
119
   */
113
   */
120
  @Override
114
  @Override
Lines 132-138 Link Here
132
126
133
  /**
127
  /**
134
   * <!-- begin-user-doc --> <!-- end-user-doc -->
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * 
136
   * @generated
129
   * @generated
137
   */
130
   */
138
  @Override
131
  @Override
Lines 149-155 Link Here
149
142
150
  /**
143
  /**
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
152
   * 
153
   * @generated
145
   * @generated
154
   */
146
   */
155
  @Override
147
  @Override
Lines 166-172 Link Here
166
158
167
  /**
159
  /**
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * 
170
   * @generated
161
   * @generated
171
   */
162
   */
172
  @Override
163
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainedElementImpl.java (-22 / +7 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement;
18
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer;
19
19
20
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.notify.NotificationChain;
Lines 31-41 Link Here
31
 * <p>
31
 * <p>
32
 * The following features are implemented:
32
 * The following features are implemented:
33
 * <ul>
33
 * <ul>
34
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl#getParent <em>Parent</em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl#getParent <em>Parent</em>}</li>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl#getName <em>Name</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl#getName <em>Name</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class ImplSingleRefContainedElementImpl extends EObjectImpl implements ImplSingleRefContainedElement
41
public class ImplSingleRefContainedElementImpl extends EObjectImpl implements ImplSingleRefContainedElement
Lines 51-58 Link Here
51
  protected static final String NAME_EDEFAULT = null;
51
  protected static final String NAME_EDEFAULT = null;
52
52
53
  /**
53
  /**
54
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
55
   * 
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * @see #getName()
56
   * @see #getName()
57
   * @generated
57
   * @generated
58
   * @ordered
58
   * @ordered
Lines 61-67 Link Here
61
61
62
  /**
62
  /**
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
64
   * 
65
   * @generated
64
   * @generated
66
   */
65
   */
67
  protected ImplSingleRefContainedElementImpl()
66
  protected ImplSingleRefContainedElementImpl()
Lines 71-77 Link Here
71
70
72
  /**
71
  /**
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * 
75
   * @generated
73
   * @generated
76
   */
74
   */
77
  @Override
75
  @Override
Lines 82-88 Link Here
82
80
83
  /**
81
  /**
84
   * <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * <!-- begin-user-doc --> <!-- end-user-doc -->
85
   * 
86
   * @generated
83
   * @generated
87
   */
84
   */
88
  public ISingleRefContainer getParent()
85
  public ISingleRefContainer getParent()
Lines 94-100 Link Here
94
91
95
  /**
92
  /**
96
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * 
98
   * @generated
94
   * @generated
99
   */
95
   */
100
  public NotificationChain basicSetParent(ISingleRefContainer newParent, NotificationChain msgs)
96
  public NotificationChain basicSetParent(ISingleRefContainer newParent, NotificationChain msgs)
Lines 105-111 Link Here
105
101
106
  /**
102
  /**
107
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
108
   * 
109
   * @generated
104
   * @generated
110
   */
105
   */
111
  public void setParent(ISingleRefContainer newParent)
106
  public void setParent(ISingleRefContainer newParent)
Lines 132-138 Link Here
132
127
133
  /**
128
  /**
134
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * 
136
   * @generated
130
   * @generated
137
   */
131
   */
138
  public String getName()
132
  public String getName()
Lines 142-148 Link Here
142
136
143
  /**
137
  /**
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * 
146
   * @generated
139
   * @generated
147
   */
140
   */
148
  public void setName(String newName)
141
  public void setName(String newName)
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
Lines 174-180 Link Here
174
166
175
  /**
167
  /**
176
   * <!-- begin-user-doc --> <!-- end-user-doc -->
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
177
   * 
178
   * @generated
169
   * @generated
179
   */
170
   */
180
  @Override
171
  @Override
Lines 190-196 Link Here
190
181
191
  /**
182
  /**
192
   * <!-- begin-user-doc --> <!-- end-user-doc -->
183
   * <!-- begin-user-doc --> <!-- end-user-doc -->
193
   * 
194
   * @generated
184
   * @generated
195
   */
185
   */
196
  @Override
186
  @Override
Lines 207-213 Link Here
207
197
208
  /**
198
  /**
209
   * <!-- begin-user-doc --> <!-- end-user-doc -->
199
   * <!-- begin-user-doc --> <!-- end-user-doc -->
210
   * 
211
   * @generated
200
   * @generated
212
   */
201
   */
213
  @Override
202
  @Override
Lines 225-231 Link Here
225
214
226
  /**
215
  /**
227
   * <!-- begin-user-doc --> <!-- end-user-doc -->
216
   * <!-- begin-user-doc --> <!-- end-user-doc -->
228
   * 
229
   * @generated
217
   * @generated
230
   */
218
   */
231
  @Override
219
  @Override
Lines 245-251 Link Here
245
233
246
  /**
234
  /**
247
   * <!-- begin-user-doc --> <!-- end-user-doc -->
235
   * <!-- begin-user-doc --> <!-- end-user-doc -->
248
   * 
249
   * @generated
236
   * @generated
250
   */
237
   */
251
  @Override
238
  @Override
Lines 265-271 Link Here
265
252
266
  /**
253
  /**
267
   * <!-- begin-user-doc --> <!-- end-user-doc -->
254
   * <!-- begin-user-doc --> <!-- end-user-doc -->
268
   * 
269
   * @generated
255
   * @generated
270
   */
256
   */
271
  @Override
257
  @Override
Lines 283-289 Link Here
283
269
284
  /**
270
  /**
285
   * <!-- begin-user-doc --> <!-- end-user-doc -->
271
   * <!-- begin-user-doc --> <!-- end-user-doc -->
286
   * 
287
   * @generated
272
   * @generated
288
   */
273
   */
289
  @Override
274
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMapNonContainedImpl.java (-11 / +3 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained;
17
17
18
import org.eclipse.emf.common.notify.NotificationChain;
18
import org.eclipse.emf.common.notify.NotificationChain;
19
import org.eclipse.emf.common.util.EMap;
19
import org.eclipse.emf.common.util.EMap;
Lines 31-40 Link Here
31
 * <p>
31
 * <p>
32
 * The following features are implemented:
32
 * The following features are implemented:
33
 * <ul>
33
 * <ul>
34
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl#getElements <em>Elements</em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl#getElements <em>Elements</em>}</li>
35
 * </ul>
35
 * </ul>
36
 * </p>
36
 * </p>
37
 * 
37
 *
38
 * @generated
38
 * @generated
39
 */
39
 */
40
public class GenRefMapNonContainedImpl extends EObjectImpl implements GenRefMapNonContained
40
public class GenRefMapNonContainedImpl extends EObjectImpl implements GenRefMapNonContained
Lines 51-57 Link Here
51
51
52
  /**
52
  /**
53
   * <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * 
55
   * @generated
54
   * @generated
56
   */
55
   */
57
  protected GenRefMapNonContainedImpl()
56
  protected GenRefMapNonContainedImpl()
Lines 61-67 Link Here
61
60
62
  /**
61
  /**
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
64
   * 
65
   * @generated
63
   * @generated
66
   */
64
   */
67
  @Override
65
  @Override
Lines 72-78 Link Here
72
70
73
  /**
71
  /**
74
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
75
   * 
76
   * @generated
73
   * @generated
77
   */
74
   */
78
  public EMap<String, EObject> getElements()
75
  public EMap<String, EObject> getElements()
Lines 87-93 Link Here
87
84
88
  /**
85
  /**
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
86
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * 
91
   * @generated
87
   * @generated
92
   */
88
   */
93
  @Override
89
  @Override
Lines 103-109 Link Here
103
99
104
  /**
100
  /**
105
   * <!-- begin-user-doc --> <!-- end-user-doc -->
101
   * <!-- begin-user-doc --> <!-- end-user-doc -->
106
   * 
107
   * @generated
102
   * @generated
108
   */
103
   */
109
  @Override
104
  @Override
Lines 122-128 Link Here
122
117
123
  /**
118
  /**
124
   * <!-- begin-user-doc --> <!-- end-user-doc -->
119
   * <!-- begin-user-doc --> <!-- end-user-doc -->
125
   * 
126
   * @generated
120
   * @generated
127
   */
121
   */
128
  @Override
122
  @Override
Lines 139-145 Link Here
139
133
140
  /**
134
  /**
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * 
143
   * @generated
136
   * @generated
144
   */
137
   */
145
  @Override
138
  @Override
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleNonContainedImpl.java (-14 / +5 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained;
17
17
18
import org.eclipse.emf.common.notify.Notification;
18
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EClass;
Lines 28-45 Link Here
28
 * <p>
28
 * <p>
29
 * The following features are implemented:
29
 * The following features are implemented:
30
 * <ul>
30
 * <ul>
31
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl#getElement <em>Element</em>}</li>
31
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl#getElement <em>Element</em>}</li>
32
 * </ul>
32
 * </ul>
33
 * </p>
33
 * </p>
34
 * 
34
 *
35
 * @generated
35
 * @generated
36
 */
36
 */
37
public class GenRefSingleNonContainedImpl extends EObjectImpl implements GenRefSingleNonContained
37
public class GenRefSingleNonContainedImpl extends EObjectImpl implements GenRefSingleNonContained
38
{
38
{
39
  /**
39
  /**
40
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference. <!-- begin-user-doc --> <!--
40
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
41
   * <!-- begin-user-doc --> <!--
41
   * end-user-doc -->
42
   * end-user-doc -->
42
   * 
43
   * @see #getElement()
43
   * @see #getElement()
44
   * @generated
44
   * @generated
45
   * @ordered
45
   * @ordered
Lines 48-54 Link Here
48
48
49
  /**
49
  /**
50
   * <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * 
52
   * @generated
51
   * @generated
53
   */
52
   */
54
  protected GenRefSingleNonContainedImpl()
53
  protected GenRefSingleNonContainedImpl()
Lines 58-64 Link Here
58
57
59
  /**
58
  /**
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * <!-- begin-user-doc --> <!-- end-user-doc -->
61
   * 
62
   * @generated
60
   * @generated
63
   */
61
   */
64
  @Override
62
  @Override
Lines 69-75 Link Here
69
67
70
  /**
68
  /**
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * 
73
   * @generated
70
   * @generated
74
   */
71
   */
75
  public EObject getElement()
72
  public EObject getElement()
Lines 90-96 Link Here
90
87
91
  /**
88
  /**
92
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * 
94
   * @generated
90
   * @generated
95
   */
91
   */
96
  public EObject basicGetElement()
92
  public EObject basicGetElement()
Lines 100-106 Link Here
100
96
101
  /**
97
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
98
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
99
   * @generated
105
   */
100
   */
106
  public void setElement(EObject newElement)
101
  public void setElement(EObject newElement)
Lines 114-120 Link Here
114
109
115
  /**
110
  /**
116
   * <!-- begin-user-doc --> <!-- end-user-doc -->
111
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * 
118
   * @generated
112
   * @generated
119
   */
113
   */
120
  @Override
114
  @Override
Lines 132-138 Link Here
132
126
133
  /**
127
  /**
134
   * <!-- begin-user-doc --> <!-- end-user-doc -->
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * 
136
   * @generated
129
   * @generated
137
   */
130
   */
138
  @Override
131
  @Override
Lines 149-155 Link Here
149
142
150
  /**
143
  /**
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
152
   * 
153
   * @generated
145
   * @generated
154
   */
146
   */
155
  @Override
147
  @Override
Lines 166-172 Link Here
166
158
167
  /**
159
  /**
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * 
170
   * @generated
161
   * @generated
171
   */
162
   */
172
  @Override
163
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleContainedImpl.java (-15 / +5 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained;
17
17
18
import org.eclipse.emf.common.notify.Notification;
18
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.NotificationChain;
19
import org.eclipse.emf.common.notify.NotificationChain;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl#getElement <em>Element</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl#getElement <em>Element</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class GenRefSingleContainedImpl extends EObjectImpl implements GenRefSingleContained
38
public class GenRefSingleContainedImpl extends EObjectImpl implements GenRefSingleContained
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. <!-- begin-user-doc -->
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference.
42
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
43
   * 
44
   * @see #getElement()
44
   * @see #getElement()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected GenRefSingleContainedImpl()
54
  protected GenRefSingleContainedImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public EObject getElement()
73
  public EObject getElement()
Lines 80-86 Link Here
80
77
81
  /**
78
  /**
82
   * <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * <!-- begin-user-doc --> <!-- end-user-doc -->
83
   * 
84
   * @generated
80
   * @generated
85
   */
81
   */
86
  public NotificationChain basicSetElement(EObject newElement, NotificationChain msgs)
82
  public NotificationChain basicSetElement(EObject newElement, NotificationChain msgs)
Lines 101-107 Link Here
101
97
102
  /**
98
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
100
   * @generated
106
   */
101
   */
107
  public void setElement(EObject newElement)
102
  public void setElement(EObject newElement)
Lines 126-132 Link Here
126
121
127
  /**
122
  /**
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * 
130
   * @generated
124
   * @generated
131
   */
125
   */
132
  @Override
126
  @Override
Lines 142-148 Link Here
142
136
143
  /**
137
  /**
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * 
146
   * @generated
139
   * @generated
147
   */
140
   */
148
  @Override
141
  @Override
Lines 158-164 Link Here
158
151
159
  /**
152
  /**
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * 
162
   * @generated
154
   * @generated
163
   */
155
   */
164
  @Override
156
  @Override
Lines 175-181 Link Here
175
167
176
  /**
168
  /**
177
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * <!-- begin-user-doc --> <!-- end-user-doc -->
178
   * 
179
   * @generated
170
   * @generated
180
   */
171
   */
181
  @Override
172
  @Override
Lines 192-198 Link Here
192
183
193
  /**
184
  /**
194
   * <!-- begin-user-doc --> <!-- end-user-doc -->
185
   * <!-- begin-user-doc --> <!-- end-user-doc -->
195
   * 
196
   * @generated
186
   * @generated
197
   */
187
   */
198
  @Override
188
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedImpl.java (-15 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement;
17
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained;
18
18
19
import org.eclipse.emf.common.notify.NotificationChain;
19
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.util.EList;
20
import org.eclipse.emf.common.util.EList;
Lines 32-49 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl#getElements <em>Elements</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl#getElements <em>Elements</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class RefMultiNonContainedImpl extends EObjectImpl implements RefMultiNonContained
41
public class RefMultiNonContainedImpl extends EObjectImpl implements RefMultiNonContained
42
{
42
{
43
  /**
43
  /**
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. <!-- begin-user-doc --> <!--
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list.
45
   * <!-- begin-user-doc --> <!--
45
   * end-user-doc -->
46
   * end-user-doc -->
46
   * 
47
   * @see #getElements()
47
   * @see #getElements()
48
   * @generated
48
   * @generated
49
   * @ordered
49
   * @ordered
Lines 52-58 Link Here
52
52
53
  /**
53
  /**
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @generated
55
   * @generated
57
   */
56
   */
58
  protected RefMultiNonContainedImpl()
57
  protected RefMultiNonContainedImpl()
Lines 62-68 Link Here
62
61
63
  /**
62
  /**
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * 
66
   * @generated
64
   * @generated
67
   */
65
   */
68
  @Override
66
  @Override
Lines 73-79 Link Here
73
71
74
  /**
72
  /**
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * 
77
   * @generated
74
   * @generated
78
   */
75
   */
79
  public EList<MultiNonContainedElement> getElements()
76
  public EList<MultiNonContainedElement> getElements()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  @SuppressWarnings("unchecked")
90
  @SuppressWarnings("unchecked")
Lines 105-111 Link Here
105
101
106
  /**
102
  /**
107
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
108
   * 
109
   * @generated
104
   * @generated
110
   */
105
   */
111
  @Override
106
  @Override
Lines 121-127 Link Here
121
116
122
  /**
117
  /**
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
118
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * 
125
   * @generated
119
   * @generated
126
   */
120
   */
127
  @Override
121
  @Override
Lines 137-143 Link Here
137
131
138
  /**
132
  /**
139
   * <!-- begin-user-doc --> <!-- end-user-doc -->
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
140
   * 
141
   * @generated
134
   * @generated
142
   */
135
   */
143
  @SuppressWarnings("unchecked")
136
  @SuppressWarnings("unchecked")
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
Lines 173-179 Link Here
173
165
174
  /**
166
  /**
175
   * <!-- begin-user-doc --> <!-- end-user-doc -->
167
   * <!-- begin-user-doc --> <!-- end-user-doc -->
176
   * 
177
   * @generated
168
   * @generated
178
   */
169
   */
179
  @Override
170
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerImpl.java (-15 / +6 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer;
18
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement;
19
19
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.util.EList;
21
import org.eclipse.emf.common.util.EList;
Lines 33-50 Link Here
33
 * <p>
33
 * <p>
34
 * The following features are implemented:
34
 * The following features are implemented:
35
 * <ul>
35
 * <ul>
36
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl#getElements <em>Elements</em>}</li>
36
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl#getElements <em>Elements</em>}</li>
37
 * </ul>
37
 * </ul>
38
 * </p>
38
 * </p>
39
 * 
39
 *
40
 * @generated
40
 * @generated
41
 */
41
 */
42
public class ImplMultiRefNonContainerImpl extends EObjectImpl implements ImplMultiRefNonContainer
42
public class ImplMultiRefNonContainerImpl extends EObjectImpl implements ImplMultiRefNonContainer
43
{
43
{
44
  /**
44
  /**
45
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. <!-- begin-user-doc --> <!--
45
   * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list.
46
   * <!-- begin-user-doc --> <!--
46
   * end-user-doc -->
47
   * end-user-doc -->
47
   * 
48
   * @see #getElements()
48
   * @see #getElements()
49
   * @generated
49
   * @generated
50
   * @ordered
50
   * @ordered
Lines 53-59 Link Here
53
53
54
  /**
54
  /**
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * 
57
   * @generated
56
   * @generated
58
   */
57
   */
59
  protected ImplMultiRefNonContainerImpl()
58
  protected ImplMultiRefNonContainerImpl()
Lines 63-69 Link Here
63
62
64
  /**
63
  /**
65
   * <!-- begin-user-doc --> <!-- end-user-doc -->
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * 
67
   * @generated
65
   * @generated
68
   */
66
   */
69
  @Override
67
  @Override
Lines 74-80 Link Here
74
72
75
  /**
73
  /**
76
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * <!-- begin-user-doc --> <!-- end-user-doc -->
77
   * 
78
   * @generated
75
   * @generated
79
   */
76
   */
80
  public EList<IMultiRefNonContainedElement> getElements()
77
  public EList<IMultiRefNonContainedElement> getElements()
Lines 90-96 Link Here
90
87
91
  /**
88
  /**
92
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * 
94
   * @generated
90
   * @generated
95
   */
91
   */
96
  @SuppressWarnings("unchecked")
92
  @SuppressWarnings("unchecked")
Lines 107-113 Link Here
107
103
108
  /**
104
  /**
109
   * <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * <!-- begin-user-doc --> <!-- end-user-doc -->
110
   * 
111
   * @generated
106
   * @generated
112
   */
107
   */
113
  @Override
108
  @Override
Lines 123-129 Link Here
123
118
124
  /**
119
  /**
125
   * <!-- begin-user-doc --> <!-- end-user-doc -->
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * 
127
   * @generated
121
   * @generated
128
   */
122
   */
129
  @Override
123
  @Override
Lines 139-145 Link Here
139
133
140
  /**
134
  /**
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * 
143
   * @generated
136
   * @generated
144
   */
137
   */
145
  @SuppressWarnings("unchecked")
138
  @SuppressWarnings("unchecked")
Lines 158-164 Link Here
158
151
159
  /**
152
  /**
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * 
162
   * @generated
154
   * @generated
163
   */
155
   */
164
  @Override
156
  @Override
Lines 175-181 Link Here
175
167
176
  /**
168
  /**
177
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * <!-- begin-user-doc --> <!-- end-user-doc -->
178
   * 
179
   * @generated
170
   * @generated
180
   */
171
   */
181
  @Override
172
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleContainedElementImpl.java (-22 / +7 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.RefSingleContained;
17
import org.eclipse.emf.cdo.tests.model4.SingleContainedElement;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 30-40 Link Here
30
 * <p>
30
 * <p>
31
 * The following features are implemented:
31
 * The following features are implemented:
32
 * <ul>
32
 * <ul>
33
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl#getName <em>Name</em>}</li>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl#getName <em>Name</em>}</li>
34
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl#getParent <em>Parent</em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl#getParent <em>Parent</em>}</li>
35
 * </ul>
35
 * </ul>
36
 * </p>
36
 * </p>
37
 * 
37
 *
38
 * @generated
38
 * @generated
39
 */
39
 */
40
public class SingleContainedElementImpl extends EObjectImpl implements SingleContainedElement
40
public class SingleContainedElementImpl extends EObjectImpl implements SingleContainedElement
Lines 50-57 Link Here
50
  protected static final String NAME_EDEFAULT = null;
50
  protected static final String NAME_EDEFAULT = null;
51
51
52
  /**
52
  /**
53
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
54
   * 
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * @see #getName()
55
   * @see #getName()
56
   * @generated
56
   * @generated
57
   * @ordered
57
   * @ordered
Lines 60-66 Link Here
60
60
61
  /**
61
  /**
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * 
64
   * @generated
63
   * @generated
65
   */
64
   */
66
  protected SingleContainedElementImpl()
65
  protected SingleContainedElementImpl()
Lines 70-76 Link Here
70
69
71
  /**
70
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
72
   * @generated
75
   */
73
   */
76
  @Override
74
  @Override
Lines 81-87 Link Here
81
79
82
  /**
80
  /**
83
   * <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * 
85
   * @generated
82
   * @generated
86
   */
83
   */
87
  public String getName()
84
  public String getName()
Lines 91-97 Link Here
91
88
92
  /**
89
  /**
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
94
   * 
95
   * @generated
91
   * @generated
96
   */
92
   */
97
  public void setName(String newName)
93
  public void setName(String newName)
Lines 104-110 Link Here
104
100
105
  /**
101
  /**
106
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
107
   * 
108
   * @generated
103
   * @generated
109
   */
104
   */
110
  public RefSingleContained getParent()
105
  public RefSingleContained getParent()
Lines 116-122 Link Here
116
111
117
  /**
112
  /**
118
   * <!-- begin-user-doc --> <!-- end-user-doc -->
113
   * <!-- begin-user-doc --> <!-- end-user-doc -->
119
   * 
120
   * @generated
114
   * @generated
121
   */
115
   */
122
  public NotificationChain basicSetParent(RefSingleContained newParent, NotificationChain msgs)
116
  public NotificationChain basicSetParent(RefSingleContained newParent, NotificationChain msgs)
Lines 127-133 Link Here
127
121
128
  /**
122
  /**
129
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
130
   * 
131
   * @generated
124
   * @generated
132
   */
125
   */
133
  public void setParent(RefSingleContained newParent)
126
  public void setParent(RefSingleContained newParent)
Lines 154-160 Link Here
154
147
155
  /**
148
  /**
156
   * <!-- begin-user-doc --> <!-- end-user-doc -->
149
   * <!-- begin-user-doc --> <!-- end-user-doc -->
157
   * 
158
   * @generated
150
   * @generated
159
   */
151
   */
160
  @Override
152
  @Override
Lines 172-178 Link Here
172
164
173
  /**
165
  /**
174
   * <!-- begin-user-doc --> <!-- end-user-doc -->
166
   * <!-- begin-user-doc --> <!-- end-user-doc -->
175
   * 
176
   * @generated
167
   * @generated
177
   */
168
   */
178
  @Override
169
  @Override
Lines 188-194 Link Here
188
179
189
  /**
180
  /**
190
   * <!-- begin-user-doc --> <!-- end-user-doc -->
181
   * <!-- begin-user-doc --> <!-- end-user-doc -->
191
   * 
192
   * @generated
182
   * @generated
193
   */
183
   */
194
  @Override
184
  @Override
Lines 205-211 Link Here
205
195
206
  /**
196
  /**
207
   * <!-- begin-user-doc --> <!-- end-user-doc -->
197
   * <!-- begin-user-doc --> <!-- end-user-doc -->
208
   * 
209
   * @generated
198
   * @generated
210
   */
199
   */
211
  @Override
200
  @Override
Lines 223-229 Link Here
223
212
224
  /**
213
  /**
225
   * <!-- begin-user-doc --> <!-- end-user-doc -->
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
226
   * 
227
   * @generated
215
   * @generated
228
   */
216
   */
229
  @Override
217
  @Override
Lines 243-249 Link Here
243
231
244
  /**
232
  /**
245
   * <!-- begin-user-doc --> <!-- end-user-doc -->
233
   * <!-- begin-user-doc --> <!-- end-user-doc -->
246
   * 
247
   * @generated
234
   * @generated
248
   */
235
   */
249
  @Override
236
  @Override
Lines 263-269 Link Here
263
250
264
  /**
251
  /**
265
   * <!-- begin-user-doc --> <!-- end-user-doc -->
252
   * <!-- begin-user-doc --> <!-- end-user-doc -->
266
   * 
267
   * @generated
253
   * @generated
268
   */
254
   */
269
  @Override
255
  @Override
Lines 281-287 Link Here
281
267
282
  /**
268
  /**
283
   * <!-- begin-user-doc --> <!-- end-user-doc -->
269
   * <!-- begin-user-doc --> <!-- end-user-doc -->
284
   * 
285
   * @generated
270
   * @generated
286
   */
271
   */
287
  @Override
272
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerNPLImpl.java (-14 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL;
17
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
18
18
19
import org.eclipse.emf.common.notify.NotificationChain;
19
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.util.EList;
20
import org.eclipse.emf.common.util.EList;
Lines 32-49 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl#getElements <em>Elements</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl#getElements <em>Elements</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class ImplMultiRefContainerNPLImpl extends EObjectImpl implements ImplMultiRefContainerNPL
41
public class ImplMultiRefContainerNPLImpl extends EObjectImpl implements ImplMultiRefContainerNPL
42
{
42
{
43
  /**
43
  /**
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. <!-- begin-user-doc
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
45
   * <!-- begin-user-doc
45
   * --> <!-- end-user-doc -->
46
   * --> <!-- end-user-doc -->
46
   * 
47
   * @see #getElements()
47
   * @see #getElements()
48
   * @generated
48
   * @generated
49
   * @ordered
49
   * @ordered
Lines 52-58 Link Here
52
52
53
  /**
53
  /**
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @generated
55
   * @generated
57
   */
56
   */
58
  protected ImplMultiRefContainerNPLImpl()
57
  protected ImplMultiRefContainerNPLImpl()
Lines 62-68 Link Here
62
61
63
  /**
62
  /**
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * 
66
   * @generated
64
   * @generated
67
   */
65
   */
68
  @Override
66
  @Override
Lines 73-79 Link Here
73
71
74
  /**
72
  /**
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * 
77
   * @generated
74
   * @generated
78
   */
75
   */
79
  public EList<IContainedElementNoParentLink> getElements()
76
  public EList<IContainedElementNoParentLink> getElements()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  @Override
90
  @Override
Lines 104-110 Link Here
104
100
105
  /**
101
  /**
106
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
107
   * 
108
   * @generated
103
   * @generated
109
   */
104
   */
110
  @Override
105
  @Override
Lines 120-126 Link Here
120
115
121
  /**
116
  /**
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * 
124
   * @generated
118
   * @generated
125
   */
119
   */
126
  @SuppressWarnings("unchecked")
120
  @SuppressWarnings("unchecked")
Lines 139-145 Link Here
139
133
140
  /**
134
  /**
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * 
143
   * @generated
136
   * @generated
144
   */
137
   */
145
  @Override
138
  @Override
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiContainedImpl.java (-13 / +5 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
17
17
18
import org.eclipse.emf.common.notify.NotificationChain;
18
import org.eclipse.emf.common.notify.NotificationChain;
19
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.common.util.EList;
Lines 32-49 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl#getElements <em>Elements</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl#getElements <em>Elements</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class GenRefMultiContainedImpl extends EObjectImpl implements GenRefMultiContained
41
public class GenRefMultiContainedImpl extends EObjectImpl implements GenRefMultiContained
42
{
42
{
43
  /**
43
  /**
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. <!-- begin-user-doc
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
45
   * <!-- begin-user-doc
45
   * --> <!-- end-user-doc -->
46
   * --> <!-- end-user-doc -->
46
   * 
47
   * @see #getElements()
47
   * @see #getElements()
48
   * @generated
48
   * @generated
49
   * @ordered
49
   * @ordered
Lines 52-58 Link Here
52
52
53
  /**
53
  /**
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @generated
55
   * @generated
57
   */
56
   */
58
  protected GenRefMultiContainedImpl()
57
  protected GenRefMultiContainedImpl()
Lines 62-68 Link Here
62
61
63
  /**
62
  /**
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * 
66
   * @generated
64
   * @generated
67
   */
65
   */
68
  @Override
66
  @Override
Lines 73-79 Link Here
73
71
74
  /**
72
  /**
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * 
77
   * @generated
74
   * @generated
78
   */
75
   */
79
  public EList<EObject> getElements()
76
  public EList<EObject> getElements()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  @Override
90
  @Override
Lines 104-110 Link Here
104
100
105
  /**
101
  /**
106
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
107
   * 
108
   * @generated
103
   * @generated
109
   */
104
   */
110
  @Override
105
  @Override
Lines 120-126 Link Here
120
115
121
  /**
116
  /**
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * 
124
   * @generated
118
   * @generated
125
   */
119
   */
126
  @SuppressWarnings("unchecked")
120
  @SuppressWarnings("unchecked")
Lines 139-145 Link Here
139
133
140
  /**
134
  /**
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * 
143
   * @generated
136
   * @generated
144
   */
137
   */
145
  @Override
138
  @Override
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4PackageImpl.java (-142 / +42 lines)
Lines 12-52 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained;
18
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained;
19
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained;
20
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained;
21
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained;
22
import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL;
23
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement;
24
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer;
25
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer;
28
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL;
29
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement;
30
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer;
31
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL;
32
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement;
33
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer;
34
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL;
35
import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement;
36
import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement;
37
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained;
38
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL;
39
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained;
40
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL;
41
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained;
42
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL;
43
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained;
44
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL;
45
import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement;
46
import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement;
47
import org.eclipse.emf.cdo.tests.legacy.model4.model4Factory;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Factory;
48
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
49
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
18
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
19
import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained;
20
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
21
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained;
22
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
23
import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained;
24
import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained;
25
import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL;
26
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement;
27
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer;
28
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL;
29
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement;
30
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer;
31
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL;
32
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement;
33
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer;
34
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL;
35
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement;
36
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer;
37
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL;
38
import org.eclipse.emf.cdo.tests.model4.MultiContainedElement;
39
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement;
40
import org.eclipse.emf.cdo.tests.model4.RefMultiContained;
41
import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL;
42
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained;
43
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL;
44
import org.eclipse.emf.cdo.tests.model4.RefSingleContained;
45
import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL;
46
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained;
47
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL;
48
import org.eclipse.emf.cdo.tests.model4.SingleContainedElement;
49
import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement;
50
50
51
import org.eclipse.emf.ecore.EAttribute;
51
import org.eclipse.emf.ecore.EAttribute;
52
import org.eclipse.emf.ecore.EClass;
52
import org.eclipse.emf.ecore.EClass;
Lines 58-295 Link Here
58
58
59
/**
59
/**
60
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
60
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
61
 * 
62
 * @generated
61
 * @generated
63
 */
62
 */
64
public class model4PackageImpl extends EPackageImpl implements model4Package
63
public class model4PackageImpl extends EPackageImpl implements model4Package
65
{
64
{
66
  /**
65
  /**
67
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * <!-- begin-user-doc --> <!-- end-user-doc -->
68
   * 
69
   * @generated
67
   * @generated
70
   */
68
   */
71
  private EClass refSingleContainedEClass = null;
69
  private EClass refSingleContainedEClass = null;
72
70
73
  /**
71
  /**
74
   * <!-- begin-user-doc --> <!-- end-user-doc -->
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
75
   * 
76
   * @generated
73
   * @generated
77
   */
74
   */
78
  private EClass singleContainedElementEClass = null;
75
  private EClass singleContainedElementEClass = null;
79
76
80
  /**
77
  /**
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
78
   * <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * 
83
   * @generated
79
   * @generated
84
   */
80
   */
85
  private EClass refSingleNonContainedEClass = null;
81
  private EClass refSingleNonContainedEClass = null;
86
82
87
  /**
83
  /**
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * 
90
   * @generated
85
   * @generated
91
   */
86
   */
92
  private EClass singleNonContainedElementEClass = null;
87
  private EClass singleNonContainedElementEClass = null;
93
88
94
  /**
89
  /**
95
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
96
   * 
97
   * @generated
91
   * @generated
98
   */
92
   */
99
  private EClass refMultiContainedEClass = null;
93
  private EClass refMultiContainedEClass = null;
100
94
101
  /**
95
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
96
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
97
   * @generated
105
   */
98
   */
106
  private EClass multiContainedElementEClass = null;
99
  private EClass multiContainedElementEClass = null;
107
100
108
  /**
101
  /**
109
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
110
   * 
111
   * @generated
103
   * @generated
112
   */
104
   */
113
  private EClass refMultiNonContainedEClass = null;
105
  private EClass refMultiNonContainedEClass = null;
114
106
115
  /**
107
  /**
116
   * <!-- begin-user-doc --> <!-- end-user-doc -->
108
   * <!-- begin-user-doc --> <!-- end-user-doc -->
117
   * 
118
   * @generated
109
   * @generated
119
   */
110
   */
120
  private EClass multiNonContainedElementEClass = null;
111
  private EClass multiNonContainedElementEClass = null;
121
112
122
  /**
113
  /**
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
114
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * 
125
   * @generated
115
   * @generated
126
   */
116
   */
127
  private EClass refSingleContainedNPLEClass = null;
117
  private EClass refSingleContainedNPLEClass = null;
128
118
129
  /**
119
  /**
130
   * <!-- begin-user-doc --> <!-- end-user-doc -->
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
131
   * 
132
   * @generated
121
   * @generated
133
   */
122
   */
134
  private EClass refSingleNonContainedNPLEClass = null;
123
  private EClass refSingleNonContainedNPLEClass = null;
135
124
136
  /**
125
  /**
137
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * 
139
   * @generated
127
   * @generated
140
   */
128
   */
141
  private EClass refMultiContainedNPLEClass = null;
129
  private EClass refMultiContainedNPLEClass = null;
142
130
143
  /**
131
  /**
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
132
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * 
146
   * @generated
133
   * @generated
147
   */
134
   */
148
  private EClass refMultiNonContainedNPLEClass = null;
135
  private EClass refMultiNonContainedNPLEClass = null;
149
136
150
  /**
137
  /**
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
152
   * 
153
   * @generated
139
   * @generated
154
   */
140
   */
155
  private EClass containedElementNoOppositeEClass = null;
141
  private EClass containedElementNoOppositeEClass = null;
156
142
157
  /**
143
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
145
   * @generated
161
   */
146
   */
162
  private EClass genRefSingleContainedEClass = null;
147
  private EClass genRefSingleContainedEClass = null;
163
148
164
  /**
149
  /**
165
   * <!-- begin-user-doc --> <!-- end-user-doc -->
150
   * <!-- begin-user-doc --> <!-- end-user-doc -->
166
   * 
167
   * @generated
151
   * @generated
168
   */
152
   */
169
  private EClass genRefSingleNonContainedEClass = null;
153
  private EClass genRefSingleNonContainedEClass = null;
170
154
171
  /**
155
  /**
172
   * <!-- begin-user-doc --> <!-- end-user-doc -->
156
   * <!-- begin-user-doc --> <!-- end-user-doc -->
173
   * 
174
   * @generated
157
   * @generated
175
   */
158
   */
176
  private EClass genRefMultiContainedEClass = null;
159
  private EClass genRefMultiContainedEClass = null;
177
160
178
  /**
161
  /**
179
   * <!-- begin-user-doc --> <!-- end-user-doc -->
162
   * <!-- begin-user-doc --> <!-- end-user-doc -->
180
   * 
181
   * @generated
163
   * @generated
182
   */
164
   */
183
  private EClass genRefMultiNonContainedEClass = null;
165
  private EClass genRefMultiNonContainedEClass = null;
184
166
185
  /**
167
  /**
186
   * <!-- begin-user-doc --> <!-- end-user-doc -->
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
187
   * 
188
   * @generated
169
   * @generated
189
   */
170
   */
190
  private EClass implSingleRefContainerEClass = null;
171
  private EClass implSingleRefContainerEClass = null;
191
172
192
  /**
173
  /**
193
   * <!-- begin-user-doc --> <!-- end-user-doc -->
174
   * <!-- begin-user-doc --> <!-- end-user-doc -->
194
   * 
195
   * @generated
175
   * @generated
196
   */
176
   */
197
  private EClass implSingleRefContainedElementEClass = null;
177
  private EClass implSingleRefContainedElementEClass = null;
198
178
199
  /**
179
  /**
200
   * <!-- begin-user-doc --> <!-- end-user-doc -->
180
   * <!-- begin-user-doc --> <!-- end-user-doc -->
201
   * 
202
   * @generated
181
   * @generated
203
   */
182
   */
204
  private EClass implSingleRefNonContainerEClass = null;
183
  private EClass implSingleRefNonContainerEClass = null;
205
184
206
  /**
185
  /**
207
   * <!-- begin-user-doc --> <!-- end-user-doc -->
186
   * <!-- begin-user-doc --> <!-- end-user-doc -->
208
   * 
209
   * @generated
187
   * @generated
210
   */
188
   */
211
  private EClass implSingleRefNonContainedElementEClass = null;
189
  private EClass implSingleRefNonContainedElementEClass = null;
212
190
213
  /**
191
  /**
214
   * <!-- begin-user-doc --> <!-- end-user-doc -->
192
   * <!-- begin-user-doc --> <!-- end-user-doc -->
215
   * 
216
   * @generated
193
   * @generated
217
   */
194
   */
218
  private EClass implMultiRefNonContainerEClass = null;
195
  private EClass implMultiRefNonContainerEClass = null;
219
196
220
  /**
197
  /**
221
   * <!-- begin-user-doc --> <!-- end-user-doc -->
198
   * <!-- begin-user-doc --> <!-- end-user-doc -->
222
   * 
223
   * @generated
199
   * @generated
224
   */
200
   */
225
  private EClass implMultiRefNonContainedElementEClass = null;
201
  private EClass implMultiRefNonContainedElementEClass = null;
226
202
227
  /**
203
  /**
228
   * <!-- begin-user-doc --> <!-- end-user-doc -->
204
   * <!-- begin-user-doc --> <!-- end-user-doc -->
229
   * 
230
   * @generated
205
   * @generated
231
   */
206
   */
232
  private EClass implMultiRefContainerEClass = null;
207
  private EClass implMultiRefContainerEClass = null;
233
208
234
  /**
209
  /**
235
   * <!-- begin-user-doc --> <!-- end-user-doc -->
210
   * <!-- begin-user-doc --> <!-- end-user-doc -->
236
   * 
237
   * @generated
211
   * @generated
238
   */
212
   */
239
  private EClass implMultiRefContainedElementEClass = null;
213
  private EClass implMultiRefContainedElementEClass = null;
240
214
241
  /**
215
  /**
242
   * <!-- begin-user-doc --> <!-- end-user-doc -->
216
   * <!-- begin-user-doc --> <!-- end-user-doc -->
243
   * 
244
   * @generated
217
   * @generated
245
   */
218
   */
246
  private EClass implSingleRefContainerNPLEClass = null;
219
  private EClass implSingleRefContainerNPLEClass = null;
247
220
248
  /**
221
  /**
249
   * <!-- begin-user-doc --> <!-- end-user-doc -->
222
   * <!-- begin-user-doc --> <!-- end-user-doc -->
250
   * 
251
   * @generated
223
   * @generated
252
   */
224
   */
253
  private EClass implSingleRefNonContainerNPLEClass = null;
225
  private EClass implSingleRefNonContainerNPLEClass = null;
254
226
255
  /**
227
  /**
256
   * <!-- begin-user-doc --> <!-- end-user-doc -->
228
   * <!-- begin-user-doc --> <!-- end-user-doc -->
257
   * 
258
   * @generated
229
   * @generated
259
   */
230
   */
260
  private EClass implMultiRefContainerNPLEClass = null;
231
  private EClass implMultiRefContainerNPLEClass = null;
261
232
262
  /**
233
  /**
263
   * <!-- begin-user-doc --> <!-- end-user-doc -->
234
   * <!-- begin-user-doc --> <!-- end-user-doc -->
264
   * 
265
   * @generated
235
   * @generated
266
   */
236
   */
267
  private EClass implMultiRefNonContainerNPLEClass = null;
237
  private EClass implMultiRefNonContainerNPLEClass = null;
268
238
269
  /**
239
  /**
270
   * <!-- begin-user-doc --> <!-- end-user-doc -->
240
   * <!-- begin-user-doc --> <!-- end-user-doc -->
271
   * 
272
   * @generated
241
   * @generated
273
   */
242
   */
274
  private EClass implContainedElementNPLEClass = null;
243
  private EClass implContainedElementNPLEClass = null;
275
244
276
  /**
245
  /**
277
   * <!-- begin-user-doc --> <!-- end-user-doc -->
246
   * <!-- begin-user-doc --> <!-- end-user-doc -->
278
   * 
279
   * @generated
247
   * @generated
280
   */
248
   */
281
  private EClass genRefMultiNUNonContainedEClass = null;
249
  private EClass genRefMultiNUNonContainedEClass = null;
282
250
283
  /**
251
  /**
284
   * <!-- begin-user-doc --> <!-- end-user-doc -->
252
   * <!-- begin-user-doc --> <!-- end-user-doc -->
285
   * 
286
   * @generated
253
   * @generated
287
   */
254
   */
288
  private EClass genRefMapNonContainedEClass = null;
255
  private EClass genRefMapNonContainedEClass = null;
289
256
290
  /**
257
  /**
291
   * <!-- begin-user-doc --> <!-- end-user-doc -->
258
   * <!-- begin-user-doc --> <!-- end-user-doc -->
292
   * 
293
   * @generated
259
   * @generated
294
   */
260
   */
295
  private EClass stringToEObjectEClass = null;
261
  private EClass stringToEObjectEClass = null;
Lines 314-331 Link Here
314
280
315
  /**
281
  /**
316
   * <!-- begin-user-doc --> <!-- end-user-doc -->
282
   * <!-- begin-user-doc --> <!-- end-user-doc -->
317
   * 
318
   * @generated
283
   * @generated
319
   */
284
   */
320
  private static boolean isInited = false;
285
  private static boolean isInited = false;
321
286
322
  /**
287
  /**
323
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
288
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
324
   * <p>
325
   * This method is used to initialize {@link model4Package#eINSTANCE} when that field is accessed. Clients should not
326
   * invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc -->
327
   * <!-- end-user-doc -->
328
   * 
289
   * 
290
   * <p>This method is used to initialize {@link model4Package#eINSTANCE} when that field is accessed.
291
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
292
   * <!-- begin-user-doc -->
293
   * <!-- end-user-doc -->
329
   * @see #eNS_URI
294
   * @see #eNS_URI
330
   * @see #createPackageContents()
295
   * @see #createPackageContents()
331
   * @see #initializePackageContents()
296
   * @see #initializePackageContents()
Lines 362-368 Link Here
362
327
363
  /**
328
  /**
364
   * <!-- begin-user-doc --> <!-- end-user-doc -->
329
   * <!-- begin-user-doc --> <!-- end-user-doc -->
365
   * 
366
   * @generated
330
   * @generated
367
   */
331
   */
368
  public EClass getRefSingleContained()
332
  public EClass getRefSingleContained()
Lines 372-378 Link Here
372
336
373
  /**
337
  /**
374
   * <!-- begin-user-doc --> <!-- end-user-doc -->
338
   * <!-- begin-user-doc --> <!-- end-user-doc -->
375
   * 
376
   * @generated
339
   * @generated
377
   */
340
   */
378
  public EReference getRefSingleContained_Element()
341
  public EReference getRefSingleContained_Element()
Lines 382-388 Link Here
382
345
383
  /**
346
  /**
384
   * <!-- begin-user-doc --> <!-- end-user-doc -->
347
   * <!-- begin-user-doc --> <!-- end-user-doc -->
385
   * 
386
   * @generated
348
   * @generated
387
   */
349
   */
388
  public EClass getSingleContainedElement()
350
  public EClass getSingleContainedElement()
Lines 392-398 Link Here
392
354
393
  /**
355
  /**
394
   * <!-- begin-user-doc --> <!-- end-user-doc -->
356
   * <!-- begin-user-doc --> <!-- end-user-doc -->
395
   * 
396
   * @generated
357
   * @generated
397
   */
358
   */
398
  public EAttribute getSingleContainedElement_Name()
359
  public EAttribute getSingleContainedElement_Name()
Lines 402-408 Link Here
402
363
403
  /**
364
  /**
404
   * <!-- begin-user-doc --> <!-- end-user-doc -->
365
   * <!-- begin-user-doc --> <!-- end-user-doc -->
405
   * 
406
   * @generated
366
   * @generated
407
   */
367
   */
408
  public EReference getSingleContainedElement_Parent()
368
  public EReference getSingleContainedElement_Parent()
Lines 412-418 Link Here
412
372
413
  /**
373
  /**
414
   * <!-- begin-user-doc --> <!-- end-user-doc -->
374
   * <!-- begin-user-doc --> <!-- end-user-doc -->
415
   * 
416
   * @generated
375
   * @generated
417
   */
376
   */
418
  public EClass getRefSingleNonContained()
377
  public EClass getRefSingleNonContained()
Lines 422-428 Link Here
422
381
423
  /**
382
  /**
424
   * <!-- begin-user-doc --> <!-- end-user-doc -->
383
   * <!-- begin-user-doc --> <!-- end-user-doc -->
425
   * 
426
   * @generated
384
   * @generated
427
   */
385
   */
428
  public EReference getRefSingleNonContained_Element()
386
  public EReference getRefSingleNonContained_Element()
Lines 432-438 Link Here
432
390
433
  /**
391
  /**
434
   * <!-- begin-user-doc --> <!-- end-user-doc -->
392
   * <!-- begin-user-doc --> <!-- end-user-doc -->
435
   * 
436
   * @generated
393
   * @generated
437
   */
394
   */
438
  public EClass getSingleNonContainedElement()
395
  public EClass getSingleNonContainedElement()
Lines 442-448 Link Here
442
399
443
  /**
400
  /**
444
   * <!-- begin-user-doc --> <!-- end-user-doc -->
401
   * <!-- begin-user-doc --> <!-- end-user-doc -->
445
   * 
446
   * @generated
402
   * @generated
447
   */
403
   */
448
  public EAttribute getSingleNonContainedElement_Name()
404
  public EAttribute getSingleNonContainedElement_Name()
Lines 452-458 Link Here
452
408
453
  /**
409
  /**
454
   * <!-- begin-user-doc --> <!-- end-user-doc -->
410
   * <!-- begin-user-doc --> <!-- end-user-doc -->
455
   * 
456
   * @generated
411
   * @generated
457
   */
412
   */
458
  public EReference getSingleNonContainedElement_Parent()
413
  public EReference getSingleNonContainedElement_Parent()
Lines 462-468 Link Here
462
417
463
  /**
418
  /**
464
   * <!-- begin-user-doc --> <!-- end-user-doc -->
419
   * <!-- begin-user-doc --> <!-- end-user-doc -->
465
   * 
466
   * @generated
420
   * @generated
467
   */
421
   */
468
  public EClass getRefMultiContained()
422
  public EClass getRefMultiContained()
Lines 472-478 Link Here
472
426
473
  /**
427
  /**
474
   * <!-- begin-user-doc --> <!-- end-user-doc -->
428
   * <!-- begin-user-doc --> <!-- end-user-doc -->
475
   * 
476
   * @generated
429
   * @generated
477
   */
430
   */
478
  public EReference getRefMultiContained_Elements()
431
  public EReference getRefMultiContained_Elements()
Lines 482-488 Link Here
482
435
483
  /**
436
  /**
484
   * <!-- begin-user-doc --> <!-- end-user-doc -->
437
   * <!-- begin-user-doc --> <!-- end-user-doc -->
485
   * 
486
   * @generated
438
   * @generated
487
   */
439
   */
488
  public EClass getMultiContainedElement()
440
  public EClass getMultiContainedElement()
Lines 492-498 Link Here
492
444
493
  /**
445
  /**
494
   * <!-- begin-user-doc --> <!-- end-user-doc -->
446
   * <!-- begin-user-doc --> <!-- end-user-doc -->
495
   * 
496
   * @generated
447
   * @generated
497
   */
448
   */
498
  public EAttribute getMultiContainedElement_Name()
449
  public EAttribute getMultiContainedElement_Name()
Lines 502-508 Link Here
502
453
503
  /**
454
  /**
504
   * <!-- begin-user-doc --> <!-- end-user-doc -->
455
   * <!-- begin-user-doc --> <!-- end-user-doc -->
505
   * 
506
   * @generated
456
   * @generated
507
   */
457
   */
508
  public EReference getMultiContainedElement_Parent()
458
  public EReference getMultiContainedElement_Parent()
Lines 512-518 Link Here
512
462
513
  /**
463
  /**
514
   * <!-- begin-user-doc --> <!-- end-user-doc -->
464
   * <!-- begin-user-doc --> <!-- end-user-doc -->
515
   * 
516
   * @generated
465
   * @generated
517
   */
466
   */
518
  public EClass getRefMultiNonContained()
467
  public EClass getRefMultiNonContained()
Lines 522-528 Link Here
522
471
523
  /**
472
  /**
524
   * <!-- begin-user-doc --> <!-- end-user-doc -->
473
   * <!-- begin-user-doc --> <!-- end-user-doc -->
525
   * 
526
   * @generated
474
   * @generated
527
   */
475
   */
528
  public EReference getRefMultiNonContained_Elements()
476
  public EReference getRefMultiNonContained_Elements()
Lines 532-538 Link Here
532
480
533
  /**
481
  /**
534
   * <!-- begin-user-doc --> <!-- end-user-doc -->
482
   * <!-- begin-user-doc --> <!-- end-user-doc -->
535
   * 
536
   * @generated
483
   * @generated
537
   */
484
   */
538
  public EClass getMultiNonContainedElement()
485
  public EClass getMultiNonContainedElement()
Lines 542-548 Link Here
542
489
543
  /**
490
  /**
544
   * <!-- begin-user-doc --> <!-- end-user-doc -->
491
   * <!-- begin-user-doc --> <!-- end-user-doc -->
545
   * 
546
   * @generated
492
   * @generated
547
   */
493
   */
548
  public EAttribute getMultiNonContainedElement_Name()
494
  public EAttribute getMultiNonContainedElement_Name()
Lines 552-558 Link Here
552
498
553
  /**
499
  /**
554
   * <!-- begin-user-doc --> <!-- end-user-doc -->
500
   * <!-- begin-user-doc --> <!-- end-user-doc -->
555
   * 
556
   * @generated
501
   * @generated
557
   */
502
   */
558
  public EReference getMultiNonContainedElement_Parent()
503
  public EReference getMultiNonContainedElement_Parent()
Lines 562-568 Link Here
562
507
563
  /**
508
  /**
564
   * <!-- begin-user-doc --> <!-- end-user-doc -->
509
   * <!-- begin-user-doc --> <!-- end-user-doc -->
565
   * 
566
   * @generated
510
   * @generated
567
   */
511
   */
568
  public EClass getRefSingleContainedNPL()
512
  public EClass getRefSingleContainedNPL()
Lines 572-578 Link Here
572
516
573
  /**
517
  /**
574
   * <!-- begin-user-doc --> <!-- end-user-doc -->
518
   * <!-- begin-user-doc --> <!-- end-user-doc -->
575
   * 
576
   * @generated
519
   * @generated
577
   */
520
   */
578
  public EReference getRefSingleContainedNPL_Element()
521
  public EReference getRefSingleContainedNPL_Element()
Lines 582-588 Link Here
582
525
583
  /**
526
  /**
584
   * <!-- begin-user-doc --> <!-- end-user-doc -->
527
   * <!-- begin-user-doc --> <!-- end-user-doc -->
585
   * 
586
   * @generated
528
   * @generated
587
   */
529
   */
588
  public EClass getRefSingleNonContainedNPL()
530
  public EClass getRefSingleNonContainedNPL()
Lines 592-598 Link Here
592
534
593
  /**
535
  /**
594
   * <!-- begin-user-doc --> <!-- end-user-doc -->
536
   * <!-- begin-user-doc --> <!-- end-user-doc -->
595
   * 
596
   * @generated
537
   * @generated
597
   */
538
   */
598
  public EReference getRefSingleNonContainedNPL_Element()
539
  public EReference getRefSingleNonContainedNPL_Element()
Lines 602-608 Link Here
602
543
603
  /**
544
  /**
604
   * <!-- begin-user-doc --> <!-- end-user-doc -->
545
   * <!-- begin-user-doc --> <!-- end-user-doc -->
605
   * 
606
   * @generated
546
   * @generated
607
   */
547
   */
608
  public EClass getRefMultiContainedNPL()
548
  public EClass getRefMultiContainedNPL()
Lines 612-618 Link Here
612
552
613
  /**
553
  /**
614
   * <!-- begin-user-doc --> <!-- end-user-doc -->
554
   * <!-- begin-user-doc --> <!-- end-user-doc -->
615
   * 
616
   * @generated
555
   * @generated
617
   */
556
   */
618
  public EReference getRefMultiContainedNPL_Elements()
557
  public EReference getRefMultiContainedNPL_Elements()
Lines 622-628 Link Here
622
561
623
  /**
562
  /**
624
   * <!-- begin-user-doc --> <!-- end-user-doc -->
563
   * <!-- begin-user-doc --> <!-- end-user-doc -->
625
   * 
626
   * @generated
564
   * @generated
627
   */
565
   */
628
  public EClass getRefMultiNonContainedNPL()
566
  public EClass getRefMultiNonContainedNPL()
Lines 632-638 Link Here
632
570
633
  /**
571
  /**
634
   * <!-- begin-user-doc --> <!-- end-user-doc -->
572
   * <!-- begin-user-doc --> <!-- end-user-doc -->
635
   * 
636
   * @generated
573
   * @generated
637
   */
574
   */
638
  public EReference getRefMultiNonContainedNPL_Elements()
575
  public EReference getRefMultiNonContainedNPL_Elements()
Lines 642-648 Link Here
642
579
643
  /**
580
  /**
644
   * <!-- begin-user-doc --> <!-- end-user-doc -->
581
   * <!-- begin-user-doc --> <!-- end-user-doc -->
645
   * 
646
   * @generated
582
   * @generated
647
   */
583
   */
648
  public EClass getContainedElementNoOpposite()
584
  public EClass getContainedElementNoOpposite()
Lines 652-658 Link Here
652
588
653
  /**
589
  /**
654
   * <!-- begin-user-doc --> <!-- end-user-doc -->
590
   * <!-- begin-user-doc --> <!-- end-user-doc -->
655
   * 
656
   * @generated
591
   * @generated
657
   */
592
   */
658
  public EAttribute getContainedElementNoOpposite_Name()
593
  public EAttribute getContainedElementNoOpposite_Name()
Lines 662-668 Link Here
662
597
663
  /**
598
  /**
664
   * <!-- begin-user-doc --> <!-- end-user-doc -->
599
   * <!-- begin-user-doc --> <!-- end-user-doc -->
665
   * 
666
   * @generated
600
   * @generated
667
   */
601
   */
668
  public EClass getGenRefSingleContained()
602
  public EClass getGenRefSingleContained()
Lines 672-678 Link Here
672
606
673
  /**
607
  /**
674
   * <!-- begin-user-doc --> <!-- end-user-doc -->
608
   * <!-- begin-user-doc --> <!-- end-user-doc -->
675
   * 
676
   * @generated
609
   * @generated
677
   */
610
   */
678
  public EReference getGenRefSingleContained_Element()
611
  public EReference getGenRefSingleContained_Element()
Lines 682-688 Link Here
682
615
683
  /**
616
  /**
684
   * <!-- begin-user-doc --> <!-- end-user-doc -->
617
   * <!-- begin-user-doc --> <!-- end-user-doc -->
685
   * 
686
   * @generated
618
   * @generated
687
   */
619
   */
688
  public EClass getGenRefSingleNonContained()
620
  public EClass getGenRefSingleNonContained()
Lines 692-698 Link Here
692
624
693
  /**
625
  /**
694
   * <!-- begin-user-doc --> <!-- end-user-doc -->
626
   * <!-- begin-user-doc --> <!-- end-user-doc -->
695
   * 
696
   * @generated
627
   * @generated
697
   */
628
   */
698
  public EReference getGenRefSingleNonContained_Element()
629
  public EReference getGenRefSingleNonContained_Element()
Lines 702-708 Link Here
702
633
703
  /**
634
  /**
704
   * <!-- begin-user-doc --> <!-- end-user-doc -->
635
   * <!-- begin-user-doc --> <!-- end-user-doc -->
705
   * 
706
   * @generated
636
   * @generated
707
   */
637
   */
708
  public EClass getGenRefMultiContained()
638
  public EClass getGenRefMultiContained()
Lines 712-718 Link Here
712
642
713
  /**
643
  /**
714
   * <!-- begin-user-doc --> <!-- end-user-doc -->
644
   * <!-- begin-user-doc --> <!-- end-user-doc -->
715
   * 
716
   * @generated
645
   * @generated
717
   */
646
   */
718
  public EReference getGenRefMultiContained_Elements()
647
  public EReference getGenRefMultiContained_Elements()
Lines 722-728 Link Here
722
651
723
  /**
652
  /**
724
   * <!-- begin-user-doc --> <!-- end-user-doc -->
653
   * <!-- begin-user-doc --> <!-- end-user-doc -->
725
   * 
726
   * @generated
654
   * @generated
727
   */
655
   */
728
  public EClass getGenRefMultiNonContained()
656
  public EClass getGenRefMultiNonContained()
Lines 732-738 Link Here
732
660
733
  /**
661
  /**
734
   * <!-- begin-user-doc --> <!-- end-user-doc -->
662
   * <!-- begin-user-doc --> <!-- end-user-doc -->
735
   * 
736
   * @generated
663
   * @generated
737
   */
664
   */
738
  public EReference getGenRefMultiNonContained_Elements()
665
  public EReference getGenRefMultiNonContained_Elements()
Lines 742-748 Link Here
742
669
743
  /**
670
  /**
744
   * <!-- begin-user-doc --> <!-- end-user-doc -->
671
   * <!-- begin-user-doc --> <!-- end-user-doc -->
745
   * 
746
   * @generated
672
   * @generated
747
   */
673
   */
748
  public EClass getImplSingleRefContainer()
674
  public EClass getImplSingleRefContainer()
Lines 752-758 Link Here
752
678
753
  /**
679
  /**
754
   * <!-- begin-user-doc --> <!-- end-user-doc -->
680
   * <!-- begin-user-doc --> <!-- end-user-doc -->
755
   * 
756
   * @generated
681
   * @generated
757
   */
682
   */
758
  public EClass getImplSingleRefContainedElement()
683
  public EClass getImplSingleRefContainedElement()
Lines 762-768 Link Here
762
687
763
  /**
688
  /**
764
   * <!-- begin-user-doc --> <!-- end-user-doc -->
689
   * <!-- begin-user-doc --> <!-- end-user-doc -->
765
   * 
766
   * @generated
690
   * @generated
767
   */
691
   */
768
  public EAttribute getImplSingleRefContainedElement_Name()
692
  public EAttribute getImplSingleRefContainedElement_Name()
Lines 772-778 Link Here
772
696
773
  /**
697
  /**
774
   * <!-- begin-user-doc --> <!-- end-user-doc -->
698
   * <!-- begin-user-doc --> <!-- end-user-doc -->
775
   * 
776
   * @generated
699
   * @generated
777
   */
700
   */
778
  public EClass getImplSingleRefNonContainer()
701
  public EClass getImplSingleRefNonContainer()
Lines 782-788 Link Here
782
705
783
  /**
706
  /**
784
   * <!-- begin-user-doc --> <!-- end-user-doc -->
707
   * <!-- begin-user-doc --> <!-- end-user-doc -->
785
   * 
786
   * @generated
708
   * @generated
787
   */
709
   */
788
  public EClass getImplSingleRefNonContainedElement()
710
  public EClass getImplSingleRefNonContainedElement()
Lines 792-798 Link Here
792
714
793
  /**
715
  /**
794
   * <!-- begin-user-doc --> <!-- end-user-doc -->
716
   * <!-- begin-user-doc --> <!-- end-user-doc -->
795
   * 
796
   * @generated
717
   * @generated
797
   */
718
   */
798
  public EAttribute getImplSingleRefNonContainedElement_Name()
719
  public EAttribute getImplSingleRefNonContainedElement_Name()
Lines 802-808 Link Here
802
723
803
  /**
724
  /**
804
   * <!-- begin-user-doc --> <!-- end-user-doc -->
725
   * <!-- begin-user-doc --> <!-- end-user-doc -->
805
   * 
806
   * @generated
726
   * @generated
807
   */
727
   */
808
  public EClass getImplMultiRefNonContainer()
728
  public EClass getImplMultiRefNonContainer()
Lines 812-818 Link Here
812
732
813
  /**
733
  /**
814
   * <!-- begin-user-doc --> <!-- end-user-doc -->
734
   * <!-- begin-user-doc --> <!-- end-user-doc -->
815
   * 
816
   * @generated
735
   * @generated
817
   */
736
   */
818
  public EClass getImplMultiRefNonContainedElement()
737
  public EClass getImplMultiRefNonContainedElement()
Lines 822-828 Link Here
822
741
823
  /**
742
  /**
824
   * <!-- begin-user-doc --> <!-- end-user-doc -->
743
   * <!-- begin-user-doc --> <!-- end-user-doc -->
825
   * 
826
   * @generated
744
   * @generated
827
   */
745
   */
828
  public EAttribute getImplMultiRefNonContainedElement_Name()
746
  public EAttribute getImplMultiRefNonContainedElement_Name()
Lines 832-838 Link Here
832
750
833
  /**
751
  /**
834
   * <!-- begin-user-doc --> <!-- end-user-doc -->
752
   * <!-- begin-user-doc --> <!-- end-user-doc -->
835
   * 
836
   * @generated
753
   * @generated
837
   */
754
   */
838
  public EClass getImplMultiRefContainer()
755
  public EClass getImplMultiRefContainer()
Lines 842-848 Link Here
842
759
843
  /**
760
  /**
844
   * <!-- begin-user-doc --> <!-- end-user-doc -->
761
   * <!-- begin-user-doc --> <!-- end-user-doc -->
845
   * 
846
   * @generated
762
   * @generated
847
   */
763
   */
848
  public EClass getImplMultiRefContainedElement()
764
  public EClass getImplMultiRefContainedElement()
Lines 852-858 Link Here
852
768
853
  /**
769
  /**
854
   * <!-- begin-user-doc --> <!-- end-user-doc -->
770
   * <!-- begin-user-doc --> <!-- end-user-doc -->
855
   * 
856
   * @generated
771
   * @generated
857
   */
772
   */
858
  public EAttribute getImplMultiRefContainedElement_Name()
773
  public EAttribute getImplMultiRefContainedElement_Name()
Lines 862-868 Link Here
862
777
863
  /**
778
  /**
864
   * <!-- begin-user-doc --> <!-- end-user-doc -->
779
   * <!-- begin-user-doc --> <!-- end-user-doc -->
865
   * 
866
   * @generated
780
   * @generated
867
   */
781
   */
868
  public EClass getImplSingleRefContainerNPL()
782
  public EClass getImplSingleRefContainerNPL()
Lines 872-878 Link Here
872
786
873
  /**
787
  /**
874
   * <!-- begin-user-doc --> <!-- end-user-doc -->
788
   * <!-- begin-user-doc --> <!-- end-user-doc -->
875
   * 
876
   * @generated
789
   * @generated
877
   */
790
   */
878
  public EClass getImplSingleRefNonContainerNPL()
791
  public EClass getImplSingleRefNonContainerNPL()
Lines 882-888 Link Here
882
795
883
  /**
796
  /**
884
   * <!-- begin-user-doc --> <!-- end-user-doc -->
797
   * <!-- begin-user-doc --> <!-- end-user-doc -->
885
   * 
886
   * @generated
798
   * @generated
887
   */
799
   */
888
  public EClass getImplMultiRefContainerNPL()
800
  public EClass getImplMultiRefContainerNPL()
Lines 892-898 Link Here
892
804
893
  /**
805
  /**
894
   * <!-- begin-user-doc --> <!-- end-user-doc -->
806
   * <!-- begin-user-doc --> <!-- end-user-doc -->
895
   * 
896
   * @generated
807
   * @generated
897
   */
808
   */
898
  public EClass getImplMultiRefNonContainerNPL()
809
  public EClass getImplMultiRefNonContainerNPL()
Lines 902-908 Link Here
902
813
903
  /**
814
  /**
904
   * <!-- begin-user-doc --> <!-- end-user-doc -->
815
   * <!-- begin-user-doc --> <!-- end-user-doc -->
905
   * 
906
   * @generated
816
   * @generated
907
   */
817
   */
908
  public EClass getImplContainedElementNPL()
818
  public EClass getImplContainedElementNPL()
Lines 912-918 Link Here
912
822
913
  /**
823
  /**
914
   * <!-- begin-user-doc --> <!-- end-user-doc -->
824
   * <!-- begin-user-doc --> <!-- end-user-doc -->
915
   * 
916
   * @generated
825
   * @generated
917
   */
826
   */
918
  public EClass getGenRefMultiNUNonContained()
827
  public EClass getGenRefMultiNUNonContained()
Lines 922-928 Link Here
922
831
923
  /**
832
  /**
924
   * <!-- begin-user-doc --> <!-- end-user-doc -->
833
   * <!-- begin-user-doc --> <!-- end-user-doc -->
925
   * 
926
   * @generated
834
   * @generated
927
   */
835
   */
928
  public EReference getGenRefMultiNUNonContained_Elements()
836
  public EReference getGenRefMultiNUNonContained_Elements()
Lines 932-938 Link Here
932
840
933
  /**
841
  /**
934
   * <!-- begin-user-doc --> <!-- end-user-doc -->
842
   * <!-- begin-user-doc --> <!-- end-user-doc -->
935
   * 
936
   * @generated
843
   * @generated
937
   */
844
   */
938
  public EClass getGenRefMapNonContained()
845
  public EClass getGenRefMapNonContained()
Lines 942-948 Link Here
942
849
943
  /**
850
  /**
944
   * <!-- begin-user-doc --> <!-- end-user-doc -->
851
   * <!-- begin-user-doc --> <!-- end-user-doc -->
945
   * 
946
   * @generated
852
   * @generated
947
   */
853
   */
948
  public EReference getGenRefMapNonContained_Elements()
854
  public EReference getGenRefMapNonContained_Elements()
Lines 952-958 Link Here
952
858
953
  /**
859
  /**
954
   * <!-- begin-user-doc --> <!-- end-user-doc -->
860
   * <!-- begin-user-doc --> <!-- end-user-doc -->
955
   * 
956
   * @generated
861
   * @generated
957
   */
862
   */
958
  public EClass getStringToEObject()
863
  public EClass getStringToEObject()
Lines 962-968 Link Here
962
867
963
  /**
868
  /**
964
   * <!-- begin-user-doc --> <!-- end-user-doc -->
869
   * <!-- begin-user-doc --> <!-- end-user-doc -->
965
   * 
966
   * @generated
870
   * @generated
967
   */
871
   */
968
  public EAttribute getStringToEObject_Key()
872
  public EAttribute getStringToEObject_Key()
Lines 972-978 Link Here
972
876
973
  /**
877
  /**
974
   * <!-- begin-user-doc --> <!-- end-user-doc -->
878
   * <!-- begin-user-doc --> <!-- end-user-doc -->
975
   * 
976
   * @generated
879
   * @generated
977
   */
880
   */
978
  public EReference getStringToEObject_Value()
881
  public EReference getStringToEObject_Value()
Lines 982-988 Link Here
982
885
983
  /**
886
  /**
984
   * <!-- begin-user-doc --> <!-- end-user-doc -->
887
   * <!-- begin-user-doc --> <!-- end-user-doc -->
985
   * 
986
   * @generated
888
   * @generated
987
   */
889
   */
988
  public model4Factory getmodel4Factory()
890
  public model4Factory getmodel4Factory()
Lines 992-1006 Link Here
992
894
993
  /**
895
  /**
994
   * <!-- begin-user-doc --> <!-- end-user-doc -->
896
   * <!-- begin-user-doc --> <!-- end-user-doc -->
995
   * 
996
   * @generated
897
   * @generated
997
   */
898
   */
998
  private boolean isCreated = false;
899
  private boolean isCreated = false;
999
900
1000
  /**
901
  /**
1001
   * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
902
   * Creates the meta-model objects for the package.  This method is
1002
   * first. <!-- begin-user-doc --> <!-- end-user-doc -->
903
   * guarded to have no affect on any invocation but its first.
1003
   * 
904
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1004
   * @generated
905
   * @generated
1005
   */
906
   */
1006
  public void createPackageContents()
907
  public void createPackageContents()
Lines 1108-1122 Link Here
1108
1009
1109
  /**
1010
  /**
1110
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1011
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1111
   * 
1112
   * @generated
1012
   * @generated
1113
   */
1013
   */
1114
  private boolean isInitialized = false;
1014
  private boolean isInitialized = false;
1115
1015
1116
  /**
1016
  /**
1117
   * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
1017
   * Complete the initialization of the package and its meta-model.  This
1118
   * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
1018
   * method is guarded to have no affect on any invocation but its first.
1119
   * 
1019
   * <!-- begin-user-doc --> <!-- end-user-doc -->
1120
   * @generated
1020
   * @generated
1121
   */
1021
   */
1122
  public void initializePackageContents()
1022
  public void initializePackageContents()
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedNPLImpl.java (-16 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
17
import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
Lines 29-46 Link Here
29
 * <p>
29
 * <p>
30
 * The following features are implemented:
30
 * The following features are implemented:
31
 * <ul>
31
 * <ul>
32
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl#getElement <em>Element</em>}</li>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl#getElement <em>Element</em>}</li>
33
 * </ul>
33
 * </ul>
34
 * </p>
34
 * </p>
35
 * 
35
 *
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public class RefSingleContainedNPLImpl extends EObjectImpl implements RefSingleContainedNPL
38
public class RefSingleContainedNPLImpl extends EObjectImpl implements RefSingleContainedNPL
39
{
39
{
40
  /**
40
  /**
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. <!-- begin-user-doc -->
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference.
42
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
43
   * 
44
   * @see #getElement()
44
   * @see #getElement()
45
   * @generated
45
   * @generated
46
   * @ordered
46
   * @ordered
Lines 49-55 Link Here
49
49
50
  /**
50
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
52
   * @generated
54
   */
53
   */
55
  protected RefSingleContainedNPLImpl()
54
  protected RefSingleContainedNPLImpl()
Lines 59-65 Link Here
59
58
60
  /**
59
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
61
   * @generated
64
   */
62
   */
65
  @Override
63
  @Override
Lines 70-76 Link Here
70
68
71
  /**
69
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
71
   * @generated
75
   */
72
   */
76
  public ContainedElementNoOpposite getElement()
73
  public ContainedElementNoOpposite getElement()
Lines 80-86 Link Here
80
77
81
  /**
78
  /**
82
   * <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * <!-- begin-user-doc --> <!-- end-user-doc -->
83
   * 
84
   * @generated
80
   * @generated
85
   */
81
   */
86
  public NotificationChain basicSetElement(ContainedElementNoOpposite newElement, NotificationChain msgs)
82
  public NotificationChain basicSetElement(ContainedElementNoOpposite newElement, NotificationChain msgs)
Lines 101-107 Link Here
101
97
102
  /**
98
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
100
   * @generated
106
   */
101
   */
107
  public void setElement(ContainedElementNoOpposite newElement)
102
  public void setElement(ContainedElementNoOpposite newElement)
Lines 126-132 Link Here
126
121
127
  /**
122
  /**
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * 
130
   * @generated
124
   * @generated
131
   */
125
   */
132
  @Override
126
  @Override
Lines 142-148 Link Here
142
136
143
  /**
137
  /**
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
138
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * 
146
   * @generated
139
   * @generated
147
   */
140
   */
148
  @Override
141
  @Override
Lines 158-164 Link Here
158
151
159
  /**
152
  /**
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * 
162
   * @generated
154
   * @generated
163
   */
155
   */
164
  @Override
156
  @Override
Lines 175-181 Link Here
175
167
176
  /**
168
  /**
177
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * <!-- begin-user-doc --> <!-- end-user-doc -->
178
   * 
179
   * @generated
170
   * @generated
180
   */
171
   */
181
  @Override
172
  @Override
Lines 192-198 Link Here
192
183
193
  /**
184
  /**
194
   * <!-- begin-user-doc --> <!-- end-user-doc -->
185
   * <!-- begin-user-doc --> <!-- end-user-doc -->
195
   * 
196
   * @generated
186
   * @generated
197
   */
187
   */
198
  @Override
188
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerNPLImpl.java (-16 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL;
17
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
18
18
19
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.EClass;
Lines 28-46 Link Here
28
 * <p>
28
 * <p>
29
 * The following features are implemented:
29
 * The following features are implemented:
30
 * <ul>
30
 * <ul>
31
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl#getElement <em>Element</em>}
31
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl#getElement <em>Element</em>}</li>
32
 * </li>
33
 * </ul>
32
 * </ul>
34
 * </p>
33
 * </p>
35
 * 
34
 *
36
 * @generated
35
 * @generated
37
 */
36
 */
38
public class ImplSingleRefNonContainerNPLImpl extends EObjectImpl implements ImplSingleRefNonContainerNPL
37
public class ImplSingleRefNonContainerNPLImpl extends EObjectImpl implements ImplSingleRefNonContainerNPL
39
{
38
{
40
  /**
39
  /**
41
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference. <!-- begin-user-doc --> <!--
40
   * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
41
   * <!-- begin-user-doc --> <!--
42
   * end-user-doc -->
42
   * end-user-doc -->
43
   * 
44
   * @see #getElement()
43
   * @see #getElement()
45
   * @generated
44
   * @generated
46
   * @ordered
45
   * @ordered
Lines 49-55 Link Here
49
48
50
  /**
49
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
51
   * @generated
54
   */
52
   */
55
  protected ImplSingleRefNonContainerNPLImpl()
53
  protected ImplSingleRefNonContainerNPLImpl()
Lines 59-65 Link Here
59
57
60
  /**
58
  /**
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * 
63
   * @generated
60
   * @generated
64
   */
61
   */
65
  @Override
62
  @Override
Lines 70-76 Link Here
70
67
71
  /**
68
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
70
   * @generated
75
   */
71
   */
76
  public IContainedElementNoParentLink getElement()
72
  public IContainedElementNoParentLink getElement()
Lines 91-97 Link Here
91
87
92
  /**
88
  /**
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
94
   * 
95
   * @generated
90
   * @generated
96
   */
91
   */
97
  public IContainedElementNoParentLink basicGetElement()
92
  public IContainedElementNoParentLink basicGetElement()
Lines 101-107 Link Here
101
96
102
  /**
97
  /**
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
98
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * 
105
   * @generated
99
   * @generated
106
   */
100
   */
107
  public void setElement(IContainedElementNoParentLink newElement)
101
  public void setElement(IContainedElementNoParentLink newElement)
Lines 115-121 Link Here
115
109
116
  /**
110
  /**
117
   * <!-- begin-user-doc --> <!-- end-user-doc -->
111
   * <!-- begin-user-doc --> <!-- end-user-doc -->
118
   * 
119
   * @generated
112
   * @generated
120
   */
113
   */
121
  @Override
114
  @Override
Lines 133-139 Link Here
133
126
134
  /**
127
  /**
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
136
   * 
137
   * @generated
129
   * @generated
138
   */
130
   */
139
  @Override
131
  @Override
Lines 150-156 Link Here
150
142
151
  /**
143
  /**
152
   * <!-- begin-user-doc --> <!-- end-user-doc -->
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * 
154
   * @generated
145
   * @generated
155
   */
146
   */
156
  @Override
147
  @Override
Lines 167-173 Link Here
167
158
168
  /**
159
  /**
169
   * <!-- begin-user-doc --> <!-- end-user-doc -->
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
170
   * 
171
   * @generated
161
   * @generated
172
   */
162
   */
173
  @Override
163
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedImpl.java (-15 / +6 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement;
16
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.MultiContainedElement;
17
import org.eclipse.emf.cdo.tests.model4.RefMultiContained;
18
18
19
import org.eclipse.emf.common.notify.NotificationChain;
19
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.util.EList;
20
import org.eclipse.emf.common.util.EList;
Lines 32-49 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl#getElements <em>Elements</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl#getElements <em>Elements</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class RefMultiContainedImpl extends EObjectImpl implements RefMultiContained
41
public class RefMultiContainedImpl extends EObjectImpl implements RefMultiContained
42
{
42
{
43
  /**
43
  /**
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. <!-- begin-user-doc
44
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
45
   * <!-- begin-user-doc
45
   * --> <!-- end-user-doc -->
46
   * --> <!-- end-user-doc -->
46
   * 
47
   * @see #getElements()
47
   * @see #getElements()
48
   * @generated
48
   * @generated
49
   * @ordered
49
   * @ordered
Lines 52-58 Link Here
52
52
53
  /**
53
  /**
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @generated
55
   * @generated
57
   */
56
   */
58
  protected RefMultiContainedImpl()
57
  protected RefMultiContainedImpl()
Lines 62-68 Link Here
62
61
63
  /**
62
  /**
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * 
66
   * @generated
64
   * @generated
67
   */
65
   */
68
  @Override
66
  @Override
Lines 73-79 Link Here
73
71
74
  /**
72
  /**
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * 
77
   * @generated
74
   * @generated
78
   */
75
   */
79
  public EList<MultiContainedElement> getElements()
76
  public EList<MultiContainedElement> getElements()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  @SuppressWarnings("unchecked")
90
  @SuppressWarnings("unchecked")
Lines 105-111 Link Here
105
101
106
  /**
102
  /**
107
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
108
   * 
109
   * @generated
104
   * @generated
110
   */
105
   */
111
  @Override
106
  @Override
Lines 121-127 Link Here
121
116
122
  /**
117
  /**
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
118
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * 
125
   * @generated
119
   * @generated
126
   */
120
   */
127
  @Override
121
  @Override
Lines 137-143 Link Here
137
131
138
  /**
132
  /**
139
   * <!-- begin-user-doc --> <!-- end-user-doc -->
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
140
   * 
141
   * @generated
134
   * @generated
142
   */
135
   */
143
  @SuppressWarnings("unchecked")
136
  @SuppressWarnings("unchecked")
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
Lines 173-179 Link Here
173
165
174
  /**
166
  /**
175
   * <!-- begin-user-doc --> <!-- end-user-doc -->
167
   * <!-- begin-user-doc --> <!-- end-user-doc -->
176
   * 
177
   * @generated
168
   * @generated
178
   */
169
   */
179
  @Override
170
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerImpl.java (-15 / +6 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
17
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer;
18
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement;
19
19
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.util.EList;
21
import org.eclipse.emf.common.util.EList;
Lines 33-50 Link Here
33
 * <p>
33
 * <p>
34
 * The following features are implemented:
34
 * The following features are implemented:
35
 * <ul>
35
 * <ul>
36
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl#getElements <em>Elements</em>}</li>
36
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl#getElements <em>Elements</em>}</li>
37
 * </ul>
37
 * </ul>
38
 * </p>
38
 * </p>
39
 * 
39
 *
40
 * @generated
40
 * @generated
41
 */
41
 */
42
public class ImplMultiRefContainerImpl extends EObjectImpl implements ImplMultiRefContainer
42
public class ImplMultiRefContainerImpl extends EObjectImpl implements ImplMultiRefContainer
43
{
43
{
44
  /**
44
  /**
45
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. <!-- begin-user-doc
45
   * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
46
   * <!-- begin-user-doc
46
   * --> <!-- end-user-doc -->
47
   * --> <!-- end-user-doc -->
47
   * 
48
   * @see #getElements()
48
   * @see #getElements()
49
   * @generated
49
   * @generated
50
   * @ordered
50
   * @ordered
Lines 53-59 Link Here
53
53
54
  /**
54
  /**
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * 
57
   * @generated
56
   * @generated
58
   */
57
   */
59
  protected ImplMultiRefContainerImpl()
58
  protected ImplMultiRefContainerImpl()
Lines 63-69 Link Here
63
62
64
  /**
63
  /**
65
   * <!-- begin-user-doc --> <!-- end-user-doc -->
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * 
67
   * @generated
65
   * @generated
68
   */
66
   */
69
  @Override
67
  @Override
Lines 74-80 Link Here
74
72
75
  /**
73
  /**
76
   * <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * <!-- begin-user-doc --> <!-- end-user-doc -->
77
   * 
78
   * @generated
75
   * @generated
79
   */
76
   */
80
  public EList<IMultiRefContainedElement> getElements()
77
  public EList<IMultiRefContainedElement> getElements()
Lines 90-96 Link Here
90
87
91
  /**
88
  /**
92
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
93
   * 
94
   * @generated
90
   * @generated
95
   */
91
   */
96
  @SuppressWarnings("unchecked")
92
  @SuppressWarnings("unchecked")
Lines 107-113 Link Here
107
103
108
  /**
104
  /**
109
   * <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * <!-- begin-user-doc --> <!-- end-user-doc -->
110
   * 
111
   * @generated
106
   * @generated
112
   */
107
   */
113
  @Override
108
  @Override
Lines 123-129 Link Here
123
118
124
  /**
119
  /**
125
   * <!-- begin-user-doc --> <!-- end-user-doc -->
120
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * 
127
   * @generated
121
   * @generated
128
   */
122
   */
129
  @Override
123
  @Override
Lines 139-145 Link Here
139
133
140
  /**
134
  /**
141
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
142
   * 
143
   * @generated
136
   * @generated
144
   */
137
   */
145
  @SuppressWarnings("unchecked")
138
  @SuppressWarnings("unchecked")
Lines 158-164 Link Here
158
151
159
  /**
152
  /**
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * 
162
   * @generated
154
   * @generated
163
   */
155
   */
164
  @Override
156
  @Override
Lines 175-181 Link Here
175
167
176
  /**
168
  /**
177
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * <!-- begin-user-doc --> <!-- end-user-doc -->
178
   * 
179
   * @generated
170
   * @generated
180
   */
171
   */
181
  @Override
172
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ContainedElementNoOppositeImpl.java (-14 / +5 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model4.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
17
17
18
import org.eclipse.emf.common.notify.Notification;
18
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EClass;
Lines 26-35 Link Here
26
 * <p>
26
 * <p>
27
 * The following features are implemented:
27
 * The following features are implemented:
28
 * <ul>
28
 * <ul>
29
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl#getName <em>Name</em>}</li>
29
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl#getName <em>Name</em>}</li>
30
 * </ul>
30
 * </ul>
31
 * </p>
31
 * </p>
32
 * 
32
 *
33
 * @generated
33
 * @generated
34
 */
34
 */
35
public class ContainedElementNoOppositeImpl extends EObjectImpl implements ContainedElementNoOpposite
35
public class ContainedElementNoOppositeImpl extends EObjectImpl implements ContainedElementNoOpposite
Lines 45-52 Link Here
45
  protected static final String NAME_EDEFAULT = null;
45
  protected static final String NAME_EDEFAULT = null;
46
46
47
  /**
47
  /**
48
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
48
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
49
   * 
49
   * <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * @see #getName()
50
   * @see #getName()
51
   * @generated
51
   * @generated
52
   * @ordered
52
   * @ordered
Lines 55-61 Link Here
55
55
56
  /**
56
  /**
57
   * <!-- begin-user-doc --> <!-- end-user-doc -->
57
   * <!-- begin-user-doc --> <!-- end-user-doc -->
58
   * 
59
   * @generated
58
   * @generated
60
   */
59
   */
61
  protected ContainedElementNoOppositeImpl()
60
  protected ContainedElementNoOppositeImpl()
Lines 65-71 Link Here
65
64
66
  /**
65
  /**
67
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * <!-- begin-user-doc --> <!-- end-user-doc -->
68
   * 
69
   * @generated
67
   * @generated
70
   */
68
   */
71
  @Override
69
  @Override
Lines 76-82 Link Here
76
74
77
  /**
75
  /**
78
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * 
80
   * @generated
77
   * @generated
81
   */
78
   */
82
  public String getName()
79
  public String getName()
Lines 86-92 Link Here
86
83
87
  /**
84
  /**
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
85
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * 
90
   * @generated
86
   * @generated
91
   */
87
   */
92
  public void setName(String newName)
88
  public void setName(String newName)
Lines 100-106 Link Here
100
96
101
  /**
97
  /**
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
98
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @generated
99
   * @generated
105
   */
100
   */
106
  @Override
101
  @Override
Lines 116-122 Link Here
116
111
117
  /**
112
  /**
118
   * <!-- begin-user-doc --> <!-- end-user-doc -->
113
   * <!-- begin-user-doc --> <!-- end-user-doc -->
119
   * 
120
   * @generated
114
   * @generated
121
   */
115
   */
122
  @Override
116
  @Override
Lines 133-139 Link Here
133
127
134
  /**
128
  /**
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * <!-- begin-user-doc --> <!-- end-user-doc -->
136
   * 
137
   * @generated
130
   * @generated
138
   */
131
   */
139
  @Override
132
  @Override
Lines 150-156 Link Here
150
143
151
  /**
144
  /**
152
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * <!-- begin-user-doc --> <!-- end-user-doc -->
153
   * 
154
   * @generated
146
   * @generated
155
   */
147
   */
156
  @Override
148
  @Override
Lines 166-172 Link Here
166
158
167
  /**
159
  /**
168
   * <!-- begin-user-doc --> <!-- end-user-doc -->
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * 
170
   * @generated
161
   * @generated
171
   */
162
   */
172
  @Override
163
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4AdapterFactory.java (-190 / +123 lines)
Lines 12-64 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.util;
13
package org.eclipse.emf.cdo.tests.legacy.model4.util;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained;
18
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained;
19
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained;
20
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained;
21
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained;
22
import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL;
23
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement;
24
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer;
25
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer;
28
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL;
29
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement;
30
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer;
31
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL;
32
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement;
33
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer;
34
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL;
35
import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement;
36
import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement;
37
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained;
38
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL;
39
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained;
40
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL;
41
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained;
42
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL;
43
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained;
44
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL;
45
import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement;
46
import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement;
47
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
48
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
49
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement;
17
import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained;
50
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer;
18
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
51
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL;
19
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained;
52
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement;
20
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
53
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer;
21
import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained;
54
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL;
22
import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained;
55
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement;
23
import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL;
56
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement;
24
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement;
57
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer;
25
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer;
58
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL;
59
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement;
60
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer;
28
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer;
61
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL;
29
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL;
30
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement;
31
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer;
32
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL;
33
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement;
34
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer;
35
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL;
36
import org.eclipse.emf.cdo.tests.model4.MultiContainedElement;
37
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement;
38
import org.eclipse.emf.cdo.tests.model4.RefMultiContained;
39
import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL;
40
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained;
41
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL;
42
import org.eclipse.emf.cdo.tests.model4.RefSingleContained;
43
import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL;
44
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained;
45
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL;
46
import org.eclipse.emf.cdo.tests.model4.SingleContainedElement;
47
import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement;
48
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
49
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement;
50
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer;
51
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL;
52
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement;
53
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer;
54
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL;
55
import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement;
56
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement;
57
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer;
58
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL;
59
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement;
60
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer;
61
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL;
62
62
63
import org.eclipse.emf.common.notify.Adapter;
63
import org.eclipse.emf.common.notify.Adapter;
64
import org.eclipse.emf.common.notify.Notifier;
64
import org.eclipse.emf.common.notify.Notifier;
Lines 70-91 Link Here
70
/**
70
/**
71
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
71
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
72
 * method for each class of the model. <!-- end-user-doc -->
72
 * method for each class of the model. <!-- end-user-doc -->
73
 * 
74
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package
73
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package
75
 * @generated
74
 * @generated
76
 */
75
 */
77
public class model4AdapterFactory extends AdapterFactoryImpl
76
public class model4AdapterFactory extends AdapterFactoryImpl
78
{
77
{
79
  /**
78
  /**
80
   * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * The cached model package.
81
   * 
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
82
   * @generated
81
   * @generated
83
   */
82
   */
84
  protected static model4Package modelPackage;
83
  protected static model4Package modelPackage;
85
84
86
  /**
85
  /**
87
   * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
86
   * Creates an instance of the adapter factory.
88
   * 
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * @generated
88
   * @generated
90
   */
89
   */
91
  public model4AdapterFactory()
90
  public model4AdapterFactory()
Lines 97-106 Link Here
97
  }
96
  }
98
97
99
  /**
98
  /**
100
   * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
99
   * Returns whether this factory is applicable for the type of the object.
100
   * <!-- begin-user-doc --> This implementation
101
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
101
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
102
   * end-user-doc -->
102
   * end-user-doc -->
103
   * 
104
   * @return whether this factory is applicable for the type of the object.
103
   * @return whether this factory is applicable for the type of the object.
105
   * @generated
104
   * @generated
106
   */
105
   */
Lines 119-126 Link Here
119
  }
118
  }
120
119
121
  /**
120
  /**
122
   * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
121
   * The switch that delegates to the <code>createXXX</code> methods.
123
   * 
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * @generated
123
   * @generated
125
   */
124
   */
126
  protected model4Switch<Adapter> modelSwitch = new model4Switch<Adapter>()
125
  protected model4Switch<Adapter> modelSwitch = new model4Switch<Adapter>()
Lines 415-424 Link Here
415
  };
414
  };
416
415
417
  /**
416
  /**
418
   * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
417
   * Creates an adapter for the <code>target</code>.
419
   * 
418
   * <!-- begin-user-doc --> <!-- end-user-doc -->
420
   * @param target
419
   * @param target the object to adapt.
421
   *          the object to adapt.
422
   * @return the adapter for the <code>target</code>.
420
   * @return the adapter for the <code>target</code>.
423
   * @generated
421
   * @generated
424
   */
422
   */
Lines 429-439 Link Here
429
  }
427
  }
430
428
431
  /**
429
  /**
432
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained
430
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained <em>Ref Single Contained</em>}'.
433
   * <em>Ref Single Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
431
   * <!-- begin-user-doc --> This default implementation returns null so that we can
434
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
432
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
435
   * end-user-doc -->
433
   * end-user-doc -->
436
   * 
437
   * @return the new adapter.
434
   * @return the new adapter.
438
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained
435
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained
439
   * @generated
436
   * @generated
Lines 459-469 Link Here
459
  }
456
  }
460
457
461
  /**
458
  /**
462
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained
459
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained <em>Ref Single Non Contained</em>}'.
463
   * <em>Ref Single Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
460
   * <!-- begin-user-doc --> This default implementation returns null so that we
464
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
461
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
465
   * end-user-doc -->
462
   * end-user-doc -->
466
   * 
467
   * @return the new adapter.
463
   * @return the new adapter.
468
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained
464
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained
469
   * @generated
465
   * @generated
Lines 474-484 Link Here
474
  }
470
  }
475
471
476
  /**
472
  /**
477
   * Creates a new adapter for an object of class '
473
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement <em>Single Non Contained Element</em>}'.
478
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement <em>Single Non Contained Element</em>}'.
479
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
474
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
480
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
475
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
481
   * 
482
   * @return the new adapter.
476
   * @return the new adapter.
483
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement
477
   * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement
484
   * @generated
478
   * @generated
Lines 489-499 Link Here
489
  }
483
  }
490
484
491
  /**
485
  /**
492
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained
486
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained <em>Ref Multi Contained</em>}'.
493
   * <em>Ref Multi Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
487
   * <!-- begin-user-doc --> This default implementation returns null so that we can
494
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
488
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
495
   * end-user-doc -->
489
   * end-user-doc -->
496
   * 
497
   * @return the new adapter.
490
   * @return the new adapter.
498
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained
491
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained
499
   * @generated
492
   * @generated
Lines 504-514 Link Here
504
  }
497
  }
505
498
506
  /**
499
  /**
507
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement
500
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement <em>Multi Contained Element</em>}'.
508
   * <em>Multi Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
501
   * <!-- begin-user-doc --> This default implementation returns null so that we can
509
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
502
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
510
   * end-user-doc -->
503
   * end-user-doc -->
511
   * 
512
   * @return the new adapter.
504
   * @return the new adapter.
513
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement
505
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement
514
   * @generated
506
   * @generated
Lines 519-529 Link Here
519
  }
511
  }
520
512
521
  /**
513
  /**
522
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained
514
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained <em>Ref Multi Non Contained</em>}'.
523
   * <em>Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
515
   * <!-- begin-user-doc --> This default implementation returns null so that we can
524
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
516
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
525
   * end-user-doc -->
517
   * end-user-doc -->
526
   * 
527
   * @return the new adapter.
518
   * @return the new adapter.
528
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained
519
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained
529
   * @generated
520
   * @generated
Lines 534-544 Link Here
534
  }
525
  }
535
526
536
  /**
527
  /**
537
   * Creates a new adapter for an object of class '
528
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement <em>Multi Non Contained Element</em>}'.
538
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement <em>Multi Non Contained Element</em>}'.
539
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
529
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
540
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
530
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
541
   * 
542
   * @return the new adapter.
531
   * @return the new adapter.
543
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement
532
   * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement
544
   * @generated
533
   * @generated
Lines 549-559 Link Here
549
  }
538
  }
550
539
551
  /**
540
  /**
552
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL
541
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL <em>Ref Single Contained NPL</em>}'.
553
   * <em>Ref Single Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
542
   * <!-- begin-user-doc --> This default implementation returns null so that we
554
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
543
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
555
   * end-user-doc -->
544
   * end-user-doc -->
556
   * 
557
   * @return the new adapter.
545
   * @return the new adapter.
558
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL
546
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL
559
   * @generated
547
   * @generated
Lines 564-574 Link Here
564
  }
552
  }
565
553
566
  /**
554
  /**
567
   * Creates a new adapter for an object of class '
555
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL <em>Ref Single Non Contained NPL</em>}'.
568
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL <em>Ref Single Non Contained NPL</em>}'.
569
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
556
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
570
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
557
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
571
   * 
572
   * @return the new adapter.
558
   * @return the new adapter.
573
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL
559
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL
574
   * @generated
560
   * @generated
Lines 579-589 Link Here
579
  }
565
  }
580
566
581
  /**
567
  /**
582
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL
568
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL <em>Ref Multi Contained NPL</em>}'.
583
   * <em>Ref Multi Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
569
   * <!-- begin-user-doc --> This default implementation returns null so that we can
584
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
570
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
585
   * end-user-doc -->
571
   * end-user-doc -->
586
   * 
587
   * @return the new adapter.
572
   * @return the new adapter.
588
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL
573
   * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL
589
   * @generated
574
   * @generated
Lines 609-619 Link Here
609
  }
594
  }
610
595
611
  /**
596
  /**
612
   * Creates a new adapter for an object of class '
597
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</em>}'.
613
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</em>}'.
614
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
598
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
615
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
599
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
616
   * 
617
   * @return the new adapter.
600
   * @return the new adapter.
618
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite
601
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite
619
   * @generated
602
   * @generated
Lines 624-634 Link Here
624
  }
607
  }
625
608
626
  /**
609
  /**
627
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained
610
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained <em>Gen Ref Single Contained</em>}'.
628
   * <em>Gen Ref Single Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
611
   * <!-- begin-user-doc --> This default implementation returns null so that we
629
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
612
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
630
   * end-user-doc -->
613
   * end-user-doc -->
631
   * 
632
   * @return the new adapter.
614
   * @return the new adapter.
633
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained
615
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained
634
   * @generated
616
   * @generated
Lines 639-649 Link Here
639
  }
621
  }
640
622
641
  /**
623
  /**
642
   * Creates a new adapter for an object of class '
624
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</em>}'.
643
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</em>}'.
644
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
625
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
645
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
626
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
646
   * 
647
   * @return the new adapter.
627
   * @return the new adapter.
648
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained
628
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained
649
   * @generated
629
   * @generated
Lines 654-664 Link Here
654
  }
634
  }
655
635
656
  /**
636
  /**
657
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained
637
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained <em>Gen Ref Multi Contained</em>}'.
658
   * <em>Gen Ref Multi Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
638
   * <!-- begin-user-doc --> This default implementation returns null so that we can
659
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
639
   * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
660
   * end-user-doc -->
640
   * end-user-doc -->
661
   * 
662
   * @return the new adapter.
641
   * @return the new adapter.
663
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained
642
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained
664
   * @generated
643
   * @generated
Lines 699-710 Link Here
699
  }
678
  }
700
679
701
  /**
680
  /**
702
   * Creates a new adapter for an object of class '
681
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained Element</em>}'.
703
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement
682
   * <!-- begin-user-doc --> This default implementation returns null so
704
   * <em>Impl Single Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
705
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
683
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
706
   * <!-- end-user-doc -->
684
   * <!-- end-user-doc -->
707
   * 
708
   * @return the new adapter.
685
   * @return the new adapter.
709
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement
686
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement
710
   * @generated
687
   * @generated
Lines 715-725 Link Here
715
  }
692
  }
716
693
717
  /**
694
  /**
718
   * Creates a new adapter for an object of class '
695
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</em>}'.
719
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</em>}'.
720
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
696
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
721
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
697
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
722
   * 
723
   * @return the new adapter.
698
   * @return the new adapter.
724
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer
699
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer
725
   * @generated
700
   * @generated
Lines 730-741 Link Here
730
  }
705
  }
731
706
732
  /**
707
  /**
733
   * Creates a new adapter for an object of class '
708
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement <em>Impl Single Ref Non Contained Element</em>}'.
734
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement
709
   * <!-- begin-user-doc --> This default implementation returns null
735
   * <em>Impl Single Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null
736
   * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
710
   * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
737
   * <!-- end-user-doc -->
711
   * <!-- end-user-doc -->
738
   * 
739
   * @return the new adapter.
712
   * @return the new adapter.
740
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement
713
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement
741
   * @generated
714
   * @generated
Lines 746-756 Link Here
746
  }
719
  }
747
720
748
  /**
721
  /**
749
   * Creates a new adapter for an object of class '
722
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</em>}'.
750
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</em>}'.
751
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
723
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
752
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
724
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
753
   * 
754
   * @return the new adapter.
725
   * @return the new adapter.
755
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer
726
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer
756
   * @generated
727
   * @generated
Lines 761-772 Link Here
761
  }
732
  }
762
733
763
  /**
734
  /**
764
   * Creates a new adapter for an object of class '
735
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement <em>Impl Multi Ref Non Contained Element</em>}'.
765
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement
736
   * <!-- begin-user-doc --> This default implementation returns null
766
   * <em>Impl Multi Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null
767
   * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
737
   * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
768
   * <!-- end-user-doc -->
738
   * <!-- end-user-doc -->
769
   * 
770
   * @return the new adapter.
739
   * @return the new adapter.
771
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement
740
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement
772
   * @generated
741
   * @generated
Lines 777-787 Link Here
777
  }
746
  }
778
747
779
  /**
748
  /**
780
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer
749
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer <em>Impl Multi Ref Container</em>}'.
781
   * <em>Impl Multi Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
750
   * <!-- begin-user-doc --> This default implementation returns null so that we
782
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
751
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
783
   * end-user-doc -->
752
   * end-user-doc -->
784
   * 
785
   * @return the new adapter.
753
   * @return the new adapter.
786
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer
754
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer
787
   * @generated
755
   * @generated
Lines 792-803 Link Here
792
  }
760
  }
793
761
794
  /**
762
  /**
795
   * Creates a new adapter for an object of class '
763
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement <em>Impl Multi Ref Contained Element</em>}'.
796
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement
764
   * <!-- begin-user-doc --> This default implementation returns null so
797
   * <em>Impl Multi Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
798
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
765
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
799
   * <!-- end-user-doc -->
766
   * <!-- end-user-doc -->
800
   * 
801
   * @return the new adapter.
767
   * @return the new adapter.
802
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement
768
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement
803
   * @generated
769
   * @generated
Lines 808-818 Link Here
808
  }
774
  }
809
775
810
  /**
776
  /**
811
   * Creates a new adapter for an object of class '
777
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container NPL</em>}'.
812
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container NPL</em>}'.
813
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
778
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
814
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
779
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
815
   * 
816
   * @return the new adapter.
780
   * @return the new adapter.
817
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL
781
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL
818
   * @generated
782
   * @generated
Lines 823-834 Link Here
823
  }
787
  }
824
788
825
  /**
789
  /**
826
   * Creates a new adapter for an object of class '
790
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL <em>Impl Single Ref Non Container NPL</em>}'.
827
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL
791
   * <!-- begin-user-doc --> This default implementation returns null so
828
   * <em>Impl Single Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so
829
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
792
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
830
   * <!-- end-user-doc -->
793
   * <!-- end-user-doc -->
831
   * 
832
   * @return the new adapter.
794
   * @return the new adapter.
833
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL
795
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL
834
   * @generated
796
   * @generated
Lines 839-849 Link Here
839
  }
801
  }
840
802
841
  /**
803
  /**
842
   * Creates a new adapter for an object of class '
804
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container NPL</em>}'.
843
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container NPL</em>}'.
844
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
805
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
845
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
806
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
846
   * 
847
   * @return the new adapter.
807
   * @return the new adapter.
848
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL
808
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL
849
   * @generated
809
   * @generated
Lines 854-865 Link Here
854
  }
814
  }
855
815
856
  /**
816
  /**
857
   * Creates a new adapter for an object of class '
817
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL <em>Impl Multi Ref Non Container NPL</em>}'.
858
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL
818
   * <!-- begin-user-doc --> This default implementation returns null so
859
   * <em>Impl Multi Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so
860
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
819
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
861
   * <!-- end-user-doc -->
820
   * <!-- end-user-doc -->
862
   * 
863
   * @return the new adapter.
821
   * @return the new adapter.
864
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL
822
   * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL
865
   * @generated
823
   * @generated
Lines 885-895 Link Here
885
  }
843
  }
886
844
887
  /**
845
  /**
888
   * Creates a new adapter for an object of class '
846
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</em>}'.
889
   * {@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</em>}'.
890
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
847
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
891
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
848
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
892
   * 
893
   * @return the new adapter.
849
   * @return the new adapter.
894
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained
850
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained
895
   * @generated
851
   * @generated
Lines 900-910 Link Here
900
  }
856
  }
901
857
902
  /**
858
  /**
903
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained
859
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained <em>Gen Ref Map Non Contained</em>}'.
904
   * <em>Gen Ref Map Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
860
   * <!-- begin-user-doc --> This default implementation returns null so that we
905
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
861
   * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
906
   * end-user-doc -->
862
   * end-user-doc -->
907
   * 
908
   * @return the new adapter.
863
   * @return the new adapter.
909
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained
864
   * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained
910
   * @generated
865
   * @generated
Lines 944-955 Link Here
944
  }
899
  }
945
900
946
  /**
901
  /**
947
   * Creates a new adapter for an object of class '
902
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</em>}'.
948
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
903
   * <!-- begin-user-doc --> This default implementation returns null so that
949
   * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
950
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
904
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
951
   * end-user-doc -->
905
   * end-user-doc -->
952
   * 
953
   * @return the new adapter.
906
   * @return the new adapter.
954
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
907
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
955
   * @generated
908
   * @generated
Lines 960-970 Link Here
960
  }
913
  }
961
914
962
  /**
915
  /**
963
   * Creates a new adapter for an object of class '
916
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}'.
964
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}
917
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
965
   * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
966
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
918
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
967
   * 
968
   * @return the new adapter.
919
   * @return the new adapter.
969
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
920
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
970
   * @generated
921
   * @generated
Lines 975-986 Link Here
975
  }
926
  }
976
927
977
  /**
928
  /**
978
   * Creates a new adapter for an object of class '
929
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</em>}'.
979
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
930
   * <!-- begin-user-doc --> This default implementation returns null so
980
   * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
981
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
931
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
982
   * <!-- end-user-doc -->
932
   * <!-- end-user-doc -->
983
   * 
984
   * @return the new adapter.
933
   * @return the new adapter.
985
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
934
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
986
   * @generated
935
   * @generated
Lines 991-1001 Link Here
991
  }
940
  }
992
941
993
  /**
942
  /**
994
   * Creates a new adapter for an object of class '
943
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}'.
995
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}'.
996
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
944
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
997
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
945
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
998
   * 
999
   * @return the new adapter.
946
   * @return the new adapter.
1000
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
947
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
1001
   * @generated
948
   * @generated
Lines 1006-1017 Link Here
1006
  }
953
  }
1007
954
1008
  /**
955
  /**
1009
   * Creates a new adapter for an object of class '
956
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</em>}'.
1010
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
957
   * <!-- begin-user-doc --> This default implementation returns null so
1011
   * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
1012
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
958
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
1013
   * <!-- end-user-doc -->
959
   * <!-- end-user-doc -->
1014
   * 
1015
   * @return the new adapter.
960
   * @return the new adapter.
1016
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
961
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
1017
   * @generated
962
   * @generated
Lines 1037-1048 Link Here
1037
  }
982
  }
1038
983
1039
  /**
984
  /**
1040
   * Creates a new adapter for an object of class '
985
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>}'.
1041
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
986
   * <!-- begin-user-doc --> This default implementation returns null so that
1042
   * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
1043
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
987
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
1044
   * end-user-doc -->
988
   * end-user-doc -->
1045
   * 
1046
   * @return the new adapter.
989
   * @return the new adapter.
1047
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
990
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
1048
   * @generated
991
   * @generated
Lines 1053-1063 Link Here
1053
  }
996
  }
1054
997
1055
  /**
998
  /**
1056
   * Creates a new adapter for an object of class '
999
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}'.
1057
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}
1000
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
1058
   * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
1059
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
1001
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
1060
   * 
1061
   * @return the new adapter.
1002
   * @return the new adapter.
1062
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
1003
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
1063
   * @generated
1004
   * @generated
Lines 1068-1079 Link Here
1068
  }
1009
  }
1069
1010
1070
  /**
1011
  /**
1071
   * Creates a new adapter for an object of class '
1012
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>}'.
1072
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
1013
   * <!-- begin-user-doc --> This default implementation returns null so that
1073
   * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
1074
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
1014
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
1075
   * end-user-doc -->
1015
   * end-user-doc -->
1076
   * 
1077
   * @return the new adapter.
1016
   * @return the new adapter.
1078
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
1017
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
1079
   * @generated
1018
   * @generated
Lines 1084-1094 Link Here
1084
  }
1023
  }
1085
1024
1086
  /**
1025
  /**
1087
   * Creates a new adapter for an object of class '
1026
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}'.
1088
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}'.
1089
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
1027
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
1090
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
1028
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
1091
   * 
1092
   * @return the new adapter.
1029
   * @return the new adapter.
1093
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
1030
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
1094
   * @generated
1031
   * @generated
Lines 1099-1110 Link Here
1099
  }
1036
  }
1100
1037
1101
  /**
1038
  /**
1102
   * Creates a new adapter for an object of class '
1039
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}'.
1103
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
1040
   * <!-- begin-user-doc --> This default implementation returns null so that
1104
   * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
1105
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
1041
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
1106
   * end-user-doc -->
1042
   * end-user-doc -->
1107
   * 
1108
   * @return the new adapter.
1043
   * @return the new adapter.
1109
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
1044
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
1110
   * @generated
1045
   * @generated
Lines 1115-1126 Link Here
1115
  }
1050
  }
1116
1051
1117
  /**
1052
  /**
1118
   * Creates a new adapter for an object of class '
1053
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</em>}'.
1119
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
1054
   * <!-- begin-user-doc --> This default implementation returns null so
1120
   * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> This default implementation returns null so
1121
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
1055
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
1122
   * <!-- end-user-doc -->
1056
   * <!-- end-user-doc -->
1123
   * 
1124
   * @return the new adapter.
1057
   * @return the new adapter.
1125
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
1058
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
1126
   * @generated
1059
   * @generated
Lines 1146-1154 Link Here
1146
  }
1079
  }
1147
1080
1148
  /**
1081
  /**
1149
   * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
1082
   * Creates a new adapter for the default case.
1083
   * <!-- begin-user-doc --> This default implementation returns null. <!--
1150
   * end-user-doc -->
1084
   * end-user-doc -->
1151
   * 
1152
   * @return the new adapter.
1085
   * @return the new adapter.
1153
   * @generated
1086
   * @generated
1154
   */
1087
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4Switch.java (-76 / +64 lines)
Lines 12-64 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4.util;
13
package org.eclipse.emf.cdo.tests.legacy.model4.util;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained;
17
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained;
18
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained;
19
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained;
20
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained;
21
import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained;
22
import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL;
23
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement;
24
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer;
25
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer;
28
import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL;
29
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement;
30
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer;
31
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL;
32
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement;
33
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer;
34
import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL;
35
import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement;
36
import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement;
37
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained;
38
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL;
39
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained;
40
import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL;
41
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained;
42
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL;
43
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained;
44
import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL;
45
import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement;
46
import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement;
47
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
15
import org.eclipse.emf.cdo.tests.legacy.model4.model4Package;
48
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
49
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement;
17
import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained;
50
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer;
18
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
51
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL;
19
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained;
52
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement;
20
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
53
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer;
21
import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained;
54
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL;
22
import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained;
55
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement;
23
import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL;
56
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement;
24
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement;
57
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer;
25
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer;
58
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL;
59
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement;
60
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer;
28
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer;
61
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL;
29
import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL;
30
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement;
31
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer;
32
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL;
33
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement;
34
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer;
35
import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL;
36
import org.eclipse.emf.cdo.tests.model4.MultiContainedElement;
37
import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement;
38
import org.eclipse.emf.cdo.tests.model4.RefMultiContained;
39
import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL;
40
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained;
41
import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL;
42
import org.eclipse.emf.cdo.tests.model4.RefSingleContained;
43
import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL;
44
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained;
45
import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL;
46
import org.eclipse.emf.cdo.tests.model4.SingleContainedElement;
47
import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement;
48
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
49
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement;
50
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer;
51
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL;
52
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement;
53
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer;
54
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL;
55
import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement;
56
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement;
57
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer;
58
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL;
59
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement;
60
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer;
61
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL;
62
62
63
import org.eclipse.emf.ecore.EClass;
63
import org.eclipse.emf.ecore.EClass;
64
import org.eclipse.emf.ecore.EObject;
64
import org.eclipse.emf.ecore.EObject;
Lines 71-92 Link Here
71
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
71
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
72
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
72
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
73
 * returned, which is the result of the switch. <!-- end-user-doc -->
73
 * returned, which is the result of the switch. <!-- end-user-doc -->
74
 * 
75
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package
74
 * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package
76
 * @generated
75
 * @generated
77
 */
76
 */
78
public class model4Switch<T>
77
public class model4Switch<T>
79
{
78
{
80
  /**
79
  /**
81
   * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * The cached model package
82
   * 
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
83
   * @generated
82
   * @generated
84
   */
83
   */
85
  protected static model4Package modelPackage;
84
  protected static model4Package modelPackage;
86
85
87
  /**
86
  /**
88
   * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * Creates an instance of the switch.
89
   * 
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * @generated
89
   * @generated
91
   */
90
   */
92
  public model4Switch()
91
  public model4Switch()
Lines 100-106 Link Here
100
  /**
99
  /**
101
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
100
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
101
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * 
104
   * @return the first non-null result returned by a <code>caseXXX</code> call.
102
   * @return the first non-null result returned by a <code>caseXXX</code> call.
105
   * @generated
103
   * @generated
106
   */
104
   */
Lines 112-118 Link Here
112
  /**
110
  /**
113
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
111
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
114
   * <!-- begin-user-doc --> <!-- end-user-doc -->
112
   * <!-- begin-user-doc --> <!-- end-user-doc -->
115
   * 
116
   * @return the first non-null result returned by a <code>caseXXX</code> call.
113
   * @return the first non-null result returned by a <code>caseXXX</code> call.
117
   * @generated
114
   * @generated
118
   */
115
   */
Lines 132-138 Link Here
132
  /**
129
  /**
133
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
130
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
134
   * <!-- begin-user-doc --> <!-- end-user-doc -->
131
   * <!-- begin-user-doc --> <!-- end-user-doc -->
135
   * 
136
   * @return the first non-null result returned by a <code>caseXXX</code> call.
132
   * @return the first non-null result returned by a <code>caseXXX</code> call.
137
   * @generated
133
   * @generated
138
   */
134
   */
Lines 503-513 Link Here
503
  }
499
  }
504
500
505
  /**
501
  /**
506
   * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'. <!-- begin-user-doc
502
   * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'.
503
   * <!-- begin-user-doc
507
   * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
504
   * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
508
   * 
505
   * @param object the target of the switch.
509
   * @param object
510
   *          the target of the switch.
511
   * @return the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'.
506
   * @return the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'.
512
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
507
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
513
   * @generated
508
   * @generated
Lines 761-769 Link Here
761
   * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained Element</em>'.
756
   * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained Element</em>'.
762
   * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
757
   * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
763
   * <!-- end-user-doc -->
758
   * <!-- end-user-doc -->
764
   * 
759
   * @param object the target of the switch.
765
   * @param object
766
   *          the target of the switch.
767
   * @return the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained Element</em>'.
760
   * @return the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained Element</em>'.
768
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
761
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
769
   * @generated
762
   * @generated
Lines 793-801 Link Here
793
   * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained Element</em>'.
786
   * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained Element</em>'.
794
   * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
787
   * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
795
   * <!-- end-user-doc -->
788
   * <!-- end-user-doc -->
796
   * 
789
   * @param object the target of the switch.
797
   * @param object
798
   *          the target of the switch.
799
   * @return the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained Element</em>'.
790
   * @return the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained Element</em>'.
800
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
791
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
801
   * @generated
792
   * @generated
Lines 950-960 Link Here
950
  }
941
  }
951
942
952
  /**
943
  /**
953
   * Returns the result of interpreting the object as an instance of '<em>String To EObject</em>'. <!-- begin-user-doc
944
   * Returns the result of interpreting the object as an instance of '<em>String To EObject</em>'.
945
   * <!-- begin-user-doc
954
   * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
946
   * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
955
   * 
947
   * @param object the target of the switch.
956
   * @param object
957
   *          the target of the switch.
958
   * @return the result of interpreting the object as an instance of '<em>String To EObject</em>'.
948
   * @return the result of interpreting the object as an instance of '<em>String To EObject</em>'.
959
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
949
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
960
   * @generated
950
   * @generated
Lines 1173-1183 Link Here
1173
  }
1163
  }
1174
1164
1175
  /**
1165
  /**
1176
   * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'. <!-- begin-user-doc -->
1166
   * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'.
1167
   * <!-- begin-user-doc -->
1177
   * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
1168
   * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
1178
   * 
1169
   * @param object the target of the switch.
1179
   * @param object
1180
   *          the target of the switch.
1181
   * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'.
1170
   * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'.
1182
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1171
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1183
   * @generated
1172
   * @generated
Lines 1188-1199 Link Here
1188
  }
1177
  }
1189
1178
1190
  /**
1179
  /**
1191
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
1180
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
1181
   * <!-- begin-user-doc --> This
1192
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
1182
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
1193
   * anyway. <!-- end-user-doc -->
1183
   * anyway. <!-- end-user-doc -->
1194
   * 
1184
   * @param object the target of the switch.
1195
   * @param object
1196
   *          the target of the switch.
1197
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
1185
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
1198
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
1186
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
1199
   * @generated
1187
   * @generated
(-)META-INF/MANIFEST.MF (-1 / +2 lines)
Lines 7-13 Link Here
7
Bundle-Vendor: %providerName
7
Bundle-Vendor: %providerName
8
Bundle-Localization: plugin
8
Bundle-Localization: plugin
9
Bundle-RequiredExecutionEnvironment: J2SE-1.5
9
Bundle-RequiredExecutionEnvironment: J2SE-1.5
10
Export-Package: org.eclipse.emf.cdo.tests.model4;version="3.0.0",
10
Export-Package: org.eclipse.emf.cdo.tests.legacy.model4,
11
 org.eclipse.emf.cdo.tests.model4;version="3.0.0",
11
 org.eclipse.emf.cdo.tests.model4.impl;version="3.0.0",
12
 org.eclipse.emf.cdo.tests.model4.impl;version="3.0.0",
12
 org.eclipse.emf.cdo.tests.model4.util;version="3.0.0"
13
 org.eclipse.emf.cdo.tests.model4.util;version="3.0.0"
13
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
14
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
(-)model/model4.legacy-genmodel (-1 / +1 lines)
Lines 6-12 Link Here
6
    modelPluginID="org.eclipse.emf.cdo.tests.model4" modelName="Model4" updateClasspath="false"
6
    modelPluginID="org.eclipse.emf.cdo.tests.model4" modelName="Model4" updateClasspath="false"
7
    codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo"
7
    codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.emf.cdo.tests.model4.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.emf.cdo.tests.model4.edit"
9
    usedGenPackages="../../org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy.genmodel#//model4interfaces">
9
    usedGenPackages="../../org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel#//model4interfaces">
10
  <foreignModel>model4.ecore</foreignModel>
10
  <foreignModel>model4.ecore</foreignModel>
11
  <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
11
  <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
12
  <genPackages prefix="model4" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true"
12
  <genPackages prefix="model4" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true"
(-)src/org/eclipse/emf/cdo/tests/TransactionHandlerTest.java (-8 / +9 lines)
Lines 23-28 Link Here
23
import org.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler;
23
import org.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler;
24
import org.eclipse.emf.cdo.transaction.CDOTransaction;
24
import org.eclipse.emf.cdo.transaction.CDOTransaction;
25
import org.eclipse.emf.cdo.transaction.CDOTransactionHandler;
25
import org.eclipse.emf.cdo.transaction.CDOTransactionHandler;
26
import org.eclipse.emf.cdo.util.CDOUtil;
26
27
27
import java.util.ArrayList;
28
import java.util.ArrayList;
28
import java.util.List;
29
import java.util.List;
Lines 55-62 Link Here
55
    order.getOrderDetails().add(orderDetail);
56
    order.getOrderDetails().add(orderDetail);
56
57
57
    resource1.getContents().add(order);
58
    resource1.getContents().add(order);
58
    assertEquals(true, handler.getListOfAddingObject().contains(order));
59
    assertEquals(true, handler.getListOfAddingObject().contains(CDOUtil.getCDOObject(order)));
59
    assertEquals(true, handler.getListOfAddingObject().contains(orderDetail));
60
    assertEquals(true, handler.getListOfAddingObject().contains(CDOUtil.getCDOObject(orderDetail)));
60
61
61
    transaction.close();
62
    transaction.close();
62
    session.close();
63
    session.close();
Lines 142-153 Link Here
142
    order.getOrderDetails().add(orderDetail);
143
    order.getOrderDetails().add(orderDetail);
143
144
144
    resource1.getContents().add(order);
145
    resource1.getContents().add(order);
145
    assertEquals(true, handler.getListOfAddingObject().contains(order));
146
    assertEquals(true, handler.getListOfAddingObject().contains(CDOUtil.getCDOObject(order)));
146
    assertEquals(true, handler.getListOfAddingObject().contains(orderDetail));
147
    assertEquals(true, handler.getListOfAddingObject().contains(CDOUtil.getCDOObject(orderDetail)));
147
148
148
    msg("Remove Object");
149
    msg("Remove Object");
149
    order.getOrderDetails().remove(orderDetail);
150
    order.getOrderDetails().remove(orderDetail);
150
    assertEquals(true, handler.getListOfDetachingObject().contains(orderDetail));
151
    assertEquals(true, handler.getListOfDetachingObject().contains(CDOUtil.getCDOObject(orderDetail)));
151
152
152
    resource1.delete(null);
153
    resource1.delete(null);
153
    assertEquals(true, handler.getListOfDetachingObject().contains(resource1));
154
    assertEquals(true, handler.getListOfDetachingObject().contains(resource1));
Lines 205-217 Link Here
205
    order.getOrderDetails().add(orderDetail);
206
    order.getOrderDetails().add(orderDetail);
206
207
207
    resource1.getContents().add(order);
208
    resource1.getContents().add(order);
208
    assertEquals(true, handler.getListOfAddingObject().contains(order));
209
    assertEquals(true, handler.getListOfAddingObject().contains(CDOUtil.getCDOObject(order)));
209
    assertEquals(true, handler.getListOfAddingObject().contains(orderDetail));
210
    assertEquals(true, handler.getListOfAddingObject().contains(CDOUtil.getCDOObject(orderDetail)));
210
211
211
    msg("Modifying Object");
212
    msg("Modifying Object");
212
    assertEquals(false, handler.getListOfModifyinObject().contains(orderDetail));
213
    assertEquals(false, handler.getListOfModifyinObject().contains(orderDetail));
213
    orderDetail.setPrice(1.0f);
214
    orderDetail.setPrice(1.0f);
214
    assertEquals(true, handler.getListOfModifyinObject().contains(orderDetail));
215
    assertEquals(true, handler.getListOfModifyinObject().contains(CDOUtil.getCDOObject(orderDetail)));
215
    transaction.close();
216
    transaction.close();
216
    session.close();
217
    session.close();
217
  }
218
  }
(-)src/org/eclipse/emf/cdo/tests/AdapterManagerTest.java (-4 / +4 lines)
Lines 62-68 Link Here
62
    System.gc();
62
    System.gc();
63
63
64
    assertEquals(false, transaction.isObjectRegistered(id));
64
    assertEquals(false, transaction.isObjectRegistered(id));
65
    companyA = (Company)transaction.getObject(id);
65
    companyA = (Company)CDOUtil.getEObject(transaction.getObject(id));
66
    assertEquals(0, testAdapter.getNotifications().size());
66
    assertEquals(0, testAdapter.getNotifications().size());
67
    companyA.setCity("Ottawa");
67
    companyA.setCity("Ottawa");
68
    assertEquals(0, testAdapter.getNotifications().size());
68
    assertEquals(0, testAdapter.getNotifications().size());
Lines 97-103 Link Here
97
    System.gc();
97
    System.gc();
98
98
99
    assertEquals(true, transaction.isObjectRegistered(id));
99
    assertEquals(true, transaction.isObjectRegistered(id));
100
    companyA = (Company)transaction.getObject(id);
100
    companyA = (Company)CDOUtil.getEObject(transaction.getObject(id));
101
101
102
    assertEquals(0, testAdapter.getNotifications().size());
102
    assertEquals(0, testAdapter.getNotifications().size());
103
    companyA.setCity("Ottawa");
103
    companyA.setCity("Ottawa");
Lines 136-142 Link Here
136
    System.gc();
136
    System.gc();
137
137
138
    assertEquals(true, transaction.isObjectRegistered(id));
138
    assertEquals(true, transaction.isObjectRegistered(id));
139
    companyA = (Company)transaction.getObject(id);
139
    companyA = (Company)CDOUtil.getEObject(transaction.getObject(id));
140
140
141
    assertEquals(0, testAdapter.getNotifications().size());
141
    assertEquals(0, testAdapter.getNotifications().size());
142
    companyA.setCity("Ottawa");
142
    companyA.setCity("Ottawa");
Lines 176-182 Link Here
176
    System.gc();
176
    System.gc();
177
177
178
    assertEquals(true, transaction.isObjectRegistered(id));
178
    assertEquals(true, transaction.isObjectRegistered(id));
179
    Company companyB = (Company)transaction.getObject(id);
179
    Company companyB = (Company)CDOUtil.getEObject(transaction.getObject(id));
180
    assertEquals(companyB, weakCompanyA.get());
180
    assertEquals(companyB, weakCompanyA.get());
181
    companyB.setCity("Ottawa");
181
    companyB.setCity("Ottawa");
182
    transaction.getResource("/resA").getContents().remove(0);
182
    transaction.getResource("/resA").getContents().remove(0);
(-)src/org/eclipse/emf/cdo/tests/CrossReferenceTest.java (-4 / +5 lines)
Lines 19-24 Link Here
19
import org.eclipse.emf.cdo.tests.model1.Customer;
19
import org.eclipse.emf.cdo.tests.model1.Customer;
20
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
20
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
21
import org.eclipse.emf.cdo.transaction.CDOTransaction;
21
import org.eclipse.emf.cdo.transaction.CDOTransaction;
22
import org.eclipse.emf.cdo.util.CDOUtil;
22
import org.eclipse.emf.cdo.view.CDOView;
23
import org.eclipse.emf.cdo.view.CDOView;
23
24
24
import org.eclipse.net4j.util.transaction.TransactionException;
25
import org.eclipse.net4j.util.transaction.TransactionException;
Lines 348-354 Link Here
348
    externalResource.getContents().add(customer);
349
    externalResource.getContents().add(customer);
349
350
350
    transaction.commit();
351
    transaction.commit();
351
    CDORevisionData data = ((CDOObject)salesOrder).cdoRevision().data();
352
    CDORevisionData data = CDOUtil.getCDOObject(salesOrder).cdoRevision().data();
352
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
353
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
353
    assertTrue(id.isExternal());
354
    assertTrue(id.isExternal());
354
  }
355
  }
Lines 413-419 Link Here
413
    externalResource.getContents().add(customer);
414
    externalResource.getContents().add(customer);
414
415
415
    transaction.commit();
416
    transaction.commit();
416
    CDORevisionData data = ((CDOObject)salesOrder).cdoRevision().data();
417
    CDORevisionData data = (CDOUtil.getCDOObject(salesOrder)).cdoRevision().data();
417
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
418
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
418
    assertTrue(id.isExternal());
419
    assertTrue(id.isExternal());
419
  }
420
  }
Lines 444-450 Link Here
444
    company.getCustomers().add(customer);
445
    company.getCustomers().add(customer);
445
446
446
    transaction.commit();
447
    transaction.commit();
447
    CDORevisionData data = ((CDOObject)salesOrder).cdoRevision().data();
448
    CDORevisionData data = (CDOUtil.getCDOObject(salesOrder)).cdoRevision().data();
448
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
449
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
449
    assertFalse(id.isExternal());
450
    assertFalse(id.isExternal());
450
  }
451
  }
Lines 475-481 Link Here
475
    externalResource.getContents().add(customer);
476
    externalResource.getContents().add(customer);
476
477
477
    transaction.commit();
478
    transaction.commit();
478
    CDORevisionData data = ((CDOObject)salesOrder).cdoRevision().data();
479
    CDORevisionData data = CDOUtil.getCDOObject(salesOrder).cdoRevision().data();
479
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
480
    CDOID id = (CDOID)data.get(getModel1Package().getSalesOrder_Customer(), 0);
480
    assertTrue(id.isExternal());
481
    assertTrue(id.isExternal());
481
482
(-)src/org/eclipse/emf/cdo/tests/SavePointTest.java (-4 / +3 lines)
Lines 11-17 Link Here
11
 */
11
 */
12
package org.eclipse.emf.cdo.tests;
12
package org.eclipse.emf.cdo.tests;
13
13
14
import org.eclipse.emf.cdo.CDOObject;
15
import org.eclipse.emf.cdo.eresource.CDOResource;
14
import org.eclipse.emf.cdo.eresource.CDOResource;
16
import org.eclipse.emf.cdo.session.CDOSession;
15
import org.eclipse.emf.cdo.session.CDOSession;
17
import org.eclipse.emf.cdo.tests.model1.Category;
16
import org.eclipse.emf.cdo.tests.model1.Category;
Lines 226-240 Link Here
226
225
227
    // Test NEW TO TRANSIENT (2 step back)
226
    // Test NEW TO TRANSIENT (2 step back)
228
    assertEquals(true, FSMUtil.isTransient(CDOUtil.getCDOObject(category3)));
227
    assertEquals(true, FSMUtil.isTransient(CDOUtil.getCDOObject(category3)));
229
    assertEquals(false, transaction1.getNewObjects().containsKey(((CDOObject)category3).cdoID()));
228
    assertEquals(false, transaction1.getNewObjects().containsKey(CDOUtil.getCDOObject(category3).cdoID()));
230
229
231
    // Test NEW TO TRANSIENT (1 step back)
230
    // Test NEW TO TRANSIENT (1 step back)
232
    assertEquals(true, FSMUtil.isTransient(CDOUtil.getCDOObject(category4)));
231
    assertEquals(true, FSMUtil.isTransient(CDOUtil.getCDOObject(category4)));
233
    assertEquals(false, transaction1.getNewObjects().containsKey(((CDOObject)category4).cdoID()));
232
    assertEquals(false, transaction1.getNewObjects().containsKey(CDOUtil.getCDOObject(category4).cdoID()));
234
233
235
    // Test NEW TO NEW
234
    // Test NEW TO NEW
236
    assertEquals(false, FSMUtil.isTransient(CDOUtil.getCDOObject(category2)));
235
    assertEquals(false, FSMUtil.isTransient(CDOUtil.getCDOObject(category2)));
237
    assertEquals(true, transaction1.getNewObjects().containsKey(((CDOObject)category2).cdoID()));
236
    assertEquals(true, transaction1.getNewObjects().containsKey((CDOUtil.getCDOObject(category2)).cdoID()));
238
237
239
    // Test rollback NEW
238
    // Test rollback NEW
240
    assertEquals("CITY1", company1.getCity());
239
    assertEquals("CITY1", company1.getCity());
(-)src/org/eclipse/emf/cdo/tests/InvalidationTest.java (-2 / +3 lines)
Lines 518-525 Link Here
518
518
519
    msg("Opening transactionB");
519
    msg("Opening transactionB");
520
    CDOTransaction transactionB = sessionB.openTransaction();
520
    CDOTransaction transactionB = sessionB.openTransaction();
521
    Category categoryB = (Category)transactionB.getObject(cdoidA, true);
521
    Category categoryB;
522
522
523
    categoryB = (Category)CDOUtil.getEObject(transactionB.getObject(cdoidA, true));
523
    msg("Changing name");
524
    msg("Changing name");
524
    categoryB.setName("CHANGED NAME");
525
    categoryB.setName("CHANGED NAME");
525
526
Lines 532-538 Link Here
532
      @Override
533
      @Override
533
      protected boolean successful()
534
      protected boolean successful()
534
      {
535
      {
535
        Category categoryA = (Category)transactionA.getObject(cdoidA, true);
536
        Category categoryA = (Category)CDOUtil.getEObject(transactionA.getObject(cdoidA, true));
536
        String name = categoryA.getName();
537
        String name = categoryA.getName();
537
        return "CHANGED NAME".equals(name);
538
        return "CHANGED NAME".equals(name);
538
      }
539
      }
(-)src/org/eclipse/emf/cdo/tests/RevisionDeltaTest.java (-3 / +4 lines)
Lines 11-17 Link Here
11
 */
11
 */
12
package org.eclipse.emf.cdo.tests;
12
package org.eclipse.emf.cdo.tests;
13
13
14
import org.eclipse.emf.cdo.CDOObject;
15
import org.eclipse.emf.cdo.common.id.CDOID;
14
import org.eclipse.emf.cdo.common.id.CDOID;
16
import org.eclipse.emf.cdo.common.revision.CDORevision;
15
import org.eclipse.emf.cdo.common.revision.CDORevision;
17
import org.eclipse.emf.cdo.common.revision.delta.CDOAddFeatureDelta;
16
import org.eclipse.emf.cdo.common.revision.delta.CDOAddFeatureDelta;
Lines 33-38 Link Here
33
32
34
import org.eclipse.emf.common.util.BasicEList;
33
import org.eclipse.emf.common.util.BasicEList;
35
import org.eclipse.emf.common.util.EList;
34
import org.eclipse.emf.common.util.EList;
35
import org.eclipse.emf.ecore.EObject;
36
import org.eclipse.emf.ecore.EStructuralFeature;
36
import org.eclipse.emf.ecore.EStructuralFeature;
37
import org.eclipse.emf.spi.cdo.InternalCDOTransaction;
37
import org.eclipse.emf.spi.cdo.InternalCDOTransaction;
38
38
Lines 126-132 Link Here
126
    transaction.close();
126
    transaction.close();
127
127
128
    CDOTransaction transaction2 = session.openTransaction();
128
    CDOTransaction transaction2 = session.openTransaction();
129
    SalesOrder salesOrder2 = (SalesOrder)transaction2.getObject(CDOUtil.getCDOObject(salesOrder).cdoID(), true);
129
    SalesOrder salesOrder2 = (SalesOrder)CDOUtil.getEObject(transaction2.getObject(CDOUtil.getCDOObject(salesOrder)
130
        .cdoID(), true));
130
    CDORevision salesRevision = CDOUtil.getCDOObject(salesOrder2).cdoRevision();
131
    CDORevision salesRevision = CDOUtil.getCDOObject(salesOrder2).cdoRevision();
131
    EStructuralFeature customerFeature = getModel1Package().getSalesOrder_Customer();
132
    EStructuralFeature customerFeature = getModel1Package().getSalesOrder_Customer();
132
133
Lines 432-438 Link Here
432
433
433
  private InternalCDORevision getCopyCDORevision(Object object)
434
  private InternalCDORevision getCopyCDORevision(Object object)
434
  {
435
  {
435
    return (InternalCDORevision)((CDOObject)object).cdoRevision().copy();
436
    return (InternalCDORevision)CDOUtil.getCDOObject((EObject)object).cdoRevision().copy();
436
  }
437
  }
437
438
438
  private void testStoreDelta(ListManipulator manipulator)
439
  private void testStoreDelta(ListManipulator manipulator)
(-)src/org/eclipse/emf/cdo/tests/AllTestsLegacy.java (-8 / +44 lines)
Lines 6-15 Link Here
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
9
 *    Martin Fluegge - initial API and implementation
10
 */
10
 */
11
package org.eclipse.emf.cdo.tests;
11
package org.eclipse.emf.cdo.tests;
12
12
13
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_246622_Test;
14
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_248915_Test;
15
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_251263_Test;
16
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_254489_Test;
17
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_258933_Test;
18
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_259695_Test;
19
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_260756_Test;
20
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_266982_Test;
21
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_273565_Test;
22
import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_279982_Test;
13
import org.eclipse.emf.cdo.tests.config.impl.ConfigTest;
23
import org.eclipse.emf.cdo.tests.config.impl.ConfigTest;
14
24
15
import java.util.List;
25
import java.util.List;
Lines 18-24 Link Here
18
import junit.framework.TestSuite;
28
import junit.framework.TestSuite;
19
29
20
/**
30
/**
21
 * @author Eike Stepper
31
 * @author Martin Fluegge
22
 */
32
 */
23
public class AllTestsLegacy extends AllTestsAllConfigs
33
public class AllTestsLegacy extends AllTestsAllConfigs
24
{
34
{
Lines 30-41 Link Here
30
  @Override
40
  @Override
31
  protected void initTestClasses(List<Class<? extends ConfigTest>> testClasses)
41
  protected void initTestClasses(List<Class<? extends ConfigTest>> testClasses)
32
  {
42
  {
33
    /**
43
    // testClasses.add(ChunkingTest.class);
34
     * TODO Martin: currently there is only one test cases for Legacy models. All the other testcases must get become
44
    super.initTestClasses(testClasses);
35
     * aware of CDOLegacyWrapper and the other testcases must be converted.
45
36
     */
46
    testClasses.remove(UnsetTest.class);
37
    testClasses.add(MangoTest.class);
47
    testClasses.remove(PushTransactionTest.class); // ArrayStoreException
38
    // testClasses.add(InvalidationTest.class);
48
    testClasses.remove(ContainmentTest.class); // ArrayStoreException/NullpointerException in Transaction
49
    testClasses.remove(RollbackTest.class); // Failures
50
    testClasses.remove(CrossReferenceTest.class); // Failures
51
    testClasses.remove(ChunkingTest.class); // ArrayStoreException / ClassCastExecption
52
    testClasses.remove(ChunkingWithMEMTest.class); // java.lang.ClassCastException
53
    testClasses.remove(MetaTest.class); // wa // NullPointer
54
    testClasses.remove(AutoAttacherTest.class); // transaction failure
55
    testClasses.remove(SavePointTest.class);
56
    testClasses.remove(ChangeSubscriptionTest.class); // timeout
57
    testClasses.remove(ExternalReferenceTest.class); // NullPointerException / ObjectNotFoundException
58
    testClasses.remove(XATransactionTest.class);
59
    testClasses.remove(LockingManagerTest.class); // Locking not support in Legacy Mode
60
    testClasses.remove(MultiValuedOfAttributeTest.class); // java.lang.ArrayStoreException
61
    testClasses.remove(ConflictResolverTest.class); // null value in Attribute
62
63
    //
64
    // Bugzilla verifications
65
    testClasses.remove(Bugzilla_246622_Test.class);
66
    testClasses.remove(Bugzilla_248915_Test.class); // Failure incomplete resource
67
    testClasses.remove(Bugzilla_251263_Test.class);
68
    testClasses.remove(Bugzilla_254489_Test.class); // timeout
69
    testClasses.remove(Bugzilla_258933_Test.class);
70
    testClasses.remove(Bugzilla_259695_Test.class); // ArrayIndexOutOfBounds
71
    testClasses.remove(Bugzilla_260756_Test.class); // ArrayStoreException
72
    testClasses.remove(Bugzilla_266982_Test.class);
73
    testClasses.remove(Bugzilla_273565_Test.class); // locking not supported
74
    testClasses.remove(Bugzilla_279982_Test.class);
39
  }
75
  }
40
76
41
  @Override
77
  @Override
(-)src/org/eclipse/emf/cdo/tests/ComplexTest.java (-8 / +21 lines)
Lines 12-17 Link Here
12
12
13
import org.eclipse.emf.cdo.eresource.CDOResource;
13
import org.eclipse.emf.cdo.eresource.CDOResource;
14
import org.eclipse.emf.cdo.session.CDOSession;
14
import org.eclipse.emf.cdo.session.CDOSession;
15
import org.eclipse.emf.cdo.tests.config.impl.ModelConfig;
15
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite;
16
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
17
import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained;
17
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
18
import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained;
Lines 126-131 Link Here
126
    RefSingleNonContained container = factory.createRefSingleNonContained();
127
    RefSingleNonContained container = factory.createRefSingleNonContained();
127
    SingleNonContainedElement element0 = factory.createSingleNonContainedElement();
128
    SingleNonContainedElement element0 = factory.createSingleNonContainedElement();
128
    element0.setName("PlainSingleNonContainedBidirectional-Element-0");
129
    element0.setName("PlainSingleNonContainedBidirectional-Element-0");
130
    System.out.println(resource1.getContents().size());
129
    resource1.getContents().add(container);
131
    resource1.getContents().add(container);
130
    resource1.getContents().add(element0);
132
    resource1.getContents().add(element0);
131
    container.setElement(element0);
133
    container.setElement(element0);
Lines 152-157 Link Here
152
    RefSingleContained container = factory.createRefSingleContained();
154
    RefSingleContained container = factory.createRefSingleContained();
153
    SingleContainedElement element0 = factory.createSingleContainedElement();
155
    SingleContainedElement element0 = factory.createSingleContainedElement();
154
    element0.setName("PlainSingleContainedBidirectional-Element-0");
156
    element0.setName("PlainSingleContainedBidirectional-Element-0");
157
    System.out.println(resource1.getContents().size());
155
    resource1.getContents().add(container);
158
    resource1.getContents().add(container);
156
    container.setElement(element0);
159
    container.setElement(element0);
157
    commit();
160
    commit();
Lines 159-165 Link Here
159
    purgeCaches();
162
    purgeCaches();
160
    assertEquals(1, resource1.getContents().size());
163
    assertEquals(1, resource1.getContents().size());
161
164
162
    container = (RefSingleContained)resource1.getContents().get(0);
165
    container = (RefSingleContained)CDOUtil.getEObject(resource1.getContents().get(0));
163
    element0 = container.getElement();
166
    element0 = container.getElement();
164
167
165
    assertEquals(container, element0.getParent());
168
    assertEquals(container, element0.getParent());
Lines 188-194 Link Here
188
    purgeCaches();
191
    purgeCaches();
189
    assertEquals(3, resource1.getContents().size());
192
    assertEquals(3, resource1.getContents().size());
190
193
191
    container = (RefMultiNonContained)resource1.getContents().get(0);
194
    container = (RefMultiNonContained)CDOUtil.getEObject(resource1.getContents().get(0));
192
    element0 = (MultiNonContainedElement)resource1.getContents().get(1);
195
    element0 = (MultiNonContainedElement)resource1.getContents().get(1);
193
    element1 = (MultiNonContainedElement)resource1.getContents().get(2);
196
    element1 = (MultiNonContainedElement)resource1.getContents().get(2);
194
197
Lines 388-399 Link Here
388
    resource1.getContents().add(container);
391
    resource1.getContents().add(container);
389
    container.setElement(element0);
392
    container.setElement(element0);
390
393
391
    resource1.getContents().add(element0);
394
    if (!isConfig(ModelConfig.Legacy.INSTANCE))
395
    {
396
      resource1.getContents().add(element0);
397
    }
392
398
393
    commit();
399
    commit();
394
400
395
    purgeCaches();
401
    purgeCaches();
396
    assertEquals(2, resource1.getContents().size());
402
    if (!isConfig(ModelConfig.Legacy.INSTANCE))
403
    {
404
      assertEquals(2, resource1.getContents().size());
405
    }
406
    else
407
    {
408
      assertEquals(1, resource1.getContents().size());
409
    }
397
410
398
    container = (GenRefSingleContained)resource1.getContents().get(0);
411
    container = (GenRefSingleContained)resource1.getContents().get(0);
399
    element0 = (ImplContainedElementNPL)container.getElement();
412
    element0 = (ImplContainedElementNPL)container.getElement();
Lines 485-491 Link Here
485
    purgeCaches();
498
    purgeCaches();
486
    assertEquals(2, resource1.getContents().size());
499
    assertEquals(2, resource1.getContents().size());
487
500
488
    container = (ImplSingleRefNonContainer)resource1.getContents().get(0);
501
    container = (ImplSingleRefNonContainer)CDOUtil.getEObject(resource1.getContents().get(0));
489
    ISingleRefNonContainedElement element0_ = (ISingleRefNonContainedElement)resource1.getContents().get(1);
502
    ISingleRefNonContainedElement element0_ = (ISingleRefNonContainedElement)resource1.getContents().get(1);
490
503
491
    assertEquals(element0_, container.getElement());
504
    assertEquals(element0_, container.getElement());
Lines 511-517 Link Here
511
    purgeCaches();
524
    purgeCaches();
512
    assertEquals(1, resource1.getContents().size());
525
    assertEquals(1, resource1.getContents().size());
513
526
514
    container = (ImplSingleRefContainer)resource1.getContents().get(0);
527
    container = (ImplSingleRefContainer)CDOUtil.getEObject(resource1.getContents().get(0));
515
    ISingleRefContainedElement element0_ = container.getElement();
528
    ISingleRefContainedElement element0_ = container.getElement();
516
529
517
    assertEquals(container, element0_.getParent());
530
    assertEquals(container, element0_.getParent());
Lines 723-729 Link Here
723
    assertEquals(1, resource1.getContents().size());
736
    assertEquals(1, resource1.getContents().size());
724
    assertEquals(1, resource2.getContents().size());
737
    assertEquals(1, resource2.getContents().size());
725
738
726
    container = (RefSingleNonContained)resource1.getContents().get(0);
739
    container = (RefSingleNonContained)CDOUtil.getEObject(resource1.getContents().get(0));
727
    element0 = (SingleNonContainedElement)resource2.getContents().get(0);
740
    element0 = (SingleNonContainedElement)resource2.getContents().get(0);
728
741
729
    assertEquals(element0, container.getElement());
742
    assertEquals(element0, container.getElement());
Lines 909-915 Link Here
909
    assertEquals(1, resource1.getContents().size());
922
    assertEquals(1, resource1.getContents().size());
910
    assertEquals(1, resource2.getContents().size());
923
    assertEquals(1, resource2.getContents().size());
911
924
912
    container = (ImplSingleRefNonContainer)resource1.getContents().get(0);
925
    container = (ImplSingleRefNonContainer)CDOUtil.getEObject(resource1.getContents().get(0));
913
    ISingleRefNonContainedElement element0_ = (ISingleRefNonContainedElement)resource2.getContents().get(0);
926
    ISingleRefNonContainedElement element0_ = (ISingleRefNonContainedElement)resource2.getContents().get(0);
914
927
915
    assertEquals(element0_, container.getElement());
928
    assertEquals(element0_, container.getElement());
(-)src/org/eclipse/emf/cdo/tests/DetachTest.java (-2 / +2 lines)
Lines 19-26 Link Here
19
import org.eclipse.emf.cdo.tests.model1.Order;
19
import org.eclipse.emf.cdo.tests.model1.Order;
20
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
20
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
21
import org.eclipse.emf.cdo.tests.model1.Product1;
21
import org.eclipse.emf.cdo.tests.model1.Product1;
22
import org.eclipse.emf.cdo.transaction.CDOUserSavepoint;
23
import org.eclipse.emf.cdo.transaction.CDOTransaction;
22
import org.eclipse.emf.cdo.transaction.CDOTransaction;
23
import org.eclipse.emf.cdo.transaction.CDOUserSavepoint;
24
import org.eclipse.emf.cdo.util.CDOUtil;
24
import org.eclipse.emf.cdo.util.CDOUtil;
25
import org.eclipse.emf.cdo.util.ObjectNotFoundException;
25
import org.eclipse.emf.cdo.util.ObjectNotFoundException;
26
26
Lines 79-85 Link Here
79
79
80
    resource.getContents().remove(c1);
80
    resource.getContents().remove(c1);
81
    assertTransient(c1);
81
    assertTransient(c1);
82
    assertSame(c1, transaction.getObject(id));
82
    assertSame(c1, CDOUtil.getEObject(transaction.getObject(id)));
83
    assertSame(c1, transaction.getResourceSet().getEObject(uriC1, false));
83
    assertSame(c1, transaction.getResourceSet().getEObject(uriC1, false));
84
84
85
    transaction.commit();
85
    transaction.commit();
(-)src/org/eclipse/emf/cdo/tests/ResourceTest.java (-4 / +4 lines)
Lines 709-715 Link Here
709
    CDOResource resource = createResource(transaction, "/resource1");
709
    CDOResource resource = createResource(transaction, "/resource1");
710
    CDOID resourceID = resource.cdoID();
710
    CDOID resourceID = resource.cdoID();
711
711
712
    CDOObject object = (CDOObject)resource.getContents().get(0);
712
    CDOObject object = (CDOObject)CDOUtil.getCDOObject(resource.getContents().get(0));
713
    CDOID objectID = object.cdoID();
713
    CDOID objectID = object.cdoID();
714
714
715
    transaction.commit();
715
    transaction.commit();
Lines 767-773 Link Here
767
    CDOResource resource = createResource(transaction, "/resource1");
767
    CDOResource resource = createResource(transaction, "/resource1");
768
    CDOID resourceID = resource.cdoID();
768
    CDOID resourceID = resource.cdoID();
769
769
770
    CDOObject object = (CDOObject)resource.getContents().get(0);
770
    CDOObject object = (CDOObject)CDOUtil.getCDOObject(resource.getContents().get(0));
771
    CDOID objectID = object.cdoID();
771
    CDOID objectID = object.cdoID();
772
772
773
    transaction.commit();
773
    transaction.commit();
Lines 980-986 Link Here
980
    CDOSession session = openModel1Session();
980
    CDOSession session = openModel1Session();
981
    CDOTransaction transaction = session.openTransaction();
981
    CDOTransaction transaction = session.openTransaction();
982
    CDOResource resource = createResource(transaction, "/folder/resource1");
982
    CDOResource resource = createResource(transaction, "/folder/resource1");
983
    CDOObject object = (CDOObject)resource.getContents().get(0);
983
    CDOObject object = (CDOObject)CDOUtil.getCDOObject(resource.getContents().get(0));
984
    transaction.commit();
984
    transaction.commit();
985
985
986
    CDOResourceFolder folder = resource.getFolder();
986
    CDOResourceFolder folder = resource.getFolder();
Lines 1057-1063 Link Here
1057
    CDOSession session = openModel1Session();
1057
    CDOSession session = openModel1Session();
1058
    CDOTransaction transaction = session.openTransaction();
1058
    CDOTransaction transaction = session.openTransaction();
1059
    CDOResource resource = createResource(transaction, "/folder/resource1");
1059
    CDOResource resource = createResource(transaction, "/folder/resource1");
1060
    CDOObject object = (CDOObject)resource.getContents().get(0);
1060
    CDOObject object = (CDOObject)CDOUtil.getCDOObject(resource.getContents().get(0));
1061
    transaction.commit();
1061
    transaction.commit();
1062
1062
1063
    CDOResourceFolder folder = resource.getFolder();
1063
    CDOResourceFolder folder = resource.getFolder();
(-)src/org/eclipse/emf/cdo/tests/ChangeSubscriptionTest.java (-6 / +12 lines)
Lines 90-96 Link Here
90
    msg("Opening view");
90
    msg("Opening view");
91
    final CDOTransaction transaction2 = session.openTransaction();
91
    final CDOTransaction transaction2 = session.openTransaction();
92
92
93
    final Category category1B = (Category)transaction2.getObject(CDOUtil.getCDOObject(category1A).cdoID(), true);
93
    final Category category1B = (Category)CDOUtil.getEObject(transaction2.getObject(CDOUtil.getCDOObject(category1A)
94
        .cdoID(), true));
94
95
95
    msg("Changing name");
96
    msg("Changing name");
96
    category1B.setName("CHANGED NAME");
97
    category1B.setName("CHANGED NAME");
Lines 205-211 Link Here
205
206
206
    final CDOTransaction transaction2 = session2.openTransaction();
207
    final CDOTransaction transaction2 = session2.openTransaction();
207
208
208
    final Category category1B = (Category)transaction2.getObject(CDOUtil.getCDOObject(category1A).cdoID(), true);
209
    final Category category1B = (Category)CDOUtil.getEObject(transaction2.getObject(CDOUtil.getCDOObject(category1A)
210
        .cdoID(), true));
209
211
210
    msg("Changing name");
212
    msg("Changing name");
211
    category1B.setName("CHANGED NAME");
213
    category1B.setName("CHANGED NAME");
Lines 300-306 Link Here
300
    final CDOTransaction transaction2 = session2.openTransaction();
302
    final CDOTransaction transaction2 = session2.openTransaction();
301
    transaction.options().addChangeSubscriptionPolicy(CDOAdapterPolicy.ALL);
303
    transaction.options().addChangeSubscriptionPolicy(CDOAdapterPolicy.ALL);
302
304
303
    final Category category1B = (Category)transaction2.getObject(CDOUtil.getCDOObject(category1A).cdoID(), true);
305
    final Category category1B = (Category)CDOUtil.getEObject(transaction2.getObject(CDOUtil.getCDOObject(category1A)
306
        .cdoID(), true));
304
307
305
    msg("Changing name");
308
    msg("Changing name");
306
    category1B.setName("CHANGED NAME");
309
    category1B.setName("CHANGED NAME");
Lines 371-378 Link Here
371
374
372
    final CDOTransaction transaction2 = session2.openTransaction();
375
    final CDOTransaction transaction2 = session2.openTransaction();
373
376
374
    final Category category1B = (Category)transaction2.getObject(CDOUtil.getCDOObject(category1A).cdoID(), true);
377
    final Category category1B = (Category)CDOUtil.getEObject(transaction2.getObject(CDOUtil.getCDOObject(category1A)
375
    final Company company1B = (Company)transaction2.getObject(CDOUtil.getCDOObject(companyA).cdoID(), true);
378
        .cdoID(), true));
379
    final Company company1B = (Company)CDOUtil.getEObject(transaction2.getObject(
380
        CDOUtil.getCDOObject(companyA).cdoID(), true));
376
381
377
    msg("Changing name");
382
    msg("Changing name");
378
    category1B.setName("CHANGED NAME");
383
    category1B.setName("CHANGED NAME");
Lines 463-469 Link Here
463
468
464
    final CDOTransaction transaction2 = session2.openTransaction();
469
    final CDOTransaction transaction2 = session2.openTransaction();
465
470
466
    final Company company1B = (Company)transaction2.getObject(CDOUtil.getCDOObject(companyA).cdoID(), true);
471
    final Company company1B = (Company)CDOUtil.getEObject(transaction2.getObject(
472
        CDOUtil.getCDOObject(companyA).cdoID(), true));
467
473
468
    msg("Changing name");
474
    msg("Changing name");
469
    company1B.setName("TEST1");
475
    company1B.setName("TEST1");
(-)src/org/eclipse/emf/cdo/tests/EnumTest.java (+2 lines)
Lines 168-173 Link Here
168
      CDOResource resource = transaction.getResource("/my/resource");
168
      CDOResource resource = transaction.getResource("/my/resource");
169
      Category category = (Category)resource.getContents().get(0);
169
      Category category = (Category)resource.getContents().get(0);
170
      Product1 product = category.getProducts().get(0);
170
      Product1 product = category.getProducts().get(0);
171
      System.out.println(VAT.VAT7 + "/" + product.getVat());
172
171
      assertEquals(VAT.VAT7, product.getVat());
173
      assertEquals(VAT.VAT7, product.getVat());
172
174
173
      product.setVat(VAT.VAT15);
175
      product.setVat(VAT.VAT15);
(-)src/org/eclipse/emf/cdo/tests/InitialTest.java (-2 / +4 lines)
Lines 767-773 Link Here
767
767
768
    msg("Opening transaction");
768
    msg("Opening transaction");
769
    transaction = session.openTransaction();
769
    transaction = session.openTransaction();
770
    orderAddress = (OrderAddress)transaction.getObject(CDOUtil.getCDOObject(orderAddress).cdoID(), true);
770
    orderAddress = (OrderAddress)CDOUtil.getEObject(transaction.getObject(CDOUtil.getCDOObject(orderAddress).cdoID(),
771
        true));
771
772
772
    assertEquals(2.8f, orderAddress.getPrice());
773
    assertEquals(2.8f, orderAddress.getPrice());
773
    assertEquals("ALLO", orderAddress.getCity());
774
    assertEquals("ALLO", orderAddress.getCity());
Lines 779-785 Link Here
779
    session = openModel1Session();
780
    session = openModel1Session();
780
781
781
    transaction = session.openTransaction();
782
    transaction = session.openTransaction();
782
    orderAddress = (OrderAddress)transaction.getObject(CDOUtil.getCDOObject(orderAddress).cdoID(), true);
783
    orderAddress = (OrderAddress)CDOUtil.getEObject(transaction.getObject(CDOUtil.getCDOObject(orderAddress).cdoID(),
784
        true));
783
785
784
    assertEquals(2.8f, orderAddress.getPrice());
786
    assertEquals(2.8f, orderAddress.getPrice());
785
    assertEquals("ALLO", orderAddress.getCity());
787
    assertEquals("ALLO", orderAddress.getCity());
(-)src/org/eclipse/emf/cdo/tests/PackageRegistryTest.java (-2 / +2 lines)
Lines 392-398 Link Here
392
    CDOTransaction transaction = session.openTransaction();
392
    CDOTransaction transaction = session.openTransaction();
393
    CDOResource res = transaction.getResource("/res");
393
    CDOResource res = transaction.getResource("/res");
394
394
395
    CDOObject company = (CDOObject)res.getContents().get(0);
395
    CDOObject company = CDOUtil.getCDOObject(res.getContents().get(0));
396
    EClass companyClass = company.eClass();
396
    EClass companyClass = company.eClass();
397
    EAttribute nameAttribute = (EAttribute)companyClass.getEStructuralFeature("name");
397
    EAttribute nameAttribute = (EAttribute)companyClass.getEStructuralFeature("name");
398
    String name = (String)company.eGet(nameAttribute);
398
    String name = (String)company.eGet(nameAttribute);
Lines 425-431 Link Here
425
    CDOTransaction transaction = session.openTransaction();
425
    CDOTransaction transaction = session.openTransaction();
426
    CDOResource res = transaction.getResource("/res");
426
    CDOResource res = transaction.getResource("/res");
427
427
428
    CDOObject company = (CDOObject)res.getContents().get(0);
428
    CDOObject company = CDOUtil.getCDOObject(res.getContents().get(0));
429
    EClass companyClass = company.eClass();
429
    EClass companyClass = company.eClass();
430
    EAttribute nameAttribute = (EAttribute)companyClass.getEStructuralFeature("name");
430
    EAttribute nameAttribute = (EAttribute)companyClass.getEStructuralFeature("name");
431
    String name = (String)company.eGet(nameAttribute);
431
    String name = (String)company.eGet(nameAttribute);
(-)src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_251087_Test.java (-1 / +1 lines)
Lines 80-86 Link Here
80
80
81
    CDOTransaction transB1 = sessionB.openTransaction();
81
    CDOTransaction transB1 = sessionB.openTransaction();
82
    CDOID companyID = CDOUtil.getCDOObject(obj2).cdoID();
82
    CDOID companyID = CDOUtil.getCDOObject(obj2).cdoID();
83
    Company companyB = (Company)transB1.getObject(companyID);
83
    Company companyB = (Company)CDOUtil.getEObject(transB1.getObject(companyID));
84
    sessionB.options().setPassiveUpdateEnabled(false);
84
    sessionB.options().setPassiveUpdateEnabled(false);
85
    transB1.options().addChangeSubscriptionPolicy(CDOAdapterPolicy.ALL);
85
    transB1.options().addChangeSubscriptionPolicy(CDOAdapterPolicy.ALL);
86
    final TestAdapter testAdapter = new TestAdapter();
86
    final TestAdapter testAdapter = new TestAdapter();
(-)src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_283985_SavePointTest.java (-3 / +4 lines)
Lines 20-25 Link Here
20
import org.eclipse.emf.cdo.tests.model1.Order;
20
import org.eclipse.emf.cdo.tests.model1.Order;
21
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
21
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
22
import org.eclipse.emf.cdo.transaction.CDOTransaction;
22
import org.eclipse.emf.cdo.transaction.CDOTransaction;
23
import org.eclipse.emf.cdo.util.CDOUtil;
23
24
24
import org.eclipse.emf.spi.cdo.InternalCDOSavepoint;
25
import org.eclipse.emf.spi.cdo.InternalCDOSavepoint;
25
26
Lines 76-82 Link Here
76
77
77
  public void test1()
78
  public void test1()
78
  {
79
  {
79
    CDOID id = ((CDOObject)detail1).cdoID();
80
    CDOID id = CDOUtil.getCDOObject(detail1).cdoID();
80
81
81
    order1.getOrderDetails().remove(detail1);
82
    order1.getOrderDetails().remove(detail1);
82
    assertTransient(detail1);
83
    assertTransient(detail1);
Lines 86-92 Link Here
86
    assertDirty(detail1, transaction);
87
    assertDirty(detail1, transaction);
87
88
88
    transaction.commit();
89
    transaction.commit();
89
    assertEquals(id, ((CDOObject)detail1).cdoID());
90
    assertEquals(id, (CDOUtil.getCDOObject(detail1)).cdoID());
90
    assertEquals(detail1, transaction.getObject(id));
91
    assertEquals(detail1, transaction.getObject(id));
91
    assertClean(detail1, transaction);
92
    assertClean(detail1, transaction);
92
  }
93
  }
Lines 116-122 Link Here
116
117
117
  public void test3()
118
  public void test3()
118
  {
119
  {
119
    CDOID id = ((CDOObject)detail1).cdoID();
120
    CDOID id = CDOUtil.getCDOObject(detail1).cdoID();
120
121
121
    transaction.setSavepoint();
122
    transaction.setSavepoint();
122
    assertClean(detail1, transaction);
123
    assertClean(detail1, transaction);
(-)src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_250910_Test.java (-1 / +1 lines)
Lines 61-67 Link Here
61
      transaction1.commit();
61
      transaction1.commit();
62
62
63
      transaction2.options().setInvalidationNotificationEnabled(true);
63
      transaction2.options().setInvalidationNotificationEnabled(true);
64
      Company company2 = (Company)transaction2.getObject(id, true);
64
      Company company2 = (Company)CDOUtil.getEObject(transaction2.getObject(id, true));
65
      company2.eAdapters().add(testAdapter);
65
      company2.eAdapters().add(testAdapter);
66
66
67
      transaction2.getLock().unlock();
67
      transaction2.getLock().unlock();
(-)src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_260764_Test.java (-2 / +2 lines)
Lines 62-69 Link Here
62
    session2.options().setPassiveUpdateEnabled(false);
62
    session2.options().setPassiveUpdateEnabled(false);
63
63
64
    final CDOTransaction transaction2 = session2.openTransaction();
64
    final CDOTransaction transaction2 = session2.openTransaction();
65
    final OrderAddress orderAddress2 = (OrderAddress)transaction2.getObject(CDOUtil.getCDOObject(orderAddress).cdoID(),
65
    final OrderAddress orderAddress2 = (OrderAddress)CDOUtil.getEObject(transaction2.getObject(CDOUtil.getCDOObject(
66
        true);
66
        orderAddress).cdoID(), true));
67
67
68
    OrderDetail orderDetail = getModel1Factory().createOrderDetail();
68
    OrderDetail orderDetail = getModel1Factory().createOrderDetail();
69
    orderAddress2.getOrderDetails().add(orderDetail);
69
    orderAddress2.getOrderDetails().add(orderDetail);
(-)src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_283985_CDOTest.java (-8 / +9 lines)
Lines 27-32 Link Here
27
import org.eclipse.emf.cdo.tests.model4.model4Package;
27
import org.eclipse.emf.cdo.tests.model4.model4Package;
28
import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage;
28
import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage;
29
import org.eclipse.emf.cdo.transaction.CDOTransaction;
29
import org.eclipse.emf.cdo.transaction.CDOTransaction;
30
import org.eclipse.emf.cdo.util.CDOUtil;
30
import org.eclipse.emf.cdo.util.ObjectNotFoundException;
31
import org.eclipse.emf.cdo.util.ObjectNotFoundException;
31
import org.eclipse.emf.cdo.view.CDOView;
32
import org.eclipse.emf.cdo.view.CDOView;
32
33
Lines 221-228 Link Here
221
    int i = 0;
222
    int i = 0;
222
    for (OrderDetail detail : details)
223
    for (OrderDetail detail : details)
223
    {
224
    {
224
      cdoIDsBefore[i] = ((CDOObject)detail).cdoID();
225
      cdoIDsBefore[i] = CDOUtil.getCDOObject(detail).cdoID();
225
      versionsBefore[i] = ((CDOObject)detail).cdoRevision().getVersion();
226
      versionsBefore[i] = CDOUtil.getCDOObject(detail).cdoRevision().getVersion();
226
      i++;
227
      i++;
227
    }
228
    }
228
229
Lines 241-251 Link Here
241
    i = 0;
242
    i = 0;
242
    for (OrderDetail detail : details)
243
    for (OrderDetail detail : details)
243
    {
244
    {
244
      CDOID idAfter = ((CDOObject)detail).cdoID();
245
      CDOID idAfter = CDOUtil.getCDOObject(detail).cdoID();
245
      CDOID idBefore = cdoIDsBefore[i];
246
      CDOID idBefore = cdoIDsBefore[i];
246
      assertEquals(idBefore, idAfter);
247
      assertEquals(idBefore, idAfter);
247
248
248
      int versionAfter = ((CDOObject)detail).cdoRevision().getVersion();
249
      int versionAfter = CDOUtil.getCDOObject(detail).cdoRevision().getVersion();
249
      int versionBefore = versionsBefore[i];
250
      int versionBefore = versionsBefore[i];
250
      assertEquals(versionBefore + 1, versionAfter);
251
      assertEquals(versionBefore + 1, versionAfter);
251
252
Lines 259-269 Link Here
259
    i = 0;
260
    i = 0;
260
    for (OrderDetail detail : details)
261
    for (OrderDetail detail : details)
261
    {
262
    {
262
      CDOID idAfter = ((CDOObject)detail).cdoID();
263
      CDOID idAfter = CDOUtil.getCDOObject(detail).cdoID();
263
      CDOID idBefore = cdoIDsBefore[i];
264
      CDOID idBefore = cdoIDsBefore[i];
264
      assertEquals(idBefore, idAfter);
265
      assertEquals(idBefore, idAfter);
265
266
266
      int versionAfter = ((CDOObject)detail).cdoRevision().getVersion();
267
      int versionAfter = CDOUtil.getCDOObject(detail).cdoRevision().getVersion();
267
      int versionBefore = versionsBefore[i];
268
      int versionBefore = versionsBefore[i];
268
      assertEquals(versionBefore + 1, versionAfter);
269
      assertEquals(versionBefore + 1, versionAfter);
269
270
Lines 362-368 Link Here
362
    tx.commit();
363
    tx.commit();
363
364
364
    order2.getOrderDetails().remove(detail1);
365
    order2.getOrderDetails().remove(detail1);
365
    assertTrue(((CDOObject)detail1).cdoState() == CDOState.TRANSIENT);
366
    assertTrue((CDOUtil.getCDOObject(detail1)).cdoState() == CDOState.TRANSIENT);
366
367
367
    boolean contains;
368
    boolean contains;
368
369
Lines 455-461 Link Here
455
    tx.commit();
456
    tx.commit();
456
    assertSame(order1, detail1.eContainer());
457
    assertSame(order1, detail1.eContainer());
457
458
458
    assertSame(CDOState.CLEAN, ((CDOObject)detail1).cdoState());
459
    assertSame(CDOState.CLEAN, CDOUtil.getCDOObject(detail1).cdoState());
459
460
460
    // Drag and drop #3
461
    // Drag and drop #3
461
    cmd = DragAndDropCommand.create(domain, order2, location, operations, operation, coll);
462
    cmd = DragAndDropCommand.create(domain, order2, location, operations, operation, coll);
(-)src/org/eclipse/emf/cdo/tests/config/impl/ModelConfig.java (-30 / +10 lines)
Lines 169-226 Link Here
169
169
170
    public Model2Factory getModel2Factory()
170
    public Model2Factory getModel2Factory()
171
    {
171
    {
172
      // TODO: implement ModelConfig.Legacy.getModel2Factory()
172
      return org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory.eINSTANCE;
173
      throw new UnsupportedOperationException();
174
      // return org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory.eINSTANCE;
175
    }
173
    }
176
174
177
    public Model2Package getModel2Package()
175
    public Model2Package getModel2Package()
178
    {
176
    {
179
      // TODO: implement ModelConfig.Legacy.getModel2Package()
177
      return org.eclipse.emf.cdo.tests.legacy.model2.Model2Package.eINSTANCE;
180
      throw new UnsupportedOperationException();
181
      // return org.eclipse.emf.cdo.tests.legacy.model2.Model2Package.eINSTANCE;
182
    }
178
    }
183
179
184
    public Model3Factory getModel3Factory()
180
    public Model3Factory getModel3Factory()
185
    {
181
    {
186
      // TODO: implement ModelConfig.Legacy.getModel3Factory()
182
      return org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory.eINSTANCE;
187
      throw new UnsupportedOperationException();
188
      // return org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory.eINSTANCE;
189
    }
183
    }
190
184
191
    public Model3Package getModel3Package()
185
    public Model3Package getModel3Package()
192
    {
186
    {
193
      // TODO: implement ModelConfig.Legacy.getModel3Package()
187
      return org.eclipse.emf.cdo.tests.legacy.model3.Model3Package.eINSTANCE;
194
      throw new UnsupportedOperationException();
195
      // return org.eclipse.emf.cdo.tests.legacy.model3.Model3Package.eINSTANCE;
196
    }
188
    }
197
189
198
    public SubpackageFactory getModel3SubPackageFactory()
190
    public SubpackageFactory getModel3SubPackageFactory()
199
    {
191
    {
200
      // TODO: implement ModelConfig.Legacy.getModel3SubPackageFactory()
192
      return org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory.eINSTANCE;
201
      throw new UnsupportedOperationException();
202
      // return org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory.eINSTANCE;
203
    }
193
    }
204
194
205
    public SubpackagePackage getModel3SubPackagePackage()
195
    public SubpackagePackage getModel3SubPackagePackage()
206
    {
196
    {
207
      // TODO: implement ModelConfig.Legacy.getModel3SubPackagePackage()
197
      return org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage.eINSTANCE;
208
      throw new UnsupportedOperationException();
209
      // return org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage.eINSTANCE;
210
    }
198
    }
211
199
212
    public model4Factory getModel4Factory()
200
    public model4Factory getModel4Factory()
213
    {
201
    {
214
      // TODO: implement ModelConfig.Legacy.getModel4Factory()
202
      return org.eclipse.emf.cdo.tests.legacy.model4.model4Factory.eINSTANCE;
215
      throw new UnsupportedOperationException();
216
      // return org.eclipse.emf.cdo.tests.legacy.model4.model4Factory.eINSTANCE;
217
    }
203
    }
218
204
219
    public model4Package getModel4Package()
205
    public model4Package getModel4Package()
220
    {
206
    {
221
      // TODO: implement ModelConfig.Legacy.getModel4Package()
207
      return org.eclipse.emf.cdo.tests.legacy.model4.model4Package.eINSTANCE;
222
      throw new UnsupportedOperationException();
223
      // return org.eclipse.emf.cdo.tests.legacy.model4.model4Package.eINSTANCE;
224
    }
208
    }
225
209
226
    public model4interfacesPackage getModel4InterfacesPackage()
210
    public model4interfacesPackage getModel4InterfacesPackage()
Lines 230-245 Link Here
230
214
231
    public Model5Factory getModel5Factory()
215
    public Model5Factory getModel5Factory()
232
    {
216
    {
233
      // TODO: implement ModelConfig.Legacy.getModel5Factory()
217
      return org.eclipse.emf.cdo.tests.legacy.model5.Model5Factory.eINSTANCE;
234
      throw new UnsupportedOperationException();
235
      // return org.eclipse.emf.cdo.tests.legacy.model5.Model5Factory.eINSTANCE;
236
    }
218
    }
237
219
238
    public Model5Package getModel5Package()
220
    public Model5Package getModel5Package()
239
    {
221
    {
240
      // TODO: implement ModelConfig.Legacy.getModel5Package()
222
      return org.eclipse.emf.cdo.tests.legacy.model5.Model5Package.eINSTANCE;
241
      throw new UnsupportedOperationException();
242
      // return org.eclipse.emf.cdo.tests.legacy.model5.Model5Package.eINSTANCE;
243
    }
223
    }
244
  }
224
  }
245
}
225
}
(-)src/org/eclipse/emf/cdo/tests/config/impl/ConfigTest.java (-3 / +12 lines)
Lines 475-486 Link Here
475
    }
475
    }
476
  }
476
  }
477
477
478
  protected void skipConfig(Config config)
478
  protected boolean isConfig(Config config)
479
  {
479
  {
480
    skipTest(ObjectUtil.equals(getContainerConfig(), config) //
480
    return ObjectUtil.equals(getContainerConfig(), config) //
481
        || ObjectUtil.equals(getRepositoryConfig(), config) //
481
        || ObjectUtil.equals(getRepositoryConfig(), config) //
482
        || ObjectUtil.equals(getSessionConfig(), config) //
482
        || ObjectUtil.equals(getSessionConfig(), config) //
483
        || ObjectUtil.equals(getModelConfig(), config));
483
        || ObjectUtil.equals(getModelConfig(), config);
484
  }
485
486
  protected void skipConfig(Config config)
487
  {
488
    // skipTest(ObjectUtil.equals(getContainerConfig(), config) //
489
    // || ObjectUtil.equals(getRepositoryConfig(), config) //
490
    // || ObjectUtil.equals(getSessionConfig(), config) //
491
    // || ObjectUtil.equals(getModelConfig(), config));
492
    skipTest(isConfig(config));
484
  }
493
  }
485
494
486
  protected void skipUnlessConfig(Config config)
495
  protected void skipUnlessConfig(Config config)
(-)src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java (-203 / +148 lines)
Lines 37-48 Link Here
37
  {
37
  {
38
    File folder = new File(args.length == 0 ? "/develop/ws/cdo" : args[0]);
38
    File folder = new File(args.length == 0 ? "/develop/ws/cdo" : args[0]);
39
    recurse(folder);
39
    recurse(folder);
40
    ignores();
41
    report();
42
  }
40
43
41
    ignore("templates.MenuCardTemplate", 4);
44
  private static void ignores()
42
45
  {
46
    ignore("base.BaseClass", 1);
47
    ignore("base.BaseFactory", 1);
48
    ignore("base.BasePackage", 2);
49
    ignore("base.impl.BaseClassImpl", 1);
50
    ignore("base.impl.BaseFactoryImpl", 2);
51
    ignore("base.impl.BasePackageImpl", 1);
52
    ignore("base.util.BaseAdapterFactory", 3);
53
    ignore("base.util.BaseSwitch", 2);
43
    ignore("com.swtdesigner.ResourceManager", 2);
54
    ignore("com.swtdesigner.ResourceManager", 2);
44
    ignore("com.swtdesigner.SWTResourceManager", 2);
55
    ignore("com.swtdesigner.SWTResourceManager", 2);
45
56
    ignore("derived.DerivedClass", 1);
57
    ignore("derived.DerivedFactory", 1);
58
    ignore("derived.DerivedPackage", 2);
59
    ignore("derived.impl.DerivedClassImpl", 1);
60
    ignore("derived.impl.DerivedFactoryImpl", 2);
61
    ignore("derived.impl.DerivedPackageImpl", 1);
62
    ignore("derived.util.DerivedAdapterFactory", 3);
63
    ignore("derived.util.DerivedSwitch", 2);
64
    ignore("interface_.IInterface", 1);
65
    ignore("interface_.InterfaceFactory", 1);
66
    ignore("interface_.InterfacePackage", 2);
67
    ignore("interface_.impl.InterfaceFactoryImpl", 2);
68
    ignore("interface_.impl.InterfacePackageImpl", 1);
69
    ignore("interface_.util.InterfaceAdapterFactory", 3);
70
    ignore("interface_.util.InterfaceSwitch", 2);
71
    ignore("org.eclipse.emf.cdo.defs.CDOAuditDef", 1);
72
    ignore("org.eclipse.emf.cdo.defs.CDODefsFactory", 1);
73
    ignore("org.eclipse.emf.cdo.defs.CDODefsPackage", 2);
74
    ignore("org.eclipse.emf.cdo.defs.CDOPackageRegistryDef", 1);
75
    ignore("org.eclipse.emf.cdo.defs.CDOResourceDef", 1);
76
    ignore("org.eclipse.emf.cdo.defs.CDOSessionDef", 1);
77
    ignore("org.eclipse.emf.cdo.defs.CDOTransactionDef", 2);
78
    ignore("org.eclipse.emf.cdo.defs.CDOViewDef", 1);
79
    ignore("org.eclipse.emf.cdo.defs.EDynamicPackageDef", 1);
80
    ignore("org.eclipse.emf.cdo.defs.EPackageDef", 1);
81
    ignore("org.eclipse.emf.cdo.defs.FailOverStrategyDef", 1);
82
    ignore("org.eclipse.emf.cdo.defs.ResourceMode", 4);
83
    ignore("org.eclipse.emf.cdo.defs.RetryFailOverStrategyDef", 1);
84
    ignore("org.eclipse.emf.cdo.defs.impl.CDOAuditDefImpl", 5);
85
    ignore("org.eclipse.emf.cdo.defs.impl.CDODefsFactoryImpl", 2);
86
    ignore("org.eclipse.emf.cdo.defs.impl.CDODefsPackageImpl", 1);
87
    ignore("org.eclipse.emf.cdo.defs.impl.CDOEagerPackageRegistryDefImpl", 1);
88
    ignore("org.eclipse.emf.cdo.defs.impl.CDOPackageRegistryDefImpl", 9);
89
    ignore("org.eclipse.emf.cdo.defs.impl.CDOResourceDefImpl", 8);
90
    ignore("org.eclipse.emf.cdo.defs.impl.CDOSessionDefImpl", 10);
91
    ignore("org.eclipse.emf.cdo.defs.impl.CDOTransactionDefImpl", 2);
92
    ignore("org.eclipse.emf.cdo.defs.impl.CDOViewDefImpl", 6);
93
    ignore("org.eclipse.emf.cdo.defs.impl.EDynamicPackageDefImpl", 5);
94
    ignore("org.eclipse.emf.cdo.defs.impl.EPackageDefImpl", 5);
95
    ignore("org.eclipse.emf.cdo.defs.impl.FailOverStrategyDefImpl", 6);
96
    ignore("org.eclipse.emf.cdo.defs.impl.RetryFailOverStrategyDefImpl", 5);
97
    ignore("org.eclipse.emf.cdo.defs.util.CDODefsAdapterFactory", 3);
98
    ignore("org.eclipse.emf.cdo.defs.util.CDODefsSwitch", 2);
99
    ignore("org.eclipse.emf.cdo.defs.util.CDODefsUtil", 3);
46
    ignore("org.eclipse.emf.cdo.ecore.impl.CDOSuperAdapter", 1);
100
    ignore("org.eclipse.emf.cdo.ecore.impl.CDOSuperAdapter", 1);
47
    ignore("org.eclipse.emf.cdo.ecore.impl.EAnnotationImpl", 5);
101
    ignore("org.eclipse.emf.cdo.ecore.impl.EAnnotationImpl", 5);
48
    ignore("org.eclipse.emf.cdo.ecore.impl.EAttributeImpl", 6);
102
    ignore("org.eclipse.emf.cdo.ecore.impl.EAttributeImpl", 6);
Lines 65-71 Link Here
65
    ignore("org.eclipse.emf.cdo.ecore.impl.ETypedElementImpl", 4);
119
    ignore("org.eclipse.emf.cdo.ecore.impl.ETypedElementImpl", 4);
66
    ignore("org.eclipse.emf.cdo.ecore.impl.EcoreFactoryImpl", 9);
120
    ignore("org.eclipse.emf.cdo.ecore.impl.EcoreFactoryImpl", 9);
67
    ignore("org.eclipse.emf.cdo.ecore.impl.EcorePackageImpl", 3);
121
    ignore("org.eclipse.emf.cdo.ecore.impl.EcorePackageImpl", 3);
68
122
    ignore("org.eclipse.emf.cdo.emodel.CDOAnnotation", 1);
123
    ignore("org.eclipse.emf.cdo.emodel.CDOModelElement", 1);
124
    ignore("org.eclipse.emf.cdo.emodel.CDONamedElement", 1);
125
    ignore("org.eclipse.emf.cdo.emodel.EmodelFactory", 1);
126
    ignore("org.eclipse.emf.cdo.emodel.EmodelPackage", 2);
127
    ignore("org.eclipse.emf.cdo.emodel.impl.CDOAnnotationImpl", 1);
128
    ignore("org.eclipse.emf.cdo.emodel.impl.CDOModelElementImpl", 1);
129
    ignore("org.eclipse.emf.cdo.emodel.impl.CDONamedElementImpl", 1);
130
    ignore("org.eclipse.emf.cdo.emodel.impl.EmodelFactoryImpl", 2);
131
    ignore("org.eclipse.emf.cdo.emodel.impl.EmodelPackageImpl", 2);
132
    ignore("org.eclipse.emf.cdo.emodel.provider.CDOAnnotationItemProvider", 4);
133
    ignore("org.eclipse.emf.cdo.emodel.provider.CDOModelElementItemProvider", 5);
134
    ignore("org.eclipse.emf.cdo.emodel.provider.CDONamedElementItemProvider", 3);
135
    ignore("org.eclipse.emf.cdo.emodel.provider.EmodelEditPlugin", 1);
136
    ignore("org.eclipse.emf.cdo.emodel.provider.EmodelItemProviderAdapterFactory", 1);
137
    ignore("org.eclipse.emf.cdo.emodel.util.EmodelAdapterFactory", 3);
138
    ignore("org.eclipse.emf.cdo.emodel.util.EmodelSwitch", 2);
139
    ignore("org.eclipse.emf.cdo.emodel.util.EmodelValidator", 2);
140
    ignore("org.eclipse.emf.cdo.eresource.CDOResource", 1);
141
    ignore("org.eclipse.emf.cdo.eresource.CDOResourceFolder", 1);
142
    ignore("org.eclipse.emf.cdo.eresource.CDOResourceNode", 1);
143
    ignore("org.eclipse.emf.cdo.eresource.EresourceFactory", 1);
144
    ignore("org.eclipse.emf.cdo.eresource.EresourcePackage", 2);
145
    ignore("org.eclipse.emf.cdo.eresource.impl.EresourceFactoryImpl", 2);
146
    ignore("org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl", 1);
147
    ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceFolderItemProvider", 5);
148
    ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceItemProvider", 4);
149
    ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceNodeItemProvider", 3);
150
    ignore("org.eclipse.emf.cdo.eresource.provider.EresourceEditPlugin", 1);
151
    ignore("org.eclipse.emf.cdo.eresource.provider.EresourceItemProviderAdapterFactory", 1);
152
    ignore("org.eclipse.emf.cdo.eresource.util.EresourceAdapterFactory", 3);
153
    ignore("org.eclipse.emf.cdo.eresource.util.EresourceSwitch", 2);
69
    ignore("org.eclipse.emf.cdo.examples.company.Address", 1);
154
    ignore("org.eclipse.emf.cdo.examples.company.Address", 1);
70
    ignore("org.eclipse.emf.cdo.examples.company.Category", 1);
155
    ignore("org.eclipse.emf.cdo.examples.company.Category", 1);
71
    ignore("org.eclipse.emf.cdo.examples.company.Company", 1);
156
    ignore("org.eclipse.emf.cdo.examples.company.Company", 1);
Lines 82-90 Link Here
82
    ignore("org.eclipse.emf.cdo.examples.company.VAT", 4);
167
    ignore("org.eclipse.emf.cdo.examples.company.VAT", 4);
83
    ignore("org.eclipse.emf.cdo.examples.company.impl.AddressImpl", 1);
168
    ignore("org.eclipse.emf.cdo.examples.company.impl.AddressImpl", 1);
84
    ignore("org.eclipse.emf.cdo.examples.company.impl.CategoryImpl", 1);
169
    ignore("org.eclipse.emf.cdo.examples.company.impl.CategoryImpl", 1);
85
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyFactoryImpl", 3);
170
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyFactoryImpl", 2);
86
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyImpl", 1);
171
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyImpl", 1);
87
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyPackageImpl", 3);
172
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyPackageImpl", 1);
88
    ignore("org.eclipse.emf.cdo.examples.company.impl.CustomerImpl", 1);
173
    ignore("org.eclipse.emf.cdo.examples.company.impl.CustomerImpl", 1);
89
    ignore("org.eclipse.emf.cdo.examples.company.impl.OrderAddressImpl", 5);
174
    ignore("org.eclipse.emf.cdo.examples.company.impl.OrderAddressImpl", 5);
90
    ignore("org.eclipse.emf.cdo.examples.company.impl.OrderDetailImpl", 1);
175
    ignore("org.eclipse.emf.cdo.examples.company.impl.OrderDetailImpl", 1);
Lines 107-317 Link Here
107
    ignore("org.eclipse.emf.cdo.examples.company.provider.SalesOrderItemProvider", 3);
192
    ignore("org.eclipse.emf.cdo.examples.company.provider.SalesOrderItemProvider", 3);
108
    ignore("org.eclipse.emf.cdo.examples.company.provider.SupplierItemProvider", 3);
193
    ignore("org.eclipse.emf.cdo.examples.company.provider.SupplierItemProvider", 3);
109
    ignore("org.eclipse.emf.cdo.examples.company.util.CompanyAdapterFactory", 3);
194
    ignore("org.eclipse.emf.cdo.examples.company.util.CompanyAdapterFactory", 3);
110
    ignore("org.eclipse.emf.cdo.examples.company.util.CompanySwitch", 21);
195
    ignore("org.eclipse.emf.cdo.examples.company.util.CompanySwitch", 2);
111
112
    ignore("org.eclipse.emf.cdo.emodel.CDOAnnotation", 1);
113
    ignore("org.eclipse.emf.cdo.emodel.CDOModelElement", 1);
114
    ignore("org.eclipse.emf.cdo.emodel.CDONamedElement", 1);
115
    ignore("org.eclipse.emf.cdo.emodel.EmodelFactory", 1);
116
    ignore("org.eclipse.emf.cdo.emodel.EmodelPackage", 2);
117
    ignore("org.eclipse.emf.cdo.emodel.impl.CDOAnnotationImpl", 1);
118
    ignore("org.eclipse.emf.cdo.emodel.impl.CDOModelElementImpl", 1);
119
    ignore("org.eclipse.emf.cdo.emodel.impl.CDONamedElementImpl", 1);
120
    ignore("org.eclipse.emf.cdo.emodel.impl.EmodelFactoryImpl", 2);
121
    ignore("org.eclipse.emf.cdo.emodel.impl.EmodelPackageImpl", 2);
122
    ignore("org.eclipse.emf.cdo.emodel.provider.CDOAnnotationItemProvider", 4);
123
    ignore("org.eclipse.emf.cdo.emodel.provider.CDOModelElementItemProvider", 5);
124
    ignore("org.eclipse.emf.cdo.emodel.provider.CDONamedElementItemProvider", 3);
125
    ignore("org.eclipse.emf.cdo.emodel.provider.EmodelEditPlugin", 1);
126
    ignore("org.eclipse.emf.cdo.emodel.provider.EmodelItemProviderAdapterFactory", 1);
127
    ignore("org.eclipse.emf.cdo.emodel.util.EmodelAdapterFactory", 3);
128
    ignore("org.eclipse.emf.cdo.emodel.util.EmodelSwitch", 2);
129
    ignore("org.eclipse.emf.cdo.emodel.util.EmodelValidator", 2);
130
131
    ignore("org.eclipse.emf.cdo.eresource.CDOResource", 1);
132
    ignore("org.eclipse.emf.cdo.eresource.CDOResourceFolder", 1);
133
    ignore("org.eclipse.emf.cdo.eresource.CDOResourceNode", 1);
134
    ignore("org.eclipse.emf.cdo.eresource.EresourceFactory", 1);
135
    ignore("org.eclipse.emf.cdo.eresource.EresourcePackage", 2);
136
    ignore("org.eclipse.emf.cdo.eresource.impl.EresourceFactoryImpl", 2);
137
    ignore("org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl", 1);
138
    ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceFolderItemProvider", 5);
139
    ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceItemProvider", 4);
140
    ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceNodeItemProvider", 3);
141
    ignore("org.eclipse.emf.cdo.eresource.provider.EresourceEditPlugin", 1);
142
    ignore("org.eclipse.emf.cdo.eresource.provider.EresourceItemProviderAdapterFactory", 1);
143
    ignore("org.eclipse.emf.cdo.eresource.util.EresourceAdapterFactory", 3);
144
    ignore("org.eclipse.emf.cdo.eresource.util.EresourceSwitch", 2);
145
146
    ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOActionBarContributor", 5);
196
    ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOActionBarContributor", 5);
147
    ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOEditor", 11);
197
    ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOEditor", 11);
148
    ignore("org.eclipse.emf.cdo.internal.ui.editor.PluginDelegator", 1);
198
    ignore("org.eclipse.emf.cdo.internal.ui.editor.PluginDelegator", 1);
149
150
    ignore("org.eclipse.emf.cdo.server.file.FileStore", 1);
199
    ignore("org.eclipse.emf.cdo.server.file.FileStore", 1);
151
    ignore("org.eclipse.emf.cdo.server.file.FileStoreAccessor", 1);
200
    ignore("org.eclipse.emf.cdo.server.file.FileStoreAccessor", 1);
152
153
    ignore("org.eclipse.net4j.util.ui.proposals.RegExContentProposalProvider", 11);
154
    ignore("org.eclipse.net4j.util.ui.proposals.RegExMessages", 3);
155
156
    ignore("org.eclipse.emf.cdo.server.hibernate.IHibernateMappingProvider", 1);
157
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOBasicMapper", 1);
201
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOBasicMapper", 1);
158
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOEFeatureAnnotator", 1);
159
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOEntityMapper", 1);
202
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOEntityMapper", 1);
160
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOManyAttributeMapper", 1);
161
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOMappingContext", 1);
203
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOMappingContext", 1);
162
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.TeneoHibernateMappingProvider", 1);
204
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.TeneoHibernateMappingProvider", 1);
163
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.TeneoHibernateMappingProviderFactory", 1);
205
    ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.TeneoHibernateMappingProviderFactory", 1);
164
    ignore("org.eclipse.emf.cdo.server.hibernate.teneo.CDOHelper", 1);
206
    ignore("org.eclipse.emf.cdo.server.hibernate.teneo.CDOHelper", 1);
165
    ignore("org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AbstractFeatureMapTableMapping", 1);
166
    ignore("org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AbstractListTableMapping", 1);
167
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.CDOHibernateConstants", 1);
168
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.ContainerInfoConverter", 1);
169
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.FileHibernateMappingProvider", 1);
207
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.FileHibernateMappingProvider", 1);
170
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.FileHibernateMappingProviderFactory", 1);
208
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.FileHibernateMappingProviderFactory", 1);
171
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO", 1);
172
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateCommitContext", 1);
173
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateMappingProvider", 1);
209
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateMappingProvider", 1);
174
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateQueryHandler", 1);
175
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateThreadContext", 1);
176
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateUtil", 1);
177
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.SystemInformation", 1);
178
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOContainerGetter", 1);
179
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOContainerSetter", 1);
180
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOENumIntegerType", 1);
210
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOENumIntegerType", 1);
181
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOENumStringType", 1);
211
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOENumStringType", 1);
182
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDAnyUserType", 1);
183
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType", 1);
184
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDMetaRangeUserType", 1);
185
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDPropertyGetter", 1);
186
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDPropertySetter", 1);
187
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDUserType", 1);
188
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOInterceptor", 1);
212
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOInterceptor", 1);
189
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyAttributeGetter", 1);
190
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyAttributeSetter", 1);
191
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyReferenceGetter", 1);
192
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyReferenceSetter", 1);
193
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOPropertyGetter", 1);
194
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOPropertyHandler", 1);
195
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOPropertySetter", 1);
196
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOReferenceGetter", 1);
197
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOReferenceSetter", 1);
198
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOResourceIDGetter", 1);
199
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOResourceIDSetter", 1);
200
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticIdPropertyHandler", 1);
213
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticIdPropertyHandler", 1);
201
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticVersionPropertyHandler", 1);
214
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticVersionPropertyHandler", 1);
202
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOTypeUserType", 1);
203
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOVersionPropertyGetter", 1);
204
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOVersionPropertySetter", 1);
205
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.HibernateMoveableListWrapper", 1);
206
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.PersistableListHolder", 1);
207
    ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.WrappedHibernateList", 1);
208
209
    ignore("org.eclipse.net4j.util.ui.proposals.RegExContentProposalProvider", 10);
210
    ignore("org.eclipse.net4j.util.ui.proposals.RegExMessages", 2);
211
212
    //
213
214
    ignore("base.BaseClass", 1);
215
    ignore("base.BaseFactory", 1);
216
    ignore("base.BasePackage", 2);
217
    ignore("base.impl.BaseClassImpl", 1);
218
    ignore("base.impl.BaseFactoryImpl", 2);
219
    ignore("base.impl.BasePackageImpl", 1);
220
    ignore("base.util.BaseAdapterFactory", 3);
221
    ignore("base.util.BaseSwitch", 2);
222
    ignore("derived.DerivedClass", 1);
223
    ignore("derived.DerivedFactory", 1);
224
    ignore("derived.DerivedPackage", 2);
225
    ignore("derived.impl.DerivedClassImpl", 1);
226
    ignore("derived.impl.DerivedFactoryImpl", 2);
227
    ignore("derived.impl.DerivedPackageImpl", 1);
228
    ignore("derived.util.DerivedAdapterFactory", 3);
229
    ignore("derived.util.DerivedSwitch", 2);
230
    ignore("interface_.IInterface", 1);
231
    ignore("interface_.InterfaceFactory", 1);
232
    ignore("interface_.InterfacePackage", 2);
233
    ignore("interface_.impl.InterfaceFactoryImpl", 2);
234
    ignore("interface_.impl.InterfacePackageImpl", 1);
235
    ignore("interface_.util.InterfaceAdapterFactory", 3);
236
    ignore("interface_.util.InterfaceSwitch", 2);
237
    ignore("org.eclipse.emf.cdo.defs.CDOAuditDef", 1);
238
    ignore("org.eclipse.emf.cdo.defs.CDODefsFactory", 1);
239
    ignore("org.eclipse.emf.cdo.defs.CDODefsPackage", 2);
240
    ignore("org.eclipse.emf.cdo.defs.CDOPackageRegistryDef", 1);
241
    ignore("org.eclipse.emf.cdo.defs.CDOResourceDef", 1);
242
    ignore("org.eclipse.emf.cdo.defs.CDOSessionDef", 1);
243
    ignore("org.eclipse.emf.cdo.defs.CDOTransactionDef", 2);
244
    ignore("org.eclipse.emf.cdo.defs.CDOViewDef", 1);
245
    ignore("org.eclipse.emf.cdo.defs.EDynamicPackageDef", 1);
246
    ignore("org.eclipse.emf.cdo.defs.EPackageDef", 1);
247
    ignore("org.eclipse.emf.cdo.defs.FailOverStrategyDef", 1);
248
    ignore("org.eclipse.emf.cdo.defs.ResourceMode", 4);
249
    ignore("org.eclipse.emf.cdo.defs.RetryFailOverStrategyDef", 1);
250
    ignore("org.eclipse.emf.cdo.defs.impl.CDOAuditDefImpl", 5);
251
    ignore("org.eclipse.emf.cdo.defs.impl.CDODefsFactoryImpl", 2);
252
    ignore("org.eclipse.emf.cdo.defs.impl.CDODefsPackageImpl", 1);
253
    ignore("org.eclipse.emf.cdo.defs.impl.CDOEagerPackageRegistryDefImpl", 1);
254
    ignore("org.eclipse.emf.cdo.defs.impl.CDOPackageRegistryDefImpl", 9);
255
    ignore("org.eclipse.emf.cdo.defs.impl.CDOResourceDefImpl", 8);
256
    ignore("org.eclipse.emf.cdo.defs.impl.CDOSessionDefImpl", 10);
257
    ignore("org.eclipse.emf.cdo.defs.impl.CDOTransactionDefImpl", 2);
258
    ignore("org.eclipse.emf.cdo.defs.impl.CDOViewDefImpl", 6);
259
    ignore("org.eclipse.emf.cdo.defs.impl.EDynamicPackageDefImpl", 5);
260
    ignore("org.eclipse.emf.cdo.defs.impl.EPackageDefImpl", 5);
261
    ignore("org.eclipse.emf.cdo.defs.impl.FailOverStrategyDefImpl", 6);
262
    ignore("org.eclipse.emf.cdo.defs.impl.RetryFailOverStrategyDefImpl", 5);
263
    ignore("org.eclipse.emf.cdo.defs.util.CDODefsAdapterFactory", 3);
264
    ignore("org.eclipse.emf.cdo.defs.util.CDODefsSwitch", 2);
265
    ignore("org.eclipse.emf.cdo.defs.util.CDODefsUtil", 3);
266
    ignore("org.eclipse.emf.cdo.tests.defs.CDOResourceDefImplTest", 1);
215
    ignore("org.eclipse.emf.cdo.tests.defs.CDOResourceDefImplTest", 1);
267
    ignore("org.eclipse.emf.cdo.tests.defs.CDOSessionDefImplTest", 1);
216
    ignore("org.eclipse.emf.cdo.tests.defs.CDOSessionDefImplTest", 1);
268
    ignore("org.eclipse.emf.cdo.tests.defs.CDOTransactionDefImplTest", 1);
217
    ignore("org.eclipse.emf.cdo.tests.defs.CDOTransactionDefImplTest", 1);
269
    ignore("org.eclipse.emf.cdo.tests.defs.CDOViewDefImplTest", 1);
218
    ignore("org.eclipse.emf.cdo.tests.defs.CDOViewDefImplTest", 1);
270
    ignore("org.eclipse.emf.cdo.tests.hibernate.HibernateBugzilla_258933_Test", 1);
219
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.MangoFactoryImpl", 1);
271
    ignore("org.eclipse.emf.cdo.tests.hibernate.HibernateMultiValuedOfAttributeTest", 1);
220
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.MangoPackageImpl", 2);
272
    ignore("org.eclipse.emf.cdo.tests.hibernate.HibernateQueryTest", 1);
221
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.MangoParameterImpl", 5);
273
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.MangoFactory", 1);
222
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.MangoValueImpl", 5);
274
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.MangoPackage", 2);
223
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.MangoValueListImpl", 6);
275
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.Parameter", 1);
276
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.ParameterPassing", 4);
277
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.Value", 1);
278
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.ValueList", 1);
279
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.MangoFactoryImpl", 2);
280
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.MangoPackageImpl", 1);
281
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.ParameterImpl", 5);
282
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.ValueImpl", 5);
283
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.impl.ValueListImpl", 6);
284
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.util.MangoAdapterFactory", 3);
285
    ignore("org.eclipse.emf.cdo.tests.legacy.mango.util.MangoSwitch", 2);
286
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Address", 1);
287
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Category", 1);
288
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Company", 1);
289
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Customer", 1);
290
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Model1Factory", 1);
224
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Model1Factory", 1);
291
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Model1Package", 2);
225
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Model1Package", 2);
292
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Order", 1);
293
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.OrderAddress", 1);
294
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail", 1);
295
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Product1", 1);
296
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder", 1);
297
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder", 1);
298
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.Supplier", 1);
299
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.VAT", 4);
300
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.AddressImpl", 5);
226
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.AddressImpl", 5);
301
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.CategoryImpl", 8);
227
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.CategoryImpl", 8);
302
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl", 11);
228
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl", 11);
303
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.CustomerImpl", 8);
229
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.CustomerImpl", 9);
304
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1FactoryImpl", 2);
230
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1FactoryImpl", 3);
305
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl", 1);
231
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl", 3);
306
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl", 15);
232
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl", 15);
307
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderDetailImpl", 10);
233
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderDetailImpl", 10);
308
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderImpl", 8);
234
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderImpl", 8);
309
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl", 8);
235
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl", 8);
310
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.PurchaseOrderImpl", 9);
236
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.ProductToOrderImpl", 8);
237
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.PurchaseOrderImpl", 14);
311
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.SalesOrderImpl", 9);
238
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.SalesOrderImpl", 9);
312
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.SupplierImpl", 8);
239
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.impl.SupplierImpl", 8);
313
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.util.Model1AdapterFactory", 3);
240
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory", 1);
314
    ignore("org.eclipse.emf.cdo.tests.legacy.model1.util.Model1Switch", 2);
241
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.Model2Package", 2);
242
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2FactoryImpl", 2);
243
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl", 1);
244
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl", 8);
245
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl", 7);
246
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl", 8);
247
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl", 8);
248
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl", 8);
249
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl", 5);
250
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl", 5);
251
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.util.Model2AdapterFactory", 3);
252
    ignore("org.eclipse.emf.cdo.tests.legacy.model2.util.Model2Switch", 2);
315
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.Class1", 1);
253
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.Class1", 1);
316
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.MetaRef", 1);
254
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.MetaRef", 1);
317
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory", 1);
255
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory", 1);
Lines 330-335 Link Here
330
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.subpackage.util.SubpackageSwitch", 2);
268
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.subpackage.util.SubpackageSwitch", 2);
331
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.util.Model3AdapterFactory", 3);
269
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.util.Model3AdapterFactory", 3);
332
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.util.Model3Switch", 2);
270
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.util.Model3Switch", 2);
271
    ignore("org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory", 2);
333
    ignore("org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite", 1);
272
    ignore("org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite", 1);
334
    ignore("org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained", 1);
273
    ignore("org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained", 1);
335
    ignore("org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained", 1);
274
    ignore("org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained", 1);
Lines 411-427 Link Here
411
    ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage", 2);
350
    ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage", 2);
412
    ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.util.model4interfacesAdapterFactory", 3);
351
    ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.util.model4interfacesAdapterFactory", 3);
413
    ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.util.model4interfacesSwitch", 2);
352
    ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.util.model4interfacesSwitch", 2);
353
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.Model5Factory", 1);
354
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.Model5Package", 2);
355
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.DoctorImpl", 1);
356
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfBooleanImpl", 6);
357
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfCharImpl", 6);
358
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDateImpl", 6);
359
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDoubleImpl", 6);
360
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfFloatImpl", 6);
361
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntImpl", 6);
362
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntegerImpl", 6);
363
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfLongImpl", 6);
364
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfShortImpl", 6);
365
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfStringImpl", 6);
366
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.ManagerImpl", 1);
367
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5FactoryImpl", 2);
368
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl", 1);
369
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl", 9);
370
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.util.Model5AdapterFactory", 3);
371
    ignore("org.eclipse.emf.cdo.tests.legacy.model5.util.Model5Switch", 2);
414
    ignore("org.eclipse.emf.cdo.tests.mango.MangoFactory", 1);
372
    ignore("org.eclipse.emf.cdo.tests.mango.MangoFactory", 1);
415
    ignore("org.eclipse.emf.cdo.tests.mango.MangoPackage", 2);
373
    ignore("org.eclipse.emf.cdo.tests.mango.MangoPackage", 2);
416
    ignore("org.eclipse.emf.cdo.tests.mango.Parameter", 1);
374
    ignore("org.eclipse.emf.cdo.tests.mango.MangoParameter", 1);
375
    ignore("org.eclipse.emf.cdo.tests.mango.MangoValue", 1);
376
    ignore("org.eclipse.emf.cdo.tests.mango.MangoValueList", 1);
417
    ignore("org.eclipse.emf.cdo.tests.mango.ParameterPassing", 4);
377
    ignore("org.eclipse.emf.cdo.tests.mango.ParameterPassing", 4);
418
    ignore("org.eclipse.emf.cdo.tests.mango.Value", 1);
419
    ignore("org.eclipse.emf.cdo.tests.mango.ValueList", 1);
420
    ignore("org.eclipse.emf.cdo.tests.mango.impl.MangoFactoryImpl", 2);
378
    ignore("org.eclipse.emf.cdo.tests.mango.impl.MangoFactoryImpl", 2);
421
    ignore("org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl", 1);
379
    ignore("org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl", 1);
422
    ignore("org.eclipse.emf.cdo.tests.mango.impl.ParameterImpl", 1);
380
    ignore("org.eclipse.emf.cdo.tests.mango.impl.MangoParameterImpl", 1);
423
    ignore("org.eclipse.emf.cdo.tests.mango.impl.ValueImpl", 1);
381
    ignore("org.eclipse.emf.cdo.tests.mango.impl.MangoValueImpl", 1);
424
    ignore("org.eclipse.emf.cdo.tests.mango.impl.ValueListImpl", 1);
382
    ignore("org.eclipse.emf.cdo.tests.mango.impl.MangoValueListImpl", 1);
425
    ignore("org.eclipse.emf.cdo.tests.mango.util.MangoAdapterFactory", 3);
383
    ignore("org.eclipse.emf.cdo.tests.mango.util.MangoAdapterFactory", 3);
426
    ignore("org.eclipse.emf.cdo.tests.mango.util.MangoSwitch", 2);
384
    ignore("org.eclipse.emf.cdo.tests.mango.util.MangoSwitch", 2);
427
    ignore("org.eclipse.emf.cdo.tests.model1.Address", 1);
385
    ignore("org.eclipse.emf.cdo.tests.model1.Address", 1);
Lines 606-625 Link Here
606
    ignore("org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl", 1);
564
    ignore("org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl", 1);
607
    ignore("org.eclipse.emf.cdo.tests.model1.util.Model1AdapterFactory", 3);
565
    ignore("org.eclipse.emf.cdo.tests.model1.util.Model1AdapterFactory", 3);
608
    ignore("org.eclipse.emf.cdo.tests.model1.util.Model1Switch", 2);
566
    ignore("org.eclipse.emf.cdo.tests.model1.util.Model1Switch", 2);
609
    ignore("org.eclipse.emf.cdo.tests.model2.Unsettable1", 1);
610
    ignore("org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault", 1);
611
    ignore("org.eclipse.emf.cdo.tests.model2.Model2Factory", 1);
567
    ignore("org.eclipse.emf.cdo.tests.model2.Model2Factory", 1);
612
    ignore("org.eclipse.emf.cdo.tests.model2.Model2Package", 2);
568
    ignore("org.eclipse.emf.cdo.tests.model2.Model2Package", 2);
613
    ignore("org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder", 1);
569
    ignore("org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder", 1);
614
    ignore("org.eclipse.emf.cdo.tests.model2.Task", 1);
570
    ignore("org.eclipse.emf.cdo.tests.model2.Task", 1);
615
    ignore("org.eclipse.emf.cdo.tests.model2.TaskContainer", 1);
571
    ignore("org.eclipse.emf.cdo.tests.model2.TaskContainer", 1);
616
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl", 1);
572
    ignore("org.eclipse.emf.cdo.tests.model2.Unsettable1", 1);
617
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl", 1);
573
    ignore("org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault", 1);
618
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Model2FactoryImpl", 2);
574
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Model2FactoryImpl", 2);
619
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl", 1);
575
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl", 1);
620
    ignore("org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl", 1);
576
    ignore("org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl", 1);
621
    ignore("org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl", 1);
577
    ignore("org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl", 1);
622
    ignore("org.eclipse.emf.cdo.tests.model2.impl.TaskImpl", 1);
578
    ignore("org.eclipse.emf.cdo.tests.model2.impl.TaskImpl", 1);
579
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl", 1);
580
    ignore("org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl", 1);
623
    ignore("org.eclipse.emf.cdo.tests.model2.util.Model2AdapterFactory", 3);
581
    ignore("org.eclipse.emf.cdo.tests.model2.util.Model2AdapterFactory", 3);
624
    ignore("org.eclipse.emf.cdo.tests.model2.util.Model2Switch", 2);
582
    ignore("org.eclipse.emf.cdo.tests.model2.util.Model2Switch", 2);
625
    ignore("org.eclipse.emf.cdo.tests.model3.Class1", 1);
583
    ignore("org.eclipse.emf.cdo.tests.model3.Class1", 1);
Lines 762-777 Link Here
762
    ignore("org.eclipse.emf.cdo.tests.model5.impl.TestFeatureMapImpl", 1);
720
    ignore("org.eclipse.emf.cdo.tests.model5.impl.TestFeatureMapImpl", 1);
763
    ignore("org.eclipse.emf.cdo.tests.model5.util.Model5AdapterFactory", 3);
721
    ignore("org.eclipse.emf.cdo.tests.model5.util.Model5AdapterFactory", 3);
764
    ignore("org.eclipse.emf.cdo.tests.model5.util.Model5Switch", 2);
722
    ignore("org.eclipse.emf.cdo.tests.model5.util.Model5Switch", 2);
765
    ignore("org.eclipse.emf.cdo.tests.revisioncache.AbstractCDORevisionCacheTest", 7);
766
    ignore("org.eclipse.emf.cdo.tests.revisioncache.AbstractDBRevisionCacheTest", 3);
767
    ignore("org.eclipse.emf.cdo.tests.revisioncache.AllCDORevisionCacheTest", 1);
768
    ignore("org.eclipse.emf.cdo.tests.revisioncache.ConcurrentTestCaseRunner", 6);
769
    ignore("org.eclipse.emf.cdo.tests.revisioncache.DefaultRevisionCacheTest", 1);
770
    ignore("org.eclipse.emf.cdo.tests.revisioncache.DerbyDBRevisionCacheTest", 1);
771
    ignore("org.eclipse.emf.cdo.tests.revisioncache.H2DBRevisionCacheTest", 1);
772
    ignore("org.eclipse.emf.cdo.tests.revisioncache.LRURevisionCacheTest", 1);
773
    ignore("org.eclipse.emf.cdo.tests.revisioncache.MEMRevisionCacheTest", 2);
774
    ignore("org.eclipse.emf.cdo.tests.revisioncache.Session", 2);
775
    ignore("org.eclipse.emf.cdo.ui.defs.CDOEditorDef", 1);
723
    ignore("org.eclipse.emf.cdo.ui.defs.CDOEditorDef", 1);
776
    ignore("org.eclipse.emf.cdo.ui.defs.CDOUIDefsFactory", 1);
724
    ignore("org.eclipse.emf.cdo.ui.defs.CDOUIDefsFactory", 1);
777
    ignore("org.eclipse.emf.cdo.ui.defs.CDOUIDefsPackage", 2);
725
    ignore("org.eclipse.emf.cdo.ui.defs.CDOUIDefsPackage", 2);
Lines 893-898 Link Here
893
    ignore("org.eclipse.net4j.util.tests.defs.util.DefsSwitch", 4);
841
    ignore("org.eclipse.net4j.util.tests.defs.util.DefsSwitch", 4);
894
    ignore("org.eclipse.net4j.util.tests.defs.util.TestDefsAdapterFactory", 3);
842
    ignore("org.eclipse.net4j.util.tests.defs.util.TestDefsAdapterFactory", 3);
895
    ignore("org.eclipse.net4j.util.tests.defs.util.TestDefsSwitch", 2);
843
    ignore("org.eclipse.net4j.util.tests.defs.util.TestDefsSwitch", 2);
844
    ignore("org.eclipse.net4j.util.ui.proposals.RegExContentProposalProvider", 11);
845
    ignore("org.eclipse.net4j.util.ui.proposals.RegExMessages", 3);
896
    ignore("org.gastro.business.BusinessDay", 2);
846
    ignore("org.gastro.business.BusinessDay", 2);
897
    ignore("org.gastro.business.BusinessFactory", 2);
847
    ignore("org.gastro.business.BusinessFactory", 2);
898
    ignore("org.gastro.business.BusinessPackage", 3);
848
    ignore("org.gastro.business.BusinessPackage", 3);
Lines 989-1000 Link Here
989
    ignore("reference.impl.ReferencePackageImpl", 1);
939
    ignore("reference.impl.ReferencePackageImpl", 1);
990
    ignore("reference.util.ReferenceAdapterFactory", 3);
940
    ignore("reference.util.ReferenceAdapterFactory", 3);
991
    ignore("reference.util.ReferenceSwitch", 2);
941
    ignore("reference.util.ReferenceSwitch", 2);
992
    ignore("templates.MenuCardTemplate", 2);
942
    ignore("templates.MenuCardTemplate", 4);
993
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyFactoryImpl", 2);
994
    ignore("org.eclipse.emf.cdo.examples.company.impl.CompanyPackageImpl", 1);
995
    ignore("org.eclipse.emf.cdo.examples.company.util.CompanySwitch", 2);
996
997
    report();
998
  }
943
  }
999
944
1000
  private static void recurse(File folder) throws IOException
945
  private static void recurse(File folder) throws IOException
(-)model/model2.legacy-genmodel (-1 / +1 lines)
Lines 5-11 Link Here
5
    modelDirectory="/org.eclipse.emf.cdo.tests.model2/src" editDirectory="" editorDirectory=""
5
    modelDirectory="/org.eclipse.emf.cdo.tests.model2/src" editDirectory="" editorDirectory=""
6
    modelPluginID="org.eclipse.emf.cdo.tests.model2" modelName="Model2" updateClasspath="false"
6
    modelPluginID="org.eclipse.emf.cdo.tests.model2" modelName="Model2" updateClasspath="false"
7
    codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo"
7
    codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo"
8
    complianceLevel="5.0" copyrightFields="false" usedGenPackages="../../org.eclipse.emf.cdo.tests.model1/model/model1.legacy.genmodel#//model1">
8
    complianceLevel="5.0" copyrightFields="false" usedGenPackages="../../org.eclipse.emf.cdo.tests.model1/model/model1.legacy-genmodel#//model1">
9
  <foreignModel>model2.ecore</foreignModel>
9
  <foreignModel>model2.ecore</foreignModel>
10
  <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
10
  <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
11
  <genPackages prefix="Model2" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true"
11
  <genPackages prefix="Model2" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true"
(-)META-INF/MANIFEST.MF (-1 / +2 lines)
Lines 11-16 Link Here
11
 org.eclipse.emf.ecore;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
11
 org.eclipse.emf.ecore;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
12
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport,
12
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport,
13
 org.eclipse.emf.cdo.tests.model1;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
13
 org.eclipse.emf.cdo.tests.model1;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
14
Export-Package: org.eclipse.emf.cdo.tests.model2;version="3.0.0",
14
Export-Package: org.eclipse.emf.cdo.tests.legacy.model2,
15
 org.eclipse.emf.cdo.tests.model2;version="3.0.0",
15
 org.eclipse.emf.cdo.tests.model2.impl;version="3.0.0",
16
 org.eclipse.emf.cdo.tests.model2.impl;version="3.0.0",
16
 org.eclipse.emf.cdo.tests.model2.util;version="3.0.0"
17
 org.eclipse.emf.cdo.tests.model2.util;version="3.0.0"
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Factory.java (+113 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2;
14
15
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
16
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
17
import org.eclipse.emf.cdo.tests.model2.Task;
18
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
19
import org.eclipse.emf.cdo.tests.model2.TransientContainer;
20
import org.eclipse.emf.cdo.tests.model2.Unsettable1;
21
import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
22
23
/**
24
 * <!-- begin-user-doc -->
25
 * The <b>Factory</b> for the model.
26
 * It provides a create method for each non-abstract class of the model.
27
 * <!-- end-user-doc -->
28
 * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Package
29
 * @generated
30
 */
31
public interface Model2Factory extends  org.eclipse.emf.cdo.tests.model2.Model2Factory
32
{
33
  /**
34
   * The singleton instance of the factory.
35
   * <!-- begin-user-doc -->
36
   * <!-- end-user-doc -->
37
   * @generated
38
   */
39
  Model2Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2FactoryImpl.init();
40
41
  /**
42
   * Returns a new object of class '<em>Special Purchase Order</em>'.
43
   * <!-- begin-user-doc -->
44
   * <!-- end-user-doc -->
45
   * @return a new object of class '<em>Special Purchase Order</em>'.
46
   * @generated
47
   */
48
  SpecialPurchaseOrder createSpecialPurchaseOrder();
49
50
  /**
51
   * Returns a new object of class '<em>Task Container</em>'.
52
   * <!-- begin-user-doc -->
53
   * <!-- end-user-doc -->
54
   * @return a new object of class '<em>Task Container</em>'.
55
   * @generated
56
   */
57
  TaskContainer createTaskContainer();
58
59
  /**
60
   * Returns a new object of class '<em>Task</em>'.
61
   * <!-- begin-user-doc -->
62
   * <!-- end-user-doc -->
63
   * @return a new object of class '<em>Task</em>'.
64
   * @generated
65
   */
66
  Task createTask();
67
68
  /**
69
   * Returns a new object of class '<em>Unsettable1</em>'.
70
   * <!-- begin-user-doc -->
71
   * <!-- end-user-doc -->
72
   * @return a new object of class '<em>Unsettable1</em>'.
73
   * @generated
74
   */
75
  Unsettable1 createUnsettable1();
76
77
  /**
78
   * Returns a new object of class '<em>Unsettable2 With Default</em>'.
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @return a new object of class '<em>Unsettable2 With Default</em>'.
82
   * @generated
83
   */
84
  Unsettable2WithDefault createUnsettable2WithDefault();
85
86
  /**
87
   * Returns a new object of class '<em>Persistent Containment</em>'.
88
   * <!-- begin-user-doc -->
89
   * <!-- end-user-doc -->
90
   * @return a new object of class '<em>Persistent Containment</em>'.
91
   * @generated
92
   */
93
  PersistentContainment createPersistentContainment();
94
95
  /**
96
   * Returns a new object of class '<em>Transient Container</em>'.
97
   * <!-- begin-user-doc -->
98
   * <!-- end-user-doc -->
99
   * @return a new object of class '<em>Transient Container</em>'.
100
   * @generated
101
   */
102
  TransientContainer createTransientContainer();
103
104
  /**
105
   * Returns the package supported by this factory.
106
   * <!-- begin-user-doc -->
107
   * <!-- end-user-doc -->
108
   * @return the package supported by this factory.
109
   * @generated
110
   */
111
  Model2Package getModel2Package();
112
113
} //Model2Factory
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2Switch.java (+336 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.util;
14
15
import org.eclipse.emf.cdo.tests.model1.Order;
16
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
17
import org.eclipse.emf.cdo.tests.model2.Model2Package;
18
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
19
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
20
import org.eclipse.emf.cdo.tests.model2.Task;
21
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
22
import org.eclipse.emf.cdo.tests.model2.TransientContainer;
23
import org.eclipse.emf.cdo.tests.model2.Unsettable1;
24
import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
25
26
import org.eclipse.emf.ecore.EClass;
27
import org.eclipse.emf.ecore.EObject;
28
29
import java.util.List;
30
31
/**
32
 * <!-- begin-user-doc -->
33
 * The <b>Switch</b> for the model's inheritance hierarchy.
34
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
35
 * to invoke the <code>caseXXX</code> method for each class of the model,
36
 * starting with the actual class of the object
37
 * and proceeding up the inheritance hierarchy
38
 * until a non-null result is returned,
39
 * which is the result of the switch.
40
 * <!-- end-user-doc -->
41
 * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Package
42
 * @generated
43
 */
44
public class Model2Switch<T>
45
{
46
  /**
47
   * The cached model package
48
   * <!-- begin-user-doc -->
49
   * <!-- end-user-doc -->
50
   * @generated
51
   */
52
  protected static Model2Package modelPackage;
53
54
  /**
55
   * Creates an instance of the switch.
56
   * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
58
   * @generated
59
   */
60
  public Model2Switch()
61
  {
62
    if (modelPackage == null)
63
    {
64
      modelPackage = Model2Package.eINSTANCE;
65
    }
66
  }
67
68
  /**
69
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
70
   * <!-- begin-user-doc -->
71
   * <!-- end-user-doc -->
72
   * @return the first non-null result returned by a <code>caseXXX</code> call.
73
   * @generated
74
   */
75
  public T doSwitch(EObject theEObject)
76
  {
77
    return doSwitch(theEObject.eClass(), theEObject);
78
  }
79
80
  /**
81
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
82
   * <!-- begin-user-doc -->
83
   * <!-- end-user-doc -->
84
   * @return the first non-null result returned by a <code>caseXXX</code> call.
85
   * @generated
86
   */
87
  protected T doSwitch(EClass theEClass, EObject theEObject)
88
  {
89
    if (theEClass.eContainer() == modelPackage)
90
    {
91
      return doSwitch(theEClass.getClassifierID(), theEObject);
92
    }
93
    else
94
    {
95
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
96
      return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
97
    }
98
  }
99
100
  /**
101
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
102
   * <!-- begin-user-doc -->
103
   * <!-- end-user-doc -->
104
   * @return the first non-null result returned by a <code>caseXXX</code> call.
105
   * @generated
106
   */
107
  protected T doSwitch(int classifierID, EObject theEObject)
108
  {
109
    switch (classifierID)
110
    {
111
    case Model2Package.SPECIAL_PURCHASE_ORDER:
112
    {
113
      SpecialPurchaseOrder specialPurchaseOrder = (SpecialPurchaseOrder)theEObject;
114
      T result = caseSpecialPurchaseOrder(specialPurchaseOrder);
115
      if (result == null)
116
        result = casePurchaseOrder(specialPurchaseOrder);
117
      if (result == null)
118
        result = caseOrder(specialPurchaseOrder);
119
      if (result == null)
120
        result = defaultCase(theEObject);
121
      return result;
122
    }
123
    case Model2Package.TASK_CONTAINER:
124
    {
125
      TaskContainer taskContainer = (TaskContainer)theEObject;
126
      T result = caseTaskContainer(taskContainer);
127
      if (result == null)
128
        result = defaultCase(theEObject);
129
      return result;
130
    }
131
    case Model2Package.TASK:
132
    {
133
      Task task = (Task)theEObject;
134
      T result = caseTask(task);
135
      if (result == null)
136
        result = defaultCase(theEObject);
137
      return result;
138
    }
139
    case Model2Package.UNSETTABLE1:
140
    {
141
      Unsettable1 unsettable1 = (Unsettable1)theEObject;
142
      T result = caseUnsettable1(unsettable1);
143
      if (result == null)
144
        result = defaultCase(theEObject);
145
      return result;
146
    }
147
    case Model2Package.UNSETTABLE2_WITH_DEFAULT:
148
    {
149
      Unsettable2WithDefault unsettable2WithDefault = (Unsettable2WithDefault)theEObject;
150
      T result = caseUnsettable2WithDefault(unsettable2WithDefault);
151
      if (result == null)
152
        result = defaultCase(theEObject);
153
      return result;
154
    }
155
    case Model2Package.PERSISTENT_CONTAINMENT:
156
    {
157
      PersistentContainment persistentContainment = (PersistentContainment)theEObject;
158
      T result = casePersistentContainment(persistentContainment);
159
      if (result == null)
160
        result = defaultCase(theEObject);
161
      return result;
162
    }
163
    case Model2Package.TRANSIENT_CONTAINER:
164
    {
165
      TransientContainer transientContainer = (TransientContainer)theEObject;
166
      T result = caseTransientContainer(transientContainer);
167
      if (result == null)
168
        result = defaultCase(theEObject);
169
      return result;
170
    }
171
    default:
172
      return defaultCase(theEObject);
173
    }
174
  }
175
176
  /**
177
   * Returns the result of interpreting the object as an instance of '<em>Special Purchase Order</em>'.
178
   * <!-- begin-user-doc -->
179
   * This implementation returns null;
180
   * returning a non-null result will terminate the switch.
181
   * <!-- end-user-doc -->
182
   * @param object the target of the switch.
183
   * @return the result of interpreting the object as an instance of '<em>Special Purchase Order</em>'.
184
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
185
   * @generated
186
   */
187
  public T caseSpecialPurchaseOrder(SpecialPurchaseOrder object)
188
  {
189
    return null;
190
  }
191
192
  /**
193
   * Returns the result of interpreting the object as an instance of '<em>Task Container</em>'.
194
   * <!-- begin-user-doc -->
195
   * This implementation returns null;
196
   * returning a non-null result will terminate the switch.
197
   * <!-- end-user-doc -->
198
   * @param object the target of the switch.
199
   * @return the result of interpreting the object as an instance of '<em>Task Container</em>'.
200
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
201
   * @generated
202
   */
203
  public T caseTaskContainer(TaskContainer object)
204
  {
205
    return null;
206
  }
207
208
  /**
209
   * Returns the result of interpreting the object as an instance of '<em>Task</em>'.
210
   * <!-- begin-user-doc -->
211
   * This implementation returns null;
212
   * returning a non-null result will terminate the switch.
213
   * <!-- end-user-doc -->
214
   * @param object the target of the switch.
215
   * @return the result of interpreting the object as an instance of '<em>Task</em>'.
216
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
217
   * @generated
218
   */
219
  public T caseTask(Task object)
220
  {
221
    return null;
222
  }
223
224
  /**
225
   * Returns the result of interpreting the object as an instance of '<em>Unsettable1</em>'.
226
   * <!-- begin-user-doc -->
227
   * This implementation returns null;
228
   * returning a non-null result will terminate the switch.
229
   * <!-- end-user-doc -->
230
   * @param object the target of the switch.
231
   * @return the result of interpreting the object as an instance of '<em>Unsettable1</em>'.
232
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
233
   * @generated
234
   */
235
  public T caseUnsettable1(Unsettable1 object)
236
  {
237
    return null;
238
  }
239
240
  /**
241
   * Returns the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'.
242
   * <!-- begin-user-doc -->
243
   * This implementation returns null;
244
   * returning a non-null result will terminate the switch.
245
   * <!-- end-user-doc -->
246
   * @param object the target of the switch.
247
   * @return the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'.
248
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
249
   * @generated
250
   */
251
  public T caseUnsettable2WithDefault(Unsettable2WithDefault object)
252
  {
253
    return null;
254
  }
255
256
  /**
257
   * Returns the result of interpreting the object as an instance of '<em>Persistent Containment</em>'.
258
   * <!-- begin-user-doc -->
259
   * This implementation returns null;
260
   * returning a non-null result will terminate the switch.
261
   * <!-- end-user-doc -->
262
   * @param object the target of the switch.
263
   * @return the result of interpreting the object as an instance of '<em>Persistent Containment</em>'.
264
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
265
   * @generated
266
   */
267
  public T casePersistentContainment(PersistentContainment object)
268
  {
269
    return null;
270
  }
271
272
  /**
273
   * Returns the result of interpreting the object as an instance of '<em>Transient Container</em>'.
274
   * <!-- begin-user-doc -->
275
   * This implementation returns null;
276
   * returning a non-null result will terminate the switch.
277
   * <!-- end-user-doc -->
278
   * @param object the target of the switch.
279
   * @return the result of interpreting the object as an instance of '<em>Transient Container</em>'.
280
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
281
   * @generated
282
   */
283
  public T caseTransientContainer(TransientContainer object)
284
  {
285
    return null;
286
  }
287
288
  /**
289
   * Returns the result of interpreting the object as an instance of '<em>Order</em>'.
290
   * <!-- begin-user-doc -->
291
   * This implementation returns null;
292
   * returning a non-null result will terminate the switch.
293
   * <!-- end-user-doc -->
294
   * @param object the target of the switch.
295
   * @return the result of interpreting the object as an instance of '<em>Order</em>'.
296
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
297
   * @generated
298
   */
299
  public T caseOrder(Order object)
300
  {
301
    return null;
302
  }
303
304
  /**
305
   * Returns the result of interpreting the object as an instance of '<em>Purchase Order</em>'.
306
   * <!-- begin-user-doc -->
307
   * This implementation returns null;
308
   * returning a non-null result will terminate the switch.
309
   * <!-- end-user-doc -->
310
   * @param object the target of the switch.
311
   * @return the result of interpreting the object as an instance of '<em>Purchase Order</em>'.
312
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
313
   * @generated
314
   */
315
  public T casePurchaseOrder(PurchaseOrder object)
316
  {
317
    return null;
318
  }
319
320
  /**
321
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
322
   * <!-- begin-user-doc -->
323
   * This implementation returns null;
324
   * returning a non-null result will terminate the switch, but this is the last case anyway.
325
   * <!-- end-user-doc -->
326
   * @param object the target of the switch.
327
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
328
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
329
   * @generated
330
   */
331
  public T defaultCase(EObject object)
332
  {
333
    return null;
334
  }
335
336
} //Model2Switch
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskContainerImpl.java (+191 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.model2.Model2Package;
16
import org.eclipse.emf.cdo.tests.model2.Task;
17
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
18
19
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.util.EList;
21
import org.eclipse.emf.ecore.EClass;
22
import org.eclipse.emf.ecore.InternalEObject;
23
import org.eclipse.emf.ecore.impl.EObjectImpl;
24
import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
25
import org.eclipse.emf.ecore.util.InternalEList;
26
27
import java.util.Collection;
28
29
/**
30
 * <!-- begin-user-doc -->
31
 * An implementation of the model object '<em><b>Task Container</b></em>'.
32
 * <!-- end-user-doc -->
33
 * <p>
34
 * The following features are implemented:
35
 * <ul>
36
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl#getTasks <em>Tasks</em>}</li>
37
 * </ul>
38
 * </p>
39
 *
40
 * @generated
41
 */
42
public class TaskContainerImpl extends EObjectImpl implements TaskContainer
43
{
44
  /**
45
   * The cached value of the '{@link #getTasks() <em>Tasks</em>}' containment reference list.
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
48
   * @see #getTasks()
49
   * @generated
50
   * @ordered
51
   */
52
  protected EList<Task> tasks;
53
54
  /**
55
   * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
57
   * @generated
58
   */
59
  protected TaskContainerImpl()
60
  {
61
    super();
62
  }
63
64
  /**
65
   * <!-- begin-user-doc -->
66
   * <!-- end-user-doc -->
67
   * @generated
68
   */
69
  @Override
70
  protected EClass eStaticClass()
71
  {
72
    return Model2Package.Literals.TASK_CONTAINER;
73
  }
74
75
  /**
76
   * <!-- begin-user-doc -->
77
   * <!-- end-user-doc -->
78
   * @generated
79
   */
80
  public EList<Task> getTasks()
81
  {
82
    if (tasks == null)
83
    {
84
      tasks = new EObjectContainmentWithInverseEList<Task>(Task.class, this, Model2Package.TASK_CONTAINER__TASKS,
85
          Model2Package.TASK__TASK_CONTAINER);
86
    }
87
    return tasks;
88
  }
89
90
  /**
91
   * <!-- begin-user-doc -->
92
   * <!-- end-user-doc -->
93
   * @generated
94
   */
95
  @SuppressWarnings("unchecked")
96
  @Override
97
  public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
98
  {
99
    switch (featureID)
100
    {
101
    case Model2Package.TASK_CONTAINER__TASKS:
102
      return ((InternalEList<InternalEObject>)(InternalEList<?>)getTasks()).basicAdd(otherEnd, msgs);
103
    }
104
    return super.eInverseAdd(otherEnd, featureID, msgs);
105
  }
106
107
  /**
108
   * <!-- begin-user-doc -->
109
   * <!-- end-user-doc -->
110
   * @generated
111
   */
112
  @Override
113
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
114
  {
115
    switch (featureID)
116
    {
117
    case Model2Package.TASK_CONTAINER__TASKS:
118
      return ((InternalEList<?>)getTasks()).basicRemove(otherEnd, msgs);
119
    }
120
    return super.eInverseRemove(otherEnd, featureID, msgs);
121
  }
122
123
  /**
124
   * <!-- begin-user-doc -->
125
   * <!-- end-user-doc -->
126
   * @generated
127
   */
128
  @Override
129
  public Object eGet(int featureID, boolean resolve, boolean coreType)
130
  {
131
    switch (featureID)
132
    {
133
    case Model2Package.TASK_CONTAINER__TASKS:
134
      return getTasks();
135
    }
136
    return super.eGet(featureID, resolve, coreType);
137
  }
138
139
  /**
140
   * <!-- begin-user-doc -->
141
   * <!-- end-user-doc -->
142
   * @generated
143
   */
144
  @SuppressWarnings("unchecked")
145
  @Override
146
  public void eSet(int featureID, Object newValue)
147
  {
148
    switch (featureID)
149
    {
150
    case Model2Package.TASK_CONTAINER__TASKS:
151
      getTasks().clear();
152
      getTasks().addAll((Collection<? extends Task>)newValue);
153
      return;
154
    }
155
    super.eSet(featureID, newValue);
156
  }
157
158
  /**
159
   * <!-- begin-user-doc -->
160
   * <!-- end-user-doc -->
161
   * @generated
162
   */
163
  @Override
164
  public void eUnset(int featureID)
165
  {
166
    switch (featureID)
167
    {
168
    case Model2Package.TASK_CONTAINER__TASKS:
169
      getTasks().clear();
170
      return;
171
    }
172
    super.eUnset(featureID);
173
  }
174
175
  /**
176
   * <!-- begin-user-doc -->
177
   * <!-- end-user-doc -->
178
   * @generated
179
   */
180
  @Override
181
  public boolean eIsSet(int featureID)
182
  {
183
    switch (featureID)
184
    {
185
    case Model2Package.TASK_CONTAINER__TASKS:
186
      return tasks != null && !tasks.isEmpty();
187
    }
188
    return super.eIsSet(featureID);
189
  }
190
191
} //TaskContainerImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/PersistentContainmentImpl.java (+323 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.model2.Model2Package;
16
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
17
import org.eclipse.emf.cdo.tests.model2.TransientContainer;
18
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.util.EList;
22
import org.eclipse.emf.ecore.EClass;
23
import org.eclipse.emf.ecore.InternalEObject;
24
import org.eclipse.emf.ecore.impl.ENotificationImpl;
25
import org.eclipse.emf.ecore.impl.EObjectImpl;
26
import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
27
import org.eclipse.emf.ecore.util.InternalEList;
28
29
import java.util.Collection;
30
31
/**
32
 * <!-- begin-user-doc -->
33
 * An implementation of the model object '<em><b>Persistent Containment</b></em>'.
34
 * <!-- end-user-doc -->
35
 * <p>
36
 * The following features are implemented:
37
 * <ul>
38
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getAttrBefore <em>Attr Before</em>}</li>
39
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getChildren <em>Children</em>}</li>
40
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getAttrAfter <em>Attr After</em>}</li>
41
 * </ul>
42
 * </p>
43
 *
44
 * @generated
45
 */
46
public class PersistentContainmentImpl extends EObjectImpl implements PersistentContainment
47
{
48
  /**
49
   * The default value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute.
50
   * <!-- begin-user-doc -->
51
   * <!-- end-user-doc -->
52
   * @see #getAttrBefore()
53
   * @generated
54
   * @ordered
55
   */
56
  protected static final String ATTR_BEFORE_EDEFAULT = null;
57
58
  /**
59
   * The cached value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute.
60
   * <!-- begin-user-doc -->
61
   * <!-- end-user-doc -->
62
   * @see #getAttrBefore()
63
   * @generated
64
   * @ordered
65
   */
66
  protected String attrBefore = ATTR_BEFORE_EDEFAULT;
67
68
  /**
69
   * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list.
70
   * <!-- begin-user-doc -->
71
   * <!-- end-user-doc -->
72
   * @see #getChildren()
73
   * @generated
74
   * @ordered
75
   */
76
  protected EList<TransientContainer> children;
77
78
  /**
79
   * The default value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute.
80
   * <!-- begin-user-doc -->
81
   * <!-- end-user-doc -->
82
   * @see #getAttrAfter()
83
   * @generated
84
   * @ordered
85
   */
86
  protected static final String ATTR_AFTER_EDEFAULT = null;
87
88
  /**
89
   * The cached value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute.
90
   * <!-- begin-user-doc -->
91
   * <!-- end-user-doc -->
92
   * @see #getAttrAfter()
93
   * @generated
94
   * @ordered
95
   */
96
  protected String attrAfter = ATTR_AFTER_EDEFAULT;
97
98
  /**
99
   * <!-- begin-user-doc -->
100
   * <!-- end-user-doc -->
101
   * @generated
102
   */
103
  protected PersistentContainmentImpl()
104
  {
105
    super();
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @Override
114
  protected EClass eStaticClass()
115
  {
116
    return Model2Package.Literals.PERSISTENT_CONTAINMENT;
117
  }
118
119
  /**
120
   * <!-- begin-user-doc -->
121
   * <!-- end-user-doc -->
122
   * @generated
123
   */
124
  public String getAttrBefore()
125
  {
126
    return attrBefore;
127
  }
128
129
  /**
130
   * <!-- begin-user-doc -->
131
   * <!-- end-user-doc -->
132
   * @generated
133
   */
134
  public void setAttrBefore(String newAttrBefore)
135
  {
136
    String oldAttrBefore = attrBefore;
137
    attrBefore = newAttrBefore;
138
    if (eNotificationRequired())
139
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE,
140
          oldAttrBefore, attrBefore));
141
  }
142
143
  /**
144
   * <!-- begin-user-doc -->
145
   * <!-- end-user-doc -->
146
   * @generated
147
   */
148
  public EList<TransientContainer> getChildren()
149
  {
150
    if (children == null)
151
    {
152
      children = new EObjectContainmentWithInverseEList<TransientContainer>(TransientContainer.class, this,
153
          Model2Package.PERSISTENT_CONTAINMENT__CHILDREN, Model2Package.TRANSIENT_CONTAINER__PARENT);
154
    }
155
    return children;
156
  }
157
158
  /**
159
   * <!-- begin-user-doc -->
160
   * <!-- end-user-doc -->
161
   * @generated
162
   */
163
  public String getAttrAfter()
164
  {
165
    return attrAfter;
166
  }
167
168
  /**
169
   * <!-- begin-user-doc -->
170
   * <!-- end-user-doc -->
171
   * @generated
172
   */
173
  public void setAttrAfter(String newAttrAfter)
174
  {
175
    String oldAttrAfter = attrAfter;
176
    attrAfter = newAttrAfter;
177
    if (eNotificationRequired())
178
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER,
179
          oldAttrAfter, attrAfter));
180
  }
181
182
  /**
183
   * <!-- begin-user-doc -->
184
   * <!-- end-user-doc -->
185
   * @generated
186
   */
187
  @SuppressWarnings("unchecked")
188
  @Override
189
  public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
190
  {
191
    switch (featureID)
192
    {
193
    case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
194
      return ((InternalEList<InternalEObject>)(InternalEList<?>)getChildren()).basicAdd(otherEnd, msgs);
195
    }
196
    return super.eInverseAdd(otherEnd, featureID, msgs);
197
  }
198
199
  /**
200
   * <!-- begin-user-doc -->
201
   * <!-- end-user-doc -->
202
   * @generated
203
   */
204
  @Override
205
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
206
  {
207
    switch (featureID)
208
    {
209
    case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
210
      return ((InternalEList<?>)getChildren()).basicRemove(otherEnd, msgs);
211
    }
212
    return super.eInverseRemove(otherEnd, featureID, msgs);
213
  }
214
215
  /**
216
   * <!-- begin-user-doc -->
217
   * <!-- end-user-doc -->
218
   * @generated
219
   */
220
  @Override
221
  public Object eGet(int featureID, boolean resolve, boolean coreType)
222
  {
223
    switch (featureID)
224
    {
225
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
226
      return getAttrBefore();
227
    case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
228
      return getChildren();
229
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
230
      return getAttrAfter();
231
    }
232
    return super.eGet(featureID, resolve, coreType);
233
  }
234
235
  /**
236
   * <!-- begin-user-doc -->
237
   * <!-- end-user-doc -->
238
   * @generated
239
   */
240
  @SuppressWarnings("unchecked")
241
  @Override
242
  public void eSet(int featureID, Object newValue)
243
  {
244
    switch (featureID)
245
    {
246
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
247
      setAttrBefore((String)newValue);
248
      return;
249
    case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
250
      getChildren().clear();
251
      getChildren().addAll((Collection<? extends TransientContainer>)newValue);
252
      return;
253
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
254
      setAttrAfter((String)newValue);
255
      return;
256
    }
257
    super.eSet(featureID, newValue);
258
  }
259
260
  /**
261
   * <!-- begin-user-doc -->
262
   * <!-- end-user-doc -->
263
   * @generated
264
   */
265
  @Override
266
  public void eUnset(int featureID)
267
  {
268
    switch (featureID)
269
    {
270
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
271
      setAttrBefore(ATTR_BEFORE_EDEFAULT);
272
      return;
273
    case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
274
      getChildren().clear();
275
      return;
276
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
277
      setAttrAfter(ATTR_AFTER_EDEFAULT);
278
      return;
279
    }
280
    super.eUnset(featureID);
281
  }
282
283
  /**
284
   * <!-- begin-user-doc -->
285
   * <!-- end-user-doc -->
286
   * @generated
287
   */
288
  @Override
289
  public boolean eIsSet(int featureID)
290
  {
291
    switch (featureID)
292
    {
293
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
294
      return ATTR_BEFORE_EDEFAULT == null ? attrBefore != null : !ATTR_BEFORE_EDEFAULT.equals(attrBefore);
295
    case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
296
      return children != null && !children.isEmpty();
297
    case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
298
      return ATTR_AFTER_EDEFAULT == null ? attrAfter != null : !ATTR_AFTER_EDEFAULT.equals(attrAfter);
299
    }
300
    return super.eIsSet(featureID);
301
  }
302
303
  /**
304
   * <!-- begin-user-doc -->
305
   * <!-- end-user-doc -->
306
   * @generated
307
   */
308
  @Override
309
  public String toString()
310
  {
311
    if (eIsProxy())
312
      return super.toString();
313
314
    StringBuffer result = new StringBuffer(super.toString());
315
    result.append(" (attrBefore: ");
316
    result.append(attrBefore);
317
    result.append(", attrAfter: ");
318
    result.append(attrAfter);
319
    result.append(')');
320
    return result.toString();
321
  }
322
323
} //PersistentContainmentImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskImpl.java (+358 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
16
import org.eclipse.emf.cdo.tests.model2.Task;
17
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
18
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.ecore.EClass;
22
import org.eclipse.emf.ecore.InternalEObject;
23
import org.eclipse.emf.ecore.impl.ENotificationImpl;
24
import org.eclipse.emf.ecore.impl.EObjectImpl;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
26
27
/**
28
 * <!-- begin-user-doc -->
29
 * An implementation of the model object '<em><b>Task</b></em>'.
30
 * <!-- end-user-doc -->
31
 * <p>
32
 * The following features are implemented:
33
 * <ul>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#getTaskContainer <em>Task Container</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#getDescription <em>Description</em>}</li>
36
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#isDone <em>Done</em>}</li>
37
 * </ul>
38
 * </p>
39
 *
40
 * @generated
41
 */
42
public class TaskImpl extends EObjectImpl implements Task
43
{
44
  /**
45
   * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
48
   * @see #getDescription()
49
   * @generated
50
   * @ordered
51
   */
52
  protected static final String DESCRIPTION_EDEFAULT = null;
53
54
  /**
55
   * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
56
   * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
58
   * @see #getDescription()
59
   * @generated
60
   * @ordered
61
   */
62
  protected String description = DESCRIPTION_EDEFAULT;
63
64
  /**
65
   * The default value of the '{@link #isDone() <em>Done</em>}' attribute.
66
   * <!-- begin-user-doc -->
67
   * <!-- end-user-doc -->
68
   * @see #isDone()
69
   * @generated
70
   * @ordered
71
   */
72
  protected static final boolean DONE_EDEFAULT = false;
73
74
  /**
75
   * The cached value of the '{@link #isDone() <em>Done</em>}' attribute.
76
   * <!-- begin-user-doc -->
77
   * <!-- end-user-doc -->
78
   * @see #isDone()
79
   * @generated
80
   * @ordered
81
   */
82
  protected boolean done = DONE_EDEFAULT;
83
84
  /**
85
   * <!-- begin-user-doc -->
86
   * <!-- end-user-doc -->
87
   * @generated
88
   */
89
  protected TaskImpl()
90
  {
91
    super();
92
  }
93
94
  /**
95
   * <!-- begin-user-doc -->
96
   * <!-- end-user-doc -->
97
   * @generated
98
   */
99
  @Override
100
  protected EClass eStaticClass()
101
  {
102
    return Model2Package.Literals.TASK;
103
  }
104
105
  /**
106
   * <!-- begin-user-doc -->
107
   * <!-- end-user-doc -->
108
   * @generated
109
   */
110
  public TaskContainer getTaskContainer()
111
  {
112
    if (eContainerFeatureID() != Model2Package.TASK__TASK_CONTAINER)
113
      return null;
114
    return (TaskContainer)eContainer();
115
  }
116
117
  /**
118
   * <!-- begin-user-doc -->
119
   * <!-- end-user-doc -->
120
   * @generated
121
   */
122
  public NotificationChain basicSetTaskContainer(TaskContainer newTaskContainer, NotificationChain msgs)
123
  {
124
    msgs = eBasicSetContainer((InternalEObject)newTaskContainer, Model2Package.TASK__TASK_CONTAINER, msgs);
125
    return msgs;
126
  }
127
128
  /**
129
   * <!-- begin-user-doc -->
130
   * <!-- end-user-doc -->
131
   * @generated
132
   */
133
  public void setTaskContainer(TaskContainer newTaskContainer)
134
  {
135
    if (newTaskContainer != eInternalContainer()
136
        || (eContainerFeatureID() != Model2Package.TASK__TASK_CONTAINER && newTaskContainer != null))
137
    {
138
      if (EcoreUtil.isAncestor(this, newTaskContainer))
139
        throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
140
      NotificationChain msgs = null;
141
      if (eInternalContainer() != null)
142
        msgs = eBasicRemoveFromContainer(msgs);
143
      if (newTaskContainer != null)
144
        msgs = ((InternalEObject)newTaskContainer).eInverseAdd(this, Model2Package.TASK_CONTAINER__TASKS,
145
            TaskContainer.class, msgs);
146
      msgs = basicSetTaskContainer(newTaskContainer, msgs);
147
      if (msgs != null)
148
        msgs.dispatch();
149
    }
150
    else if (eNotificationRequired())
151
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__TASK_CONTAINER, newTaskContainer,
152
          newTaskContainer));
153
  }
154
155
  /**
156
   * <!-- begin-user-doc -->
157
   * <!-- end-user-doc -->
158
   * @generated
159
   */
160
  public String getDescription()
161
  {
162
    return description;
163
  }
164
165
  /**
166
   * <!-- begin-user-doc -->
167
   * <!-- end-user-doc -->
168
   * @generated
169
   */
170
  public void setDescription(String newDescription)
171
  {
172
    String oldDescription = description;
173
    description = newDescription;
174
    if (eNotificationRequired())
175
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__DESCRIPTION, oldDescription,
176
          description));
177
  }
178
179
  /**
180
   * <!-- begin-user-doc -->
181
   * <!-- end-user-doc -->
182
   * @generated
183
   */
184
  public boolean isDone()
185
  {
186
    return done;
187
  }
188
189
  /**
190
   * <!-- begin-user-doc -->
191
   * <!-- end-user-doc -->
192
   * @generated
193
   */
194
  public void setDone(boolean newDone)
195
  {
196
    boolean oldDone = done;
197
    done = newDone;
198
    if (eNotificationRequired())
199
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__DONE, oldDone, done));
200
  }
201
202
  /**
203
   * <!-- begin-user-doc -->
204
   * <!-- end-user-doc -->
205
   * @generated
206
   */
207
  @Override
208
  public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
209
  {
210
    switch (featureID)
211
    {
212
    case Model2Package.TASK__TASK_CONTAINER:
213
      if (eInternalContainer() != null)
214
        msgs = eBasicRemoveFromContainer(msgs);
215
      return basicSetTaskContainer((TaskContainer)otherEnd, msgs);
216
    }
217
    return super.eInverseAdd(otherEnd, featureID, msgs);
218
  }
219
220
  /**
221
   * <!-- begin-user-doc -->
222
   * <!-- end-user-doc -->
223
   * @generated
224
   */
225
  @Override
226
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
227
  {
228
    switch (featureID)
229
    {
230
    case Model2Package.TASK__TASK_CONTAINER:
231
      return basicSetTaskContainer(null, msgs);
232
    }
233
    return super.eInverseRemove(otherEnd, featureID, msgs);
234
  }
235
236
  /**
237
   * <!-- begin-user-doc -->
238
   * <!-- end-user-doc -->
239
   * @generated
240
   */
241
  @Override
242
  public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
243
  {
244
    switch (eContainerFeatureID())
245
    {
246
    case Model2Package.TASK__TASK_CONTAINER:
247
      return eInternalContainer().eInverseRemove(this, Model2Package.TASK_CONTAINER__TASKS, TaskContainer.class, msgs);
248
    }
249
    return super.eBasicRemoveFromContainerFeature(msgs);
250
  }
251
252
  /**
253
   * <!-- begin-user-doc -->
254
   * <!-- end-user-doc -->
255
   * @generated
256
   */
257
  @Override
258
  public Object eGet(int featureID, boolean resolve, boolean coreType)
259
  {
260
    switch (featureID)
261
    {
262
    case Model2Package.TASK__TASK_CONTAINER:
263
      return getTaskContainer();
264
    case Model2Package.TASK__DESCRIPTION:
265
      return getDescription();
266
    case Model2Package.TASK__DONE:
267
      return isDone();
268
    }
269
    return super.eGet(featureID, resolve, coreType);
270
  }
271
272
  /**
273
   * <!-- begin-user-doc -->
274
   * <!-- end-user-doc -->
275
   * @generated
276
   */
277
  @Override
278
  public void eSet(int featureID, Object newValue)
279
  {
280
    switch (featureID)
281
    {
282
    case Model2Package.TASK__TASK_CONTAINER:
283
      setTaskContainer((TaskContainer)newValue);
284
      return;
285
    case Model2Package.TASK__DESCRIPTION:
286
      setDescription((String)newValue);
287
      return;
288
    case Model2Package.TASK__DONE:
289
      setDone((Boolean)newValue);
290
      return;
291
    }
292
    super.eSet(featureID, newValue);
293
  }
294
295
  /**
296
   * <!-- begin-user-doc -->
297
   * <!-- end-user-doc -->
298
   * @generated
299
   */
300
  @Override
301
  public void eUnset(int featureID)
302
  {
303
    switch (featureID)
304
    {
305
    case Model2Package.TASK__TASK_CONTAINER:
306
      setTaskContainer((TaskContainer)null);
307
      return;
308
    case Model2Package.TASK__DESCRIPTION:
309
      setDescription(DESCRIPTION_EDEFAULT);
310
      return;
311
    case Model2Package.TASK__DONE:
312
      setDone(DONE_EDEFAULT);
313
      return;
314
    }
315
    super.eUnset(featureID);
316
  }
317
318
  /**
319
   * <!-- begin-user-doc -->
320
   * <!-- end-user-doc -->
321
   * @generated
322
   */
323
  @Override
324
  public boolean eIsSet(int featureID)
325
  {
326
    switch (featureID)
327
    {
328
    case Model2Package.TASK__TASK_CONTAINER:
329
      return getTaskContainer() != null;
330
    case Model2Package.TASK__DESCRIPTION:
331
      return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
332
    case Model2Package.TASK__DONE:
333
      return done != DONE_EDEFAULT;
334
    }
335
    return super.eIsSet(featureID);
336
  }
337
338
  /**
339
   * <!-- begin-user-doc -->
340
   * <!-- end-user-doc -->
341
   * @generated
342
   */
343
  @Override
344
  public String toString()
345
  {
346
    if (eIsProxy())
347
      return super.toString();
348
349
    StringBuffer result = new StringBuffer(super.toString());
350
    result.append(" (description: ");
351
    result.append(description);
352
    result.append(", done: ");
353
    result.append(done);
354
    result.append(')');
355
    return result.toString();
356
  }
357
358
} //TaskImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2PackageImpl.java (+809 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
16
import org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory;
17
import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
18
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
19
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
20
import org.eclipse.emf.cdo.tests.model2.Task;
21
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
22
import org.eclipse.emf.cdo.tests.model2.TransientContainer;
23
import org.eclipse.emf.cdo.tests.model2.Unsettable1;
24
import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
25
26
import org.eclipse.emf.ecore.EAttribute;
27
import org.eclipse.emf.ecore.EClass;
28
import org.eclipse.emf.ecore.EPackage;
29
import org.eclipse.emf.ecore.EReference;
30
import org.eclipse.emf.ecore.impl.EPackageImpl;
31
32
/**
33
 * <!-- begin-user-doc -->
34
 * An implementation of the model <b>Package</b>.
35
 * <!-- end-user-doc -->
36
 * @generated
37
 */
38
public class Model2PackageImpl extends EPackageImpl implements Model2Package
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  private EClass specialPurchaseOrderEClass = null;
46
47
  /**
48
   * <!-- begin-user-doc -->
49
   * <!-- end-user-doc -->
50
   * @generated
51
   */
52
  private EClass taskContainerEClass = null;
53
54
  /**
55
   * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
57
   * @generated
58
   */
59
  private EClass taskEClass = null;
60
61
  /**
62
   * <!-- begin-user-doc -->
63
   * <!-- end-user-doc -->
64
   * @generated
65
   */
66
  private EClass unsettable1EClass = null;
67
68
  /**
69
   * <!-- begin-user-doc -->
70
   * <!-- end-user-doc -->
71
   * @generated
72
   */
73
  private EClass unsettable2WithDefaultEClass = null;
74
75
  /**
76
   * <!-- begin-user-doc -->
77
   * <!-- end-user-doc -->
78
   * @generated
79
   */
80
  private EClass persistentContainmentEClass = null;
81
82
  /**
83
   * <!-- begin-user-doc -->
84
   * <!-- end-user-doc -->
85
   * @generated
86
   */
87
  private EClass transientContainerEClass = null;
88
89
  /**
90
   * Creates an instance of the model <b>Package</b>, registered with
91
   * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
92
   * package URI value.
93
   * <p>Note: the correct way to create the package is via the static
94
   * factory method {@link #init init()}, which also performs
95
   * initialization of the package, or returns the registered package,
96
   * if one already exists.
97
   * <!-- begin-user-doc -->
98
   * <!-- end-user-doc -->
99
   * @see org.eclipse.emf.ecore.EPackage.Registry
100
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Package#eNS_URI
101
   * @see #init()
102
   * @generated
103
   */
104
  private Model2PackageImpl()
105
  {
106
    super(eNS_URI, Model2Factory.eINSTANCE);
107
  }
108
109
  /**
110
   * <!-- begin-user-doc -->
111
   * <!-- end-user-doc -->
112
   * @generated
113
   */
114
  private static boolean isInited = false;
115
116
  /**
117
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
118
   * 
119
   * <p>This method is used to initialize {@link Model2Package#eINSTANCE} when that field is accessed.
120
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
121
   * <!-- begin-user-doc -->
122
   * <!-- end-user-doc -->
123
   * @see #eNS_URI
124
   * @see #createPackageContents()
125
   * @see #initializePackageContents()
126
   * @generated
127
   */
128
  public static Model2Package init()
129
  {
130
    if (isInited)
131
      return (Model2Package)EPackage.Registry.INSTANCE.getEPackage(Model2Package.eNS_URI);
132
133
    // Obtain or create and register package
134
    Model2PackageImpl theModel2Package = (Model2PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Model2PackageImpl ? EPackage.Registry.INSTANCE
135
        .get(eNS_URI)
136
        : new Model2PackageImpl());
137
138
    isInited = true;
139
140
    // Initialize simple dependencies
141
    Model1Package.eINSTANCE.eClass();
142
143
    // Create package meta-data objects
144
    theModel2Package.createPackageContents();
145
146
    // Initialize created meta-data
147
    theModel2Package.initializePackageContents();
148
149
    // Mark meta-data to indicate it can't be changed
150
    theModel2Package.freeze();
151
152
    // Update the registry and return the package
153
    EPackage.Registry.INSTANCE.put(Model2Package.eNS_URI, theModel2Package);
154
    return theModel2Package;
155
  }
156
157
  /**
158
   * <!-- begin-user-doc -->
159
   * <!-- end-user-doc -->
160
   * @generated
161
   */
162
  public EClass getSpecialPurchaseOrder()
163
  {
164
    return specialPurchaseOrderEClass;
165
  }
166
167
  /**
168
   * <!-- begin-user-doc -->
169
   * <!-- end-user-doc -->
170
   * @generated
171
   */
172
  public EAttribute getSpecialPurchaseOrder_DiscountCode()
173
  {
174
    return (EAttribute)specialPurchaseOrderEClass.getEStructuralFeatures().get(0);
175
  }
176
177
  /**
178
   * <!-- begin-user-doc -->
179
   * <!-- end-user-doc -->
180
   * @generated
181
   */
182
  public EReference getSpecialPurchaseOrder_ShippingAddress()
183
  {
184
    return (EReference)specialPurchaseOrderEClass.getEStructuralFeatures().get(1);
185
  }
186
187
  /**
188
   * <!-- begin-user-doc -->
189
   * <!-- end-user-doc -->
190
   * @generated
191
   */
192
  public EClass getTaskContainer()
193
  {
194
    return taskContainerEClass;
195
  }
196
197
  /**
198
   * <!-- begin-user-doc -->
199
   * <!-- end-user-doc -->
200
   * @generated
201
   */
202
  public EReference getTaskContainer_Tasks()
203
  {
204
    return (EReference)taskContainerEClass.getEStructuralFeatures().get(0);
205
  }
206
207
  /**
208
   * <!-- begin-user-doc -->
209
   * <!-- end-user-doc -->
210
   * @generated
211
   */
212
  public EClass getTask()
213
  {
214
    return taskEClass;
215
  }
216
217
  /**
218
   * <!-- begin-user-doc -->
219
   * <!-- end-user-doc -->
220
   * @generated
221
   */
222
  public EReference getTask_TaskContainer()
223
  {
224
    return (EReference)taskEClass.getEStructuralFeatures().get(0);
225
  }
226
227
  /**
228
   * <!-- begin-user-doc -->
229
   * <!-- end-user-doc -->
230
   * @generated
231
   */
232
  public EAttribute getTask_Description()
233
  {
234
    return (EAttribute)taskEClass.getEStructuralFeatures().get(1);
235
  }
236
237
  /**
238
   * <!-- begin-user-doc -->
239
   * <!-- end-user-doc -->
240
   * @generated
241
   */
242
  public EAttribute getTask_Done()
243
  {
244
    return (EAttribute)taskEClass.getEStructuralFeatures().get(2);
245
  }
246
247
  /**
248
   * <!-- begin-user-doc -->
249
   * <!-- end-user-doc -->
250
   * @generated
251
   */
252
  public EClass getUnsettable1()
253
  {
254
    return unsettable1EClass;
255
  }
256
257
  /**
258
   * <!-- begin-user-doc -->
259
   * <!-- end-user-doc -->
260
   * @generated
261
   */
262
  public EAttribute getUnsettable1_UnsettableBoolean()
263
  {
264
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(0);
265
  }
266
267
  /**
268
   * <!-- begin-user-doc -->
269
   * <!-- end-user-doc -->
270
   * @generated
271
   */
272
  public EAttribute getUnsettable1_UnsettableByte()
273
  {
274
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(1);
275
  }
276
277
  /**
278
   * <!-- begin-user-doc -->
279
   * <!-- end-user-doc -->
280
   * @generated
281
   */
282
  public EAttribute getUnsettable1_UnsettableChar()
283
  {
284
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(2);
285
  }
286
287
  /**
288
   * <!-- begin-user-doc -->
289
   * <!-- end-user-doc -->
290
   * @generated
291
   */
292
  public EAttribute getUnsettable1_UnsettableDate()
293
  {
294
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(3);
295
  }
296
297
  /**
298
   * <!-- begin-user-doc -->
299
   * <!-- end-user-doc -->
300
   * @generated
301
   */
302
  public EAttribute getUnsettable1_UnsettableDouble()
303
  {
304
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(4);
305
  }
306
307
  /**
308
   * <!-- begin-user-doc -->
309
   * <!-- end-user-doc -->
310
   * @generated
311
   */
312
  public EAttribute getUnsettable1_UnsettableFloat()
313
  {
314
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(5);
315
  }
316
317
  /**
318
   * <!-- begin-user-doc -->
319
   * <!-- end-user-doc -->
320
   * @generated
321
   */
322
  public EAttribute getUnsettable1_UnsettableInt()
323
  {
324
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(6);
325
  }
326
327
  /**
328
   * <!-- begin-user-doc -->
329
   * <!-- end-user-doc -->
330
   * @generated
331
   */
332
  public EAttribute getUnsettable1_UnsettableLong()
333
  {
334
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(7);
335
  }
336
337
  /**
338
   * <!-- begin-user-doc -->
339
   * <!-- end-user-doc -->
340
   * @generated
341
   */
342
  public EAttribute getUnsettable1_UnsettableShort()
343
  {
344
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(8);
345
  }
346
347
  /**
348
   * <!-- begin-user-doc -->
349
   * <!-- end-user-doc -->
350
   * @generated
351
   */
352
  public EAttribute getUnsettable1_UnsettableString()
353
  {
354
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(9);
355
  }
356
357
  /**
358
   * <!-- begin-user-doc -->
359
   * <!-- end-user-doc -->
360
   * @generated
361
   */
362
  public EAttribute getUnsettable1_UnsettableVAT()
363
  {
364
    return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(10);
365
  }
366
367
  /**
368
   * <!-- begin-user-doc -->
369
   * <!-- end-user-doc -->
370
   * @generated
371
   */
372
  public EClass getUnsettable2WithDefault()
373
  {
374
    return unsettable2WithDefaultEClass;
375
  }
376
377
  /**
378
   * <!-- begin-user-doc -->
379
   * <!-- end-user-doc -->
380
   * @generated
381
   */
382
  public EAttribute getUnsettable2WithDefault_UnsettableBoolean()
383
  {
384
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(0);
385
  }
386
387
  /**
388
   * <!-- begin-user-doc -->
389
   * <!-- end-user-doc -->
390
   * @generated
391
   */
392
  public EAttribute getUnsettable2WithDefault_UnsettableByte()
393
  {
394
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(1);
395
  }
396
397
  /**
398
   * <!-- begin-user-doc -->
399
   * <!-- end-user-doc -->
400
   * @generated
401
   */
402
  public EAttribute getUnsettable2WithDefault_UnsettableChar()
403
  {
404
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(2);
405
  }
406
407
  /**
408
   * <!-- begin-user-doc -->
409
   * <!-- end-user-doc -->
410
   * @generated
411
   */
412
  public EAttribute getUnsettable2WithDefault_UnsettableDate()
413
  {
414
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(3);
415
  }
416
417
  /**
418
   * <!-- begin-user-doc -->
419
   * <!-- end-user-doc -->
420
   * @generated
421
   */
422
  public EAttribute getUnsettable2WithDefault_UnsettableDouble()
423
  {
424
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(4);
425
  }
426
427
  /**
428
   * <!-- begin-user-doc -->
429
   * <!-- end-user-doc -->
430
   * @generated
431
   */
432
  public EAttribute getUnsettable2WithDefault_UnsettableFloat()
433
  {
434
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(5);
435
  }
436
437
  /**
438
   * <!-- begin-user-doc -->
439
   * <!-- end-user-doc -->
440
   * @generated
441
   */
442
  public EAttribute getUnsettable2WithDefault_UnsettableInt()
443
  {
444
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(6);
445
  }
446
447
  /**
448
   * <!-- begin-user-doc -->
449
   * <!-- end-user-doc -->
450
   * @generated
451
   */
452
  public EAttribute getUnsettable2WithDefault_UnsettableLong()
453
  {
454
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(7);
455
  }
456
457
  /**
458
   * <!-- begin-user-doc -->
459
   * <!-- end-user-doc -->
460
   * @generated
461
   */
462
  public EAttribute getUnsettable2WithDefault_UnsettableShort()
463
  {
464
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(8);
465
  }
466
467
  /**
468
   * <!-- begin-user-doc -->
469
   * <!-- end-user-doc -->
470
   * @generated
471
   */
472
  public EAttribute getUnsettable2WithDefault_UnsettableString()
473
  {
474
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(9);
475
  }
476
477
  /**
478
   * <!-- begin-user-doc -->
479
   * <!-- end-user-doc -->
480
   * @generated
481
   */
482
  public EAttribute getUnsettable2WithDefault_UnsettableVAT()
483
  {
484
    return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(10);
485
  }
486
487
  /**
488
   * <!-- begin-user-doc -->
489
   * <!-- end-user-doc -->
490
   * @generated
491
   */
492
  public EClass getPersistentContainment()
493
  {
494
    return persistentContainmentEClass;
495
  }
496
497
  /**
498
   * <!-- begin-user-doc -->
499
   * <!-- end-user-doc -->
500
   * @generated
501
   */
502
  public EAttribute getPersistentContainment_AttrBefore()
503
  {
504
    return (EAttribute)persistentContainmentEClass.getEStructuralFeatures().get(0);
505
  }
506
507
  /**
508
   * <!-- begin-user-doc -->
509
   * <!-- end-user-doc -->
510
   * @generated
511
   */
512
  public EReference getPersistentContainment_Children()
513
  {
514
    return (EReference)persistentContainmentEClass.getEStructuralFeatures().get(1);
515
  }
516
517
  /**
518
   * <!-- begin-user-doc -->
519
   * <!-- end-user-doc -->
520
   * @generated
521
   */
522
  public EAttribute getPersistentContainment_AttrAfter()
523
  {
524
    return (EAttribute)persistentContainmentEClass.getEStructuralFeatures().get(2);
525
  }
526
527
  /**
528
   * <!-- begin-user-doc -->
529
   * <!-- end-user-doc -->
530
   * @generated
531
   */
532
  public EClass getTransientContainer()
533
  {
534
    return transientContainerEClass;
535
  }
536
537
  /**
538
   * <!-- begin-user-doc -->
539
   * <!-- end-user-doc -->
540
   * @generated
541
   */
542
  public EAttribute getTransientContainer_AttrBefore()
543
  {
544
    return (EAttribute)transientContainerEClass.getEStructuralFeatures().get(0);
545
  }
546
547
  /**
548
   * <!-- begin-user-doc -->
549
   * <!-- end-user-doc -->
550
   * @generated
551
   */
552
  public EReference getTransientContainer_Parent()
553
  {
554
    return (EReference)transientContainerEClass.getEStructuralFeatures().get(1);
555
  }
556
557
  /**
558
   * <!-- begin-user-doc -->
559
   * <!-- end-user-doc -->
560
   * @generated
561
   */
562
  public EAttribute getTransientContainer_AttrAfter()
563
  {
564
    return (EAttribute)transientContainerEClass.getEStructuralFeatures().get(2);
565
  }
566
567
  /**
568
   * <!-- begin-user-doc -->
569
   * <!-- end-user-doc -->
570
   * @generated
571
   */
572
  public Model2Factory getModel2Factory()
573
  {
574
    return (Model2Factory)getEFactoryInstance();
575
  }
576
577
  /**
578
   * <!-- begin-user-doc -->
579
   * <!-- end-user-doc -->
580
   * @generated
581
   */
582
  private boolean isCreated = false;
583
584
  /**
585
   * Creates the meta-model objects for the package.  This method is
586
   * guarded to have no affect on any invocation but its first.
587
   * <!-- begin-user-doc -->
588
   * <!-- end-user-doc -->
589
   * @generated
590
   */
591
  public void createPackageContents()
592
  {
593
    if (isCreated)
594
      return;
595
    isCreated = true;
596
597
    // Create classes and their features
598
    specialPurchaseOrderEClass = createEClass(SPECIAL_PURCHASE_ORDER);
599
    createEAttribute(specialPurchaseOrderEClass, SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE);
600
    createEReference(specialPurchaseOrderEClass, SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS);
601
602
    taskContainerEClass = createEClass(TASK_CONTAINER);
603
    createEReference(taskContainerEClass, TASK_CONTAINER__TASKS);
604
605
    taskEClass = createEClass(TASK);
606
    createEReference(taskEClass, TASK__TASK_CONTAINER);
607
    createEAttribute(taskEClass, TASK__DESCRIPTION);
608
    createEAttribute(taskEClass, TASK__DONE);
609
610
    unsettable1EClass = createEClass(UNSETTABLE1);
611
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BOOLEAN);
612
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BYTE);
613
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_CHAR);
614
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DATE);
615
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DOUBLE);
616
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_FLOAT);
617
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_INT);
618
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_LONG);
619
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_SHORT);
620
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_STRING);
621
    createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_VAT);
622
623
    unsettable2WithDefaultEClass = createEClass(UNSETTABLE2_WITH_DEFAULT);
624
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN);
625
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE);
626
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR);
627
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE);
628
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE);
629
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT);
630
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT);
631
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG);
632
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT);
633
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING);
634
    createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT);
635
636
    persistentContainmentEClass = createEClass(PERSISTENT_CONTAINMENT);
637
    createEAttribute(persistentContainmentEClass, PERSISTENT_CONTAINMENT__ATTR_BEFORE);
638
    createEReference(persistentContainmentEClass, PERSISTENT_CONTAINMENT__CHILDREN);
639
    createEAttribute(persistentContainmentEClass, PERSISTENT_CONTAINMENT__ATTR_AFTER);
640
641
    transientContainerEClass = createEClass(TRANSIENT_CONTAINER);
642
    createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_BEFORE);
643
    createEReference(transientContainerEClass, TRANSIENT_CONTAINER__PARENT);
644
    createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_AFTER);
645
  }
646
647
  /**
648
   * <!-- begin-user-doc -->
649
   * <!-- end-user-doc -->
650
   * @generated
651
   */
652
  private boolean isInitialized = false;
653
654
  /**
655
   * Complete the initialization of the package and its meta-model.  This
656
   * method is guarded to have no affect on any invocation but its first.
657
   * <!-- begin-user-doc -->
658
   * <!-- end-user-doc -->
659
   * @generated
660
   */
661
  public void initializePackageContents()
662
  {
663
    if (isInitialized)
664
      return;
665
    isInitialized = true;
666
667
    // Initialize package
668
    setName(eNAME);
669
    setNsPrefix(eNS_PREFIX);
670
    setNsURI(eNS_URI);
671
672
    // Obtain other dependent packages
673
    Model1Package theModel1Package = (Model1Package)EPackage.Registry.INSTANCE.getEPackage(Model1Package.eNS_URI);
674
675
    // Create type parameters
676
677
    // Set bounds for type parameters
678
679
    // Add supertypes to classes
680
    specialPurchaseOrderEClass.getESuperTypes().add(theModel1Package.getPurchaseOrder());
681
682
    // Initialize classes and features; add operations and parameters
683
    initEClass(specialPurchaseOrderEClass, SpecialPurchaseOrder.class, "SpecialPurchaseOrder", !IS_ABSTRACT,
684
        !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
685
    initEAttribute(getSpecialPurchaseOrder_DiscountCode(), ecorePackage.getEString(), "discountCode", null, 0, 1,
686
        SpecialPurchaseOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
687
        !IS_DERIVED, IS_ORDERED);
688
    initEReference(getSpecialPurchaseOrder_ShippingAddress(), theModel1Package.getAddress(), null, "shippingAddress",
689
        null, 0, 1, SpecialPurchaseOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
690
        !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
691
692
    initEClass(taskContainerEClass, TaskContainer.class, "TaskContainer", !IS_ABSTRACT, !IS_INTERFACE,
693
        IS_GENERATED_INSTANCE_CLASS);
694
    initEReference(getTaskContainer_Tasks(), this.getTask(), this.getTask_TaskContainer(), "tasks", null, 0, -1,
695
        TaskContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
696
        !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
697
698
    initEClass(taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
699
    initEReference(getTask_TaskContainer(), this.getTaskContainer(), this.getTaskContainer_Tasks(), "taskContainer",
700
        null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
701
        !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
702
    initEAttribute(getTask_Description(), ecorePackage.getEString(), "description", null, 0, 1, Task.class,
703
        !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
704
    initEAttribute(getTask_Done(), ecorePackage.getEBoolean(), "done", null, 0, 1, Task.class, !IS_TRANSIENT,
705
        !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
706
707
    initEClass(unsettable1EClass, Unsettable1.class, "Unsettable1", !IS_ABSTRACT, !IS_INTERFACE,
708
        IS_GENERATED_INSTANCE_CLASS);
709
    initEAttribute(getUnsettable1_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean", null, 0, 1,
710
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
711
        IS_ORDERED);
712
    initEAttribute(getUnsettable1_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", null, 0, 1,
713
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
714
        IS_ORDERED);
715
    initEAttribute(getUnsettable1_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", null, 0, 1,
716
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
717
        IS_ORDERED);
718
    initEAttribute(getUnsettable1_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate", null, 0, 1,
719
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
720
        IS_ORDERED);
721
    initEAttribute(getUnsettable1_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", null, 0, 1,
722
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
723
        IS_ORDERED);
724
    initEAttribute(getUnsettable1_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", null, 0, 1,
725
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
726
        IS_ORDERED);
727
    initEAttribute(getUnsettable1_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", null, 0, 1,
728
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
729
        IS_ORDERED);
730
    initEAttribute(getUnsettable1_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", null, 0, 1,
731
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
732
        IS_ORDERED);
733
    initEAttribute(getUnsettable1_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", null, 0, 1,
734
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
735
        IS_ORDERED);
736
    initEAttribute(getUnsettable1_UnsettableString(), ecorePackage.getEString(), "unsettableString", null, 0, 1,
737
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
738
        IS_ORDERED);
739
    initEAttribute(getUnsettable1_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", null, 0, 1,
740
        Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
741
        IS_ORDERED);
742
743
    initEClass(unsettable2WithDefaultEClass, Unsettable2WithDefault.class, "Unsettable2WithDefault", !IS_ABSTRACT,
744
        !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
745
    initEAttribute(getUnsettable2WithDefault_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean",
746
        "true", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
747
        IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
748
    initEAttribute(getUnsettable2WithDefault_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", "3", 0, 1,
749
        Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
750
        !IS_DERIVED, IS_ORDERED);
751
    initEAttribute(getUnsettable2WithDefault_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", "\'x\'", 0,
752
        1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
753
        !IS_DERIVED, IS_ORDERED);
754
    initEAttribute(getUnsettable2WithDefault_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate",
755
        "2009-12-21T15:12:59", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
756
        IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
757
    initEAttribute(getUnsettable2WithDefault_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", "3.3",
758
        0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
759
        IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
760
    initEAttribute(getUnsettable2WithDefault_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", "4.4", 0,
761
        1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
762
        !IS_DERIVED, IS_ORDERED);
763
    initEAttribute(getUnsettable2WithDefault_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", "5", 0, 1,
764
        Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
765
        !IS_DERIVED, IS_ORDERED);
766
    initEAttribute(getUnsettable2WithDefault_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", "6", 0, 1,
767
        Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
768
        !IS_DERIVED, IS_ORDERED);
769
    initEAttribute(getUnsettable2WithDefault_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", "7", 0, 1,
770
        Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
771
        !IS_DERIVED, IS_ORDERED);
772
    initEAttribute(getUnsettable2WithDefault_UnsettableString(), ecorePackage.getEString(), "unsettableString",
773
        "\"eike\"", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE,
774
        !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
775
    initEAttribute(getUnsettable2WithDefault_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", "VAT15", 0,
776
        1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
777
        !IS_DERIVED, IS_ORDERED);
778
779
    initEClass(persistentContainmentEClass, PersistentContainment.class, "PersistentContainment", !IS_ABSTRACT,
780
        !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
781
    initEAttribute(getPersistentContainment_AttrBefore(), ecorePackage.getEString(), "attrBefore", null, 0, 1,
782
        PersistentContainment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
783
        !IS_DERIVED, IS_ORDERED);
784
    initEReference(getPersistentContainment_Children(), this.getTransientContainer(), this
785
        .getTransientContainer_Parent(), "children", null, 0, -1, PersistentContainment.class, !IS_TRANSIENT,
786
        !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
787
        !IS_ORDERED);
788
    initEAttribute(getPersistentContainment_AttrAfter(), ecorePackage.getEString(), "attrAfter", null, 0, 1,
789
        PersistentContainment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
790
        !IS_DERIVED, IS_ORDERED);
791
792
    initEClass(transientContainerEClass, TransientContainer.class, "TransientContainer", !IS_ABSTRACT, !IS_INTERFACE,
793
        IS_GENERATED_INSTANCE_CLASS);
794
    initEAttribute(getTransientContainer_AttrBefore(), ecorePackage.getEString(), "attrBefore", null, 0, 1,
795
        TransientContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
796
        !IS_DERIVED, IS_ORDERED);
797
    initEReference(getTransientContainer_Parent(), this.getPersistentContainment(), this
798
        .getPersistentContainment_Children(), "parent", null, 0, 1, TransientContainer.class, IS_TRANSIENT,
799
        !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
800
        IS_ORDERED);
801
    initEAttribute(getTransientContainer_AttrAfter(), ecorePackage.getEString(), "attrAfter", null, 0, 1,
802
        TransientContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
803
        !IS_DERIVED, IS_ORDERED);
804
805
    // Create resource
806
    createResource(eNS_URI);
807
  }
808
809
} //Model2PackageImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable1Impl.java (+1200 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.model1.VAT;
16
import org.eclipse.emf.cdo.tests.model2.Model2Package;
17
import org.eclipse.emf.cdo.tests.model2.Unsettable1;
18
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.ecore.EClass;
21
import org.eclipse.emf.ecore.impl.ENotificationImpl;
22
import org.eclipse.emf.ecore.impl.EObjectImpl;
23
24
import java.util.Date;
25
26
/**
27
 * <!-- begin-user-doc -->
28
 * An implementation of the model object '<em><b>Unsettable1</b></em>'.
29
 * <!-- end-user-doc -->
30
 * <p>
31
 * The following features are implemented:
32
 * <ul>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableByte <em>Unsettable Byte</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableChar <em>Unsettable Char</em>}</li>
36
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableDate <em>Unsettable Date</em>}</li>
37
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableDouble <em>Unsettable Double</em>}</li>
38
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableFloat <em>Unsettable Float</em>}</li>
39
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableInt <em>Unsettable Int</em>}</li>
40
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableLong <em>Unsettable Long</em>}</li>
41
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableShort <em>Unsettable Short</em>}</li>
42
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableString <em>Unsettable String</em>}</li>
43
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableVAT <em>Unsettable VAT</em>}</li>
44
 * </ul>
45
 * </p>
46
 *
47
 * @generated
48
 */
49
public class Unsettable1Impl extends EObjectImpl implements Unsettable1
50
{
51
  /**
52
   * The default value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute.
53
   * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
55
   * @see #isUnsettableBoolean()
56
   * @generated
57
   * @ordered
58
   */
59
  protected static final boolean UNSETTABLE_BOOLEAN_EDEFAULT = false;
60
61
  /**
62
   * The cached value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute.
63
   * <!-- begin-user-doc -->
64
   * <!-- end-user-doc -->
65
   * @see #isUnsettableBoolean()
66
   * @generated
67
   * @ordered
68
   */
69
  protected boolean unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
70
71
  /**
72
   * This is true if the Unsettable Boolean attribute has been set.
73
   * <!-- begin-user-doc -->
74
   * <!-- end-user-doc -->
75
   * @generated
76
   * @ordered
77
   */
78
  protected boolean unsettableBooleanESet;
79
80
  /**
81
   * The default value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute.
82
   * <!-- begin-user-doc -->
83
   * <!-- end-user-doc -->
84
   * @see #getUnsettableByte()
85
   * @generated
86
   * @ordered
87
   */
88
  protected static final byte UNSETTABLE_BYTE_EDEFAULT = 0x00;
89
90
  /**
91
   * The cached value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute.
92
   * <!-- begin-user-doc -->
93
   * <!-- end-user-doc -->
94
   * @see #getUnsettableByte()
95
   * @generated
96
   * @ordered
97
   */
98
  protected byte unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
99
100
  /**
101
   * This is true if the Unsettable Byte attribute has been set.
102
   * <!-- begin-user-doc -->
103
   * <!-- end-user-doc -->
104
   * @generated
105
   * @ordered
106
   */
107
  protected boolean unsettableByteESet;
108
109
  /**
110
   * The default value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute.
111
   * <!-- begin-user-doc -->
112
   * <!-- end-user-doc -->
113
   * @see #getUnsettableChar()
114
   * @generated
115
   * @ordered
116
   */
117
  protected static final char UNSETTABLE_CHAR_EDEFAULT = '\u0000';
118
119
  /**
120
   * The cached value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute.
121
   * <!-- begin-user-doc -->
122
   * <!-- end-user-doc -->
123
   * @see #getUnsettableChar()
124
   * @generated
125
   * @ordered
126
   */
127
  protected char unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
128
129
  /**
130
   * This is true if the Unsettable Char attribute has been set.
131
   * <!-- begin-user-doc -->
132
   * <!-- end-user-doc -->
133
   * @generated
134
   * @ordered
135
   */
136
  protected boolean unsettableCharESet;
137
138
  /**
139
   * The default value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute.
140
   * <!-- begin-user-doc -->
141
   * <!-- end-user-doc -->
142
   * @see #getUnsettableDate()
143
   * @generated
144
   * @ordered
145
   */
146
  protected static final Date UNSETTABLE_DATE_EDEFAULT = null;
147
148
  /**
149
   * The cached value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute.
150
   * <!-- begin-user-doc -->
151
   * <!-- end-user-doc -->
152
   * @see #getUnsettableDate()
153
   * @generated
154
   * @ordered
155
   */
156
  protected Date unsettableDate = UNSETTABLE_DATE_EDEFAULT;
157
158
  /**
159
   * This is true if the Unsettable Date attribute has been set.
160
   * <!-- begin-user-doc -->
161
   * <!-- end-user-doc -->
162
   * @generated
163
   * @ordered
164
   */
165
  protected boolean unsettableDateESet;
166
167
  /**
168
   * The default value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute.
169
   * <!-- begin-user-doc -->
170
   * <!-- end-user-doc -->
171
   * @see #getUnsettableDouble()
172
   * @generated
173
   * @ordered
174
   */
175
  protected static final double UNSETTABLE_DOUBLE_EDEFAULT = 0.0;
176
177
  /**
178
   * The cached value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute.
179
   * <!-- begin-user-doc -->
180
   * <!-- end-user-doc -->
181
   * @see #getUnsettableDouble()
182
   * @generated
183
   * @ordered
184
   */
185
  protected double unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
186
187
  /**
188
   * This is true if the Unsettable Double attribute has been set.
189
   * <!-- begin-user-doc -->
190
   * <!-- end-user-doc -->
191
   * @generated
192
   * @ordered
193
   */
194
  protected boolean unsettableDoubleESet;
195
196
  /**
197
   * The default value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute.
198
   * <!-- begin-user-doc -->
199
   * <!-- end-user-doc -->
200
   * @see #getUnsettableFloat()
201
   * @generated
202
   * @ordered
203
   */
204
  protected static final float UNSETTABLE_FLOAT_EDEFAULT = 0.0F;
205
206
  /**
207
   * The cached value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute.
208
   * <!-- begin-user-doc -->
209
   * <!-- end-user-doc -->
210
   * @see #getUnsettableFloat()
211
   * @generated
212
   * @ordered
213
   */
214
  protected float unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
215
216
  /**
217
   * This is true if the Unsettable Float attribute has been set.
218
   * <!-- begin-user-doc -->
219
   * <!-- end-user-doc -->
220
   * @generated
221
   * @ordered
222
   */
223
  protected boolean unsettableFloatESet;
224
225
  /**
226
   * The default value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute.
227
   * <!-- begin-user-doc -->
228
   * <!-- end-user-doc -->
229
   * @see #getUnsettableInt()
230
   * @generated
231
   * @ordered
232
   */
233
  protected static final int UNSETTABLE_INT_EDEFAULT = 0;
234
235
  /**
236
   * The cached value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute.
237
   * <!-- begin-user-doc -->
238
   * <!-- end-user-doc -->
239
   * @see #getUnsettableInt()
240
   * @generated
241
   * @ordered
242
   */
243
  protected int unsettableInt = UNSETTABLE_INT_EDEFAULT;
244
245
  /**
246
   * This is true if the Unsettable Int attribute has been set.
247
   * <!-- begin-user-doc -->
248
   * <!-- end-user-doc -->
249
   * @generated
250
   * @ordered
251
   */
252
  protected boolean unsettableIntESet;
253
254
  /**
255
   * The default value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute.
256
   * <!-- begin-user-doc -->
257
   * <!-- end-user-doc -->
258
   * @see #getUnsettableLong()
259
   * @generated
260
   * @ordered
261
   */
262
  protected static final long UNSETTABLE_LONG_EDEFAULT = 0L;
263
264
  /**
265
   * The cached value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute.
266
   * <!-- begin-user-doc -->
267
   * <!-- end-user-doc -->
268
   * @see #getUnsettableLong()
269
   * @generated
270
   * @ordered
271
   */
272
  protected long unsettableLong = UNSETTABLE_LONG_EDEFAULT;
273
274
  /**
275
   * This is true if the Unsettable Long attribute has been set.
276
   * <!-- begin-user-doc -->
277
   * <!-- end-user-doc -->
278
   * @generated
279
   * @ordered
280
   */
281
  protected boolean unsettableLongESet;
282
283
  /**
284
   * The default value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute.
285
   * <!-- begin-user-doc -->
286
   * <!-- end-user-doc -->
287
   * @see #getUnsettableShort()
288
   * @generated
289
   * @ordered
290
   */
291
  protected static final short UNSETTABLE_SHORT_EDEFAULT = 0;
292
293
  /**
294
   * The cached value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute.
295
   * <!-- begin-user-doc -->
296
   * <!-- end-user-doc -->
297
   * @see #getUnsettableShort()
298
   * @generated
299
   * @ordered
300
   */
301
  protected short unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
302
303
  /**
304
   * This is true if the Unsettable Short attribute has been set.
305
   * <!-- begin-user-doc -->
306
   * <!-- end-user-doc -->
307
   * @generated
308
   * @ordered
309
   */
310
  protected boolean unsettableShortESet;
311
312
  /**
313
   * The default value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute.
314
   * <!-- begin-user-doc -->
315
   * <!-- end-user-doc -->
316
   * @see #getUnsettableString()
317
   * @generated
318
   * @ordered
319
   */
320
  protected static final String UNSETTABLE_STRING_EDEFAULT = null;
321
322
  /**
323
   * The cached value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute.
324
   * <!-- begin-user-doc -->
325
   * <!-- end-user-doc -->
326
   * @see #getUnsettableString()
327
   * @generated
328
   * @ordered
329
   */
330
  protected String unsettableString = UNSETTABLE_STRING_EDEFAULT;
331
332
  /**
333
   * This is true if the Unsettable String attribute has been set.
334
   * <!-- begin-user-doc -->
335
   * <!-- end-user-doc -->
336
   * @generated
337
   * @ordered
338
   */
339
  protected boolean unsettableStringESet;
340
341
  /**
342
   * The default value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute.
343
   * <!-- begin-user-doc -->
344
   * <!-- end-user-doc -->
345
   * @see #getUnsettableVAT()
346
   * @generated
347
   * @ordered
348
   */
349
  protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT0;
350
351
  /**
352
   * The cached value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute.
353
   * <!-- begin-user-doc -->
354
   * <!-- end-user-doc -->
355
   * @see #getUnsettableVAT()
356
   * @generated
357
   * @ordered
358
   */
359
  protected VAT unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
360
361
  /**
362
   * This is true if the Unsettable VAT attribute has been set.
363
   * <!-- begin-user-doc -->
364
   * <!-- end-user-doc -->
365
   * @generated
366
   * @ordered
367
   */
368
  protected boolean unsettableVATESet;
369
370
  /**
371
   * <!-- begin-user-doc -->
372
   * <!-- end-user-doc -->
373
   * @generated
374
   */
375
  protected Unsettable1Impl()
376
  {
377
    super();
378
  }
379
380
  /**
381
   * <!-- begin-user-doc -->
382
   * <!-- end-user-doc -->
383
   * @generated
384
   */
385
  @Override
386
  protected EClass eStaticClass()
387
  {
388
    return Model2Package.Literals.UNSETTABLE1;
389
  }
390
391
  /**
392
   * <!-- begin-user-doc -->
393
   * <!-- end-user-doc -->
394
   * @generated
395
   */
396
  public boolean isUnsettableBoolean()
397
  {
398
    return unsettableBoolean;
399
  }
400
401
  /**
402
   * <!-- begin-user-doc -->
403
   * <!-- end-user-doc -->
404
   * @generated
405
   */
406
  public void setUnsettableBoolean(boolean newUnsettableBoolean)
407
  {
408
    boolean oldUnsettableBoolean = unsettableBoolean;
409
    unsettableBoolean = newUnsettableBoolean;
410
    boolean oldUnsettableBooleanESet = unsettableBooleanESet;
411
    unsettableBooleanESet = true;
412
    if (eNotificationRequired())
413
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN,
414
          oldUnsettableBoolean, unsettableBoolean, !oldUnsettableBooleanESet));
415
  }
416
417
  /**
418
   * <!-- begin-user-doc -->
419
   * <!-- end-user-doc -->
420
   * @generated
421
   */
422
  public void unsetUnsettableBoolean()
423
  {
424
    boolean oldUnsettableBoolean = unsettableBoolean;
425
    boolean oldUnsettableBooleanESet = unsettableBooleanESet;
426
    unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
427
    unsettableBooleanESet = false;
428
    if (eNotificationRequired())
429
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN,
430
          oldUnsettableBoolean, UNSETTABLE_BOOLEAN_EDEFAULT, oldUnsettableBooleanESet));
431
  }
432
433
  /**
434
   * <!-- begin-user-doc -->
435
   * <!-- end-user-doc -->
436
   * @generated
437
   */
438
  public boolean isSetUnsettableBoolean()
439
  {
440
    return unsettableBooleanESet;
441
  }
442
443
  /**
444
   * <!-- begin-user-doc -->
445
   * <!-- end-user-doc -->
446
   * @generated
447
   */
448
  public byte getUnsettableByte()
449
  {
450
    return unsettableByte;
451
  }
452
453
  /**
454
   * <!-- begin-user-doc -->
455
   * <!-- end-user-doc -->
456
   * @generated
457
   */
458
  public void setUnsettableByte(byte newUnsettableByte)
459
  {
460
    byte oldUnsettableByte = unsettableByte;
461
    unsettableByte = newUnsettableByte;
462
    boolean oldUnsettableByteESet = unsettableByteESet;
463
    unsettableByteESet = true;
464
    if (eNotificationRequired())
465
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_BYTE,
466
          oldUnsettableByte, unsettableByte, !oldUnsettableByteESet));
467
  }
468
469
  /**
470
   * <!-- begin-user-doc -->
471
   * <!-- end-user-doc -->
472
   * @generated
473
   */
474
  public void unsetUnsettableByte()
475
  {
476
    byte oldUnsettableByte = unsettableByte;
477
    boolean oldUnsettableByteESet = unsettableByteESet;
478
    unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
479
    unsettableByteESet = false;
480
    if (eNotificationRequired())
481
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_BYTE,
482
          oldUnsettableByte, UNSETTABLE_BYTE_EDEFAULT, oldUnsettableByteESet));
483
  }
484
485
  /**
486
   * <!-- begin-user-doc -->
487
   * <!-- end-user-doc -->
488
   * @generated
489
   */
490
  public boolean isSetUnsettableByte()
491
  {
492
    return unsettableByteESet;
493
  }
494
495
  /**
496
   * <!-- begin-user-doc -->
497
   * <!-- end-user-doc -->
498
   * @generated
499
   */
500
  public char getUnsettableChar()
501
  {
502
    return unsettableChar;
503
  }
504
505
  /**
506
   * <!-- begin-user-doc -->
507
   * <!-- end-user-doc -->
508
   * @generated
509
   */
510
  public void setUnsettableChar(char newUnsettableChar)
511
  {
512
    char oldUnsettableChar = unsettableChar;
513
    unsettableChar = newUnsettableChar;
514
    boolean oldUnsettableCharESet = unsettableCharESet;
515
    unsettableCharESet = true;
516
    if (eNotificationRequired())
517
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_CHAR,
518
          oldUnsettableChar, unsettableChar, !oldUnsettableCharESet));
519
  }
520
521
  /**
522
   * <!-- begin-user-doc -->
523
   * <!-- end-user-doc -->
524
   * @generated
525
   */
526
  public void unsetUnsettableChar()
527
  {
528
    char oldUnsettableChar = unsettableChar;
529
    boolean oldUnsettableCharESet = unsettableCharESet;
530
    unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
531
    unsettableCharESet = false;
532
    if (eNotificationRequired())
533
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_CHAR,
534
          oldUnsettableChar, UNSETTABLE_CHAR_EDEFAULT, oldUnsettableCharESet));
535
  }
536
537
  /**
538
   * <!-- begin-user-doc -->
539
   * <!-- end-user-doc -->
540
   * @generated
541
   */
542
  public boolean isSetUnsettableChar()
543
  {
544
    return unsettableCharESet;
545
  }
546
547
  /**
548
   * <!-- begin-user-doc -->
549
   * <!-- end-user-doc -->
550
   * @generated
551
   */
552
  public Date getUnsettableDate()
553
  {
554
    return unsettableDate;
555
  }
556
557
  /**
558
   * <!-- begin-user-doc -->
559
   * <!-- end-user-doc -->
560
   * @generated
561
   */
562
  public void setUnsettableDate(Date newUnsettableDate)
563
  {
564
    Date oldUnsettableDate = unsettableDate;
565
    unsettableDate = newUnsettableDate;
566
    boolean oldUnsettableDateESet = unsettableDateESet;
567
    unsettableDateESet = true;
568
    if (eNotificationRequired())
569
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_DATE,
570
          oldUnsettableDate, unsettableDate, !oldUnsettableDateESet));
571
  }
572
573
  /**
574
   * <!-- begin-user-doc -->
575
   * <!-- end-user-doc -->
576
   * @generated
577
   */
578
  public void unsetUnsettableDate()
579
  {
580
    Date oldUnsettableDate = unsettableDate;
581
    boolean oldUnsettableDateESet = unsettableDateESet;
582
    unsettableDate = UNSETTABLE_DATE_EDEFAULT;
583
    unsettableDateESet = false;
584
    if (eNotificationRequired())
585
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_DATE,
586
          oldUnsettableDate, UNSETTABLE_DATE_EDEFAULT, oldUnsettableDateESet));
587
  }
588
589
  /**
590
   * <!-- begin-user-doc -->
591
   * <!-- end-user-doc -->
592
   * @generated
593
   */
594
  public boolean isSetUnsettableDate()
595
  {
596
    return unsettableDateESet;
597
  }
598
599
  /**
600
   * <!-- begin-user-doc -->
601
   * <!-- end-user-doc -->
602
   * @generated
603
   */
604
  public double getUnsettableDouble()
605
  {
606
    return unsettableDouble;
607
  }
608
609
  /**
610
   * <!-- begin-user-doc -->
611
   * <!-- end-user-doc -->
612
   * @generated
613
   */
614
  public void setUnsettableDouble(double newUnsettableDouble)
615
  {
616
    double oldUnsettableDouble = unsettableDouble;
617
    unsettableDouble = newUnsettableDouble;
618
    boolean oldUnsettableDoubleESet = unsettableDoubleESet;
619
    unsettableDoubleESet = true;
620
    if (eNotificationRequired())
621
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE,
622
          oldUnsettableDouble, unsettableDouble, !oldUnsettableDoubleESet));
623
  }
624
625
  /**
626
   * <!-- begin-user-doc -->
627
   * <!-- end-user-doc -->
628
   * @generated
629
   */
630
  public void unsetUnsettableDouble()
631
  {
632
    double oldUnsettableDouble = unsettableDouble;
633
    boolean oldUnsettableDoubleESet = unsettableDoubleESet;
634
    unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
635
    unsettableDoubleESet = false;
636
    if (eNotificationRequired())
637
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE,
638
          oldUnsettableDouble, UNSETTABLE_DOUBLE_EDEFAULT, oldUnsettableDoubleESet));
639
  }
640
641
  /**
642
   * <!-- begin-user-doc -->
643
   * <!-- end-user-doc -->
644
   * @generated
645
   */
646
  public boolean isSetUnsettableDouble()
647
  {
648
    return unsettableDoubleESet;
649
  }
650
651
  /**
652
   * <!-- begin-user-doc -->
653
   * <!-- end-user-doc -->
654
   * @generated
655
   */
656
  public float getUnsettableFloat()
657
  {
658
    return unsettableFloat;
659
  }
660
661
  /**
662
   * <!-- begin-user-doc -->
663
   * <!-- end-user-doc -->
664
   * @generated
665
   */
666
  public void setUnsettableFloat(float newUnsettableFloat)
667
  {
668
    float oldUnsettableFloat = unsettableFloat;
669
    unsettableFloat = newUnsettableFloat;
670
    boolean oldUnsettableFloatESet = unsettableFloatESet;
671
    unsettableFloatESet = true;
672
    if (eNotificationRequired())
673
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT,
674
          oldUnsettableFloat, unsettableFloat, !oldUnsettableFloatESet));
675
  }
676
677
  /**
678
   * <!-- begin-user-doc -->
679
   * <!-- end-user-doc -->
680
   * @generated
681
   */
682
  public void unsetUnsettableFloat()
683
  {
684
    float oldUnsettableFloat = unsettableFloat;
685
    boolean oldUnsettableFloatESet = unsettableFloatESet;
686
    unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
687
    unsettableFloatESet = false;
688
    if (eNotificationRequired())
689
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT,
690
          oldUnsettableFloat, UNSETTABLE_FLOAT_EDEFAULT, oldUnsettableFloatESet));
691
  }
692
693
  /**
694
   * <!-- begin-user-doc -->
695
   * <!-- end-user-doc -->
696
   * @generated
697
   */
698
  public boolean isSetUnsettableFloat()
699
  {
700
    return unsettableFloatESet;
701
  }
702
703
  /**
704
   * <!-- begin-user-doc -->
705
   * <!-- end-user-doc -->
706
   * @generated
707
   */
708
  public int getUnsettableInt()
709
  {
710
    return unsettableInt;
711
  }
712
713
  /**
714
   * <!-- begin-user-doc -->
715
   * <!-- end-user-doc -->
716
   * @generated
717
   */
718
  public void setUnsettableInt(int newUnsettableInt)
719
  {
720
    int oldUnsettableInt = unsettableInt;
721
    unsettableInt = newUnsettableInt;
722
    boolean oldUnsettableIntESet = unsettableIntESet;
723
    unsettableIntESet = true;
724
    if (eNotificationRequired())
725
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_INT,
726
          oldUnsettableInt, unsettableInt, !oldUnsettableIntESet));
727
  }
728
729
  /**
730
   * <!-- begin-user-doc -->
731
   * <!-- end-user-doc -->
732
   * @generated
733
   */
734
  public void unsetUnsettableInt()
735
  {
736
    int oldUnsettableInt = unsettableInt;
737
    boolean oldUnsettableIntESet = unsettableIntESet;
738
    unsettableInt = UNSETTABLE_INT_EDEFAULT;
739
    unsettableIntESet = false;
740
    if (eNotificationRequired())
741
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_INT,
742
          oldUnsettableInt, UNSETTABLE_INT_EDEFAULT, oldUnsettableIntESet));
743
  }
744
745
  /**
746
   * <!-- begin-user-doc -->
747
   * <!-- end-user-doc -->
748
   * @generated
749
   */
750
  public boolean isSetUnsettableInt()
751
  {
752
    return unsettableIntESet;
753
  }
754
755
  /**
756
   * <!-- begin-user-doc -->
757
   * <!-- end-user-doc -->
758
   * @generated
759
   */
760
  public long getUnsettableLong()
761
  {
762
    return unsettableLong;
763
  }
764
765
  /**
766
   * <!-- begin-user-doc -->
767
   * <!-- end-user-doc -->
768
   * @generated
769
   */
770
  public void setUnsettableLong(long newUnsettableLong)
771
  {
772
    long oldUnsettableLong = unsettableLong;
773
    unsettableLong = newUnsettableLong;
774
    boolean oldUnsettableLongESet = unsettableLongESet;
775
    unsettableLongESet = true;
776
    if (eNotificationRequired())
777
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_LONG,
778
          oldUnsettableLong, unsettableLong, !oldUnsettableLongESet));
779
  }
780
781
  /**
782
   * <!-- begin-user-doc -->
783
   * <!-- end-user-doc -->
784
   * @generated
785
   */
786
  public void unsetUnsettableLong()
787
  {
788
    long oldUnsettableLong = unsettableLong;
789
    boolean oldUnsettableLongESet = unsettableLongESet;
790
    unsettableLong = UNSETTABLE_LONG_EDEFAULT;
791
    unsettableLongESet = false;
792
    if (eNotificationRequired())
793
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_LONG,
794
          oldUnsettableLong, UNSETTABLE_LONG_EDEFAULT, oldUnsettableLongESet));
795
  }
796
797
  /**
798
   * <!-- begin-user-doc -->
799
   * <!-- end-user-doc -->
800
   * @generated
801
   */
802
  public boolean isSetUnsettableLong()
803
  {
804
    return unsettableLongESet;
805
  }
806
807
  /**
808
   * <!-- begin-user-doc -->
809
   * <!-- end-user-doc -->
810
   * @generated
811
   */
812
  public short getUnsettableShort()
813
  {
814
    return unsettableShort;
815
  }
816
817
  /**
818
   * <!-- begin-user-doc -->
819
   * <!-- end-user-doc -->
820
   * @generated
821
   */
822
  public void setUnsettableShort(short newUnsettableShort)
823
  {
824
    short oldUnsettableShort = unsettableShort;
825
    unsettableShort = newUnsettableShort;
826
    boolean oldUnsettableShortESet = unsettableShortESet;
827
    unsettableShortESet = true;
828
    if (eNotificationRequired())
829
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_SHORT,
830
          oldUnsettableShort, unsettableShort, !oldUnsettableShortESet));
831
  }
832
833
  /**
834
   * <!-- begin-user-doc -->
835
   * <!-- end-user-doc -->
836
   * @generated
837
   */
838
  public void unsetUnsettableShort()
839
  {
840
    short oldUnsettableShort = unsettableShort;
841
    boolean oldUnsettableShortESet = unsettableShortESet;
842
    unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
843
    unsettableShortESet = false;
844
    if (eNotificationRequired())
845
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_SHORT,
846
          oldUnsettableShort, UNSETTABLE_SHORT_EDEFAULT, oldUnsettableShortESet));
847
  }
848
849
  /**
850
   * <!-- begin-user-doc -->
851
   * <!-- end-user-doc -->
852
   * @generated
853
   */
854
  public boolean isSetUnsettableShort()
855
  {
856
    return unsettableShortESet;
857
  }
858
859
  /**
860
   * <!-- begin-user-doc -->
861
   * <!-- end-user-doc -->
862
   * @generated
863
   */
864
  public String getUnsettableString()
865
  {
866
    return unsettableString;
867
  }
868
869
  /**
870
   * <!-- begin-user-doc -->
871
   * <!-- end-user-doc -->
872
   * @generated
873
   */
874
  public void setUnsettableString(String newUnsettableString)
875
  {
876
    String oldUnsettableString = unsettableString;
877
    unsettableString = newUnsettableString;
878
    boolean oldUnsettableStringESet = unsettableStringESet;
879
    unsettableStringESet = true;
880
    if (eNotificationRequired())
881
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_STRING,
882
          oldUnsettableString, unsettableString, !oldUnsettableStringESet));
883
  }
884
885
  /**
886
   * <!-- begin-user-doc -->
887
   * <!-- end-user-doc -->
888
   * @generated
889
   */
890
  public void unsetUnsettableString()
891
  {
892
    String oldUnsettableString = unsettableString;
893
    boolean oldUnsettableStringESet = unsettableStringESet;
894
    unsettableString = UNSETTABLE_STRING_EDEFAULT;
895
    unsettableStringESet = false;
896
    if (eNotificationRequired())
897
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_STRING,
898
          oldUnsettableString, UNSETTABLE_STRING_EDEFAULT, oldUnsettableStringESet));
899
  }
900
901
  /**
902
   * <!-- begin-user-doc -->
903
   * <!-- end-user-doc -->
904
   * @generated
905
   */
906
  public boolean isSetUnsettableString()
907
  {
908
    return unsettableStringESet;
909
  }
910
911
  /**
912
   * <!-- begin-user-doc -->
913
   * <!-- end-user-doc -->
914
   * @generated
915
   */
916
  public VAT getUnsettableVAT()
917
  {
918
    return unsettableVAT;
919
  }
920
921
  /**
922
   * <!-- begin-user-doc -->
923
   * <!-- end-user-doc -->
924
   * @generated
925
   */
926
  public void setUnsettableVAT(VAT newUnsettableVAT)
927
  {
928
    VAT oldUnsettableVAT = unsettableVAT;
929
    unsettableVAT = newUnsettableVAT == null ? UNSETTABLE_VAT_EDEFAULT : newUnsettableVAT;
930
    boolean oldUnsettableVATESet = unsettableVATESet;
931
    unsettableVATESet = true;
932
    if (eNotificationRequired())
933
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_VAT,
934
          oldUnsettableVAT, unsettableVAT, !oldUnsettableVATESet));
935
  }
936
937
  /**
938
   * <!-- begin-user-doc -->
939
   * <!-- end-user-doc -->
940
   * @generated
941
   */
942
  public void unsetUnsettableVAT()
943
  {
944
    VAT oldUnsettableVAT = unsettableVAT;
945
    boolean oldUnsettableVATESet = unsettableVATESet;
946
    unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
947
    unsettableVATESet = false;
948
    if (eNotificationRequired())
949
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_VAT,
950
          oldUnsettableVAT, UNSETTABLE_VAT_EDEFAULT, oldUnsettableVATESet));
951
  }
952
953
  /**
954
   * <!-- begin-user-doc -->
955
   * <!-- end-user-doc -->
956
   * @generated
957
   */
958
  public boolean isSetUnsettableVAT()
959
  {
960
    return unsettableVATESet;
961
  }
962
963
  /**
964
   * <!-- begin-user-doc -->
965
   * <!-- end-user-doc -->
966
   * @generated
967
   */
968
  @Override
969
  public Object eGet(int featureID, boolean resolve, boolean coreType)
970
  {
971
    switch (featureID)
972
    {
973
    case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN:
974
      return isUnsettableBoolean();
975
    case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
976
      return getUnsettableByte();
977
    case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
978
      return getUnsettableChar();
979
    case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
980
      return getUnsettableDate();
981
    case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
982
      return getUnsettableDouble();
983
    case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
984
      return getUnsettableFloat();
985
    case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
986
      return getUnsettableInt();
987
    case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
988
      return getUnsettableLong();
989
    case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
990
      return getUnsettableShort();
991
    case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
992
      return getUnsettableString();
993
    case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
994
      return getUnsettableVAT();
995
    }
996
    return super.eGet(featureID, resolve, coreType);
997
  }
998
999
  /**
1000
   * <!-- begin-user-doc -->
1001
   * <!-- end-user-doc -->
1002
   * @generated
1003
   */
1004
  @Override
1005
  public void eSet(int featureID, Object newValue)
1006
  {
1007
    switch (featureID)
1008
    {
1009
    case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN:
1010
      setUnsettableBoolean((Boolean)newValue);
1011
      return;
1012
    case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
1013
      setUnsettableByte((Byte)newValue);
1014
      return;
1015
    case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
1016
      setUnsettableChar((Character)newValue);
1017
      return;
1018
    case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
1019
      setUnsettableDate((Date)newValue);
1020
      return;
1021
    case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
1022
      setUnsettableDouble((Double)newValue);
1023
      return;
1024
    case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
1025
      setUnsettableFloat((Float)newValue);
1026
      return;
1027
    case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
1028
      setUnsettableInt((Integer)newValue);
1029
      return;
1030
    case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
1031
      setUnsettableLong((Long)newValue);
1032
      return;
1033
    case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
1034
      setUnsettableShort((Short)newValue);
1035
      return;
1036
    case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
1037
      setUnsettableString((String)newValue);
1038
      return;
1039
    case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
1040
      setUnsettableVAT((VAT)newValue);
1041
      return;
1042
    }
1043
    super.eSet(featureID, newValue);
1044
  }
1045
1046
  /**
1047
   * <!-- begin-user-doc -->
1048
   * <!-- end-user-doc -->
1049
   * @generated
1050
   */
1051
  @Override
1052
  public void eUnset(int featureID)
1053
  {
1054
    switch (featureID)
1055
    {
1056
    case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN:
1057
      unsetUnsettableBoolean();
1058
      return;
1059
    case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
1060
      unsetUnsettableByte();
1061
      return;
1062
    case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
1063
      unsetUnsettableChar();
1064
      return;
1065
    case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
1066
      unsetUnsettableDate();
1067
      return;
1068
    case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
1069
      unsetUnsettableDouble();
1070
      return;
1071
    case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
1072
      unsetUnsettableFloat();
1073
      return;
1074
    case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
1075
      unsetUnsettableInt();
1076
      return;
1077
    case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
1078
      unsetUnsettableLong();
1079
      return;
1080
    case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
1081
      unsetUnsettableShort();
1082
      return;
1083
    case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
1084
      unsetUnsettableString();
1085
      return;
1086
    case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
1087
      unsetUnsettableVAT();
1088
      return;
1089
    }
1090
    super.eUnset(featureID);
1091
  }
1092
1093
  /**
1094
   * <!-- begin-user-doc -->
1095
   * <!-- end-user-doc -->
1096
   * @generated
1097
   */
1098
  @Override
1099
  public boolean eIsSet(int featureID)
1100
  {
1101
    switch (featureID)
1102
    {
1103
    case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN:
1104
      return isSetUnsettableBoolean();
1105
    case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
1106
      return isSetUnsettableByte();
1107
    case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
1108
      return isSetUnsettableChar();
1109
    case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
1110
      return isSetUnsettableDate();
1111
    case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
1112
      return isSetUnsettableDouble();
1113
    case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
1114
      return isSetUnsettableFloat();
1115
    case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
1116
      return isSetUnsettableInt();
1117
    case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
1118
      return isSetUnsettableLong();
1119
    case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
1120
      return isSetUnsettableShort();
1121
    case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
1122
      return isSetUnsettableString();
1123
    case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
1124
      return isSetUnsettableVAT();
1125
    }
1126
    return super.eIsSet(featureID);
1127
  }
1128
1129
  /**
1130
   * <!-- begin-user-doc -->
1131
   * <!-- end-user-doc -->
1132
   * @generated
1133
   */
1134
  @Override
1135
  public String toString()
1136
  {
1137
    if (eIsProxy())
1138
      return super.toString();
1139
1140
    StringBuffer result = new StringBuffer(super.toString());
1141
    result.append(" (unsettableBoolean: ");
1142
    if (unsettableBooleanESet)
1143
      result.append(unsettableBoolean);
1144
    else
1145
      result.append("<unset>");
1146
    result.append(", unsettableByte: ");
1147
    if (unsettableByteESet)
1148
      result.append(unsettableByte);
1149
    else
1150
      result.append("<unset>");
1151
    result.append(", unsettableChar: ");
1152
    if (unsettableCharESet)
1153
      result.append(unsettableChar);
1154
    else
1155
      result.append("<unset>");
1156
    result.append(", unsettableDate: ");
1157
    if (unsettableDateESet)
1158
      result.append(unsettableDate);
1159
    else
1160
      result.append("<unset>");
1161
    result.append(", unsettableDouble: ");
1162
    if (unsettableDoubleESet)
1163
      result.append(unsettableDouble);
1164
    else
1165
      result.append("<unset>");
1166
    result.append(", unsettableFloat: ");
1167
    if (unsettableFloatESet)
1168
      result.append(unsettableFloat);
1169
    else
1170
      result.append("<unset>");
1171
    result.append(", unsettableInt: ");
1172
    if (unsettableIntESet)
1173
      result.append(unsettableInt);
1174
    else
1175
      result.append("<unset>");
1176
    result.append(", unsettableLong: ");
1177
    if (unsettableLongESet)
1178
      result.append(unsettableLong);
1179
    else
1180
      result.append("<unset>");
1181
    result.append(", unsettableShort: ");
1182
    if (unsettableShortESet)
1183
      result.append(unsettableShort);
1184
    else
1185
      result.append("<unset>");
1186
    result.append(", unsettableString: ");
1187
    if (unsettableStringESet)
1188
      result.append(unsettableString);
1189
    else
1190
      result.append("<unset>");
1191
    result.append(", unsettableVAT: ");
1192
    if (unsettableVATESet)
1193
      result.append(unsettableVAT);
1194
    else
1195
      result.append("<unset>");
1196
    result.append(')');
1197
    return result.toString();
1198
  }
1199
1200
} //Unsettable1Impl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2AdapterFactory.java (+316 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.util;
14
15
import org.eclipse.emf.cdo.tests.model1.Order;
16
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
17
import org.eclipse.emf.cdo.tests.model2.Model2Package;
18
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
19
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
20
import org.eclipse.emf.cdo.tests.model2.Task;
21
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
22
import org.eclipse.emf.cdo.tests.model2.TransientContainer;
23
import org.eclipse.emf.cdo.tests.model2.Unsettable1;
24
import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
25
26
import org.eclipse.emf.common.notify.Adapter;
27
import org.eclipse.emf.common.notify.Notifier;
28
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
29
import org.eclipse.emf.ecore.EObject;
30
31
/**
32
 * <!-- begin-user-doc -->
33
 * The <b>Adapter Factory</b> for the model.
34
 * It provides an adapter <code>createXXX</code> method for each class of the model.
35
 * <!-- end-user-doc -->
36
 * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Package
37
 * @generated
38
 */
39
public class Model2AdapterFactory extends AdapterFactoryImpl
40
{
41
  /**
42
   * The cached model package.
43
   * <!-- begin-user-doc -->
44
   * <!-- end-user-doc -->
45
   * @generated
46
   */
47
  protected static Model2Package modelPackage;
48
49
  /**
50
   * Creates an instance of the adapter factory.
51
   * <!-- begin-user-doc -->
52
   * <!-- end-user-doc -->
53
   * @generated
54
   */
55
  public Model2AdapterFactory()
56
  {
57
    if (modelPackage == null)
58
    {
59
      modelPackage = Model2Package.eINSTANCE;
60
    }
61
  }
62
63
  /**
64
   * Returns whether this factory is applicable for the type of the object.
65
   * <!-- begin-user-doc -->
66
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
67
   * <!-- end-user-doc -->
68
   * @return whether this factory is applicable for the type of the object.
69
   * @generated
70
   */
71
  @Override
72
  public boolean isFactoryForType(Object object)
73
  {
74
    if (object == modelPackage)
75
    {
76
      return true;
77
    }
78
    if (object instanceof EObject)
79
    {
80
      return ((EObject)object).eClass().getEPackage() == modelPackage;
81
    }
82
    return false;
83
  }
84
85
  /**
86
   * The switch that delegates to the <code>createXXX</code> methods.
87
   * <!-- begin-user-doc -->
88
   * <!-- end-user-doc -->
89
   * @generated
90
   */
91
  protected Model2Switch<Adapter> modelSwitch = new Model2Switch<Adapter>()
92
  {
93
    @Override
94
    public Adapter caseSpecialPurchaseOrder(SpecialPurchaseOrder object)
95
    {
96
      return createSpecialPurchaseOrderAdapter();
97
    }
98
99
    @Override
100
    public Adapter caseTaskContainer(TaskContainer object)
101
    {
102
      return createTaskContainerAdapter();
103
    }
104
105
    @Override
106
    public Adapter caseTask(Task object)
107
    {
108
      return createTaskAdapter();
109
    }
110
111
    @Override
112
    public Adapter caseUnsettable1(Unsettable1 object)
113
    {
114
      return createUnsettable1Adapter();
115
    }
116
117
    @Override
118
    public Adapter caseUnsettable2WithDefault(Unsettable2WithDefault object)
119
    {
120
      return createUnsettable2WithDefaultAdapter();
121
    }
122
123
    @Override
124
    public Adapter casePersistentContainment(PersistentContainment object)
125
    {
126
      return createPersistentContainmentAdapter();
127
    }
128
129
    @Override
130
    public Adapter caseTransientContainer(TransientContainer object)
131
    {
132
      return createTransientContainerAdapter();
133
    }
134
135
    @Override
136
    public Adapter caseOrder(Order object)
137
    {
138
      return createOrderAdapter();
139
    }
140
141
    @Override
142
    public Adapter casePurchaseOrder(PurchaseOrder object)
143
    {
144
      return createPurchaseOrderAdapter();
145
    }
146
147
    @Override
148
    public Adapter defaultCase(EObject object)
149
    {
150
      return createEObjectAdapter();
151
    }
152
  };
153
154
  /**
155
   * Creates an adapter for the <code>target</code>.
156
   * <!-- begin-user-doc -->
157
   * <!-- end-user-doc -->
158
   * @param target the object to adapt.
159
   * @return the adapter for the <code>target</code>.
160
   * @generated
161
   */
162
  @Override
163
  public Adapter createAdapter(Notifier target)
164
  {
165
    return modelSwitch.doSwitch((EObject)target);
166
  }
167
168
  /**
169
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder <em>Special Purchase Order</em>}'.
170
   * <!-- begin-user-doc -->
171
   * This default implementation returns null so that we can easily ignore cases;
172
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
173
   * <!-- end-user-doc -->
174
   * @return the new adapter.
175
   * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder
176
   * @generated
177
   */
178
  public Adapter createSpecialPurchaseOrderAdapter()
179
  {
180
    return null;
181
  }
182
183
  /**
184
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer <em>Task Container</em>}'.
185
   * <!-- begin-user-doc -->
186
   * This default implementation returns null so that we can easily ignore cases;
187
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
188
   * <!-- end-user-doc -->
189
   * @return the new adapter.
190
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer
191
   * @generated
192
   */
193
  public Adapter createTaskContainerAdapter()
194
  {
195
    return null;
196
  }
197
198
  /**
199
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task <em>Task</em>}'.
200
   * <!-- begin-user-doc -->
201
   * This default implementation returns null so that we can easily ignore cases;
202
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
203
   * <!-- end-user-doc -->
204
   * @return the new adapter.
205
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Task
206
   * @generated
207
   */
208
  public Adapter createTaskAdapter()
209
  {
210
    return null;
211
  }
212
213
  /**
214
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1 <em>Unsettable1</em>}'.
215
   * <!-- begin-user-doc -->
216
   * This default implementation returns null so that we can easily ignore cases;
217
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
218
   * <!-- end-user-doc -->
219
   * @return the new adapter.
220
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1
221
   * @generated
222
   */
223
  public Adapter createUnsettable1Adapter()
224
  {
225
    return null;
226
  }
227
228
  /**
229
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault <em>Unsettable2 With Default</em>}'.
230
   * <!-- begin-user-doc -->
231
   * This default implementation returns null so that we can easily ignore cases;
232
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
233
   * <!-- end-user-doc -->
234
   * @return the new adapter.
235
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault
236
   * @generated
237
   */
238
  public Adapter createUnsettable2WithDefaultAdapter()
239
  {
240
    return null;
241
  }
242
243
  /**
244
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment <em>Persistent Containment</em>}'.
245
   * <!-- begin-user-doc -->
246
   * This default implementation returns null so that we can easily ignore cases;
247
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
248
   * <!-- end-user-doc -->
249
   * @return the new adapter.
250
   * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment
251
   * @generated
252
   */
253
  public Adapter createPersistentContainmentAdapter()
254
  {
255
    return null;
256
  }
257
258
  /**
259
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer <em>Transient Container</em>}'.
260
   * <!-- begin-user-doc -->
261
   * This default implementation returns null so that we can easily ignore cases;
262
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
263
   * <!-- end-user-doc -->
264
   * @return the new adapter.
265
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer
266
   * @generated
267
   */
268
  public Adapter createTransientContainerAdapter()
269
  {
270
    return null;
271
  }
272
273
  /**
274
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Order <em>Order</em>}'.
275
   * <!-- begin-user-doc -->
276
   * This default implementation returns null so that we can easily ignore cases;
277
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
278
   * <!-- end-user-doc -->
279
   * @return the new adapter.
280
   * @see org.eclipse.emf.cdo.tests.legacy.model1.Order
281
   * @generated
282
   */
283
  public Adapter createOrderAdapter()
284
  {
285
    return null;
286
  }
287
288
  /**
289
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder <em>Purchase Order</em>}'.
290
   * <!-- begin-user-doc -->
291
   * This default implementation returns null so that we can easily ignore cases;
292
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
293
   * <!-- end-user-doc -->
294
   * @return the new adapter.
295
   * @see org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder
296
   * @generated
297
   */
298
  public Adapter createPurchaseOrderAdapter()
299
  {
300
    return null;
301
  }
302
303
  /**
304
   * Creates a new adapter for the default case.
305
   * <!-- begin-user-doc -->
306
   * This default implementation returns null.
307
   * <!-- end-user-doc -->
308
   * @return the new adapter.
309
   * @generated
310
   */
311
  public Adapter createEObjectAdapter()
312
  {
313
    return null;
314
  }
315
316
} //Model2AdapterFactory
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TransientContainerImpl.java (+360 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
16
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
17
import org.eclipse.emf.cdo.tests.model2.TransientContainer;
18
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.ecore.EClass;
22
import org.eclipse.emf.ecore.InternalEObject;
23
import org.eclipse.emf.ecore.impl.ENotificationImpl;
24
import org.eclipse.emf.ecore.impl.EObjectImpl;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
26
27
/**
28
 * <!-- begin-user-doc -->
29
 * An implementation of the model object '<em><b>Transient Container</b></em>'.
30
 * <!-- end-user-doc -->
31
 * <p>
32
 * The following features are implemented:
33
 * <ul>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getAttrBefore <em>Attr Before</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getParent <em>Parent</em>}</li>
36
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getAttrAfter <em>Attr After</em>}</li>
37
 * </ul>
38
 * </p>
39
 *
40
 * @generated
41
 */
42
public class TransientContainerImpl extends EObjectImpl implements TransientContainer
43
{
44
  /**
45
   * The default value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute.
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
48
   * @see #getAttrBefore()
49
   * @generated
50
   * @ordered
51
   */
52
  protected static final String ATTR_BEFORE_EDEFAULT = null;
53
54
  /**
55
   * The cached value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute.
56
   * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
58
   * @see #getAttrBefore()
59
   * @generated
60
   * @ordered
61
   */
62
  protected String attrBefore = ATTR_BEFORE_EDEFAULT;
63
64
  /**
65
   * The default value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute.
66
   * <!-- begin-user-doc -->
67
   * <!-- end-user-doc -->
68
   * @see #getAttrAfter()
69
   * @generated
70
   * @ordered
71
   */
72
  protected static final String ATTR_AFTER_EDEFAULT = null;
73
74
  /**
75
   * The cached value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute.
76
   * <!-- begin-user-doc -->
77
   * <!-- end-user-doc -->
78
   * @see #getAttrAfter()
79
   * @generated
80
   * @ordered
81
   */
82
  protected String attrAfter = ATTR_AFTER_EDEFAULT;
83
84
  /**
85
   * <!-- begin-user-doc -->
86
   * <!-- end-user-doc -->
87
   * @generated
88
   */
89
  protected TransientContainerImpl()
90
  {
91
    super();
92
  }
93
94
  /**
95
   * <!-- begin-user-doc -->
96
   * <!-- end-user-doc -->
97
   * @generated
98
   */
99
  @Override
100
  protected EClass eStaticClass()
101
  {
102
    return Model2Package.Literals.TRANSIENT_CONTAINER;
103
  }
104
105
  /**
106
   * <!-- begin-user-doc -->
107
   * <!-- end-user-doc -->
108
   * @generated
109
   */
110
  public String getAttrBefore()
111
  {
112
    return attrBefore;
113
  }
114
115
  /**
116
   * <!-- begin-user-doc -->
117
   * <!-- end-user-doc -->
118
   * @generated
119
   */
120
  public void setAttrBefore(String newAttrBefore)
121
  {
122
    String oldAttrBefore = attrBefore;
123
    attrBefore = newAttrBefore;
124
    if (eNotificationRequired())
125
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE,
126
          oldAttrBefore, attrBefore));
127
  }
128
129
  /**
130
   * <!-- begin-user-doc -->
131
   * <!-- end-user-doc -->
132
   * @generated
133
   */
134
  public PersistentContainment getParent()
135
  {
136
    if (eContainerFeatureID() != Model2Package.TRANSIENT_CONTAINER__PARENT)
137
      return null;
138
    return (PersistentContainment)eContainer();
139
  }
140
141
  /**
142
   * <!-- begin-user-doc -->
143
   * <!-- end-user-doc -->
144
   * @generated
145
   */
146
  public NotificationChain basicSetParent(PersistentContainment newParent, NotificationChain msgs)
147
  {
148
    msgs = eBasicSetContainer((InternalEObject)newParent, Model2Package.TRANSIENT_CONTAINER__PARENT, msgs);
149
    return msgs;
150
  }
151
152
  /**
153
   * <!-- begin-user-doc -->
154
   * <!-- end-user-doc -->
155
   * @generated
156
   */
157
  public void setParent(PersistentContainment newParent)
158
  {
159
    if (newParent != eInternalContainer()
160
        || (eContainerFeatureID() != Model2Package.TRANSIENT_CONTAINER__PARENT && newParent != null))
161
    {
162
      if (EcoreUtil.isAncestor(this, newParent))
163
        throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
164
      NotificationChain msgs = null;
165
      if (eInternalContainer() != null)
166
        msgs = eBasicRemoveFromContainer(msgs);
167
      if (newParent != null)
168
        msgs = ((InternalEObject)newParent).eInverseAdd(this, Model2Package.PERSISTENT_CONTAINMENT__CHILDREN,
169
            PersistentContainment.class, msgs);
170
      msgs = basicSetParent(newParent, msgs);
171
      if (msgs != null)
172
        msgs.dispatch();
173
    }
174
    else if (eNotificationRequired())
175
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__PARENT, newParent,
176
          newParent));
177
  }
178
179
  /**
180
   * <!-- begin-user-doc -->
181
   * <!-- end-user-doc -->
182
   * @generated
183
   */
184
  public String getAttrAfter()
185
  {
186
    return attrAfter;
187
  }
188
189
  /**
190
   * <!-- begin-user-doc -->
191
   * <!-- end-user-doc -->
192
   * @generated
193
   */
194
  public void setAttrAfter(String newAttrAfter)
195
  {
196
    String oldAttrAfter = attrAfter;
197
    attrAfter = newAttrAfter;
198
    if (eNotificationRequired())
199
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER,
200
          oldAttrAfter, attrAfter));
201
  }
202
203
  /**
204
   * <!-- begin-user-doc -->
205
   * <!-- end-user-doc -->
206
   * @generated
207
   */
208
  @Override
209
  public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
210
  {
211
    switch (featureID)
212
    {
213
    case Model2Package.TRANSIENT_CONTAINER__PARENT:
214
      if (eInternalContainer() != null)
215
        msgs = eBasicRemoveFromContainer(msgs);
216
      return basicSetParent((PersistentContainment)otherEnd, msgs);
217
    }
218
    return super.eInverseAdd(otherEnd, featureID, msgs);
219
  }
220
221
  /**
222
   * <!-- begin-user-doc -->
223
   * <!-- end-user-doc -->
224
   * @generated
225
   */
226
  @Override
227
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
228
  {
229
    switch (featureID)
230
    {
231
    case Model2Package.TRANSIENT_CONTAINER__PARENT:
232
      return basicSetParent(null, msgs);
233
    }
234
    return super.eInverseRemove(otherEnd, featureID, msgs);
235
  }
236
237
  /**
238
   * <!-- begin-user-doc -->
239
   * <!-- end-user-doc -->
240
   * @generated
241
   */
242
  @Override
243
  public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
244
  {
245
    switch (eContainerFeatureID())
246
    {
247
    case Model2Package.TRANSIENT_CONTAINER__PARENT:
248
      return eInternalContainer().eInverseRemove(this, Model2Package.PERSISTENT_CONTAINMENT__CHILDREN,
249
          PersistentContainment.class, msgs);
250
    }
251
    return super.eBasicRemoveFromContainerFeature(msgs);
252
  }
253
254
  /**
255
   * <!-- begin-user-doc -->
256
   * <!-- end-user-doc -->
257
   * @generated
258
   */
259
  @Override
260
  public Object eGet(int featureID, boolean resolve, boolean coreType)
261
  {
262
    switch (featureID)
263
    {
264
    case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE:
265
      return getAttrBefore();
266
    case Model2Package.TRANSIENT_CONTAINER__PARENT:
267
      return getParent();
268
    case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
269
      return getAttrAfter();
270
    }
271
    return super.eGet(featureID, resolve, coreType);
272
  }
273
274
  /**
275
   * <!-- begin-user-doc -->
276
   * <!-- end-user-doc -->
277
   * @generated
278
   */
279
  @Override
280
  public void eSet(int featureID, Object newValue)
281
  {
282
    switch (featureID)
283
    {
284
    case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE:
285
      setAttrBefore((String)newValue);
286
      return;
287
    case Model2Package.TRANSIENT_CONTAINER__PARENT:
288
      setParent((PersistentContainment)newValue);
289
      return;
290
    case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
291
      setAttrAfter((String)newValue);
292
      return;
293
    }
294
    super.eSet(featureID, newValue);
295
  }
296
297
  /**
298
   * <!-- begin-user-doc -->
299
   * <!-- end-user-doc -->
300
   * @generated
301
   */
302
  @Override
303
  public void eUnset(int featureID)
304
  {
305
    switch (featureID)
306
    {
307
    case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE:
308
      setAttrBefore(ATTR_BEFORE_EDEFAULT);
309
      return;
310
    case Model2Package.TRANSIENT_CONTAINER__PARENT:
311
      setParent((PersistentContainment)null);
312
      return;
313
    case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
314
      setAttrAfter(ATTR_AFTER_EDEFAULT);
315
      return;
316
    }
317
    super.eUnset(featureID);
318
  }
319
320
  /**
321
   * <!-- begin-user-doc -->
322
   * <!-- end-user-doc -->
323
   * @generated
324
   */
325
  @Override
326
  public boolean eIsSet(int featureID)
327
  {
328
    switch (featureID)
329
    {
330
    case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE:
331
      return ATTR_BEFORE_EDEFAULT == null ? attrBefore != null : !ATTR_BEFORE_EDEFAULT.equals(attrBefore);
332
    case Model2Package.TRANSIENT_CONTAINER__PARENT:
333
      return getParent() != null;
334
    case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
335
      return ATTR_AFTER_EDEFAULT == null ? attrAfter != null : !ATTR_AFTER_EDEFAULT.equals(attrAfter);
336
    }
337
    return super.eIsSet(featureID);
338
  }
339
340
  /**
341
   * <!-- begin-user-doc -->
342
   * <!-- end-user-doc -->
343
   * @generated
344
   */
345
  @Override
346
  public String toString()
347
  {
348
    if (eIsProxy())
349
      return super.toString();
350
351
    StringBuffer result = new StringBuffer(super.toString());
352
    result.append(" (attrBefore: ");
353
    result.append(attrBefore);
354
    result.append(", attrAfter: ");
355
    result.append(attrAfter);
356
    result.append(')');
357
    return result.toString();
358
  }
359
360
} //TransientContainerImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2FactoryImpl.java (+202 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory;
16
import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
17
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
18
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
19
import org.eclipse.emf.cdo.tests.model2.Task;
20
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
21
import org.eclipse.emf.cdo.tests.model2.TransientContainer;
22
import org.eclipse.emf.cdo.tests.model2.Unsettable1;
23
import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
24
25
import org.eclipse.emf.ecore.EClass;
26
import org.eclipse.emf.ecore.EObject;
27
import org.eclipse.emf.ecore.EPackage;
28
import org.eclipse.emf.ecore.impl.EFactoryImpl;
29
import org.eclipse.emf.ecore.plugin.EcorePlugin;
30
31
/**
32
 * <!-- begin-user-doc -->
33
 * An implementation of the model <b>Factory</b>.
34
 * <!-- end-user-doc -->
35
 * @generated
36
 */
37
public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
38
{
39
  /**
40
   * Creates the default factory implementation.
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated  NOT
44
   */
45
  public static Model2Factory init()
46
  {
47
    try
48
    {
49
      Model2Factory theModel2Factory = (Model2Factory)EPackage.Registry.INSTANCE
50
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model2/1.0.0");
51
      if (theModel2Factory != null)
52
      {
53
        return theModel2Factory;
54
      }
55
    }
56
    catch (Exception exception)
57
    {
58
      EcorePlugin.INSTANCE.log(exception);
59
    }
60
    return new Model2FactoryImpl();
61
  }
62
63
  /**
64
   * Creates an instance of the factory.
65
   * <!-- begin-user-doc -->
66
   * <!-- end-user-doc -->
67
   * @generated
68
   */
69
  public Model2FactoryImpl()
70
  {
71
    super();
72
  }
73
74
  /**
75
   * <!-- begin-user-doc -->
76
   * <!-- end-user-doc -->
77
   * @generated
78
   */
79
  @Override
80
  public EObject create(EClass eClass)
81
  {
82
    switch (eClass.getClassifierID())
83
    {
84
    case Model2Package.SPECIAL_PURCHASE_ORDER:
85
      return createSpecialPurchaseOrder();
86
    case Model2Package.TASK_CONTAINER:
87
      return createTaskContainer();
88
    case Model2Package.TASK:
89
      return createTask();
90
    case Model2Package.UNSETTABLE1:
91
      return createUnsettable1();
92
    case Model2Package.UNSETTABLE2_WITH_DEFAULT:
93
      return createUnsettable2WithDefault();
94
    case Model2Package.PERSISTENT_CONTAINMENT:
95
      return createPersistentContainment();
96
    case Model2Package.TRANSIENT_CONTAINER:
97
      return createTransientContainer();
98
    default:
99
      throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
100
    }
101
  }
102
103
  /**
104
   * <!-- begin-user-doc -->
105
   * <!-- end-user-doc -->
106
   * @generated
107
   */
108
  public SpecialPurchaseOrder createSpecialPurchaseOrder()
109
  {
110
    SpecialPurchaseOrderImpl specialPurchaseOrder = new SpecialPurchaseOrderImpl();
111
    return specialPurchaseOrder;
112
  }
113
114
  /**
115
   * <!-- begin-user-doc -->
116
   * <!-- end-user-doc -->
117
   * @generated
118
   */
119
  public TaskContainer createTaskContainer()
120
  {
121
    TaskContainerImpl taskContainer = new TaskContainerImpl();
122
    return taskContainer;
123
  }
124
125
  /**
126
   * <!-- begin-user-doc -->
127
   * <!-- end-user-doc -->
128
   * @generated
129
   */
130
  public Task createTask()
131
  {
132
    TaskImpl task = new TaskImpl();
133
    return task;
134
  }
135
136
  /**
137
   * <!-- begin-user-doc -->
138
   * <!-- end-user-doc -->
139
   * @generated
140
   */
141
  public Unsettable1 createUnsettable1()
142
  {
143
    Unsettable1Impl unsettable1 = new Unsettable1Impl();
144
    return unsettable1;
145
  }
146
147
  /**
148
   * <!-- begin-user-doc -->
149
   * <!-- end-user-doc -->
150
   * @generated
151
   */
152
  public Unsettable2WithDefault createUnsettable2WithDefault()
153
  {
154
    Unsettable2WithDefaultImpl unsettable2WithDefault = new Unsettable2WithDefaultImpl();
155
    return unsettable2WithDefault;
156
  }
157
158
  /**
159
   * <!-- begin-user-doc -->
160
   * <!-- end-user-doc -->
161
   * @generated
162
   */
163
  public PersistentContainment createPersistentContainment()
164
  {
165
    PersistentContainmentImpl persistentContainment = new PersistentContainmentImpl();
166
    return persistentContainment;
167
  }
168
169
  /**
170
   * <!-- begin-user-doc -->
171
   * <!-- end-user-doc -->
172
   * @generated
173
   */
174
  public TransientContainer createTransientContainer()
175
  {
176
    TransientContainerImpl transientContainer = new TransientContainerImpl();
177
    return transientContainer;
178
  }
179
180
  /**
181
   * <!-- begin-user-doc -->
182
   * <!-- end-user-doc -->
183
   * @generated
184
   */
185
  public Model2Package getModel2Package()
186
  {
187
    return (Model2Package)getEPackage();
188
  }
189
190
  /**
191
   * <!-- begin-user-doc -->
192
   * <!-- end-user-doc -->
193
   * @deprecated
194
   * @generated
195
   */
196
  @Deprecated
197
  public static Model2Package getPackage()
198
  {
199
    return Model2Package.eINSTANCE;
200
  }
201
202
} //Model2FactoryImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/SpecialPurchaseOrderImpl.java (+283 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model1.impl.PurchaseOrderImpl;
16
import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
17
import org.eclipse.emf.cdo.tests.model1.Address;
18
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
19
20
import org.eclipse.emf.common.notify.Notification;
21
import org.eclipse.emf.common.notify.NotificationChain;
22
import org.eclipse.emf.ecore.EClass;
23
import org.eclipse.emf.ecore.InternalEObject;
24
import org.eclipse.emf.ecore.impl.ENotificationImpl;
25
26
/**
27
 * <!-- begin-user-doc -->
28
 * An implementation of the model object '<em><b>Special Purchase Order</b></em>'.
29
 * <!-- end-user-doc -->
30
 * <p>
31
 * The following features are implemented:
32
 * <ul>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl#getDiscountCode <em>Discount Code</em>}</li>
34
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl#getShippingAddress <em>Shipping Address</em>}</li>
35
 * </ul>
36
 * </p>
37
 *
38
 * @generated
39
 */
40
public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements SpecialPurchaseOrder
41
{
42
  /**
43
   * The default value of the '{@link #getDiscountCode() <em>Discount Code</em>}' attribute.
44
   * <!-- begin-user-doc -->
45
   * <!-- end-user-doc -->
46
   * @see #getDiscountCode()
47
   * @generated
48
   * @ordered
49
   */
50
  protected static final String DISCOUNT_CODE_EDEFAULT = null;
51
52
  /**
53
   * The cached value of the '{@link #getDiscountCode() <em>Discount Code</em>}' attribute.
54
   * <!-- begin-user-doc -->
55
   * <!-- end-user-doc -->
56
   * @see #getDiscountCode()
57
   * @generated
58
   * @ordered
59
   */
60
  protected String discountCode = DISCOUNT_CODE_EDEFAULT;
61
62
  /**
63
   * The cached value of the '{@link #getShippingAddress() <em>Shipping Address</em>}' containment reference.
64
   * <!-- begin-user-doc -->
65
   * <!-- end-user-doc -->
66
   * @see #getShippingAddress()
67
   * @generated
68
   * @ordered
69
   */
70
  protected Address shippingAddress;
71
72
  /**
73
   * <!-- begin-user-doc -->
74
   * <!-- end-user-doc -->
75
   * @generated
76
   */
77
  protected SpecialPurchaseOrderImpl()
78
  {
79
    super();
80
  }
81
82
  /**
83
   * <!-- begin-user-doc -->
84
   * <!-- end-user-doc -->
85
   * @generated
86
   */
87
  @Override
88
  protected EClass eStaticClass()
89
  {
90
    return Model2Package.Literals.SPECIAL_PURCHASE_ORDER;
91
  }
92
93
  /**
94
   * <!-- begin-user-doc -->
95
   * <!-- end-user-doc -->
96
   * @generated
97
   */
98
  public String getDiscountCode()
99
  {
100
    return discountCode;
101
  }
102
103
  /**
104
   * <!-- begin-user-doc -->
105
   * <!-- end-user-doc -->
106
   * @generated
107
   */
108
  public void setDiscountCode(String newDiscountCode)
109
  {
110
    String oldDiscountCode = discountCode;
111
    discountCode = newDiscountCode;
112
    if (eNotificationRequired())
113
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE,
114
          oldDiscountCode, discountCode));
115
  }
116
117
  /**
118
   * <!-- begin-user-doc -->
119
   * <!-- end-user-doc -->
120
   * @generated
121
   */
122
  public Address getShippingAddress()
123
  {
124
    return shippingAddress;
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  public NotificationChain basicSetShippingAddress(Address newShippingAddress, NotificationChain msgs)
133
  {
134
    Address oldShippingAddress = shippingAddress;
135
    shippingAddress = newShippingAddress;
136
    if (eNotificationRequired())
137
    {
138
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
139
          Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, oldShippingAddress, newShippingAddress);
140
      if (msgs == null)
141
        msgs = notification;
142
      else
143
        msgs.add(notification);
144
    }
145
    return msgs;
146
  }
147
148
  /**
149
   * <!-- begin-user-doc -->
150
   * <!-- end-user-doc -->
151
   * @generated
152
   */
153
  public void setShippingAddress(Address newShippingAddress)
154
  {
155
    if (newShippingAddress != shippingAddress)
156
    {
157
      NotificationChain msgs = null;
158
      if (shippingAddress != null)
159
        msgs = ((InternalEObject)shippingAddress).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
160
            - Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, null, msgs);
161
      if (newShippingAddress != null)
162
        msgs = ((InternalEObject)newShippingAddress).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
163
            - Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, null, msgs);
164
      msgs = basicSetShippingAddress(newShippingAddress, msgs);
165
      if (msgs != null)
166
        msgs.dispatch();
167
    }
168
    else if (eNotificationRequired())
169
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS,
170
          newShippingAddress, newShippingAddress));
171
  }
172
173
  /**
174
   * <!-- begin-user-doc -->
175
   * <!-- end-user-doc -->
176
   * @generated
177
   */
178
  @Override
179
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
180
  {
181
    switch (featureID)
182
    {
183
    case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
184
      return basicSetShippingAddress(null, msgs);
185
    }
186
    return super.eInverseRemove(otherEnd, featureID, msgs);
187
  }
188
189
  /**
190
   * <!-- begin-user-doc -->
191
   * <!-- end-user-doc -->
192
   * @generated
193
   */
194
  @Override
195
  public Object eGet(int featureID, boolean resolve, boolean coreType)
196
  {
197
    switch (featureID)
198
    {
199
    case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
200
      return getDiscountCode();
201
    case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
202
      return getShippingAddress();
203
    }
204
    return super.eGet(featureID, resolve, coreType);
205
  }
206
207
  /**
208
   * <!-- begin-user-doc -->
209
   * <!-- end-user-doc -->
210
   * @generated
211
   */
212
  @Override
213
  public void eSet(int featureID, Object newValue)
214
  {
215
    switch (featureID)
216
    {
217
    case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
218
      setDiscountCode((String)newValue);
219
      return;
220
    case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
221
      setShippingAddress((Address)newValue);
222
      return;
223
    }
224
    super.eSet(featureID, newValue);
225
  }
226
227
  /**
228
   * <!-- begin-user-doc -->
229
   * <!-- end-user-doc -->
230
   * @generated
231
   */
232
  @Override
233
  public void eUnset(int featureID)
234
  {
235
    switch (featureID)
236
    {
237
    case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
238
      setDiscountCode(DISCOUNT_CODE_EDEFAULT);
239
      return;
240
    case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
241
      setShippingAddress((Address)null);
242
      return;
243
    }
244
    super.eUnset(featureID);
245
  }
246
247
  /**
248
   * <!-- begin-user-doc -->
249
   * <!-- end-user-doc -->
250
   * @generated
251
   */
252
  @Override
253
  public boolean eIsSet(int featureID)
254
  {
255
    switch (featureID)
256
    {
257
    case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
258
      return DISCOUNT_CODE_EDEFAULT == null ? discountCode != null : !DISCOUNT_CODE_EDEFAULT.equals(discountCode);
259
    case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
260
      return shippingAddress != null;
261
    }
262
    return super.eIsSet(featureID);
263
  }
264
265
  /**
266
   * <!-- begin-user-doc -->
267
   * <!-- end-user-doc -->
268
   * @generated
269
   */
270
  @Override
271
  public String toString()
272
  {
273
    if (eIsProxy())
274
      return super.toString();
275
276
    StringBuffer result = new StringBuffer(super.toString());
277
    result.append(" (discountCode: ");
278
    result.append(discountCode);
279
    result.append(')');
280
    return result.toString();
281
  }
282
283
} //SpecialPurchaseOrderImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Package.java (+1348 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2;
14
15
import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
16
17
import org.eclipse.emf.ecore.EAttribute;
18
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EPackage;
20
import org.eclipse.emf.ecore.EReference;
21
22
/**
23
 * <!-- begin-user-doc -->
24
 * The <b>Package</b> for the model.
25
 * It contains accessors for the meta objects to represent
26
 * <ul>
27
 *   <li>each class,</li>
28
 *   <li>each feature of each class,</li>
29
 *   <li>each enum,</li>
30
 *   <li>and each data type</li>
31
 * </ul>
32
 * <!-- end-user-doc -->
33
 * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory
34
 * @model kind="package"
35
 * @generated
36
 */
37
public interface Model2Package extends  org.eclipse.emf.cdo.tests.model2.Model2Package
38
{
39
  /**
40
   * The package name.
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  String eNAME = "model2";
46
47
  /**
48
   * The package namespace URI.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @generated NOT
52
   */
53
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model2/1.0.0";
54
55
  /**
56
   * The package namespace name.
57
   * <!-- begin-user-doc -->
58
   * <!-- end-user-doc -->
59
   * @generated
60
   */
61
  String eNS_PREFIX = "model2";
62
63
  /**
64
   * The singleton instance of the package.
65
   * <!-- begin-user-doc -->
66
   * <!-- end-user-doc -->
67
   * @generated
68
   */
69
  Model2Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl.init();
70
71
  /**
72
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl <em>Special Purchase Order</em>}' class.
73
   * <!-- begin-user-doc -->
74
   * <!-- end-user-doc -->
75
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl
76
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getSpecialPurchaseOrder()
77
   * @generated
78
   */
79
  int SPECIAL_PURCHASE_ORDER = 0;
80
81
  /**
82
   * The feature id for the '<em><b>Order Details</b></em>' containment reference list.
83
   * <!-- begin-user-doc -->
84
   * <!-- end-user-doc -->
85
   * @generated
86
   * @ordered
87
   */
88
  int SPECIAL_PURCHASE_ORDER__ORDER_DETAILS = Model1Package.PURCHASE_ORDER__ORDER_DETAILS;
89
90
  /**
91
   * The feature id for the '<em><b>Date</b></em>' attribute.
92
   * <!-- begin-user-doc -->
93
   * <!-- end-user-doc -->
94
   * @generated
95
   * @ordered
96
   */
97
  int SPECIAL_PURCHASE_ORDER__DATE = Model1Package.PURCHASE_ORDER__DATE;
98
99
  /**
100
   * The feature id for the '<em><b>Supplier</b></em>' reference.
101
   * <!-- begin-user-doc -->
102
   * <!-- end-user-doc -->
103
   * @generated
104
   * @ordered
105
   */
106
  int SPECIAL_PURCHASE_ORDER__SUPPLIER = Model1Package.PURCHASE_ORDER__SUPPLIER;
107
108
  /**
109
   * The feature id for the '<em><b>Discount Code</b></em>' attribute.
110
   * <!-- begin-user-doc -->
111
   * <!-- end-user-doc -->
112
   * @generated
113
   * @ordered
114
   */
115
  int SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 0;
116
117
  /**
118
   * The feature id for the '<em><b>Shipping Address</b></em>' containment reference.
119
   * <!-- begin-user-doc -->
120
   * <!-- end-user-doc -->
121
   * @generated
122
   * @ordered
123
   */
124
  int SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 1;
125
126
  /**
127
   * The number of structural features of the '<em>Special Purchase Order</em>' class.
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   * @ordered
132
   */
133
  int SPECIAL_PURCHASE_ORDER_FEATURE_COUNT = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 2;
134
135
  /**
136
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl <em>Task Container</em>}' class.
137
   * <!-- begin-user-doc -->
138
   * <!-- end-user-doc -->
139
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl
140
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTaskContainer()
141
   * @generated
142
   */
143
  int TASK_CONTAINER = 1;
144
145
  /**
146
   * The feature id for the '<em><b>Tasks</b></em>' containment reference list.
147
   * <!-- begin-user-doc -->
148
   * <!-- end-user-doc -->
149
   * @generated
150
   * @ordered
151
   */
152
  int TASK_CONTAINER__TASKS = 0;
153
154
  /**
155
   * The number of structural features of the '<em>Task Container</em>' class.
156
   * <!-- begin-user-doc -->
157
   * <!-- end-user-doc -->
158
   * @generated
159
   * @ordered
160
   */
161
  int TASK_CONTAINER_FEATURE_COUNT = 1;
162
163
  /**
164
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl <em>Task</em>}' class.
165
   * <!-- begin-user-doc -->
166
   * <!-- end-user-doc -->
167
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl
168
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTask()
169
   * @generated
170
   */
171
  int TASK = 2;
172
173
  /**
174
   * The feature id for the '<em><b>Task Container</b></em>' container reference.
175
   * <!-- begin-user-doc -->
176
   * <!-- end-user-doc -->
177
   * @generated
178
   * @ordered
179
   */
180
  int TASK__TASK_CONTAINER = 0;
181
182
  /**
183
   * The feature id for the '<em><b>Description</b></em>' attribute.
184
   * <!-- begin-user-doc -->
185
   * <!-- end-user-doc -->
186
   * @generated
187
   * @ordered
188
   */
189
  int TASK__DESCRIPTION = 1;
190
191
  /**
192
   * The feature id for the '<em><b>Done</b></em>' attribute.
193
   * <!-- begin-user-doc -->
194
   * <!-- end-user-doc -->
195
   * @generated
196
   * @ordered
197
   */
198
  int TASK__DONE = 2;
199
200
  /**
201
   * The number of structural features of the '<em>Task</em>' class.
202
   * <!-- begin-user-doc -->
203
   * <!-- end-user-doc -->
204
   * @generated
205
   * @ordered
206
   */
207
  int TASK_FEATURE_COUNT = 3;
208
209
  /**
210
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl <em>Unsettable1</em>}' class.
211
   * <!-- begin-user-doc -->
212
   * <!-- end-user-doc -->
213
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl
214
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable1()
215
   * @generated
216
   */
217
  int UNSETTABLE1 = 3;
218
219
  /**
220
   * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute.
221
   * <!-- begin-user-doc -->
222
   * <!-- end-user-doc -->
223
   * @generated
224
   * @ordered
225
   */
226
  int UNSETTABLE1__UNSETTABLE_BOOLEAN = 0;
227
228
  /**
229
   * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute.
230
   * <!-- begin-user-doc -->
231
   * <!-- end-user-doc -->
232
   * @generated
233
   * @ordered
234
   */
235
  int UNSETTABLE1__UNSETTABLE_BYTE = 1;
236
237
  /**
238
   * The feature id for the '<em><b>Unsettable Char</b></em>' attribute.
239
   * <!-- begin-user-doc -->
240
   * <!-- end-user-doc -->
241
   * @generated
242
   * @ordered
243
   */
244
  int UNSETTABLE1__UNSETTABLE_CHAR = 2;
245
246
  /**
247
   * The feature id for the '<em><b>Unsettable Date</b></em>' attribute.
248
   * <!-- begin-user-doc -->
249
   * <!-- end-user-doc -->
250
   * @generated
251
   * @ordered
252
   */
253
  int UNSETTABLE1__UNSETTABLE_DATE = 3;
254
255
  /**
256
   * The feature id for the '<em><b>Unsettable Double</b></em>' attribute.
257
   * <!-- begin-user-doc -->
258
   * <!-- end-user-doc -->
259
   * @generated
260
   * @ordered
261
   */
262
  int UNSETTABLE1__UNSETTABLE_DOUBLE = 4;
263
264
  /**
265
   * The feature id for the '<em><b>Unsettable Float</b></em>' attribute.
266
   * <!-- begin-user-doc -->
267
   * <!-- end-user-doc -->
268
   * @generated
269
   * @ordered
270
   */
271
  int UNSETTABLE1__UNSETTABLE_FLOAT = 5;
272
273
  /**
274
   * The feature id for the '<em><b>Unsettable Int</b></em>' attribute.
275
   * <!-- begin-user-doc -->
276
   * <!-- end-user-doc -->
277
   * @generated
278
   * @ordered
279
   */
280
  int UNSETTABLE1__UNSETTABLE_INT = 6;
281
282
  /**
283
   * The feature id for the '<em><b>Unsettable Long</b></em>' attribute.
284
   * <!-- begin-user-doc -->
285
   * <!-- end-user-doc -->
286
   * @generated
287
   * @ordered
288
   */
289
  int UNSETTABLE1__UNSETTABLE_LONG = 7;
290
291
  /**
292
   * The feature id for the '<em><b>Unsettable Short</b></em>' attribute.
293
   * <!-- begin-user-doc -->
294
   * <!-- end-user-doc -->
295
   * @generated
296
   * @ordered
297
   */
298
  int UNSETTABLE1__UNSETTABLE_SHORT = 8;
299
300
  /**
301
   * The feature id for the '<em><b>Unsettable String</b></em>' attribute.
302
   * <!-- begin-user-doc -->
303
   * <!-- end-user-doc -->
304
   * @generated
305
   * @ordered
306
   */
307
  int UNSETTABLE1__UNSETTABLE_STRING = 9;
308
309
  /**
310
   * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute.
311
   * <!-- begin-user-doc -->
312
   * <!-- end-user-doc -->
313
   * @generated
314
   * @ordered
315
   */
316
  int UNSETTABLE1__UNSETTABLE_VAT = 10;
317
318
  /**
319
   * The number of structural features of the '<em>Unsettable1</em>' class.
320
   * <!-- begin-user-doc -->
321
   * <!-- end-user-doc -->
322
   * @generated
323
   * @ordered
324
   */
325
  int UNSETTABLE1_FEATURE_COUNT = 11;
326
327
  /**
328
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl <em>Unsettable2 With Default</em>}' class.
329
   * <!-- begin-user-doc -->
330
   * <!-- end-user-doc -->
331
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl
332
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable2WithDefault()
333
   * @generated
334
   */
335
  int UNSETTABLE2_WITH_DEFAULT = 4;
336
337
  /**
338
   * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute.
339
   * <!-- begin-user-doc -->
340
   * <!-- end-user-doc -->
341
   * @generated
342
   * @ordered
343
   */
344
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN = 0;
345
346
  /**
347
   * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute.
348
   * <!-- begin-user-doc -->
349
   * <!-- end-user-doc -->
350
   * @generated
351
   * @ordered
352
   */
353
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE = 1;
354
355
  /**
356
   * The feature id for the '<em><b>Unsettable Char</b></em>' attribute.
357
   * <!-- begin-user-doc -->
358
   * <!-- end-user-doc -->
359
   * @generated
360
   * @ordered
361
   */
362
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR = 2;
363
364
  /**
365
   * The feature id for the '<em><b>Unsettable Date</b></em>' attribute.
366
   * <!-- begin-user-doc -->
367
   * <!-- end-user-doc -->
368
   * @generated
369
   * @ordered
370
   */
371
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE = 3;
372
373
  /**
374
   * The feature id for the '<em><b>Unsettable Double</b></em>' attribute.
375
   * <!-- begin-user-doc -->
376
   * <!-- end-user-doc -->
377
   * @generated
378
   * @ordered
379
   */
380
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE = 4;
381
382
  /**
383
   * The feature id for the '<em><b>Unsettable Float</b></em>' attribute.
384
   * <!-- begin-user-doc -->
385
   * <!-- end-user-doc -->
386
   * @generated
387
   * @ordered
388
   */
389
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT = 5;
390
391
  /**
392
   * The feature id for the '<em><b>Unsettable Int</b></em>' attribute.
393
   * <!-- begin-user-doc -->
394
   * <!-- end-user-doc -->
395
   * @generated
396
   * @ordered
397
   */
398
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT = 6;
399
400
  /**
401
   * The feature id for the '<em><b>Unsettable Long</b></em>' attribute.
402
   * <!-- begin-user-doc -->
403
   * <!-- end-user-doc -->
404
   * @generated
405
   * @ordered
406
   */
407
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG = 7;
408
409
  /**
410
   * The feature id for the '<em><b>Unsettable Short</b></em>' attribute.
411
   * <!-- begin-user-doc -->
412
   * <!-- end-user-doc -->
413
   * @generated
414
   * @ordered
415
   */
416
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT = 8;
417
418
  /**
419
   * The feature id for the '<em><b>Unsettable String</b></em>' attribute.
420
   * <!-- begin-user-doc -->
421
   * <!-- end-user-doc -->
422
   * @generated
423
   * @ordered
424
   */
425
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING = 9;
426
427
  /**
428
   * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute.
429
   * <!-- begin-user-doc -->
430
   * <!-- end-user-doc -->
431
   * @generated
432
   * @ordered
433
   */
434
  int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT = 10;
435
436
  /**
437
   * The number of structural features of the '<em>Unsettable2 With Default</em>' class.
438
   * <!-- begin-user-doc -->
439
   * <!-- end-user-doc -->
440
   * @generated
441
   * @ordered
442
   */
443
  int UNSETTABLE2_WITH_DEFAULT_FEATURE_COUNT = 11;
444
445
  /**
446
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl <em>Persistent Containment</em>}' class.
447
   * <!-- begin-user-doc -->
448
   * <!-- end-user-doc -->
449
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl
450
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getPersistentContainment()
451
   * @generated
452
   */
453
  int PERSISTENT_CONTAINMENT = 5;
454
455
  /**
456
   * The feature id for the '<em><b>Attr Before</b></em>' attribute.
457
   * <!-- begin-user-doc -->
458
   * <!-- end-user-doc -->
459
   * @generated
460
   * @ordered
461
   */
462
  int PERSISTENT_CONTAINMENT__ATTR_BEFORE = 0;
463
464
  /**
465
   * The feature id for the '<em><b>Children</b></em>' containment reference list.
466
   * <!-- begin-user-doc -->
467
   * <!-- end-user-doc -->
468
   * @generated
469
   * @ordered
470
   */
471
  int PERSISTENT_CONTAINMENT__CHILDREN = 1;
472
473
  /**
474
   * The feature id for the '<em><b>Attr After</b></em>' attribute.
475
   * <!-- begin-user-doc -->
476
   * <!-- end-user-doc -->
477
   * @generated
478
   * @ordered
479
   */
480
  int PERSISTENT_CONTAINMENT__ATTR_AFTER = 2;
481
482
  /**
483
   * The number of structural features of the '<em>Persistent Containment</em>' class.
484
   * <!-- begin-user-doc -->
485
   * <!-- end-user-doc -->
486
   * @generated
487
   * @ordered
488
   */
489
  int PERSISTENT_CONTAINMENT_FEATURE_COUNT = 3;
490
491
  /**
492
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl <em>Transient Container</em>}' class.
493
   * <!-- begin-user-doc -->
494
   * <!-- end-user-doc -->
495
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl
496
   * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTransientContainer()
497
   * @generated
498
   */
499
  int TRANSIENT_CONTAINER = 6;
500
501
  /**
502
   * The feature id for the '<em><b>Attr Before</b></em>' attribute.
503
   * <!-- begin-user-doc -->
504
   * <!-- end-user-doc -->
505
   * @generated
506
   * @ordered
507
   */
508
  int TRANSIENT_CONTAINER__ATTR_BEFORE = 0;
509
510
  /**
511
   * The feature id for the '<em><b>Parent</b></em>' container reference.
512
   * <!-- begin-user-doc -->
513
   * <!-- end-user-doc -->
514
   * @generated
515
   * @ordered
516
   */
517
  int TRANSIENT_CONTAINER__PARENT = 1;
518
519
  /**
520
   * The feature id for the '<em><b>Attr After</b></em>' attribute.
521
   * <!-- begin-user-doc -->
522
   * <!-- end-user-doc -->
523
   * @generated
524
   * @ordered
525
   */
526
  int TRANSIENT_CONTAINER__ATTR_AFTER = 2;
527
528
  /**
529
   * The number of structural features of the '<em>Transient Container</em>' class.
530
   * <!-- begin-user-doc -->
531
   * <!-- end-user-doc -->
532
   * @generated
533
   * @ordered
534
   */
535
  int TRANSIENT_CONTAINER_FEATURE_COUNT = 3;
536
537
  /**
538
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder <em>Special Purchase Order</em>}'.
539
   * <!-- begin-user-doc -->
540
   * <!-- end-user-doc -->
541
   * @return the meta object for class '<em>Special Purchase Order</em>'.
542
   * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder
543
   * @generated
544
   */
545
  EClass getSpecialPurchaseOrder();
546
547
  /**
548
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getDiscountCode <em>Discount Code</em>}'.
549
   * <!-- begin-user-doc -->
550
   * <!-- end-user-doc -->
551
   * @return the meta object for the attribute '<em>Discount Code</em>'.
552
   * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getDiscountCode()
553
   * @see #getSpecialPurchaseOrder()
554
   * @generated
555
   */
556
  EAttribute getSpecialPurchaseOrder_DiscountCode();
557
558
  /**
559
   * Returns the meta object for the containment reference '{@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getShippingAddress <em>Shipping Address</em>}'.
560
   * <!-- begin-user-doc -->
561
   * <!-- end-user-doc -->
562
   * @return the meta object for the containment reference '<em>Shipping Address</em>'.
563
   * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getShippingAddress()
564
   * @see #getSpecialPurchaseOrder()
565
   * @generated
566
   */
567
  EReference getSpecialPurchaseOrder_ShippingAddress();
568
569
  /**
570
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer <em>Task Container</em>}'.
571
   * <!-- begin-user-doc -->
572
   * <!-- end-user-doc -->
573
   * @return the meta object for class '<em>Task Container</em>'.
574
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer
575
   * @generated
576
   */
577
  EClass getTaskContainer();
578
579
  /**
580
   * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer#getTasks <em>Tasks</em>}'.
581
   * <!-- begin-user-doc -->
582
   * <!-- end-user-doc -->
583
   * @return the meta object for the containment reference list '<em>Tasks</em>'.
584
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer#getTasks()
585
   * @see #getTaskContainer()
586
   * @generated
587
   */
588
  EReference getTaskContainer_Tasks();
589
590
  /**
591
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task <em>Task</em>}'.
592
   * <!-- begin-user-doc -->
593
   * <!-- end-user-doc -->
594
   * @return the meta object for class '<em>Task</em>'.
595
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Task
596
   * @generated
597
   */
598
  EClass getTask();
599
600
  /**
601
   * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task#getTaskContainer <em>Task Container</em>}'.
602
   * <!-- begin-user-doc -->
603
   * <!-- end-user-doc -->
604
   * @return the meta object for the container reference '<em>Task Container</em>'.
605
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#getTaskContainer()
606
   * @see #getTask()
607
   * @generated
608
   */
609
  EReference getTask_TaskContainer();
610
611
  /**
612
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task#getDescription <em>Description</em>}'.
613
   * <!-- begin-user-doc -->
614
   * <!-- end-user-doc -->
615
   * @return the meta object for the attribute '<em>Description</em>'.
616
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#getDescription()
617
   * @see #getTask()
618
   * @generated
619
   */
620
  EAttribute getTask_Description();
621
622
  /**
623
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task#isDone <em>Done</em>}'.
624
   * <!-- begin-user-doc -->
625
   * <!-- end-user-doc -->
626
   * @return the meta object for the attribute '<em>Done</em>'.
627
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#isDone()
628
   * @see #getTask()
629
   * @generated
630
   */
631
  EAttribute getTask_Done();
632
633
  /**
634
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1 <em>Unsettable1</em>}'.
635
   * <!-- begin-user-doc -->
636
   * <!-- end-user-doc -->
637
   * @return the meta object for class '<em>Unsettable1</em>'.
638
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1
639
   * @generated
640
   */
641
  EClass getUnsettable1();
642
643
  /**
644
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#isUnsettableBoolean <em>Unsettable Boolean</em>}'.
645
   * <!-- begin-user-doc -->
646
   * <!-- end-user-doc -->
647
   * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
648
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#isUnsettableBoolean()
649
   * @see #getUnsettable1()
650
   * @generated
651
   */
652
  EAttribute getUnsettable1_UnsettableBoolean();
653
654
  /**
655
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableByte <em>Unsettable Byte</em>}'.
656
   * <!-- begin-user-doc -->
657
   * <!-- end-user-doc -->
658
   * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
659
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableByte()
660
   * @see #getUnsettable1()
661
   * @generated
662
   */
663
  EAttribute getUnsettable1_UnsettableByte();
664
665
  /**
666
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableChar <em>Unsettable Char</em>}'.
667
   * <!-- begin-user-doc -->
668
   * <!-- end-user-doc -->
669
   * @return the meta object for the attribute '<em>Unsettable Char</em>'.
670
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableChar()
671
   * @see #getUnsettable1()
672
   * @generated
673
   */
674
  EAttribute getUnsettable1_UnsettableChar();
675
676
  /**
677
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDate <em>Unsettable Date</em>}'.
678
   * <!-- begin-user-doc -->
679
   * <!-- end-user-doc -->
680
   * @return the meta object for the attribute '<em>Unsettable Date</em>'.
681
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDate()
682
   * @see #getUnsettable1()
683
   * @generated
684
   */
685
  EAttribute getUnsettable1_UnsettableDate();
686
687
  /**
688
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDouble <em>Unsettable Double</em>}'.
689
   * <!-- begin-user-doc -->
690
   * <!-- end-user-doc -->
691
   * @return the meta object for the attribute '<em>Unsettable Double</em>'.
692
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDouble()
693
   * @see #getUnsettable1()
694
   * @generated
695
   */
696
  EAttribute getUnsettable1_UnsettableDouble();
697
698
  /**
699
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableFloat <em>Unsettable Float</em>}'.
700
   * <!-- begin-user-doc -->
701
   * <!-- end-user-doc -->
702
   * @return the meta object for the attribute '<em>Unsettable Float</em>'.
703
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableFloat()
704
   * @see #getUnsettable1()
705
   * @generated
706
   */
707
  EAttribute getUnsettable1_UnsettableFloat();
708
709
  /**
710
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableInt <em>Unsettable Int</em>}'.
711
   * <!-- begin-user-doc -->
712
   * <!-- end-user-doc -->
713
   * @return the meta object for the attribute '<em>Unsettable Int</em>'.
714
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableInt()
715
   * @see #getUnsettable1()
716
   * @generated
717
   */
718
  EAttribute getUnsettable1_UnsettableInt();
719
720
  /**
721
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableLong <em>Unsettable Long</em>}'.
722
   * <!-- begin-user-doc -->
723
   * <!-- end-user-doc -->
724
   * @return the meta object for the attribute '<em>Unsettable Long</em>'.
725
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableLong()
726
   * @see #getUnsettable1()
727
   * @generated
728
   */
729
  EAttribute getUnsettable1_UnsettableLong();
730
731
  /**
732
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableShort <em>Unsettable Short</em>}'.
733
   * <!-- begin-user-doc -->
734
   * <!-- end-user-doc -->
735
   * @return the meta object for the attribute '<em>Unsettable Short</em>'.
736
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableShort()
737
   * @see #getUnsettable1()
738
   * @generated
739
   */
740
  EAttribute getUnsettable1_UnsettableShort();
741
742
  /**
743
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableString <em>Unsettable String</em>}'.
744
   * <!-- begin-user-doc -->
745
   * <!-- end-user-doc -->
746
   * @return the meta object for the attribute '<em>Unsettable String</em>'.
747
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableString()
748
   * @see #getUnsettable1()
749
   * @generated
750
   */
751
  EAttribute getUnsettable1_UnsettableString();
752
753
  /**
754
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableVAT <em>Unsettable VAT</em>}'.
755
   * <!-- begin-user-doc -->
756
   * <!-- end-user-doc -->
757
   * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
758
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableVAT()
759
   * @see #getUnsettable1()
760
   * @generated
761
   */
762
  EAttribute getUnsettable1_UnsettableVAT();
763
764
  /**
765
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault <em>Unsettable2 With Default</em>}'.
766
   * <!-- begin-user-doc -->
767
   * <!-- end-user-doc -->
768
   * @return the meta object for class '<em>Unsettable2 With Default</em>'.
769
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault
770
   * @generated
771
   */
772
  EClass getUnsettable2WithDefault();
773
774
  /**
775
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}'.
776
   * <!-- begin-user-doc -->
777
   * <!-- end-user-doc -->
778
   * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
779
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#isUnsettableBoolean()
780
   * @see #getUnsettable2WithDefault()
781
   * @generated
782
   */
783
  EAttribute getUnsettable2WithDefault_UnsettableBoolean();
784
785
  /**
786
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableByte <em>Unsettable Byte</em>}'.
787
   * <!-- begin-user-doc -->
788
   * <!-- end-user-doc -->
789
   * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
790
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableByte()
791
   * @see #getUnsettable2WithDefault()
792
   * @generated
793
   */
794
  EAttribute getUnsettable2WithDefault_UnsettableByte();
795
796
  /**
797
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableChar <em>Unsettable Char</em>}'.
798
   * <!-- begin-user-doc -->
799
   * <!-- end-user-doc -->
800
   * @return the meta object for the attribute '<em>Unsettable Char</em>'.
801
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableChar()
802
   * @see #getUnsettable2WithDefault()
803
   * @generated
804
   */
805
  EAttribute getUnsettable2WithDefault_UnsettableChar();
806
807
  /**
808
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDate <em>Unsettable Date</em>}'.
809
   * <!-- begin-user-doc -->
810
   * <!-- end-user-doc -->
811
   * @return the meta object for the attribute '<em>Unsettable Date</em>'.
812
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDate()
813
   * @see #getUnsettable2WithDefault()
814
   * @generated
815
   */
816
  EAttribute getUnsettable2WithDefault_UnsettableDate();
817
818
  /**
819
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}'.
820
   * <!-- begin-user-doc -->
821
   * <!-- end-user-doc -->
822
   * @return the meta object for the attribute '<em>Unsettable Double</em>'.
823
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDouble()
824
   * @see #getUnsettable2WithDefault()
825
   * @generated
826
   */
827
  EAttribute getUnsettable2WithDefault_UnsettableDouble();
828
829
  /**
830
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}'.
831
   * <!-- begin-user-doc -->
832
   * <!-- end-user-doc -->
833
   * @return the meta object for the attribute '<em>Unsettable Float</em>'.
834
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableFloat()
835
   * @see #getUnsettable2WithDefault()
836
   * @generated
837
   */
838
  EAttribute getUnsettable2WithDefault_UnsettableFloat();
839
840
  /**
841
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableInt <em>Unsettable Int</em>}'.
842
   * <!-- begin-user-doc -->
843
   * <!-- end-user-doc -->
844
   * @return the meta object for the attribute '<em>Unsettable Int</em>'.
845
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableInt()
846
   * @see #getUnsettable2WithDefault()
847
   * @generated
848
   */
849
  EAttribute getUnsettable2WithDefault_UnsettableInt();
850
851
  /**
852
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableLong <em>Unsettable Long</em>}'.
853
   * <!-- begin-user-doc -->
854
   * <!-- end-user-doc -->
855
   * @return the meta object for the attribute '<em>Unsettable Long</em>'.
856
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableLong()
857
   * @see #getUnsettable2WithDefault()
858
   * @generated
859
   */
860
  EAttribute getUnsettable2WithDefault_UnsettableLong();
861
862
  /**
863
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}'.
864
   * <!-- begin-user-doc -->
865
   * <!-- end-user-doc -->
866
   * @return the meta object for the attribute '<em>Unsettable Short</em>'.
867
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableShort()
868
   * @see #getUnsettable2WithDefault()
869
   * @generated
870
   */
871
  EAttribute getUnsettable2WithDefault_UnsettableShort();
872
873
  /**
874
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}'.
875
   * <!-- begin-user-doc -->
876
   * <!-- end-user-doc -->
877
   * @return the meta object for the attribute '<em>Unsettable String</em>'.
878
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableString()
879
   * @see #getUnsettable2WithDefault()
880
   * @generated
881
   */
882
  EAttribute getUnsettable2WithDefault_UnsettableString();
883
884
  /**
885
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableVAT <em>Unsettable VAT</em>}'.
886
   * <!-- begin-user-doc -->
887
   * <!-- end-user-doc -->
888
   * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
889
   * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableVAT()
890
   * @see #getUnsettable2WithDefault()
891
   * @generated
892
   */
893
  EAttribute getUnsettable2WithDefault_UnsettableVAT();
894
895
  /**
896
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment <em>Persistent Containment</em>}'.
897
   * <!-- begin-user-doc -->
898
   * <!-- end-user-doc -->
899
   * @return the meta object for class '<em>Persistent Containment</em>'.
900
   * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment
901
   * @generated
902
   */
903
  EClass getPersistentContainment();
904
905
  /**
906
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrBefore <em>Attr Before</em>}'.
907
   * <!-- begin-user-doc -->
908
   * <!-- end-user-doc -->
909
   * @return the meta object for the attribute '<em>Attr Before</em>'.
910
   * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrBefore()
911
   * @see #getPersistentContainment()
912
   * @generated
913
   */
914
  EAttribute getPersistentContainment_AttrBefore();
915
916
  /**
917
   * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getChildren <em>Children</em>}'.
918
   * <!-- begin-user-doc -->
919
   * <!-- end-user-doc -->
920
   * @return the meta object for the containment reference list '<em>Children</em>'.
921
   * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getChildren()
922
   * @see #getPersistentContainment()
923
   * @generated
924
   */
925
  EReference getPersistentContainment_Children();
926
927
  /**
928
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrAfter <em>Attr After</em>}'.
929
   * <!-- begin-user-doc -->
930
   * <!-- end-user-doc -->
931
   * @return the meta object for the attribute '<em>Attr After</em>'.
932
   * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrAfter()
933
   * @see #getPersistentContainment()
934
   * @generated
935
   */
936
  EAttribute getPersistentContainment_AttrAfter();
937
938
  /**
939
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer <em>Transient Container</em>}'.
940
   * <!-- begin-user-doc -->
941
   * <!-- end-user-doc -->
942
   * @return the meta object for class '<em>Transient Container</em>'.
943
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer
944
   * @generated
945
   */
946
  EClass getTransientContainer();
947
948
  /**
949
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrBefore <em>Attr Before</em>}'.
950
   * <!-- begin-user-doc -->
951
   * <!-- end-user-doc -->
952
   * @return the meta object for the attribute '<em>Attr Before</em>'.
953
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrBefore()
954
   * @see #getTransientContainer()
955
   * @generated
956
   */
957
  EAttribute getTransientContainer_AttrBefore();
958
959
  /**
960
   * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getParent <em>Parent</em>}'.
961
   * <!-- begin-user-doc -->
962
   * <!-- end-user-doc -->
963
   * @return the meta object for the container reference '<em>Parent</em>'.
964
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getParent()
965
   * @see #getTransientContainer()
966
   * @generated
967
   */
968
  EReference getTransientContainer_Parent();
969
970
  /**
971
   * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrAfter <em>Attr After</em>}'.
972
   * <!-- begin-user-doc -->
973
   * <!-- end-user-doc -->
974
   * @return the meta object for the attribute '<em>Attr After</em>'.
975
   * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrAfter()
976
   * @see #getTransientContainer()
977
   * @generated
978
   */
979
  EAttribute getTransientContainer_AttrAfter();
980
981
  /**
982
   * Returns the factory that creates the instances of the model.
983
   * <!-- begin-user-doc -->
984
   * <!-- end-user-doc -->
985
   * @return the factory that creates the instances of the model.
986
   * @generated
987
   */
988
  Model2Factory getModel2Factory();
989
990
  /**
991
   * <!-- begin-user-doc -->
992
   * Defines literals for the meta objects that represent
993
   * <ul>
994
   *   <li>each class,</li>
995
   *   <li>each feature of each class,</li>
996
   *   <li>each enum,</li>
997
   *   <li>and each data type</li>
998
   * </ul>
999
   * <!-- end-user-doc -->
1000
   * @generated
1001
   */
1002
  interface Literals
1003
  {
1004
    /**
1005
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl <em>Special Purchase Order</em>}' class.
1006
     * <!-- begin-user-doc -->
1007
     * <!-- end-user-doc -->
1008
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl
1009
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getSpecialPurchaseOrder()
1010
     * @generated
1011
     */
1012
    EClass SPECIAL_PURCHASE_ORDER = eINSTANCE.getSpecialPurchaseOrder();
1013
1014
    /**
1015
     * The meta object literal for the '<em><b>Discount Code</b></em>' attribute feature.
1016
     * <!-- begin-user-doc -->
1017
     * <!-- end-user-doc -->
1018
     * @generated
1019
     */
1020
    EAttribute SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE = eINSTANCE.getSpecialPurchaseOrder_DiscountCode();
1021
1022
    /**
1023
     * The meta object literal for the '<em><b>Shipping Address</b></em>' containment reference feature.
1024
     * <!-- begin-user-doc -->
1025
     * <!-- end-user-doc -->
1026
     * @generated
1027
     */
1028
    EReference SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS = eINSTANCE.getSpecialPurchaseOrder_ShippingAddress();
1029
1030
    /**
1031
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl <em>Task Container</em>}' class.
1032
     * <!-- begin-user-doc -->
1033
     * <!-- end-user-doc -->
1034
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl
1035
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTaskContainer()
1036
     * @generated
1037
     */
1038
    EClass TASK_CONTAINER = eINSTANCE.getTaskContainer();
1039
1040
    /**
1041
     * The meta object literal for the '<em><b>Tasks</b></em>' containment reference list feature.
1042
     * <!-- begin-user-doc -->
1043
     * <!-- end-user-doc -->
1044
     * @generated
1045
     */
1046
    EReference TASK_CONTAINER__TASKS = eINSTANCE.getTaskContainer_Tasks();
1047
1048
    /**
1049
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl <em>Task</em>}' class.
1050
     * <!-- begin-user-doc -->
1051
     * <!-- end-user-doc -->
1052
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl
1053
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTask()
1054
     * @generated
1055
     */
1056
    EClass TASK = eINSTANCE.getTask();
1057
1058
    /**
1059
     * The meta object literal for the '<em><b>Task Container</b></em>' container reference feature.
1060
     * <!-- begin-user-doc -->
1061
     * <!-- end-user-doc -->
1062
     * @generated
1063
     */
1064
    EReference TASK__TASK_CONTAINER = eINSTANCE.getTask_TaskContainer();
1065
1066
    /**
1067
     * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
1068
     * <!-- begin-user-doc -->
1069
     * <!-- end-user-doc -->
1070
     * @generated
1071
     */
1072
    EAttribute TASK__DESCRIPTION = eINSTANCE.getTask_Description();
1073
1074
    /**
1075
     * The meta object literal for the '<em><b>Done</b></em>' attribute feature.
1076
     * <!-- begin-user-doc -->
1077
     * <!-- end-user-doc -->
1078
     * @generated
1079
     */
1080
    EAttribute TASK__DONE = eINSTANCE.getTask_Done();
1081
1082
    /**
1083
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl <em>Unsettable1</em>}' class.
1084
     * <!-- begin-user-doc -->
1085
     * <!-- end-user-doc -->
1086
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl
1087
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable1()
1088
     * @generated
1089
     */
1090
    EClass UNSETTABLE1 = eINSTANCE.getUnsettable1();
1091
1092
    /**
1093
     * The meta object literal for the '<em><b>Unsettable Boolean</b></em>' attribute feature.
1094
     * <!-- begin-user-doc -->
1095
     * <!-- end-user-doc -->
1096
     * @generated
1097
     */
1098
    EAttribute UNSETTABLE1__UNSETTABLE_BOOLEAN = eINSTANCE.getUnsettable1_UnsettableBoolean();
1099
1100
    /**
1101
     * The meta object literal for the '<em><b>Unsettable Byte</b></em>' attribute feature.
1102
     * <!-- begin-user-doc -->
1103
     * <!-- end-user-doc -->
1104
     * @generated
1105
     */
1106
    EAttribute UNSETTABLE1__UNSETTABLE_BYTE = eINSTANCE.getUnsettable1_UnsettableByte();
1107
1108
    /**
1109
     * The meta object literal for the '<em><b>Unsettable Char</b></em>' attribute feature.
1110
     * <!-- begin-user-doc -->
1111
     * <!-- end-user-doc -->
1112
     * @generated
1113
     */
1114
    EAttribute UNSETTABLE1__UNSETTABLE_CHAR = eINSTANCE.getUnsettable1_UnsettableChar();
1115
1116
    /**
1117
     * The meta object literal for the '<em><b>Unsettable Date</b></em>' attribute feature.
1118
     * <!-- begin-user-doc -->
1119
     * <!-- end-user-doc -->
1120
     * @generated
1121
     */
1122
    EAttribute UNSETTABLE1__UNSETTABLE_DATE = eINSTANCE.getUnsettable1_UnsettableDate();
1123
1124
    /**
1125
     * The meta object literal for the '<em><b>Unsettable Double</b></em>' attribute feature.
1126
     * <!-- begin-user-doc -->
1127
     * <!-- end-user-doc -->
1128
     * @generated
1129
     */
1130
    EAttribute UNSETTABLE1__UNSETTABLE_DOUBLE = eINSTANCE.getUnsettable1_UnsettableDouble();
1131
1132
    /**
1133
     * The meta object literal for the '<em><b>Unsettable Float</b></em>' attribute feature.
1134
     * <!-- begin-user-doc -->
1135
     * <!-- end-user-doc -->
1136
     * @generated
1137
     */
1138
    EAttribute UNSETTABLE1__UNSETTABLE_FLOAT = eINSTANCE.getUnsettable1_UnsettableFloat();
1139
1140
    /**
1141
     * The meta object literal for the '<em><b>Unsettable Int</b></em>' attribute feature.
1142
     * <!-- begin-user-doc -->
1143
     * <!-- end-user-doc -->
1144
     * @generated
1145
     */
1146
    EAttribute UNSETTABLE1__UNSETTABLE_INT = eINSTANCE.getUnsettable1_UnsettableInt();
1147
1148
    /**
1149
     * The meta object literal for the '<em><b>Unsettable Long</b></em>' attribute feature.
1150
     * <!-- begin-user-doc -->
1151
     * <!-- end-user-doc -->
1152
     * @generated
1153
     */
1154
    EAttribute UNSETTABLE1__UNSETTABLE_LONG = eINSTANCE.getUnsettable1_UnsettableLong();
1155
1156
    /**
1157
     * The meta object literal for the '<em><b>Unsettable Short</b></em>' attribute feature.
1158
     * <!-- begin-user-doc -->
1159
     * <!-- end-user-doc -->
1160
     * @generated
1161
     */
1162
    EAttribute UNSETTABLE1__UNSETTABLE_SHORT = eINSTANCE.getUnsettable1_UnsettableShort();
1163
1164
    /**
1165
     * The meta object literal for the '<em><b>Unsettable String</b></em>' attribute feature.
1166
     * <!-- begin-user-doc -->
1167
     * <!-- end-user-doc -->
1168
     * @generated
1169
     */
1170
    EAttribute UNSETTABLE1__UNSETTABLE_STRING = eINSTANCE.getUnsettable1_UnsettableString();
1171
1172
    /**
1173
     * The meta object literal for the '<em><b>Unsettable VAT</b></em>' attribute feature.
1174
     * <!-- begin-user-doc -->
1175
     * <!-- end-user-doc -->
1176
     * @generated
1177
     */
1178
    EAttribute UNSETTABLE1__UNSETTABLE_VAT = eINSTANCE.getUnsettable1_UnsettableVAT();
1179
1180
    /**
1181
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl <em>Unsettable2 With Default</em>}' class.
1182
     * <!-- begin-user-doc -->
1183
     * <!-- end-user-doc -->
1184
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl
1185
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable2WithDefault()
1186
     * @generated
1187
     */
1188
    EClass UNSETTABLE2_WITH_DEFAULT = eINSTANCE.getUnsettable2WithDefault();
1189
1190
    /**
1191
     * The meta object literal for the '<em><b>Unsettable Boolean</b></em>' attribute feature.
1192
     * <!-- begin-user-doc -->
1193
     * <!-- end-user-doc -->
1194
     * @generated
1195
     */
1196
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN = eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean();
1197
1198
    /**
1199
     * The meta object literal for the '<em><b>Unsettable Byte</b></em>' attribute feature.
1200
     * <!-- begin-user-doc -->
1201
     * <!-- end-user-doc -->
1202
     * @generated
1203
     */
1204
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE = eINSTANCE.getUnsettable2WithDefault_UnsettableByte();
1205
1206
    /**
1207
     * The meta object literal for the '<em><b>Unsettable Char</b></em>' attribute feature.
1208
     * <!-- begin-user-doc -->
1209
     * <!-- end-user-doc -->
1210
     * @generated
1211
     */
1212
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR = eINSTANCE.getUnsettable2WithDefault_UnsettableChar();
1213
1214
    /**
1215
     * The meta object literal for the '<em><b>Unsettable Date</b></em>' attribute feature.
1216
     * <!-- begin-user-doc -->
1217
     * <!-- end-user-doc -->
1218
     * @generated
1219
     */
1220
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE = eINSTANCE.getUnsettable2WithDefault_UnsettableDate();
1221
1222
    /**
1223
     * The meta object literal for the '<em><b>Unsettable Double</b></em>' attribute feature.
1224
     * <!-- begin-user-doc -->
1225
     * <!-- end-user-doc -->
1226
     * @generated
1227
     */
1228
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE = eINSTANCE.getUnsettable2WithDefault_UnsettableDouble();
1229
1230
    /**
1231
     * The meta object literal for the '<em><b>Unsettable Float</b></em>' attribute feature.
1232
     * <!-- begin-user-doc -->
1233
     * <!-- end-user-doc -->
1234
     * @generated
1235
     */
1236
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT = eINSTANCE.getUnsettable2WithDefault_UnsettableFloat();
1237
1238
    /**
1239
     * The meta object literal for the '<em><b>Unsettable Int</b></em>' attribute feature.
1240
     * <!-- begin-user-doc -->
1241
     * <!-- end-user-doc -->
1242
     * @generated
1243
     */
1244
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT = eINSTANCE.getUnsettable2WithDefault_UnsettableInt();
1245
1246
    /**
1247
     * The meta object literal for the '<em><b>Unsettable Long</b></em>' attribute feature.
1248
     * <!-- begin-user-doc -->
1249
     * <!-- end-user-doc -->
1250
     * @generated
1251
     */
1252
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG = eINSTANCE.getUnsettable2WithDefault_UnsettableLong();
1253
1254
    /**
1255
     * The meta object literal for the '<em><b>Unsettable Short</b></em>' attribute feature.
1256
     * <!-- begin-user-doc -->
1257
     * <!-- end-user-doc -->
1258
     * @generated
1259
     */
1260
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT = eINSTANCE.getUnsettable2WithDefault_UnsettableShort();
1261
1262
    /**
1263
     * The meta object literal for the '<em><b>Unsettable String</b></em>' attribute feature.
1264
     * <!-- begin-user-doc -->
1265
     * <!-- end-user-doc -->
1266
     * @generated
1267
     */
1268
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING = eINSTANCE.getUnsettable2WithDefault_UnsettableString();
1269
1270
    /**
1271
     * The meta object literal for the '<em><b>Unsettable VAT</b></em>' attribute feature.
1272
     * <!-- begin-user-doc -->
1273
     * <!-- end-user-doc -->
1274
     * @generated
1275
     */
1276
    EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT = eINSTANCE.getUnsettable2WithDefault_UnsettableVAT();
1277
1278
    /**
1279
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl <em>Persistent Containment</em>}' class.
1280
     * <!-- begin-user-doc -->
1281
     * <!-- end-user-doc -->
1282
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl
1283
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getPersistentContainment()
1284
     * @generated
1285
     */
1286
    EClass PERSISTENT_CONTAINMENT = eINSTANCE.getPersistentContainment();
1287
1288
    /**
1289
     * The meta object literal for the '<em><b>Attr Before</b></em>' attribute feature.
1290
     * <!-- begin-user-doc -->
1291
     * <!-- end-user-doc -->
1292
     * @generated
1293
     */
1294
    EAttribute PERSISTENT_CONTAINMENT__ATTR_BEFORE = eINSTANCE.getPersistentContainment_AttrBefore();
1295
1296
    /**
1297
     * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature.
1298
     * <!-- begin-user-doc -->
1299
     * <!-- end-user-doc -->
1300
     * @generated
1301
     */
1302
    EReference PERSISTENT_CONTAINMENT__CHILDREN = eINSTANCE.getPersistentContainment_Children();
1303
1304
    /**
1305
     * The meta object literal for the '<em><b>Attr After</b></em>' attribute feature.
1306
     * <!-- begin-user-doc -->
1307
     * <!-- end-user-doc -->
1308
     * @generated
1309
     */
1310
    EAttribute PERSISTENT_CONTAINMENT__ATTR_AFTER = eINSTANCE.getPersistentContainment_AttrAfter();
1311
1312
    /**
1313
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl <em>Transient Container</em>}' class.
1314
     * <!-- begin-user-doc -->
1315
     * <!-- end-user-doc -->
1316
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl
1317
     * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTransientContainer()
1318
     * @generated
1319
     */
1320
    EClass TRANSIENT_CONTAINER = eINSTANCE.getTransientContainer();
1321
1322
    /**
1323
     * The meta object literal for the '<em><b>Attr Before</b></em>' attribute feature.
1324
     * <!-- begin-user-doc -->
1325
     * <!-- end-user-doc -->
1326
     * @generated
1327
     */
1328
    EAttribute TRANSIENT_CONTAINER__ATTR_BEFORE = eINSTANCE.getTransientContainer_AttrBefore();
1329
1330
    /**
1331
     * The meta object literal for the '<em><b>Parent</b></em>' container reference feature.
1332
     * <!-- begin-user-doc -->
1333
     * <!-- end-user-doc -->
1334
     * @generated
1335
     */
1336
    EReference TRANSIENT_CONTAINER__PARENT = eINSTANCE.getTransientContainer_Parent();
1337
1338
    /**
1339
     * The meta object literal for the '<em><b>Attr After</b></em>' attribute feature.
1340
     * <!-- begin-user-doc -->
1341
     * <!-- end-user-doc -->
1342
     * @generated
1343
     */
1344
    EAttribute TRANSIENT_CONTAINER__ATTR_AFTER = eINSTANCE.getTransientContainer_AttrAfter();
1345
1346
  }
1347
1348
} //Model2Package
(-)src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable2WithDefaultImpl.java (+1206 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
14
15
import org.eclipse.emf.cdo.tests.model1.VAT;
16
import org.eclipse.emf.cdo.tests.model2.Model2Package;
17
import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
18
19
import org.eclipse.emf.common.notify.Notification;
20
import org.eclipse.emf.ecore.EClass;
21
import org.eclipse.emf.ecore.EcoreFactory;
22
import org.eclipse.emf.ecore.EcorePackage;
23
import org.eclipse.emf.ecore.impl.ENotificationImpl;
24
import org.eclipse.emf.ecore.impl.EObjectImpl;
25
26
import java.util.Date;
27
28
/**
29
 * <!-- begin-user-doc -->
30
 * An implementation of the model object '<em><b>Unsettable2 With Default</b></em>'.
31
 * <!-- end-user-doc -->
32
 * <p>
33
 * The following features are implemented:
34
 * <ul>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
36
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableByte <em>Unsettable Byte</em>}</li>
37
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableChar <em>Unsettable Char</em>}</li>
38
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDate <em>Unsettable Date</em>}</li>
39
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDouble <em>Unsettable Double</em>}</li>
40
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableFloat <em>Unsettable Float</em>}</li>
41
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableInt <em>Unsettable Int</em>}</li>
42
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableLong <em>Unsettable Long</em>}</li>
43
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableShort <em>Unsettable Short</em>}</li>
44
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableString <em>Unsettable String</em>}</li>
45
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableVAT <em>Unsettable VAT</em>}</li>
46
 * </ul>
47
 * </p>
48
 *
49
 * @generated
50
 */
51
public class Unsettable2WithDefaultImpl extends EObjectImpl implements Unsettable2WithDefault
52
{
53
  /**
54
   * The default value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute.
55
   * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
57
   * @see #isUnsettableBoolean()
58
   * @generated
59
   * @ordered
60
   */
61
  protected static final boolean UNSETTABLE_BOOLEAN_EDEFAULT = true;
62
63
  /**
64
   * The cached value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute.
65
   * <!-- begin-user-doc -->
66
   * <!-- end-user-doc -->
67
   * @see #isUnsettableBoolean()
68
   * @generated
69
   * @ordered
70
   */
71
  protected boolean unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
72
73
  /**
74
   * This is true if the Unsettable Boolean attribute has been set.
75
   * <!-- begin-user-doc -->
76
   * <!-- end-user-doc -->
77
   * @generated
78
   * @ordered
79
   */
80
  protected boolean unsettableBooleanESet;
81
82
  /**
83
   * The default value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute.
84
   * <!-- begin-user-doc -->
85
   * <!-- end-user-doc -->
86
   * @see #getUnsettableByte()
87
   * @generated
88
   * @ordered
89
   */
90
  protected static final byte UNSETTABLE_BYTE_EDEFAULT = 0x03;
91
92
  /**
93
   * The cached value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute.
94
   * <!-- begin-user-doc -->
95
   * <!-- end-user-doc -->
96
   * @see #getUnsettableByte()
97
   * @generated
98
   * @ordered
99
   */
100
  protected byte unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
101
102
  /**
103
   * This is true if the Unsettable Byte attribute has been set.
104
   * <!-- begin-user-doc -->
105
   * <!-- end-user-doc -->
106
   * @generated
107
   * @ordered
108
   */
109
  protected boolean unsettableByteESet;
110
111
  /**
112
   * The default value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute.
113
   * <!-- begin-user-doc -->
114
   * <!-- end-user-doc -->
115
   * @see #getUnsettableChar()
116
   * @generated
117
   * @ordered
118
   */
119
  protected static final char UNSETTABLE_CHAR_EDEFAULT = '\'';
120
121
  /**
122
   * The cached value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute.
123
   * <!-- begin-user-doc -->
124
   * <!-- end-user-doc -->
125
   * @see #getUnsettableChar()
126
   * @generated
127
   * @ordered
128
   */
129
  protected char unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
130
131
  /**
132
   * This is true if the Unsettable Char attribute has been set.
133
   * <!-- begin-user-doc -->
134
   * <!-- end-user-doc -->
135
   * @generated
136
   * @ordered
137
   */
138
  protected boolean unsettableCharESet;
139
140
  /**
141
   * The default value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute.
142
   * <!-- begin-user-doc -->
143
   * <!-- end-user-doc -->
144
   * @see #getUnsettableDate()
145
   * @generated
146
   * @ordered
147
   */
148
  protected static final Date UNSETTABLE_DATE_EDEFAULT = (Date)EcoreFactory.eINSTANCE.createFromString(
149
      EcorePackage.eINSTANCE.getEDate(), "2009-12-21T15:12:59");
150
151
  /**
152
   * The cached value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute.
153
   * <!-- begin-user-doc -->
154
   * <!-- end-user-doc -->
155
   * @see #getUnsettableDate()
156
   * @generated
157
   * @ordered
158
   */
159
  protected Date unsettableDate = UNSETTABLE_DATE_EDEFAULT;
160
161
  /**
162
   * This is true if the Unsettable Date attribute has been set.
163
   * <!-- begin-user-doc -->
164
   * <!-- end-user-doc -->
165
   * @generated
166
   * @ordered
167
   */
168
  protected boolean unsettableDateESet;
169
170
  /**
171
   * The default value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute.
172
   * <!-- begin-user-doc -->
173
   * <!-- end-user-doc -->
174
   * @see #getUnsettableDouble()
175
   * @generated
176
   * @ordered
177
   */
178
  protected static final double UNSETTABLE_DOUBLE_EDEFAULT = 3.3;
179
180
  /**
181
   * The cached value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute.
182
   * <!-- begin-user-doc -->
183
   * <!-- end-user-doc -->
184
   * @see #getUnsettableDouble()
185
   * @generated
186
   * @ordered
187
   */
188
  protected double unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
189
190
  /**
191
   * This is true if the Unsettable Double attribute has been set.
192
   * <!-- begin-user-doc -->
193
   * <!-- end-user-doc -->
194
   * @generated
195
   * @ordered
196
   */
197
  protected boolean unsettableDoubleESet;
198
199
  /**
200
   * The default value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute.
201
   * <!-- begin-user-doc -->
202
   * <!-- end-user-doc -->
203
   * @see #getUnsettableFloat()
204
   * @generated
205
   * @ordered
206
   */
207
  protected static final float UNSETTABLE_FLOAT_EDEFAULT = 4.4F;
208
209
  /**
210
   * The cached value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute.
211
   * <!-- begin-user-doc -->
212
   * <!-- end-user-doc -->
213
   * @see #getUnsettableFloat()
214
   * @generated
215
   * @ordered
216
   */
217
  protected float unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
218
219
  /**
220
   * This is true if the Unsettable Float attribute has been set.
221
   * <!-- begin-user-doc -->
222
   * <!-- end-user-doc -->
223
   * @generated
224
   * @ordered
225
   */
226
  protected boolean unsettableFloatESet;
227
228
  /**
229
   * The default value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute.
230
   * <!-- begin-user-doc -->
231
   * <!-- end-user-doc -->
232
   * @see #getUnsettableInt()
233
   * @generated
234
   * @ordered
235
   */
236
  protected static final int UNSETTABLE_INT_EDEFAULT = 5;
237
238
  /**
239
   * The cached value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute.
240
   * <!-- begin-user-doc -->
241
   * <!-- end-user-doc -->
242
   * @see #getUnsettableInt()
243
   * @generated
244
   * @ordered
245
   */
246
  protected int unsettableInt = UNSETTABLE_INT_EDEFAULT;
247
248
  /**
249
   * This is true if the Unsettable Int attribute has been set.
250
   * <!-- begin-user-doc -->
251
   * <!-- end-user-doc -->
252
   * @generated
253
   * @ordered
254
   */
255
  protected boolean unsettableIntESet;
256
257
  /**
258
   * The default value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute.
259
   * <!-- begin-user-doc -->
260
   * <!-- end-user-doc -->
261
   * @see #getUnsettableLong()
262
   * @generated
263
   * @ordered
264
   */
265
  protected static final long UNSETTABLE_LONG_EDEFAULT = 6L;
266
267
  /**
268
   * The cached value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute.
269
   * <!-- begin-user-doc -->
270
   * <!-- end-user-doc -->
271
   * @see #getUnsettableLong()
272
   * @generated
273
   * @ordered
274
   */
275
  protected long unsettableLong = UNSETTABLE_LONG_EDEFAULT;
276
277
  /**
278
   * This is true if the Unsettable Long attribute has been set.
279
   * <!-- begin-user-doc -->
280
   * <!-- end-user-doc -->
281
   * @generated
282
   * @ordered
283
   */
284
  protected boolean unsettableLongESet;
285
286
  /**
287
   * The default value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute.
288
   * <!-- begin-user-doc -->
289
   * <!-- end-user-doc -->
290
   * @see #getUnsettableShort()
291
   * @generated
292
   * @ordered
293
   */
294
  protected static final short UNSETTABLE_SHORT_EDEFAULT = 7;
295
296
  /**
297
   * The cached value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute.
298
   * <!-- begin-user-doc -->
299
   * <!-- end-user-doc -->
300
   * @see #getUnsettableShort()
301
   * @generated
302
   * @ordered
303
   */
304
  protected short unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
305
306
  /**
307
   * This is true if the Unsettable Short attribute has been set.
308
   * <!-- begin-user-doc -->
309
   * <!-- end-user-doc -->
310
   * @generated
311
   * @ordered
312
   */
313
  protected boolean unsettableShortESet;
314
315
  /**
316
   * The default value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute.
317
   * <!-- begin-user-doc -->
318
   * <!-- end-user-doc -->
319
   * @see #getUnsettableString()
320
   * @generated
321
   * @ordered
322
   */
323
  protected static final String UNSETTABLE_STRING_EDEFAULT = "\"eike\"";
324
325
  /**
326
   * The cached value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute.
327
   * <!-- begin-user-doc -->
328
   * <!-- end-user-doc -->
329
   * @see #getUnsettableString()
330
   * @generated
331
   * @ordered
332
   */
333
  protected String unsettableString = UNSETTABLE_STRING_EDEFAULT;
334
335
  /**
336
   * This is true if the Unsettable String attribute has been set.
337
   * <!-- begin-user-doc -->
338
   * <!-- end-user-doc -->
339
   * @generated
340
   * @ordered
341
   */
342
  protected boolean unsettableStringESet;
343
344
  /**
345
   * The default value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute.
346
   * <!-- begin-user-doc -->
347
   * <!-- end-user-doc -->
348
   * @see #getUnsettableVAT()
349
   * @generated
350
   * @ordered
351
   */
352
  protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT0;
353
354
  /**
355
   * The cached value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute.
356
   * <!-- begin-user-doc -->
357
   * <!-- end-user-doc -->
358
   * @see #getUnsettableVAT()
359
   * @generated
360
   * @ordered
361
   */
362
  protected VAT unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
363
364
  /**
365
   * This is true if the Unsettable VAT attribute has been set.
366
   * <!-- begin-user-doc -->
367
   * <!-- end-user-doc -->
368
   * @generated
369
   * @ordered
370
   */
371
  protected boolean unsettableVATESet;
372
373
  /**
374
   * <!-- begin-user-doc -->
375
   * <!-- end-user-doc -->
376
   * @generated
377
   */
378
  protected Unsettable2WithDefaultImpl()
379
  {
380
    super();
381
  }
382
383
  /**
384
   * <!-- begin-user-doc -->
385
   * <!-- end-user-doc -->
386
   * @generated
387
   */
388
  @Override
389
  protected EClass eStaticClass()
390
  {
391
    return Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT;
392
  }
393
394
  /**
395
   * <!-- begin-user-doc -->
396
   * <!-- end-user-doc -->
397
   * @generated
398
   */
399
  public boolean isUnsettableBoolean()
400
  {
401
    return unsettableBoolean;
402
  }
403
404
  /**
405
   * <!-- begin-user-doc -->
406
   * <!-- end-user-doc -->
407
   * @generated
408
   */
409
  public void setUnsettableBoolean(boolean newUnsettableBoolean)
410
  {
411
    boolean oldUnsettableBoolean = unsettableBoolean;
412
    unsettableBoolean = newUnsettableBoolean;
413
    boolean oldUnsettableBooleanESet = unsettableBooleanESet;
414
    unsettableBooleanESet = true;
415
    if (eNotificationRequired())
416
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN,
417
          oldUnsettableBoolean, unsettableBoolean, !oldUnsettableBooleanESet));
418
  }
419
420
  /**
421
   * <!-- begin-user-doc -->
422
   * <!-- end-user-doc -->
423
   * @generated
424
   */
425
  public void unsetUnsettableBoolean()
426
  {
427
    boolean oldUnsettableBoolean = unsettableBoolean;
428
    boolean oldUnsettableBooleanESet = unsettableBooleanESet;
429
    unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
430
    unsettableBooleanESet = false;
431
    if (eNotificationRequired())
432
      eNotify(new ENotificationImpl(this, Notification.UNSET,
433
          Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN, oldUnsettableBoolean,
434
          UNSETTABLE_BOOLEAN_EDEFAULT, oldUnsettableBooleanESet));
435
  }
436
437
  /**
438
   * <!-- begin-user-doc -->
439
   * <!-- end-user-doc -->
440
   * @generated
441
   */
442
  public boolean isSetUnsettableBoolean()
443
  {
444
    return unsettableBooleanESet;
445
  }
446
447
  /**
448
   * <!-- begin-user-doc -->
449
   * <!-- end-user-doc -->
450
   * @generated
451
   */
452
  public byte getUnsettableByte()
453
  {
454
    return unsettableByte;
455
  }
456
457
  /**
458
   * <!-- begin-user-doc -->
459
   * <!-- end-user-doc -->
460
   * @generated
461
   */
462
  public void setUnsettableByte(byte newUnsettableByte)
463
  {
464
    byte oldUnsettableByte = unsettableByte;
465
    unsettableByte = newUnsettableByte;
466
    boolean oldUnsettableByteESet = unsettableByteESet;
467
    unsettableByteESet = true;
468
    if (eNotificationRequired())
469
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE,
470
          oldUnsettableByte, unsettableByte, !oldUnsettableByteESet));
471
  }
472
473
  /**
474
   * <!-- begin-user-doc -->
475
   * <!-- end-user-doc -->
476
   * @generated
477
   */
478
  public void unsetUnsettableByte()
479
  {
480
    byte oldUnsettableByte = unsettableByte;
481
    boolean oldUnsettableByteESet = unsettableByteESet;
482
    unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
483
    unsettableByteESet = false;
484
    if (eNotificationRequired())
485
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE,
486
          oldUnsettableByte, UNSETTABLE_BYTE_EDEFAULT, oldUnsettableByteESet));
487
  }
488
489
  /**
490
   * <!-- begin-user-doc -->
491
   * <!-- end-user-doc -->
492
   * @generated
493
   */
494
  public boolean isSetUnsettableByte()
495
  {
496
    return unsettableByteESet;
497
  }
498
499
  /**
500
   * <!-- begin-user-doc -->
501
   * <!-- end-user-doc -->
502
   * @generated
503
   */
504
  public char getUnsettableChar()
505
  {
506
    return unsettableChar;
507
  }
508
509
  /**
510
   * <!-- begin-user-doc -->
511
   * <!-- end-user-doc -->
512
   * @generated
513
   */
514
  public void setUnsettableChar(char newUnsettableChar)
515
  {
516
    char oldUnsettableChar = unsettableChar;
517
    unsettableChar = newUnsettableChar;
518
    boolean oldUnsettableCharESet = unsettableCharESet;
519
    unsettableCharESet = true;
520
    if (eNotificationRequired())
521
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR,
522
          oldUnsettableChar, unsettableChar, !oldUnsettableCharESet));
523
  }
524
525
  /**
526
   * <!-- begin-user-doc -->
527
   * <!-- end-user-doc -->
528
   * @generated
529
   */
530
  public void unsetUnsettableChar()
531
  {
532
    char oldUnsettableChar = unsettableChar;
533
    boolean oldUnsettableCharESet = unsettableCharESet;
534
    unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
535
    unsettableCharESet = false;
536
    if (eNotificationRequired())
537
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR,
538
          oldUnsettableChar, UNSETTABLE_CHAR_EDEFAULT, oldUnsettableCharESet));
539
  }
540
541
  /**
542
   * <!-- begin-user-doc -->
543
   * <!-- end-user-doc -->
544
   * @generated
545
   */
546
  public boolean isSetUnsettableChar()
547
  {
548
    return unsettableCharESet;
549
  }
550
551
  /**
552
   * <!-- begin-user-doc -->
553
   * <!-- end-user-doc -->
554
   * @generated
555
   */
556
  public Date getUnsettableDate()
557
  {
558
    return unsettableDate;
559
  }
560
561
  /**
562
   * <!-- begin-user-doc -->
563
   * <!-- end-user-doc -->
564
   * @generated
565
   */
566
  public void setUnsettableDate(Date newUnsettableDate)
567
  {
568
    Date oldUnsettableDate = unsettableDate;
569
    unsettableDate = newUnsettableDate;
570
    boolean oldUnsettableDateESet = unsettableDateESet;
571
    unsettableDateESet = true;
572
    if (eNotificationRequired())
573
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE,
574
          oldUnsettableDate, unsettableDate, !oldUnsettableDateESet));
575
  }
576
577
  /**
578
   * <!-- begin-user-doc -->
579
   * <!-- end-user-doc -->
580
   * @generated
581
   */
582
  public void unsetUnsettableDate()
583
  {
584
    Date oldUnsettableDate = unsettableDate;
585
    boolean oldUnsettableDateESet = unsettableDateESet;
586
    unsettableDate = UNSETTABLE_DATE_EDEFAULT;
587
    unsettableDateESet = false;
588
    if (eNotificationRequired())
589
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE,
590
          oldUnsettableDate, UNSETTABLE_DATE_EDEFAULT, oldUnsettableDateESet));
591
  }
592
593
  /**
594
   * <!-- begin-user-doc -->
595
   * <!-- end-user-doc -->
596
   * @generated
597
   */
598
  public boolean isSetUnsettableDate()
599
  {
600
    return unsettableDateESet;
601
  }
602
603
  /**
604
   * <!-- begin-user-doc -->
605
   * <!-- end-user-doc -->
606
   * @generated
607
   */
608
  public double getUnsettableDouble()
609
  {
610
    return unsettableDouble;
611
  }
612
613
  /**
614
   * <!-- begin-user-doc -->
615
   * <!-- end-user-doc -->
616
   * @generated
617
   */
618
  public void setUnsettableDouble(double newUnsettableDouble)
619
  {
620
    double oldUnsettableDouble = unsettableDouble;
621
    unsettableDouble = newUnsettableDouble;
622
    boolean oldUnsettableDoubleESet = unsettableDoubleESet;
623
    unsettableDoubleESet = true;
624
    if (eNotificationRequired())
625
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE,
626
          oldUnsettableDouble, unsettableDouble, !oldUnsettableDoubleESet));
627
  }
628
629
  /**
630
   * <!-- begin-user-doc -->
631
   * <!-- end-user-doc -->
632
   * @generated
633
   */
634
  public void unsetUnsettableDouble()
635
  {
636
    double oldUnsettableDouble = unsettableDouble;
637
    boolean oldUnsettableDoubleESet = unsettableDoubleESet;
638
    unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
639
    unsettableDoubleESet = false;
640
    if (eNotificationRequired())
641
      eNotify(new ENotificationImpl(this, Notification.UNSET,
642
          Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE, oldUnsettableDouble, UNSETTABLE_DOUBLE_EDEFAULT,
643
          oldUnsettableDoubleESet));
644
  }
645
646
  /**
647
   * <!-- begin-user-doc -->
648
   * <!-- end-user-doc -->
649
   * @generated
650
   */
651
  public boolean isSetUnsettableDouble()
652
  {
653
    return unsettableDoubleESet;
654
  }
655
656
  /**
657
   * <!-- begin-user-doc -->
658
   * <!-- end-user-doc -->
659
   * @generated
660
   */
661
  public float getUnsettableFloat()
662
  {
663
    return unsettableFloat;
664
  }
665
666
  /**
667
   * <!-- begin-user-doc -->
668
   * <!-- end-user-doc -->
669
   * @generated
670
   */
671
  public void setUnsettableFloat(float newUnsettableFloat)
672
  {
673
    float oldUnsettableFloat = unsettableFloat;
674
    unsettableFloat = newUnsettableFloat;
675
    boolean oldUnsettableFloatESet = unsettableFloatESet;
676
    unsettableFloatESet = true;
677
    if (eNotificationRequired())
678
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT,
679
          oldUnsettableFloat, unsettableFloat, !oldUnsettableFloatESet));
680
  }
681
682
  /**
683
   * <!-- begin-user-doc -->
684
   * <!-- end-user-doc -->
685
   * @generated
686
   */
687
  public void unsetUnsettableFloat()
688
  {
689
    float oldUnsettableFloat = unsettableFloat;
690
    boolean oldUnsettableFloatESet = unsettableFloatESet;
691
    unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
692
    unsettableFloatESet = false;
693
    if (eNotificationRequired())
694
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT,
695
          oldUnsettableFloat, UNSETTABLE_FLOAT_EDEFAULT, oldUnsettableFloatESet));
696
  }
697
698
  /**
699
   * <!-- begin-user-doc -->
700
   * <!-- end-user-doc -->
701
   * @generated
702
   */
703
  public boolean isSetUnsettableFloat()
704
  {
705
    return unsettableFloatESet;
706
  }
707
708
  /**
709
   * <!-- begin-user-doc -->
710
   * <!-- end-user-doc -->
711
   * @generated
712
   */
713
  public int getUnsettableInt()
714
  {
715
    return unsettableInt;
716
  }
717
718
  /**
719
   * <!-- begin-user-doc -->
720
   * <!-- end-user-doc -->
721
   * @generated
722
   */
723
  public void setUnsettableInt(int newUnsettableInt)
724
  {
725
    int oldUnsettableInt = unsettableInt;
726
    unsettableInt = newUnsettableInt;
727
    boolean oldUnsettableIntESet = unsettableIntESet;
728
    unsettableIntESet = true;
729
    if (eNotificationRequired())
730
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT,
731
          oldUnsettableInt, unsettableInt, !oldUnsettableIntESet));
732
  }
733
734
  /**
735
   * <!-- begin-user-doc -->
736
   * <!-- end-user-doc -->
737
   * @generated
738
   */
739
  public void unsetUnsettableInt()
740
  {
741
    int oldUnsettableInt = unsettableInt;
742
    boolean oldUnsettableIntESet = unsettableIntESet;
743
    unsettableInt = UNSETTABLE_INT_EDEFAULT;
744
    unsettableIntESet = false;
745
    if (eNotificationRequired())
746
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT,
747
          oldUnsettableInt, UNSETTABLE_INT_EDEFAULT, oldUnsettableIntESet));
748
  }
749
750
  /**
751
   * <!-- begin-user-doc -->
752
   * <!-- end-user-doc -->
753
   * @generated
754
   */
755
  public boolean isSetUnsettableInt()
756
  {
757
    return unsettableIntESet;
758
  }
759
760
  /**
761
   * <!-- begin-user-doc -->
762
   * <!-- end-user-doc -->
763
   * @generated
764
   */
765
  public long getUnsettableLong()
766
  {
767
    return unsettableLong;
768
  }
769
770
  /**
771
   * <!-- begin-user-doc -->
772
   * <!-- end-user-doc -->
773
   * @generated
774
   */
775
  public void setUnsettableLong(long newUnsettableLong)
776
  {
777
    long oldUnsettableLong = unsettableLong;
778
    unsettableLong = newUnsettableLong;
779
    boolean oldUnsettableLongESet = unsettableLongESet;
780
    unsettableLongESet = true;
781
    if (eNotificationRequired())
782
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG,
783
          oldUnsettableLong, unsettableLong, !oldUnsettableLongESet));
784
  }
785
786
  /**
787
   * <!-- begin-user-doc -->
788
   * <!-- end-user-doc -->
789
   * @generated
790
   */
791
  public void unsetUnsettableLong()
792
  {
793
    long oldUnsettableLong = unsettableLong;
794
    boolean oldUnsettableLongESet = unsettableLongESet;
795
    unsettableLong = UNSETTABLE_LONG_EDEFAULT;
796
    unsettableLongESet = false;
797
    if (eNotificationRequired())
798
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG,
799
          oldUnsettableLong, UNSETTABLE_LONG_EDEFAULT, oldUnsettableLongESet));
800
  }
801
802
  /**
803
   * <!-- begin-user-doc -->
804
   * <!-- end-user-doc -->
805
   * @generated
806
   */
807
  public boolean isSetUnsettableLong()
808
  {
809
    return unsettableLongESet;
810
  }
811
812
  /**
813
   * <!-- begin-user-doc -->
814
   * <!-- end-user-doc -->
815
   * @generated
816
   */
817
  public short getUnsettableShort()
818
  {
819
    return unsettableShort;
820
  }
821
822
  /**
823
   * <!-- begin-user-doc -->
824
   * <!-- end-user-doc -->
825
   * @generated
826
   */
827
  public void setUnsettableShort(short newUnsettableShort)
828
  {
829
    short oldUnsettableShort = unsettableShort;
830
    unsettableShort = newUnsettableShort;
831
    boolean oldUnsettableShortESet = unsettableShortESet;
832
    unsettableShortESet = true;
833
    if (eNotificationRequired())
834
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT,
835
          oldUnsettableShort, unsettableShort, !oldUnsettableShortESet));
836
  }
837
838
  /**
839
   * <!-- begin-user-doc -->
840
   * <!-- end-user-doc -->
841
   * @generated
842
   */
843
  public void unsetUnsettableShort()
844
  {
845
    short oldUnsettableShort = unsettableShort;
846
    boolean oldUnsettableShortESet = unsettableShortESet;
847
    unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
848
    unsettableShortESet = false;
849
    if (eNotificationRequired())
850
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT,
851
          oldUnsettableShort, UNSETTABLE_SHORT_EDEFAULT, oldUnsettableShortESet));
852
  }
853
854
  /**
855
   * <!-- begin-user-doc -->
856
   * <!-- end-user-doc -->
857
   * @generated
858
   */
859
  public boolean isSetUnsettableShort()
860
  {
861
    return unsettableShortESet;
862
  }
863
864
  /**
865
   * <!-- begin-user-doc -->
866
   * <!-- end-user-doc -->
867
   * @generated
868
   */
869
  public String getUnsettableString()
870
  {
871
    return unsettableString;
872
  }
873
874
  /**
875
   * <!-- begin-user-doc -->
876
   * <!-- end-user-doc -->
877
   * @generated
878
   */
879
  public void setUnsettableString(String newUnsettableString)
880
  {
881
    String oldUnsettableString = unsettableString;
882
    unsettableString = newUnsettableString;
883
    boolean oldUnsettableStringESet = unsettableStringESet;
884
    unsettableStringESet = true;
885
    if (eNotificationRequired())
886
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING,
887
          oldUnsettableString, unsettableString, !oldUnsettableStringESet));
888
  }
889
890
  /**
891
   * <!-- begin-user-doc -->
892
   * <!-- end-user-doc -->
893
   * @generated
894
   */
895
  public void unsetUnsettableString()
896
  {
897
    String oldUnsettableString = unsettableString;
898
    boolean oldUnsettableStringESet = unsettableStringESet;
899
    unsettableString = UNSETTABLE_STRING_EDEFAULT;
900
    unsettableStringESet = false;
901
    if (eNotificationRequired())
902
      eNotify(new ENotificationImpl(this, Notification.UNSET,
903
          Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING, oldUnsettableString, UNSETTABLE_STRING_EDEFAULT,
904
          oldUnsettableStringESet));
905
  }
906
907
  /**
908
   * <!-- begin-user-doc -->
909
   * <!-- end-user-doc -->
910
   * @generated
911
   */
912
  public boolean isSetUnsettableString()
913
  {
914
    return unsettableStringESet;
915
  }
916
917
  /**
918
   * <!-- begin-user-doc -->
919
   * <!-- end-user-doc -->
920
   * @generated
921
   */
922
  public VAT getUnsettableVAT()
923
  {
924
    return unsettableVAT;
925
  }
926
927
  /**
928
   * <!-- begin-user-doc -->
929
   * <!-- end-user-doc -->
930
   * @generated
931
   */
932
  public void setUnsettableVAT(VAT newUnsettableVAT)
933
  {
934
    VAT oldUnsettableVAT = unsettableVAT;
935
    unsettableVAT = newUnsettableVAT == null ? UNSETTABLE_VAT_EDEFAULT : newUnsettableVAT;
936
    boolean oldUnsettableVATESet = unsettableVATESet;
937
    unsettableVATESet = true;
938
    if (eNotificationRequired())
939
      eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT,
940
          oldUnsettableVAT, unsettableVAT, !oldUnsettableVATESet));
941
  }
942
943
  /**
944
   * <!-- begin-user-doc -->
945
   * <!-- end-user-doc -->
946
   * @generated
947
   */
948
  public void unsetUnsettableVAT()
949
  {
950
    VAT oldUnsettableVAT = unsettableVAT;
951
    boolean oldUnsettableVATESet = unsettableVATESet;
952
    unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
953
    unsettableVATESet = false;
954
    if (eNotificationRequired())
955
      eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT,
956
          oldUnsettableVAT, UNSETTABLE_VAT_EDEFAULT, oldUnsettableVATESet));
957
  }
958
959
  /**
960
   * <!-- begin-user-doc -->
961
   * <!-- end-user-doc -->
962
   * @generated
963
   */
964
  public boolean isSetUnsettableVAT()
965
  {
966
    return unsettableVATESet;
967
  }
968
969
  /**
970
   * <!-- begin-user-doc -->
971
   * <!-- end-user-doc -->
972
   * @generated
973
   */
974
  @Override
975
  public Object eGet(int featureID, boolean resolve, boolean coreType)
976
  {
977
    switch (featureID)
978
    {
979
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
980
      return isUnsettableBoolean();
981
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
982
      return getUnsettableByte();
983
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
984
      return getUnsettableChar();
985
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
986
      return getUnsettableDate();
987
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
988
      return getUnsettableDouble();
989
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
990
      return getUnsettableFloat();
991
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
992
      return getUnsettableInt();
993
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
994
      return getUnsettableLong();
995
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
996
      return getUnsettableShort();
997
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
998
      return getUnsettableString();
999
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
1000
      return getUnsettableVAT();
1001
    }
1002
    return super.eGet(featureID, resolve, coreType);
1003
  }
1004
1005
  /**
1006
   * <!-- begin-user-doc -->
1007
   * <!-- end-user-doc -->
1008
   * @generated
1009
   */
1010
  @Override
1011
  public void eSet(int featureID, Object newValue)
1012
  {
1013
    switch (featureID)
1014
    {
1015
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
1016
      setUnsettableBoolean((Boolean)newValue);
1017
      return;
1018
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
1019
      setUnsettableByte((Byte)newValue);
1020
      return;
1021
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
1022
      setUnsettableChar((Character)newValue);
1023
      return;
1024
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
1025
      setUnsettableDate((Date)newValue);
1026
      return;
1027
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
1028
      setUnsettableDouble((Double)newValue);
1029
      return;
1030
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
1031
      setUnsettableFloat((Float)newValue);
1032
      return;
1033
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
1034
      setUnsettableInt((Integer)newValue);
1035
      return;
1036
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
1037
      setUnsettableLong((Long)newValue);
1038
      return;
1039
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
1040
      setUnsettableShort((Short)newValue);
1041
      return;
1042
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
1043
      setUnsettableString((String)newValue);
1044
      return;
1045
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
1046
      setUnsettableVAT((VAT)newValue);
1047
      return;
1048
    }
1049
    super.eSet(featureID, newValue);
1050
  }
1051
1052
  /**
1053
   * <!-- begin-user-doc -->
1054
   * <!-- end-user-doc -->
1055
   * @generated
1056
   */
1057
  @Override
1058
  public void eUnset(int featureID)
1059
  {
1060
    switch (featureID)
1061
    {
1062
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
1063
      unsetUnsettableBoolean();
1064
      return;
1065
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
1066
      unsetUnsettableByte();
1067
      return;
1068
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
1069
      unsetUnsettableChar();
1070
      return;
1071
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
1072
      unsetUnsettableDate();
1073
      return;
1074
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
1075
      unsetUnsettableDouble();
1076
      return;
1077
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
1078
      unsetUnsettableFloat();
1079
      return;
1080
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
1081
      unsetUnsettableInt();
1082
      return;
1083
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
1084
      unsetUnsettableLong();
1085
      return;
1086
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
1087
      unsetUnsettableShort();
1088
      return;
1089
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
1090
      unsetUnsettableString();
1091
      return;
1092
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
1093
      unsetUnsettableVAT();
1094
      return;
1095
    }
1096
    super.eUnset(featureID);
1097
  }
1098
1099
  /**
1100
   * <!-- begin-user-doc -->
1101
   * <!-- end-user-doc -->
1102
   * @generated
1103
   */
1104
  @Override
1105
  public boolean eIsSet(int featureID)
1106
  {
1107
    switch (featureID)
1108
    {
1109
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
1110
      return isSetUnsettableBoolean();
1111
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
1112
      return isSetUnsettableByte();
1113
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
1114
      return isSetUnsettableChar();
1115
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
1116
      return isSetUnsettableDate();
1117
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
1118
      return isSetUnsettableDouble();
1119
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
1120
      return isSetUnsettableFloat();
1121
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
1122
      return isSetUnsettableInt();
1123
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
1124
      return isSetUnsettableLong();
1125
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
1126
      return isSetUnsettableShort();
1127
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
1128
      return isSetUnsettableString();
1129
    case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
1130
      return isSetUnsettableVAT();
1131
    }
1132
    return super.eIsSet(featureID);
1133
  }
1134
1135
  /**
1136
   * <!-- begin-user-doc -->
1137
   * <!-- end-user-doc -->
1138
   * @generated
1139
   */
1140
  @Override
1141
  public String toString()
1142
  {
1143
    if (eIsProxy())
1144
      return super.toString();
1145
1146
    StringBuffer result = new StringBuffer(super.toString());
1147
    result.append(" (unsettableBoolean: ");
1148
    if (unsettableBooleanESet)
1149
      result.append(unsettableBoolean);
1150
    else
1151
      result.append("<unset>");
1152
    result.append(", unsettableByte: ");
1153
    if (unsettableByteESet)
1154
      result.append(unsettableByte);
1155
    else
1156
      result.append("<unset>");
1157
    result.append(", unsettableChar: ");
1158
    if (unsettableCharESet)
1159
      result.append(unsettableChar);
1160
    else
1161
      result.append("<unset>");
1162
    result.append(", unsettableDate: ");
1163
    if (unsettableDateESet)
1164
      result.append(unsettableDate);
1165
    else
1166
      result.append("<unset>");
1167
    result.append(", unsettableDouble: ");
1168
    if (unsettableDoubleESet)
1169
      result.append(unsettableDouble);
1170
    else
1171
      result.append("<unset>");
1172
    result.append(", unsettableFloat: ");
1173
    if (unsettableFloatESet)
1174
      result.append(unsettableFloat);
1175
    else
1176
      result.append("<unset>");
1177
    result.append(", unsettableInt: ");
1178
    if (unsettableIntESet)
1179
      result.append(unsettableInt);
1180
    else
1181
      result.append("<unset>");
1182
    result.append(", unsettableLong: ");
1183
    if (unsettableLongESet)
1184
      result.append(unsettableLong);
1185
    else
1186
      result.append("<unset>");
1187
    result.append(", unsettableShort: ");
1188
    if (unsettableShortESet)
1189
      result.append(unsettableShort);
1190
    else
1191
      result.append("<unset>");
1192
    result.append(", unsettableString: ");
1193
    if (unsettableStringESet)
1194
      result.append(unsettableString);
1195
    else
1196
      result.append("<unset>");
1197
    result.append(", unsettableVAT: ");
1198
    if (unsettableVATESet)
1199
      result.append(unsettableVAT);
1200
    else
1201
      result.append("<unset>");
1202
    result.append(')');
1203
    return result.toString();
1204
  }
1205
1206
} //Unsettable2WithDefaultImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/SubpackageFactory.java (-9 / +9 lines)
Lines 12-46 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage;
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage;
14
14
15
import org.eclipse.emf.ecore.EFactory;
15
import org.eclipse.emf.cdo.tests.model3.subpackage.Class2;
16
16
17
17
/**
18
/**
18
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
19
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
19
 * the model. <!-- end-user-doc -->
20
 * the model. <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage
21
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage
22
 * @generated
22
 * @generated
23
 */
23
 */
24
public interface SubpackageFactory extends EFactory
24
public interface SubpackageFactory extends org.eclipse.emf.cdo.tests.model3.subpackage.SubpackageFactory
25
{
25
{
26
  /**
26
  /**
27
   * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
27
   * The singleton instance of the factory.
28
   * 
28
   * <!-- begin-user-doc --> <!-- end-user-doc -->
29
   * @generated
29
   * @generated
30
   */
30
   */
31
  SubpackageFactory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackageFactoryImpl.init();
31
  SubpackageFactory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackageFactoryImpl.init();
32
32
33
  /**
33
  /**
34
   * Returns a new object of class '<em>Class2</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
34
   * Returns a new object of class '<em>Class2</em>'.
35
   * 
35
   * <!-- begin-user-doc --> <!-- end-user-doc -->
36
   * @return a new object of class '<em>Class2</em>'.
36
   * @return a new object of class '<em>Class2</em>'.
37
   * @generated
37
   * @generated
38
   */
38
   */
39
  Class2 createClass2();
39
  Class2 createClass2();
40
40
41
  /**
41
  /**
42
   * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
42
   * Returns the package supported by this factory.
43
   * 
43
   * <!-- begin-user-doc --> <!-- end-user-doc -->
44
   * @return the package supported by this factory.
44
   * @return the package supported by this factory.
45
   * @generated
45
   * @generated
46
   */
46
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/Class2.java (-53 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: Class2.java,v 1.2 2009/08/22 09:33:57 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage;
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Class1;
16
17
import org.eclipse.emf.common.util.EList;
18
import org.eclipse.emf.ecore.EObject;
19
20
/**
21
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Class2</b></em>'. <!-- end-user-doc -->
22
 * <p>
23
 * The following features are supported:
24
 * <ul>
25
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2#getClass1 <em>Class1</em>}</li>
26
 * </ul>
27
 * </p>
28
 * 
29
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage#getClass2()
30
 * @model
31
 * @generated
32
 */
33
public interface Class2 extends EObject
34
{
35
  /**
36
   * Returns the value of the '<em><b>Class1</b></em>' reference list. The list contents are of type
37
   * {@link org.eclipse.emf.cdo.tests.legacy.model3.Class1}. It is bidirectional and its opposite is '
38
   * {@link org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2 <em>Class2</em>}'. <!-- begin-user-doc -->
39
   * <p>
40
   * If the meaning of the '<em>Class1</em>' reference list isn't clear, there really should be more of a description
41
   * here...
42
   * </p>
43
   * <!-- end-user-doc -->
44
   * 
45
   * @return the value of the '<em>Class1</em>' reference list.
46
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage#getClass2_Class1()
47
   * @see org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2
48
   * @model opposite="class2"
49
   * @generated
50
   */
51
  EList<Class1> getClass1();
52
53
} // Class2
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/SubpackagePackage.java (-34 / +27 lines)
Lines 13-19 Link Here
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage;
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage;
14
14
15
import org.eclipse.emf.ecore.EClass;
15
import org.eclipse.emf.ecore.EClass;
16
import org.eclipse.emf.ecore.EPackage;
17
import org.eclipse.emf.ecore.EReference;
16
import org.eclipse.emf.ecore.EReference;
18
17
19
/**
18
/**
Lines 25-69 Link Here
25
 * <li>and each data type</li>
24
 * <li>and each data type</li>
26
 * </ul>
25
 * </ul>
27
 * <!-- end-user-doc -->
26
 * <!-- end-user-doc -->
28
 * 
29
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory
27
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory
30
 * @model kind="package"
28
 * @model kind="package"
31
 * @generated
29
 * @generated
32
 */
30
 */
33
public interface SubpackagePackage extends EPackage
31
public interface SubpackagePackage extends org.eclipse.emf.cdo.tests.model3.subpackage.SubpackagePackage
34
{
32
{
35
  /**
33
  /**
36
   * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
34
   * The package name.
37
   * 
35
   * <!-- begin-user-doc --> <!-- end-user-doc -->
38
   * @generated
36
   * @generated
39
   */
37
   */
40
  String eNAME = "subpackage";
38
  String eNAME = "subpackage";
41
39
42
  /**
40
  /**
43
   * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
41
   * The package namespace URI.
44
   * 
42
   * <!-- begin-user-doc --> <!-- end-user-doc -->
45
   * @generated
43
   * @generated NOT
46
   */
44
   */
47
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/subpackage/1.0.0";
45
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/subpackage/1.0.0";
48
46
49
  /**
47
  /**
50
   * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
48
   * The package namespace name.
51
   * 
49
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * @generated
50
   * @generated
53
   */
51
   */
54
  String eNS_PREFIX = "subpackage";
52
  String eNS_PREFIX = "subpackage";
55
53
56
  /**
54
  /**
57
   * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * The singleton instance of the package.
58
   * 
56
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * @generated
57
   * @generated
60
   */
58
   */
61
  SubpackagePackage eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl.init();
59
  SubpackagePackage eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl.init();
62
60
63
  /**
61
  /**
64
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl
62
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl <em>Class2</em>}' class.
65
   * <em>Class2</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * 
67
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl
64
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl
68
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl#getClass2()
65
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl#getClass2()
69
   * @generated
66
   * @generated
Lines 71-95 Link Here
71
  int CLASS2 = 0;
68
  int CLASS2 = 0;
72
69
73
  /**
70
  /**
74
   * The feature id for the '<em><b>Class1</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * The feature id for the '<em><b>Class1</b></em>' reference list.
75
   * 
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * @generated
73
   * @generated
77
   * @ordered
74
   * @ordered
78
   */
75
   */
79
  int CLASS2__CLASS1 = 0;
76
  int CLASS2__CLASS1 = 0;
80
77
81
  /**
78
  /**
82
   * The number of structural features of the '<em>Class2</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * The number of structural features of the '<em>Class2</em>' class.
83
   * 
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * @generated
81
   * @generated
85
   * @ordered
82
   * @ordered
86
   */
83
   */
87
  int CLASS2_FEATURE_COUNT = 1;
84
  int CLASS2_FEATURE_COUNT = 1;
88
85
89
  /**
86
  /**
90
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2
87
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2 <em>Class2</em>}'.
91
   * <em>Class2</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
92
   * 
93
   * @return the meta object for class '<em>Class2</em>'.
89
   * @return the meta object for class '<em>Class2</em>'.
94
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2
90
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2
95
   * @generated
91
   * @generated
Lines 97-106 Link Here
97
  EClass getClass2();
93
  EClass getClass2();
98
94
99
  /**
95
  /**
100
   * Returns the meta object for the reference list '
96
   * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2#getClass1 <em>Class1</em>}'.
101
   * {@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2#getClass1 <em>Class1</em>}'. <!-- begin-user-doc
97
   * <!-- begin-user-doc
102
   * --> <!-- end-user-doc -->
98
   * --> <!-- end-user-doc -->
103
   * 
104
   * @return the meta object for the reference list '<em>Class1</em>'.
99
   * @return the meta object for the reference list '<em>Class1</em>'.
105
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2#getClass1()
100
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2#getClass1()
106
   * @see #getClass2()
101
   * @see #getClass2()
Lines 109-116 Link Here
109
  EReference getClass2_Class1();
104
  EReference getClass2_Class1();
110
105
111
  /**
106
  /**
112
   * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
107
   * Returns the factory that creates the instances of the model.
113
   * 
108
   * <!-- begin-user-doc --> <!-- end-user-doc -->
114
   * @return the factory that creates the instances of the model.
109
   * @return the factory that creates the instances of the model.
115
   * @generated
110
   * @generated
116
   */
111
   */
Lines 125-139 Link Here
125
   * <li>and each data type</li>
120
   * <li>and each data type</li>
126
   * </ul>
121
   * </ul>
127
   * <!-- end-user-doc -->
122
   * <!-- end-user-doc -->
128
   * 
129
   * @generated
123
   * @generated
130
   */
124
   */
131
  interface Literals
125
  interface Literals
132
  {
126
  {
133
    /**
127
    /**
134
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl
128
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl <em>Class2</em>}' class.
135
     * <em>Class2</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
129
     * <!-- begin-user-doc --> <!-- end-user-doc -->
136
     * 
137
     * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl
130
     * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl
138
     * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl#getClass2()
131
     * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl#getClass2()
139
     * @generated
132
     * @generated
Lines 141-149 Link Here
141
    EClass CLASS2 = eINSTANCE.getClass2();
134
    EClass CLASS2 = eINSTANCE.getClass2();
142
135
143
    /**
136
    /**
144
     * The meta object literal for the '<em><b>Class1</b></em>' reference list feature. <!-- begin-user-doc --> <!--
137
     * The meta object literal for the '<em><b>Class1</b></em>' reference list feature.
138
     * <!-- begin-user-doc --> <!--
145
     * end-user-doc -->
139
     * end-user-doc -->
146
     * 
147
     * @generated
140
     * @generated
148
     */
141
     */
149
    EReference CLASS2__CLASS1 = eINSTANCE.getClass2_Class1();
142
    EReference CLASS2__CLASS1 = eINSTANCE.getClass2_Class1();
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/Class1.java (-77 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: Class1.java,v 1.2 2009/08/22 09:33:56 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3;
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2;
16
17
import org.eclipse.emf.common.util.EList;
18
import org.eclipse.emf.ecore.EObject;
19
20
/**
21
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Class1</b></em>'. <!-- end-user-doc -->
22
 * <p>
23
 * The following features are supported:
24
 * <ul>
25
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2 <em>Class2</em>}</li>
26
 * </ul>
27
 * </p>
28
 * 
29
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package#getClass1()
30
 * @model
31
 * @generated
32
 */
33
public interface Class1 extends EObject
34
{
35
  /**
36
   * Returns the value of the '<em><b>Class2</b></em>' reference list. The list contents are of type
37
   * {@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2}. It is bidirectional and its opposite is '
38
   * {@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2#getClass1 <em>Class1</em>}'. <!-- begin-user-doc
39
   * -->
40
   * <p>
41
   * If the meaning of the '<em>Class2</em>' reference list isn't clear, there really should be more of a description
42
   * here...
43
   * </p>
44
   * <!-- end-user-doc -->
45
   * 
46
   * @return the value of the '<em>Class2</em>' reference list.
47
   * @see #isSetClass2()
48
   * @see #unsetClass2()
49
   * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package#getClass1_Class2()
50
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2#getClass1
51
   * @model opposite="class1" unsettable="true"
52
   * @generated
53
   */
54
  EList<Class2> getClass2();
55
56
  /**
57
   * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2 <em>Class2</em>}'
58
   * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * 
60
   * @see #isSetClass2()
61
   * @see #getClass2()
62
   * @generated
63
   */
64
  void unsetClass2();
65
66
  /**
67
   * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2 <em>Class2</em>}'
68
   * reference list is set. <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * 
70
   * @return whether the value of the '<em>Class2</em>' reference list is set.
71
   * @see #unsetClass2()
72
   * @see #getClass2()
73
   * @generated
74
   */
75
  boolean isSetClass2();
76
77
} // Class1
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/MetaRef.java (-60 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: MetaRef.java,v 1.2 2009/08/22 09:33:56 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3;
14
15
import org.eclipse.emf.ecore.EObject;
16
import org.eclipse.emf.ecore.EPackage;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>Meta Ref</b></em>'. <!-- end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.MetaRef#getEPackageRef <em>EPackage Ref</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package#getMetaRef()
28
 * @model
29
 * @generated
30
 */
31
public interface MetaRef extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>EPackage Ref</b></em>' reference. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>EPackage Ref</em>' reference isn't clear, there really should be more of a description
37
   * here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>EPackage Ref</em>' reference.
42
   * @see #setEPackageRef(EPackage)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package#getMetaRef_EPackageRef()
44
   * @model
45
   * @generated
46
   */
47
  EPackage getEPackageRef();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model3.MetaRef#getEPackageRef <em>EPackage Ref</em>}
51
   * ' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>EPackage Ref</em>' reference.
55
   * @see #getEPackageRef()
56
   * @generated
57
   */
58
  void setEPackageRef(EPackage value);
59
60
} // MetaRef
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/Model3Factory.java (-11 / +11 lines)
Lines 12-54 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3;
13
package org.eclipse.emf.cdo.tests.legacy.model3;
14
14
15
import org.eclipse.emf.ecore.EFactory;
15
import org.eclipse.emf.cdo.tests.model3.Class1;
16
import org.eclipse.emf.cdo.tests.model3.MetaRef;
16
17
17
/**
18
/**
18
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
19
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
19
 * the model. <!-- end-user-doc -->
20
 * the model. <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package
21
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package
22
 * @generated
22
 * @generated
23
 */
23
 */
24
public interface Model3Factory extends EFactory
24
public interface Model3Factory extends org.eclipse.emf.cdo.tests.model3.Model3Factory
25
{
25
{
26
  /**
26
  /**
27
   * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
27
   * The singleton instance of the factory.
28
   * 
28
   * <!-- begin-user-doc --> <!-- end-user-doc -->
29
   * @generated
29
   * @generated
30
   */
30
   */
31
  Model3Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3FactoryImpl.init();
31
  Model3Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3FactoryImpl.init();
32
32
33
  /**
33
  /**
34
   * Returns a new object of class '<em>Class1</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
34
   * Returns a new object of class '<em>Class1</em>'.
35
   * 
35
   * <!-- begin-user-doc --> <!-- end-user-doc -->
36
   * @return a new object of class '<em>Class1</em>'.
36
   * @return a new object of class '<em>Class1</em>'.
37
   * @generated
37
   * @generated
38
   */
38
   */
39
  Class1 createClass1();
39
  Class1 createClass1();
40
40
41
  /**
41
  /**
42
   * Returns a new object of class '<em>Meta Ref</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
42
   * Returns a new object of class '<em>Meta Ref</em>'.
43
   * 
43
   * <!-- begin-user-doc --> <!-- end-user-doc -->
44
   * @return a new object of class '<em>Meta Ref</em>'.
44
   * @return a new object of class '<em>Meta Ref</em>'.
45
   * @generated
45
   * @generated
46
   */
46
   */
47
  MetaRef createMetaRef();
47
  MetaRef createMetaRef();
48
48
49
  /**
49
  /**
50
   * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * Returns the package supported by this factory.
51
   * 
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * @return the package supported by this factory.
52
   * @return the package supported by this factory.
53
   * @generated
53
   * @generated
54
   */
54
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/Model3Package.java (-44 / +35 lines)
Lines 13-19 Link Here
13
package org.eclipse.emf.cdo.tests.legacy.model3;
13
package org.eclipse.emf.cdo.tests.legacy.model3;
14
14
15
import org.eclipse.emf.ecore.EClass;
15
import org.eclipse.emf.ecore.EClass;
16
import org.eclipse.emf.ecore.EPackage;
17
import org.eclipse.emf.ecore.EReference;
16
import org.eclipse.emf.ecore.EReference;
18
17
19
/**
18
/**
Lines 25-61 Link Here
25
 * <li>and each data type</li>
24
 * <li>and each data type</li>
26
 * </ul>
25
 * </ul>
27
 * <!-- end-user-doc -->
26
 * <!-- end-user-doc -->
28
 * 
29
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory
27
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory
30
 * @model kind="package"
28
 * @model kind="package"
31
 * @generated
29
 * @generated
32
 */
30
 */
33
public interface Model3Package extends EPackage
31
public interface Model3Package extends  org.eclipse.emf.cdo.tests.model3.Model3Package
34
{
32
{
35
  /**
33
  /**
36
   * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
34
   * The package name.
37
   * 
35
   * <!-- begin-user-doc --> <!-- end-user-doc -->
38
   * @generated
36
   * @generated
39
   */
37
   */
40
  String eNAME = "model3";
38
  String eNAME = "model3";
41
39
42
  /**
40
  /**
43
   * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
41
   * The package namespace URI.
44
   * 
42
   * <!-- begin-user-doc --> <!-- end-user-doc -->
45
   * @generated
43
   * @generated NOT
46
   */
44
   */
47
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model3/1.0.0";
45
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model3/1.0.0";
48
46
49
  /**
47
  /**
50
   * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
48
   * The package namespace name.
51
   * 
49
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * @generated
50
   * @generated
53
   */
51
   */
54
  String eNS_PREFIX = "model3";
52
  String eNS_PREFIX = "model3";
55
53
56
  /**
54
  /**
57
   * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * The singleton instance of the package.
58
   * 
56
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * @generated
57
   * @generated
60
   */
58
   */
61
  Model3Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl.init();
59
  Model3Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl.init();
Lines 63-69 Link Here
63
  /**
61
  /**
64
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl <em>Class1</em>}' class.
62
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl <em>Class1</em>}' class.
65
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * 
67
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl
64
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl
68
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getClass1()
65
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getClass1()
69
   * @generated
66
   * @generated
Lines 71-95 Link Here
71
  int CLASS1 = 0;
68
  int CLASS1 = 0;
72
69
73
  /**
70
  /**
74
   * The feature id for the '<em><b>Class2</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * The feature id for the '<em><b>Class2</b></em>' reference list.
75
   * 
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * @generated
73
   * @generated
77
   * @ordered
74
   * @ordered
78
   */
75
   */
79
  int CLASS1__CLASS2 = 0;
76
  int CLASS1__CLASS2 = 0;
80
77
81
  /**
78
  /**
82
   * The number of structural features of the '<em>Class1</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * The number of structural features of the '<em>Class1</em>' class.
83
   * 
80
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * @generated
81
   * @generated
85
   * @ordered
82
   * @ordered
86
   */
83
   */
87
  int CLASS1_FEATURE_COUNT = 1;
84
  int CLASS1_FEATURE_COUNT = 1;
88
85
89
  /**
86
  /**
90
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl <em>Meta Ref</em>}'
87
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl <em>Meta Ref</em>}' class.
91
   * class. <!-- begin-user-doc --> <!-- end-user-doc -->
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
92
   * 
93
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl
89
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl
94
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getMetaRef()
90
   * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getMetaRef()
95
   * @generated
91
   * @generated
Lines 97-112 Link Here
97
  int META_REF = 1;
93
  int META_REF = 1;
98
94
99
  /**
95
  /**
100
   * The feature id for the '<em><b>EPackage Ref</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
96
   * The feature id for the '<em><b>EPackage Ref</b></em>' reference.
101
   * 
97
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * @generated
98
   * @generated
103
   * @ordered
99
   * @ordered
104
   */
100
   */
105
  int META_REF__EPACKAGE_REF = 0;
101
  int META_REF__EPACKAGE_REF = 0;
106
102
107
  /**
103
  /**
108
   * The number of structural features of the '<em>Meta Ref</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * The number of structural features of the '<em>Meta Ref</em>' class.
109
   * 
105
   * <!-- begin-user-doc --> <!-- end-user-doc -->
110
   * @generated
106
   * @generated
111
   * @ordered
107
   * @ordered
112
   */
108
   */
Lines 123-131 Link Here
123
  EClass getClass1();
119
  EClass getClass1();
124
120
125
  /**
121
  /**
126
   * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2
122
   * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2 <em>Class2</em>}'.
127
   * <em>Class2</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
128
   * 
129
   * @return the meta object for the reference list '<em>Class2</em>'.
124
   * @return the meta object for the reference list '<em>Class2</em>'.
130
   * @see org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2()
125
   * @see org.eclipse.emf.cdo.tests.legacy.model3.Class1#getClass2()
131
   * @see #getClass1()
126
   * @see #getClass1()
Lines 144-152 Link Here
144
  EClass getMetaRef();
139
  EClass getMetaRef();
145
140
146
  /**
141
  /**
147
   * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model3.MetaRef#getEPackageRef
142
   * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model3.MetaRef#getEPackageRef <em>EPackage Ref</em>}'.
148
   * <em>EPackage Ref</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
143
   * <!-- begin-user-doc --> <!-- end-user-doc -->
149
   * 
150
   * @return the meta object for the reference '<em>EPackage Ref</em>'.
144
   * @return the meta object for the reference '<em>EPackage Ref</em>'.
151
   * @see org.eclipse.emf.cdo.tests.legacy.model3.MetaRef#getEPackageRef()
145
   * @see org.eclipse.emf.cdo.tests.legacy.model3.MetaRef#getEPackageRef()
152
   * @see #getMetaRef()
146
   * @see #getMetaRef()
Lines 155-162 Link Here
155
  EReference getMetaRef_EPackageRef();
149
  EReference getMetaRef_EPackageRef();
156
150
157
  /**
151
  /**
158
   * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
152
   * Returns the factory that creates the instances of the model.
159
   * 
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
160
   * @return the factory that creates the instances of the model.
154
   * @return the factory that creates the instances of the model.
161
   * @generated
155
   * @generated
162
   */
156
   */
Lines 171-185 Link Here
171
   * <li>and each data type</li>
165
   * <li>and each data type</li>
172
   * </ul>
166
   * </ul>
173
   * <!-- end-user-doc -->
167
   * <!-- end-user-doc -->
174
   * 
175
   * @generated
168
   * @generated
176
   */
169
   */
177
  interface Literals
170
  interface Literals
178
  {
171
  {
179
    /**
172
    /**
180
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl <em>Class1</em>}'
173
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl <em>Class1</em>}' class.
181
     * class. <!-- begin-user-doc --> <!-- end-user-doc -->
174
     * <!-- begin-user-doc --> <!-- end-user-doc -->
182
     * 
183
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl
175
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl
184
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getClass1()
176
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getClass1()
185
     * @generated
177
     * @generated
Lines 187-203 Link Here
187
    EClass CLASS1 = eINSTANCE.getClass1();
179
    EClass CLASS1 = eINSTANCE.getClass1();
188
180
189
    /**
181
    /**
190
     * The meta object literal for the '<em><b>Class2</b></em>' reference list feature. <!-- begin-user-doc --> <!--
182
     * The meta object literal for the '<em><b>Class2</b></em>' reference list feature.
183
     * <!-- begin-user-doc --> <!--
191
     * end-user-doc -->
184
     * end-user-doc -->
192
     * 
193
     * @generated
185
     * @generated
194
     */
186
     */
195
    EReference CLASS1__CLASS2 = eINSTANCE.getClass1_Class2();
187
    EReference CLASS1__CLASS2 = eINSTANCE.getClass1_Class2();
196
188
197
    /**
189
    /**
198
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl
190
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl <em>Meta Ref</em>}' class.
199
     * <em>Meta Ref</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
191
     * <!-- begin-user-doc --> <!-- end-user-doc -->
200
     * 
201
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl
192
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl
202
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getMetaRef()
193
     * @see org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl#getMetaRef()
203
     * @generated
194
     * @generated
Lines 205-213 Link Here
205
    EClass META_REF = eINSTANCE.getMetaRef();
196
    EClass META_REF = eINSTANCE.getMetaRef();
206
197
207
    /**
198
    /**
208
     * The meta object literal for the '<em><b>EPackage Ref</b></em>' reference feature. <!-- begin-user-doc --> <!--
199
     * The meta object literal for the '<em><b>EPackage Ref</b></em>' reference feature.
200
     * <!-- begin-user-doc --> <!--
209
     * end-user-doc -->
201
     * end-user-doc -->
210
     * 
211
     * @generated
202
     * @generated
212
     */
203
     */
213
    EReference META_REF__EPACKAGE_REF = eINSTANCE.getMetaRef_EPackageRef();
204
    EReference META_REF__EPACKAGE_REF = eINSTANCE.getMetaRef_EPackageRef();
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/impl/Class2Impl.java (-15 / +6 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Class1;
16
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
17
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2;
18
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
16
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
17
import org.eclipse.emf.cdo.tests.model3.Class1;
18
import org.eclipse.emf.cdo.tests.model3.subpackage.Class2;
19
19
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.util.EList;
21
import org.eclipse.emf.common.util.EList;
Lines 32-49 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl#getClass1 <em>Class1</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.Class2Impl#getClass1 <em>Class1</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class Class2Impl extends EObjectImpl implements Class2
41
public class Class2Impl extends EObjectImpl implements Class2
42
{
42
{
43
  /**
43
  /**
44
   * The cached value of the '{@link #getClass1() <em>Class1</em>}' reference list. <!-- begin-user-doc --> <!--
44
   * The cached value of the '{@link #getClass1() <em>Class1</em>}' reference list.
45
   * <!-- begin-user-doc --> <!--
45
   * end-user-doc -->
46
   * end-user-doc -->
46
   * 
47
   * @see #getClass1()
47
   * @see #getClass1()
48
   * @generated
48
   * @generated
49
   * @ordered
49
   * @ordered
Lines 52-58 Link Here
52
52
53
  /**
53
  /**
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @generated
55
   * @generated
57
   */
56
   */
58
  protected Class2Impl()
57
  protected Class2Impl()
Lines 62-68 Link Here
62
61
63
  /**
62
  /**
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * 
66
   * @generated
64
   * @generated
67
   */
65
   */
68
  @Override
66
  @Override
Lines 73-79 Link Here
73
71
74
  /**
72
  /**
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * 
77
   * @generated
74
   * @generated
78
   */
75
   */
79
  public EList<Class1> getClass1()
76
  public EList<Class1> getClass1()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  @SuppressWarnings("unchecked")
90
  @SuppressWarnings("unchecked")
Lines 105-111 Link Here
105
101
106
  /**
102
  /**
107
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
108
   * 
109
   * @generated
104
   * @generated
110
   */
105
   */
111
  @Override
106
  @Override
Lines 121-127 Link Here
121
116
122
  /**
117
  /**
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
118
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * 
125
   * @generated
119
   * @generated
126
   */
120
   */
127
  @Override
121
  @Override
Lines 137-143 Link Here
137
131
138
  /**
132
  /**
139
   * <!-- begin-user-doc --> <!-- end-user-doc -->
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
140
   * 
141
   * @generated
134
   * @generated
142
   */
135
   */
143
  @SuppressWarnings("unchecked")
136
  @SuppressWarnings("unchecked")
Lines 156-162 Link Here
156
149
157
  /**
150
  /**
158
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * 
160
   * @generated
152
   * @generated
161
   */
153
   */
162
  @Override
154
  @Override
Lines 173-179 Link Here
173
165
174
  /**
166
  /**
175
   * <!-- begin-user-doc --> <!-- end-user-doc -->
167
   * <!-- begin-user-doc --> <!-- end-user-doc -->
176
   * 
177
   * @generated
168
   * @generated
178
   */
169
   */
179
  @Override
170
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/impl/SubpackagePackageImpl.java (-19 / +11 lines)
Lines 14-22 Link Here
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
16
import org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl;
16
import org.eclipse.emf.cdo.tests.legacy.model3.impl.Model3PackageImpl;
17
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2;
18
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory;
17
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory;
19
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
18
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
19
import org.eclipse.emf.cdo.tests.model3.subpackage.Class2;
20
20
21
import org.eclipse.emf.ecore.EClass;
21
import org.eclipse.emf.ecore.EClass;
22
import org.eclipse.emf.ecore.EPackage;
22
import org.eclipse.emf.ecore.EPackage;
Lines 26-39 Link Here
26
26
27
/**
27
/**
28
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
28
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
29
 * 
30
 * @generated
29
 * @generated
31
 */
30
 */
32
public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePackage
31
public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePackage
33
{
32
{
34
  /**
33
  /**
35
   * <!-- begin-user-doc --> <!-- end-user-doc -->
34
   * <!-- begin-user-doc --> <!-- end-user-doc -->
36
   * 
37
   * @generated
35
   * @generated
38
   */
36
   */
39
  private EClass class2EClass = null;
37
  private EClass class2EClass = null;
Lines 58-75 Link Here
58
56
59
  /**
57
  /**
60
   * <!-- begin-user-doc --> <!-- end-user-doc -->
58
   * <!-- begin-user-doc --> <!-- end-user-doc -->
61
   * 
62
   * @generated
59
   * @generated
63
   */
60
   */
64
  private static boolean isInited = false;
61
  private static boolean isInited = false;
65
62
66
  /**
63
  /**
67
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
64
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
68
   * <p>
69
   * This method is used to initialize {@link SubpackagePackage#eINSTANCE} when that field is accessed. Clients should
70
   * not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc
71
   * --> <!-- end-user-doc -->
72
   * 
65
   * 
66
   * <p>This method is used to initialize {@link SubpackagePackage#eINSTANCE} when that field is accessed.
67
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
68
   * <!-- begin-user-doc
69
   * --> <!-- end-user-doc -->
73
   * @see #eNS_URI
70
   * @see #eNS_URI
74
   * @see #createPackageContents()
71
   * @see #createPackageContents()
75
   * @see #initializePackageContents()
72
   * @see #initializePackageContents()
Lines 113-119 Link Here
113
110
114
  /**
111
  /**
115
   * <!-- begin-user-doc --> <!-- end-user-doc -->
112
   * <!-- begin-user-doc --> <!-- end-user-doc -->
116
   * 
117
   * @generated
113
   * @generated
118
   */
114
   */
119
  public EClass getClass2()
115
  public EClass getClass2()
Lines 123-129 Link Here
123
119
124
  /**
120
  /**
125
   * <!-- begin-user-doc --> <!-- end-user-doc -->
121
   * <!-- begin-user-doc --> <!-- end-user-doc -->
126
   * 
127
   * @generated
122
   * @generated
128
   */
123
   */
129
  public EReference getClass2_Class1()
124
  public EReference getClass2_Class1()
Lines 133-139 Link Here
133
128
134
  /**
129
  /**
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
130
   * <!-- begin-user-doc --> <!-- end-user-doc -->
136
   * 
137
   * @generated
131
   * @generated
138
   */
132
   */
139
  public SubpackageFactory getSubpackageFactory()
133
  public SubpackageFactory getSubpackageFactory()
Lines 143-157 Link Here
143
137
144
  /**
138
  /**
145
   * <!-- begin-user-doc --> <!-- end-user-doc -->
139
   * <!-- begin-user-doc --> <!-- end-user-doc -->
146
   * 
147
   * @generated
140
   * @generated
148
   */
141
   */
149
  private boolean isCreated = false;
142
  private boolean isCreated = false;
150
143
151
  /**
144
  /**
152
   * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
145
   * Creates the meta-model objects for the package.  This method is
153
   * first. <!-- begin-user-doc --> <!-- end-user-doc -->
146
   * guarded to have no affect on any invocation but its first.
154
   * 
147
   * <!-- begin-user-doc --> <!-- end-user-doc -->
155
   * @generated
148
   * @generated
156
   */
149
   */
157
  public void createPackageContents()
150
  public void createPackageContents()
Lines 167-181 Link Here
167
160
168
  /**
161
  /**
169
   * <!-- begin-user-doc --> <!-- end-user-doc -->
162
   * <!-- begin-user-doc --> <!-- end-user-doc -->
170
   * 
171
   * @generated
163
   * @generated
172
   */
164
   */
173
  private boolean isInitialized = false;
165
  private boolean isInitialized = false;
174
166
175
  /**
167
  /**
176
   * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
168
   * Complete the initialization of the package and its meta-model.  This
177
   * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
169
   * method is guarded to have no affect on any invocation but its first.
178
   * 
170
   * <!-- begin-user-doc --> <!-- end-user-doc -->
179
   * @generated
171
   * @generated
180
   */
172
   */
181
  public void initializePackageContents()
173
  public void initializePackageContents()
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/impl/SubpackageFactoryImpl.java (-12 / +7 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2;
16
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory;
15
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackageFactory;
17
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
16
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
17
import org.eclipse.emf.cdo.tests.model3.subpackage.Class2;
18
18
19
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.EObject;
20
import org.eclipse.emf.ecore.EObject;
Lines 24-45 Link Here
24
24
25
/**
25
/**
26
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
26
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
27
 * 
28
 * @generated
27
 * @generated
29
 */
28
 */
30
public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFactory
29
public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFactory
31
{
30
{
32
  /**
31
  /**
33
   * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
32
   * Creates the default factory implementation.
34
   * 
33
   * <!-- begin-user-doc --> <!-- end-user-doc -->
35
   * @generated
34
   * @generated NOT
36
   */
35
   */
37
  public static SubpackageFactory init()
36
  public static SubpackageFactory init()
38
  {
37
  {
39
    try
38
    try
40
    {
39
    {
41
      SubpackageFactory theSubpackageFactory = (SubpackageFactory)EPackage.Registry.INSTANCE
40
      SubpackageFactory theSubpackageFactory = (SubpackageFactory)EPackage.Registry.INSTANCE
42
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/subpackage/1.0.0");
41
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/subpackage/1.0.0");
43
      if (theSubpackageFactory != null)
42
      if (theSubpackageFactory != null)
44
      {
43
      {
45
        return theSubpackageFactory;
44
        return theSubpackageFactory;
Lines 53-60 Link Here
53
  }
52
  }
54
53
55
  /**
54
  /**
56
   * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * Creates an instance of the factory.
57
   * 
56
   * <!-- begin-user-doc --> <!-- end-user-doc -->
58
   * @generated
57
   * @generated
59
   */
58
   */
60
  public SubpackageFactoryImpl()
59
  public SubpackageFactoryImpl()
Lines 64-70 Link Here
64
63
65
  /**
64
  /**
66
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * <!-- begin-user-doc --> <!-- end-user-doc -->
67
   * 
68
   * @generated
66
   * @generated
69
   */
67
   */
70
  @Override
68
  @Override
Lines 81-87 Link Here
81
79
82
  /**
80
  /**
83
   * <!-- begin-user-doc --> <!-- end-user-doc -->
81
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * 
85
   * @generated
82
   * @generated
86
   */
83
   */
87
  public Class2 createClass2()
84
  public Class2 createClass2()
Lines 92-98 Link Here
92
89
93
  /**
90
  /**
94
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * <!-- begin-user-doc --> <!-- end-user-doc -->
95
   * 
96
   * @generated
92
   * @generated
97
   */
93
   */
98
  public SubpackagePackage getSubpackagePackage()
94
  public SubpackagePackage getSubpackagePackage()
Lines 102-108 Link Here
102
98
103
  /**
99
  /**
104
   * <!-- begin-user-doc --> <!-- end-user-doc -->
100
   * <!-- begin-user-doc --> <!-- end-user-doc -->
105
   * 
106
   * @deprecated
101
   * @deprecated
107
   * @generated
102
   * @generated
108
   */
103
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/util/SubpackageSwitch.java (-17 / +11 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.util;
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.util;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2;
16
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
15
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
16
import org.eclipse.emf.cdo.tests.model3.subpackage.Class2;
17
17
18
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EObject;
19
import org.eclipse.emf.ecore.EObject;
Lines 25-46 Link Here
25
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
25
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
26
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
26
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
27
 * returned, which is the result of the switch. <!-- end-user-doc -->
27
 * returned, which is the result of the switch. <!-- end-user-doc -->
28
 * 
29
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage
28
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage
30
 * @generated
29
 * @generated
31
 */
30
 */
32
public class SubpackageSwitch<T>
31
public class SubpackageSwitch<T>
33
{
32
{
34
  /**
33
  /**
35
   * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
34
   * The cached model package
36
   * 
35
   * <!-- begin-user-doc --> <!-- end-user-doc -->
37
   * @generated
36
   * @generated
38
   */
37
   */
39
  protected static SubpackagePackage modelPackage;
38
  protected static SubpackagePackage modelPackage;
40
39
41
  /**
40
  /**
42
   * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
41
   * Creates an instance of the switch.
43
   * 
42
   * <!-- begin-user-doc --> <!-- end-user-doc -->
44
   * @generated
43
   * @generated
45
   */
44
   */
46
  public SubpackageSwitch()
45
  public SubpackageSwitch()
Lines 54-60 Link Here
54
  /**
53
  /**
55
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
54
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
56
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
57
   * 
58
   * @return the first non-null result returned by a <code>caseXXX</code> call.
56
   * @return the first non-null result returned by a <code>caseXXX</code> call.
59
   * @generated
57
   * @generated
60
   */
58
   */
Lines 66-72 Link Here
66
  /**
64
  /**
67
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
65
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
68
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * 
70
   * @return the first non-null result returned by a <code>caseXXX</code> call.
67
   * @return the first non-null result returned by a <code>caseXXX</code> call.
71
   * @generated
68
   * @generated
72
   */
69
   */
Lines 86-92 Link Here
86
  /**
83
  /**
87
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
84
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
85
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * 
90
   * @return the first non-null result returned by a <code>caseXXX</code> call.
86
   * @return the first non-null result returned by a <code>caseXXX</code> call.
91
   * @generated
87
   * @generated
92
   */
88
   */
Lines 108-118 Link Here
108
  }
104
  }
109
105
110
  /**
106
  /**
111
   * Returns the result of interpreting the object as an instance of '<em>Class2</em>'. <!-- begin-user-doc --> This
107
   * Returns the result of interpreting the object as an instance of '<em>Class2</em>'.
108
   * <!-- begin-user-doc --> This
112
   * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
109
   * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
113
   * 
110
   * @param object the target of the switch.
114
   * @param object
115
   *          the target of the switch.
116
   * @return the result of interpreting the object as an instance of '<em>Class2</em>'.
111
   * @return the result of interpreting the object as an instance of '<em>Class2</em>'.
117
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
112
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
118
   * @generated
113
   * @generated
Lines 123-134 Link Here
123
  }
118
  }
124
119
125
  /**
120
  /**
126
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
121
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
122
   * <!-- begin-user-doc --> This
127
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
123
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
128
   * anyway. <!-- end-user-doc -->
124
   * anyway. <!-- end-user-doc -->
129
   * 
125
   * @param object the target of the switch.
130
   * @param object
131
   *          the target of the switch.
132
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
126
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
133
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
127
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
134
   * @generated
128
   * @generated
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/subpackage/util/SubpackageAdapterFactory.java (-19 / +16 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.util;
13
package org.eclipse.emf.cdo.tests.legacy.model3.subpackage.util;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2;
16
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
15
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
16
import org.eclipse.emf.cdo.tests.model3.subpackage.Class2;
17
17
18
import org.eclipse.emf.common.notify.Adapter;
18
import org.eclipse.emf.common.notify.Adapter;
19
import org.eclipse.emf.common.notify.Notifier;
19
import org.eclipse.emf.common.notify.Notifier;
Lines 23-44 Link Here
23
/**
23
/**
24
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
24
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
25
 * method for each class of the model. <!-- end-user-doc -->
25
 * method for each class of the model. <!-- end-user-doc -->
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage
26
 * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage
28
 * @generated
27
 * @generated
29
 */
28
 */
30
public class SubpackageAdapterFactory extends AdapterFactoryImpl
29
public class SubpackageAdapterFactory extends AdapterFactoryImpl
31
{
30
{
32
  /**
31
  /**
33
   * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
32
   * The cached model package.
34
   * 
33
   * <!-- begin-user-doc --> <!-- end-user-doc -->
35
   * @generated
34
   * @generated
36
   */
35
   */
37
  protected static SubpackagePackage modelPackage;
36
  protected static SubpackagePackage modelPackage;
38
37
39
  /**
38
  /**
40
   * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
39
   * Creates an instance of the adapter factory.
41
   * 
40
   * <!-- begin-user-doc --> <!-- end-user-doc -->
42
   * @generated
41
   * @generated
43
   */
42
   */
44
  public SubpackageAdapterFactory()
43
  public SubpackageAdapterFactory()
Lines 50-59 Link Here
50
  }
49
  }
51
50
52
  /**
51
  /**
53
   * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
52
   * Returns whether this factory is applicable for the type of the object.
53
   * <!-- begin-user-doc --> This implementation
54
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
54
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
55
   * end-user-doc -->
55
   * end-user-doc -->
56
   * 
57
   * @return whether this factory is applicable for the type of the object.
56
   * @return whether this factory is applicable for the type of the object.
58
   * @generated
57
   * @generated
59
   */
58
   */
Lines 72-79 Link Here
72
  }
71
  }
73
72
74
  /**
73
  /**
75
   * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
74
   * The switch that delegates to the <code>createXXX</code> methods.
76
   * 
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
77
   * @generated
76
   * @generated
78
   */
77
   */
79
  protected SubpackageSwitch<Adapter> modelSwitch = new SubpackageSwitch<Adapter>()
78
  protected SubpackageSwitch<Adapter> modelSwitch = new SubpackageSwitch<Adapter>()
Lines 92-101 Link Here
92
  };
91
  };
93
92
94
  /**
93
  /**
95
   * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
94
   * Creates an adapter for the <code>target</code>.
96
   * 
95
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * @param target
96
   * @param target the object to adapt.
98
   *          the object to adapt.
99
   * @return the adapter for the <code>target</code>.
97
   * @return the adapter for the <code>target</code>.
100
   * @generated
98
   * @generated
101
   */
99
   */
Lines 106-115 Link Here
106
  }
104
  }
107
105
108
  /**
106
  /**
109
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2
107
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2 <em>Class2</em>}'.
110
   * <em>Class2</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
108
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
111
   * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
109
   * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
112
   * 
113
   * @return the new adapter.
110
   * @return the new adapter.
114
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2
111
   * @see org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2
115
   * @generated
112
   * @generated
Lines 120-128 Link Here
120
  }
117
  }
121
118
122
  /**
119
  /**
123
   * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
120
   * Creates a new adapter for the default case.
121
   * <!-- begin-user-doc --> This default implementation returns null. <!--
124
   * end-user-doc -->
122
   * end-user-doc -->
125
   * 
126
   * @return the new adapter.
123
   * @return the new adapter.
127
   * @generated
124
   * @generated
128
   */
125
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/util/Model3Switch.java (-22 / +15 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.util;
13
package org.eclipse.emf.cdo.tests.legacy.model3.util;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Class1;
16
import org.eclipse.emf.cdo.tests.legacy.model3.MetaRef;
17
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
16
import org.eclipse.emf.cdo.tests.model3.Class1;
17
import org.eclipse.emf.cdo.tests.model3.MetaRef;
18
18
19
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.EObject;
20
import org.eclipse.emf.ecore.EObject;
Lines 26-47 Link Here
26
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
26
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
27
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
27
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
28
 * returned, which is the result of the switch. <!-- end-user-doc -->
28
 * returned, which is the result of the switch. <!-- end-user-doc -->
29
 * 
30
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package
29
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package
31
 * @generated
30
 * @generated
32
 */
31
 */
33
public class Model3Switch<T>
32
public class Model3Switch<T>
34
{
33
{
35
  /**
34
  /**
36
   * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
35
   * The cached model package
37
   * 
36
   * <!-- begin-user-doc --> <!-- end-user-doc -->
38
   * @generated
37
   * @generated
39
   */
38
   */
40
  protected static Model3Package modelPackage;
39
  protected static Model3Package modelPackage;
41
40
42
  /**
41
  /**
43
   * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
42
   * Creates an instance of the switch.
44
   * 
43
   * <!-- begin-user-doc --> <!-- end-user-doc -->
45
   * @generated
44
   * @generated
46
   */
45
   */
47
  public Model3Switch()
46
  public Model3Switch()
Lines 55-61 Link Here
55
  /**
54
  /**
56
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
55
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
57
   * <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * <!-- begin-user-doc --> <!-- end-user-doc -->
58
   * 
59
   * @return the first non-null result returned by a <code>caseXXX</code> call.
57
   * @return the first non-null result returned by a <code>caseXXX</code> call.
60
   * @generated
58
   * @generated
61
   */
59
   */
Lines 67-73 Link Here
67
  /**
65
  /**
68
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
66
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
69
   * <!-- begin-user-doc --> <!-- end-user-doc -->
67
   * <!-- begin-user-doc --> <!-- end-user-doc -->
70
   * 
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
68
   * @return the first non-null result returned by a <code>caseXXX</code> call.
72
   * @generated
69
   * @generated
73
   */
70
   */
Lines 87-93 Link Here
87
  /**
84
  /**
88
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
85
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
89
   * <!-- begin-user-doc --> <!-- end-user-doc -->
86
   * <!-- begin-user-doc --> <!-- end-user-doc -->
90
   * 
91
   * @return the first non-null result returned by a <code>caseXXX</code> call.
87
   * @return the first non-null result returned by a <code>caseXXX</code> call.
92
   * @generated
88
   * @generated
93
   */
89
   */
Lines 117-127 Link Here
117
  }
113
  }
118
114
119
  /**
115
  /**
120
   * Returns the result of interpreting the object as an instance of '<em>Class1</em>'. <!-- begin-user-doc --> This
116
   * Returns the result of interpreting the object as an instance of '<em>Class1</em>'.
117
   * <!-- begin-user-doc --> This
121
   * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
118
   * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
122
   * 
119
   * @param object the target of the switch.
123
   * @param object
124
   *          the target of the switch.
125
   * @return the result of interpreting the object as an instance of '<em>Class1</em>'.
120
   * @return the result of interpreting the object as an instance of '<em>Class1</em>'.
126
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
121
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
127
   * @generated
122
   * @generated
Lines 132-142 Link Here
132
  }
127
  }
133
128
134
  /**
129
  /**
135
   * Returns the result of interpreting the object as an instance of '<em>Meta Ref</em>'. <!-- begin-user-doc --> This
130
   * Returns the result of interpreting the object as an instance of '<em>Meta Ref</em>'.
131
   * <!-- begin-user-doc --> This
136
   * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
132
   * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
137
   * 
133
   * @param object the target of the switch.
138
   * @param object
139
   *          the target of the switch.
140
   * @return the result of interpreting the object as an instance of '<em>Meta Ref</em>'.
134
   * @return the result of interpreting the object as an instance of '<em>Meta Ref</em>'.
141
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
135
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
142
   * @generated
136
   * @generated
Lines 147-158 Link Here
147
  }
141
  }
148
142
149
  /**
143
  /**
150
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
144
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
145
   * <!-- begin-user-doc --> This
151
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
146
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
152
   * anyway. <!-- end-user-doc -->
147
   * anyway. <!-- end-user-doc -->
153
   * 
148
   * @param object the target of the switch.
154
   * @param object
155
   *          the target of the switch.
156
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
149
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
157
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
150
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
158
   * @generated
151
   * @generated
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/util/Model3AdapterFactory.java (-23 / +19 lines)
Lines 12-20 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.util;
13
package org.eclipse.emf.cdo.tests.legacy.model3.util;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Class1;
16
import org.eclipse.emf.cdo.tests.legacy.model3.MetaRef;
17
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
16
import org.eclipse.emf.cdo.tests.model3.Class1;
17
import org.eclipse.emf.cdo.tests.model3.MetaRef;
18
18
19
import org.eclipse.emf.common.notify.Adapter;
19
import org.eclipse.emf.common.notify.Adapter;
20
import org.eclipse.emf.common.notify.Notifier;
20
import org.eclipse.emf.common.notify.Notifier;
Lines 24-45 Link Here
24
/**
24
/**
25
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
25
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
26
 * method for each class of the model. <!-- end-user-doc -->
26
 * method for each class of the model. <!-- end-user-doc -->
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package
27
 * @see org.eclipse.emf.cdo.tests.legacy.model3.Model3Package
29
 * @generated
28
 * @generated
30
 */
29
 */
31
public class Model3AdapterFactory extends AdapterFactoryImpl
30
public class Model3AdapterFactory extends AdapterFactoryImpl
32
{
31
{
33
  /**
32
  /**
34
   * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
33
   * The cached model package.
35
   * 
34
   * <!-- begin-user-doc --> <!-- end-user-doc -->
36
   * @generated
35
   * @generated
37
   */
36
   */
38
  protected static Model3Package modelPackage;
37
  protected static Model3Package modelPackage;
39
38
40
  /**
39
  /**
41
   * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
40
   * Creates an instance of the adapter factory.
42
   * 
41
   * <!-- begin-user-doc --> <!-- end-user-doc -->
43
   * @generated
42
   * @generated
44
   */
43
   */
45
  public Model3AdapterFactory()
44
  public Model3AdapterFactory()
Lines 51-60 Link Here
51
  }
50
  }
52
51
53
  /**
52
  /**
54
   * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
53
   * Returns whether this factory is applicable for the type of the object.
54
   * <!-- begin-user-doc --> This implementation
55
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
55
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
56
   * end-user-doc -->
56
   * end-user-doc -->
57
   * 
58
   * @return whether this factory is applicable for the type of the object.
57
   * @return whether this factory is applicable for the type of the object.
59
   * @generated
58
   * @generated
60
   */
59
   */
Lines 73-80 Link Here
73
  }
72
  }
74
73
75
  /**
74
  /**
76
   * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
75
   * The switch that delegates to the <code>createXXX</code> methods.
77
   * 
76
   * <!-- begin-user-doc --> <!-- end-user-doc -->
78
   * @generated
77
   * @generated
79
   */
78
   */
80
  protected Model3Switch<Adapter> modelSwitch = new Model3Switch<Adapter>()
79
  protected Model3Switch<Adapter> modelSwitch = new Model3Switch<Adapter>()
Lines 99-108 Link Here
99
  };
98
  };
100
99
101
  /**
100
  /**
102
   * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
101
   * Creates an adapter for the <code>target</code>.
103
   * 
102
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * @param target
103
   * @param target the object to adapt.
105
   *          the object to adapt.
106
   * @return the adapter for the <code>target</code>.
104
   * @return the adapter for the <code>target</code>.
107
   * @generated
105
   * @generated
108
   */
106
   */
Lines 113-122 Link Here
113
  }
111
  }
114
112
115
  /**
113
  /**
116
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model3.Class1
114
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model3.Class1 <em>Class1</em>}'.
117
   * <em>Class1</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
115
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
118
   * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
116
   * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
119
   * 
120
   * @return the new adapter.
117
   * @return the new adapter.
121
   * @see org.eclipse.emf.cdo.tests.legacy.model3.Class1
118
   * @see org.eclipse.emf.cdo.tests.legacy.model3.Class1
122
   * @generated
119
   * @generated
Lines 127-136 Link Here
127
  }
124
  }
128
125
129
  /**
126
  /**
130
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model3.MetaRef
127
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model3.MetaRef <em>Meta Ref</em>}'.
131
   * <em>Meta Ref</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
128
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
132
   * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
129
   * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
133
   * 
134
   * @return the new adapter.
130
   * @return the new adapter.
135
   * @see org.eclipse.emf.cdo.tests.legacy.model3.MetaRef
131
   * @see org.eclipse.emf.cdo.tests.legacy.model3.MetaRef
136
   * @generated
132
   * @generated
Lines 141-149 Link Here
141
  }
137
  }
142
138
143
  /**
139
  /**
144
   * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
140
   * Creates a new adapter for the default case.
141
   * <!-- begin-user-doc --> This default implementation returns null. <!--
145
   * end-user-doc -->
142
   * end-user-doc -->
146
   * 
147
   * @return the new adapter.
143
   * @return the new adapter.
148
   * @generated
144
   * @generated
149
   */
145
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/impl/MetaRefImpl.java (-14 / +5 lines)
Lines 12-19 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.MetaRef;
16
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
16
import org.eclipse.emf.cdo.tests.model3.MetaRef;
17
17
18
import org.eclipse.emf.common.notify.Notification;
18
import org.eclipse.emf.common.notify.Notification;
19
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EClass;
Lines 27-44 Link Here
27
 * <p>
27
 * <p>
28
 * The following features are implemented:
28
 * The following features are implemented:
29
 * <ul>
29
 * <ul>
30
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl#getEPackageRef <em>EPackage Ref</em>}</li>
30
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.MetaRefImpl#getEPackageRef <em>EPackage Ref</em>}</li>
31
 * </ul>
31
 * </ul>
32
 * </p>
32
 * </p>
33
 * 
33
 *
34
 * @generated
34
 * @generated
35
 */
35
 */
36
public class MetaRefImpl extends EObjectImpl implements MetaRef
36
public class MetaRefImpl extends EObjectImpl implements MetaRef
37
{
37
{
38
  /**
38
  /**
39
   * The cached value of the '{@link #getEPackageRef() <em>EPackage Ref</em>}' reference. <!-- begin-user-doc --> <!--
39
   * The cached value of the '{@link #getEPackageRef() <em>EPackage Ref</em>}' reference.
40
   * <!-- begin-user-doc --> <!--
40
   * end-user-doc -->
41
   * end-user-doc -->
41
   * 
42
   * @see #getEPackageRef()
42
   * @see #getEPackageRef()
43
   * @generated
43
   * @generated
44
   * @ordered
44
   * @ordered
Lines 47-53 Link Here
47
47
48
  /**
48
  /**
49
   * <!-- begin-user-doc --> <!-- end-user-doc -->
49
   * <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * 
51
   * @generated
50
   * @generated
52
   */
51
   */
53
  protected MetaRefImpl()
52
  protected MetaRefImpl()
Lines 57-63 Link Here
57
56
58
  /**
57
  /**
59
   * <!-- begin-user-doc --> <!-- end-user-doc -->
58
   * <!-- begin-user-doc --> <!-- end-user-doc -->
60
   * 
61
   * @generated
59
   * @generated
62
   */
60
   */
63
  @Override
61
  @Override
Lines 68-74 Link Here
68
66
69
  /**
67
  /**
70
   * <!-- begin-user-doc --> <!-- end-user-doc -->
68
   * <!-- begin-user-doc --> <!-- end-user-doc -->
71
   * 
72
   * @generated
69
   * @generated
73
   */
70
   */
74
  public EPackage getEPackageRef()
71
  public EPackage getEPackageRef()
Lines 89-95 Link Here
89
86
90
  /**
87
  /**
91
   * <!-- begin-user-doc --> <!-- end-user-doc -->
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
92
   * 
93
   * @generated
89
   * @generated
94
   */
90
   */
95
  public EPackage basicGetEPackageRef()
91
  public EPackage basicGetEPackageRef()
Lines 99-105 Link Here
99
95
100
  /**
96
  /**
101
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * 
103
   * @generated
98
   * @generated
104
   */
99
   */
105
  public void setEPackageRef(EPackage newEPackageRef)
100
  public void setEPackageRef(EPackage newEPackageRef)
Lines 113-119 Link Here
113
108
114
  /**
109
  /**
115
   * <!-- begin-user-doc --> <!-- end-user-doc -->
110
   * <!-- begin-user-doc --> <!-- end-user-doc -->
116
   * 
117
   * @generated
111
   * @generated
118
   */
112
   */
119
  @Override
113
  @Override
Lines 131-137 Link Here
131
125
132
  /**
126
  /**
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
127
   * <!-- begin-user-doc --> <!-- end-user-doc -->
134
   * 
135
   * @generated
128
   * @generated
136
   */
129
   */
137
  @Override
130
  @Override
Lines 148-154 Link Here
148
141
149
  /**
142
  /**
150
   * <!-- begin-user-doc --> <!-- end-user-doc -->
143
   * <!-- begin-user-doc --> <!-- end-user-doc -->
151
   * 
152
   * @generated
144
   * @generated
153
   */
145
   */
154
  @Override
146
  @Override
Lines 165-171 Link Here
165
157
166
  /**
158
  /**
167
   * <!-- begin-user-doc --> <!-- end-user-doc -->
159
   * <!-- begin-user-doc --> <!-- end-user-doc -->
168
   * 
169
   * @generated
160
   * @generated
170
   */
161
   */
171
  @Override
162
  @Override
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Model3FactoryImpl.java (-14 / +8 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Class1;
16
import org.eclipse.emf.cdo.tests.legacy.model3.MetaRef;
17
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory;
18
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
16
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
17
import org.eclipse.emf.cdo.tests.model3.Class1;
18
import org.eclipse.emf.cdo.tests.model3.MetaRef;
19
19
20
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.EClass;
21
import org.eclipse.emf.ecore.EObject;
21
import org.eclipse.emf.ecore.EObject;
Lines 25-46 Link Here
25
25
26
/**
26
/**
27
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
27
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
28
 * 
29
 * @generated
28
 * @generated
30
 */
29
 */
31
public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory
30
public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory
32
{
31
{
33
  /**
32
  /**
34
   * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
33
   * Creates the default factory implementation.
35
   * 
34
   * <!-- begin-user-doc --> <!-- end-user-doc -->
36
   * @generated
35
   * @generated NOT
37
   */
36
   */
38
  public static Model3Factory init()
37
  public static Model3Factory init()
39
  {
38
  {
40
    try
39
    try
41
    {
40
    {
42
      Model3Factory theModel3Factory = (Model3Factory)EPackage.Registry.INSTANCE
41
      Model3Factory theModel3Factory = (Model3Factory)EPackage.Registry.INSTANCE
43
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/model3/1.0.0");
42
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model3/1.0.0");
44
      if (theModel3Factory != null)
43
      if (theModel3Factory != null)
45
      {
44
      {
46
        return theModel3Factory;
45
        return theModel3Factory;
Lines 54-61 Link Here
54
  }
53
  }
55
54
56
  /**
55
  /**
57
   * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * Creates an instance of the factory.
58
   * 
57
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * @generated
58
   * @generated
60
   */
59
   */
61
  public Model3FactoryImpl()
60
  public Model3FactoryImpl()
Lines 65-71 Link Here
65
64
66
  /**
65
  /**
67
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * <!-- begin-user-doc --> <!-- end-user-doc -->
68
   * 
69
   * @generated
67
   * @generated
70
   */
68
   */
71
  @Override
69
  @Override
Lines 84-90 Link Here
84
82
85
  /**
83
  /**
86
   * <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * 
88
   * @generated
85
   * @generated
89
   */
86
   */
90
  public Class1 createClass1()
87
  public Class1 createClass1()
Lines 95-101 Link Here
95
92
96
  /**
93
  /**
97
   * <!-- begin-user-doc --> <!-- end-user-doc -->
94
   * <!-- begin-user-doc --> <!-- end-user-doc -->
98
   * 
99
   * @generated
95
   * @generated
100
   */
96
   */
101
  public MetaRef createMetaRef()
97
  public MetaRef createMetaRef()
Lines 106-112 Link Here
106
102
107
  /**
103
  /**
108
   * <!-- begin-user-doc --> <!-- end-user-doc -->
104
   * <!-- begin-user-doc --> <!-- end-user-doc -->
109
   * 
110
   * @generated
105
   * @generated
111
   */
106
   */
112
  public Model3Package getModel3Package()
107
  public Model3Package getModel3Package()
Lines 116-122 Link Here
116
111
117
  /**
112
  /**
118
   * <!-- begin-user-doc --> <!-- end-user-doc -->
113
   * <!-- begin-user-doc --> <!-- end-user-doc -->
119
   * 
120
   * @deprecated
114
   * @deprecated
121
   * @generated
115
   * @generated
122
   */
116
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Model3PackageImpl.java (-23 / +12 lines)
Lines 12-23 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Class1;
16
import org.eclipse.emf.cdo.tests.legacy.model3.MetaRef;
17
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Factory;
18
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
16
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
19
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
17
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
20
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl;
18
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.impl.SubpackagePackageImpl;
19
import org.eclipse.emf.cdo.tests.model3.Class1;
20
import org.eclipse.emf.cdo.tests.model3.MetaRef;
21
21
22
import org.eclipse.emf.ecore.EClass;
22
import org.eclipse.emf.ecore.EClass;
23
import org.eclipse.emf.ecore.EPackage;
23
import org.eclipse.emf.ecore.EPackage;
Lines 27-47 Link Here
27
27
28
/**
28
/**
29
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
29
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
30
 * 
31
 * @generated
30
 * @generated
32
 */
31
 */
33
public class Model3PackageImpl extends EPackageImpl implements Model3Package
32
public class Model3PackageImpl extends EPackageImpl implements Model3Package
34
{
33
{
35
  /**
34
  /**
36
   * <!-- begin-user-doc --> <!-- end-user-doc -->
35
   * <!-- begin-user-doc --> <!-- end-user-doc -->
37
   * 
38
   * @generated
36
   * @generated
39
   */
37
   */
40
  private EClass class1EClass = null;
38
  private EClass class1EClass = null;
41
39
42
  /**
40
  /**
43
   * <!-- begin-user-doc --> <!-- end-user-doc -->
41
   * <!-- begin-user-doc --> <!-- end-user-doc -->
44
   * 
45
   * @generated
42
   * @generated
46
   */
43
   */
47
  private EClass metaRefEClass = null;
44
  private EClass metaRefEClass = null;
Lines 66-83 Link Here
66
63
67
  /**
64
  /**
68
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * <!-- begin-user-doc --> <!-- end-user-doc -->
69
   * 
70
   * @generated
66
   * @generated
71
   */
67
   */
72
  private static boolean isInited = false;
68
  private static boolean isInited = false;
73
69
74
  /**
70
  /**
75
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
71
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
76
   * <p>
77
   * This method is used to initialize {@link Model3Package#eINSTANCE} when that field is accessed. Clients should not
78
   * invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc -->
79
   * <!-- end-user-doc -->
80
   * 
72
   * 
73
   * <p>This method is used to initialize {@link Model3Package#eINSTANCE} when that field is accessed.
74
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
75
   * <!-- begin-user-doc -->
76
   * <!-- end-user-doc -->
81
   * @see #eNS_URI
77
   * @see #eNS_URI
82
   * @see #createPackageContents()
78
   * @see #createPackageContents()
83
   * @see #initializePackageContents()
79
   * @see #initializePackageContents()
Lines 121-127 Link Here
121
117
122
  /**
118
  /**
123
   * <!-- begin-user-doc --> <!-- end-user-doc -->
119
   * <!-- begin-user-doc --> <!-- end-user-doc -->
124
   * 
125
   * @generated
120
   * @generated
126
   */
121
   */
127
  public EClass getClass1()
122
  public EClass getClass1()
Lines 131-137 Link Here
131
126
132
  /**
127
  /**
133
   * <!-- begin-user-doc --> <!-- end-user-doc -->
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
134
   * 
135
   * @generated
129
   * @generated
136
   */
130
   */
137
  public EReference getClass1_Class2()
131
  public EReference getClass1_Class2()
Lines 141-147 Link Here
141
135
142
  /**
136
  /**
143
   * <!-- begin-user-doc --> <!-- end-user-doc -->
137
   * <!-- begin-user-doc --> <!-- end-user-doc -->
144
   * 
145
   * @generated
138
   * @generated
146
   */
139
   */
147
  public EClass getMetaRef()
140
  public EClass getMetaRef()
Lines 151-157 Link Here
151
144
152
  /**
145
  /**
153
   * <!-- begin-user-doc --> <!-- end-user-doc -->
146
   * <!-- begin-user-doc --> <!-- end-user-doc -->
154
   * 
155
   * @generated
147
   * @generated
156
   */
148
   */
157
  public EReference getMetaRef_EPackageRef()
149
  public EReference getMetaRef_EPackageRef()
Lines 161-167 Link Here
161
153
162
  /**
154
  /**
163
   * <!-- begin-user-doc --> <!-- end-user-doc -->
155
   * <!-- begin-user-doc --> <!-- end-user-doc -->
164
   * 
165
   * @generated
156
   * @generated
166
   */
157
   */
167
  public Model3Factory getModel3Factory()
158
  public Model3Factory getModel3Factory()
Lines 171-185 Link Here
171
162
172
  /**
163
  /**
173
   * <!-- begin-user-doc --> <!-- end-user-doc -->
164
   * <!-- begin-user-doc --> <!-- end-user-doc -->
174
   * 
175
   * @generated
165
   * @generated
176
   */
166
   */
177
  private boolean isCreated = false;
167
  private boolean isCreated = false;
178
168
179
  /**
169
  /**
180
   * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
170
   * Creates the meta-model objects for the package.  This method is
181
   * first. <!-- begin-user-doc --> <!-- end-user-doc -->
171
   * guarded to have no affect on any invocation but its first.
182
   * 
172
   * <!-- begin-user-doc --> <!-- end-user-doc -->
183
   * @generated
173
   * @generated
184
   */
174
   */
185
  public void createPackageContents()
175
  public void createPackageContents()
Lines 198-212 Link Here
198
188
199
  /**
189
  /**
200
   * <!-- begin-user-doc --> <!-- end-user-doc -->
190
   * <!-- begin-user-doc --> <!-- end-user-doc -->
201
   * 
202
   * @generated
191
   * @generated
203
   */
192
   */
204
  private boolean isInitialized = false;
193
  private boolean isInitialized = false;
205
194
206
  /**
195
  /**
207
   * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
196
   * Complete the initialization of the package and its meta-model.  This
208
   * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
197
   * method is guarded to have no affect on any invocation but its first.
209
   * 
198
   * <!-- begin-user-doc --> <!-- end-user-doc -->
210
   * @generated
199
   * @generated
211
   */
200
   */
212
  public void initializePackageContents()
201
  public void initializePackageContents()
(-)src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Class1Impl.java (-17 / +6 lines)
Lines 12-21 Link Here
12
 */
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
13
package org.eclipse.emf.cdo.tests.legacy.model3.impl;
14
14
15
import org.eclipse.emf.cdo.tests.legacy.model3.Class1;
16
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
15
import org.eclipse.emf.cdo.tests.legacy.model3.Model3Package;
17
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.Class2;
18
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
16
import org.eclipse.emf.cdo.tests.legacy.model3.subpackage.SubpackagePackage;
17
import org.eclipse.emf.cdo.tests.model3.Class1;
18
import org.eclipse.emf.cdo.tests.model3.subpackage.Class2;
19
19
20
import org.eclipse.emf.common.notify.NotificationChain;
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.util.EList;
21
import org.eclipse.emf.common.util.EList;
Lines 32-49 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl#getClass2 <em>Class2</em>}</li>
35
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model3.impl.Class1Impl#getClass2 <em>Class2</em>}</li>
36
 * </ul>
36
 * </ul>
37
 * </p>
37
 * </p>
38
 * 
38
 *
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class Class1Impl extends EObjectImpl implements Class1
41
public class Class1Impl extends EObjectImpl implements Class1
42
{
42
{
43
  /**
43
  /**
44
   * The cached value of the '{@link #getClass2() <em>Class2</em>}' reference list. <!-- begin-user-doc --> <!--
44
   * The cached value of the '{@link #getClass2() <em>Class2</em>}' reference list.
45
   * <!-- begin-user-doc --> <!--
45
   * end-user-doc -->
46
   * end-user-doc -->
46
   * 
47
   * @see #getClass2()
47
   * @see #getClass2()
48
   * @generated
48
   * @generated
49
   * @ordered
49
   * @ordered
Lines 52-58 Link Here
52
52
53
  /**
53
  /**
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @generated
55
   * @generated
57
   */
56
   */
58
  protected Class1Impl()
57
  protected Class1Impl()
Lines 62-68 Link Here
62
61
63
  /**
62
  /**
64
   * <!-- begin-user-doc --> <!-- end-user-doc -->
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
65
   * 
66
   * @generated
64
   * @generated
67
   */
65
   */
68
  @Override
66
  @Override
Lines 73-79 Link Here
73
71
74
  /**
72
  /**
75
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * 
77
   * @generated
74
   * @generated
78
   */
75
   */
79
  public EList<Class2> getClass2()
76
  public EList<Class2> getClass2()
Lines 88-94 Link Here
88
85
89
  /**
86
  /**
90
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * 
92
   * @generated
88
   * @generated
93
   */
89
   */
94
  public void unsetClass2()
90
  public void unsetClass2()
Lines 99-105 Link Here
99
95
100
  /**
96
  /**
101
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * <!-- begin-user-doc --> <!-- end-user-doc -->
102
   * 
103
   * @generated
98
   * @generated
104
   */
99
   */
105
  public boolean isSetClass2()
100
  public boolean isSetClass2()
Lines 109-115 Link Here
109
104
110
  /**
105
  /**
111
   * <!-- begin-user-doc --> <!-- end-user-doc -->
106
   * <!-- begin-user-doc --> <!-- end-user-doc -->
112
   * 
113
   * @generated
107
   * @generated
114
   */
108
   */
115
  @SuppressWarnings("unchecked")
109
  @SuppressWarnings("unchecked")
Lines 126-132 Link Here
126
120
127
  /**
121
  /**
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
122
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * 
130
   * @generated
123
   * @generated
131
   */
124
   */
132
  @Override
125
  @Override
Lines 142-148 Link Here
142
135
143
  /**
136
  /**
144
   * <!-- begin-user-doc --> <!-- end-user-doc -->
137
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * 
146
   * @generated
138
   * @generated
147
   */
139
   */
148
  @Override
140
  @Override
Lines 158-164 Link Here
158
150
159
  /**
151
  /**
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
152
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * 
162
   * @generated
153
   * @generated
163
   */
154
   */
164
  @SuppressWarnings("unchecked")
155
  @SuppressWarnings("unchecked")
Lines 177-183 Link Here
177
168
178
  /**
169
  /**
179
   * <!-- begin-user-doc --> <!-- end-user-doc -->
170
   * <!-- begin-user-doc --> <!-- end-user-doc -->
180
   * 
181
   * @generated
171
   * @generated
182
   */
172
   */
183
  @Override
173
  @Override
Lines 194-200 Link Here
194
184
195
  /**
185
  /**
196
   * <!-- begin-user-doc --> <!-- end-user-doc -->
186
   * <!-- begin-user-doc --> <!-- end-user-doc -->
197
   * 
198
   * @generated
187
   * @generated
199
   */
188
   */
200
  @Override
189
  @Override
(-)META-INF/MANIFEST.MF (-1 / +3 lines)
Lines 10-16 Link Here
10
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
10
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
11
 org.eclipse.emf.ecore;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
11
 org.eclipse.emf.ecore;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
12
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
12
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
13
Export-Package: org.eclipse.emf.cdo.tests.model3;version="3.0.0",
13
Export-Package: org.eclipse.emf.cdo.tests.legacy.model3,
14
 org.eclipse.emf.cdo.tests.legacy.model3.subpackage,
15
 org.eclipse.emf.cdo.tests.model3;version="3.0.0",
14
 org.eclipse.emf.cdo.tests.model3.impl;version="3.0.0",
16
 org.eclipse.emf.cdo.tests.model3.impl;version="3.0.0",
15
 org.eclipse.emf.cdo.tests.model3.subpackage;version="3.0.0",
17
 org.eclipse.emf.cdo.tests.model3.subpackage;version="3.0.0",
16
 org.eclipse.emf.cdo.tests.model3.subpackage.impl;version="3.0.0",
18
 org.eclipse.emf.cdo.tests.model3.subpackage.impl;version="3.0.0",
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainedElement.java (-63 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: IMultiRefNonContainedElement.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Non Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainedElement()
28
 * @model interface="true" abstract="true"
29
 * @generated
30
 */
31
public interface IMultiRefNonContainedElement extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Parent</b></em>' reference. It is bidirectional and its opposite is '
35
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}'.
36
   * <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here...
39
   * </p>
40
   * <!-- end-user-doc -->
41
   * 
42
   * @return the value of the '<em>Parent</em>' reference.
43
   * @see #setParent(IMultiRefNonContainer)
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainedElement_Parent()
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#getElements
46
   * @model opposite="elements"
47
   * @generated
48
   */
49
  IMultiRefNonContainer getParent();
50
51
  /**
52
   * Sets the value of the '
53
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}'
54
   * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @param value
57
   *          the new value of the '<em>Parent</em>' reference.
58
   * @see #getParent()
59
   * @generated
60
   */
61
  void setParent(IMultiRefNonContainer value);
62
63
} // IMultiRefNonContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainer.java (-53 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: IMultiRefContainer.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Container</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainer()
29
 * @model interface="true" abstract="true"
30
 * @generated
31
 */
32
public interface IMultiRefContainer extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement}. It is bidirectional and its
37
   * opposite is '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent
38
   * <em>Parent</em>}'. <!-- begin-user-doc -->
39
   * <p>
40
   * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a
41
   * description here...
42
   * </p>
43
   * <!-- end-user-doc -->
44
   * 
45
   * @return the value of the '<em>Elements</em>' containment reference list.
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainer_Elements()
47
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent
48
   * @model opposite="parent" containment="true"
49
   * @generated
50
   */
51
  EList<IMultiRefContainedElement> getElements();
52
53
} // IMultiRefContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainerNPL.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: IMultiRefNonContainerNPL.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Non Container NPL</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainerNPL()
29
 * @model interface="true" abstract="true"
30
 * @generated
31
 */
32
public interface IMultiRefNonContainerNPL extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink}. <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description
39
   * here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Elements</em>' reference list.
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainerNPL_Elements()
45
   * @model
46
   * @generated
47
   */
48
  EList<IContainedElementNoParentLink> getElements();
49
50
} // IMultiRefNonContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainer.java (-63 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ISingleRefNonContainer.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Non Container</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainer()
28
 * @model interface="true" abstract="true"
29
 * @generated
30
 */
31
public interface ISingleRefNonContainer extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' reference. It is bidirectional and its opposite is '
35
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}'.
36
   * <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description
39
   * here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Element</em>' reference.
44
   * @see #setElement(ISingleRefNonContainedElement)
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainer_Element()
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent
47
   * @model opposite="parent"
48
   * @generated
49
   */
50
  ISingleRefNonContainedElement getElement();
51
52
  /**
53
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement
54
   * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @param value
57
   *          the new value of the '<em>Element</em>' reference.
58
   * @see #getElement()
59
   * @generated
60
   */
61
  void setElement(ISingleRefNonContainedElement value);
62
63
} // ISingleRefNonContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainedElement.java (-64 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: IMultiRefContainedElement.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainedElement()
28
 * @model interface="true" abstract="true"
29
 * @generated
30
 */
31
public interface IMultiRefContainedElement extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is '
35
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}'. <!--
36
   * begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a
39
   * description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Parent</em>' container reference.
44
   * @see #setParent(IMultiRefContainer)
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainedElement_Parent()
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#getElements
47
   * @model opposite="elements" transient="false"
48
   * @generated
49
   */
50
  IMultiRefContainer getParent();
51
52
  /**
53
   * Sets the value of the '
54
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}'
55
   * container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * 
57
   * @param value
58
   *          the new value of the '<em>Parent</em>' container reference.
59
   * @see #getParent()
60
   * @generated
61
   */
62
  void setParent(IMultiRefContainer value);
63
64
} // IMultiRefContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainerNPL.java (-61 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ISingleRefNonContainerNPL.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Non Container NPL</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL()
28
 * @model interface="true" abstract="true"
29
 * @generated
30
 */
31
public interface ISingleRefNonContainerNPL extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description
37
   * here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Element</em>' reference.
42
   * @see #setElement(IContainedElementNoParentLink)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL_Element()
44
   * @model
45
   * @generated
46
   */
47
  IContainedElementNoParentLink getElement();
48
49
  /**
50
   * Sets the value of the '
51
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}'
52
   * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * 
54
   * @param value
55
   *          the new value of the '<em>Element</em>' reference.
56
   * @see #getElement()
57
   * @generated
58
   */
59
  void setElement(IContainedElementNoParentLink value);
60
61
} // ISingleRefNonContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainer.java (-63 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ISingleRefContainer.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Container</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainer()
28
 * @model interface="true" abstract="true"
29
 * @generated
30
 */
31
public interface ISingleRefContainer extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' containment reference. It is bidirectional and its opposite is '
35
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}'.
36
   * <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a
39
   * description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Element</em>' containment reference.
44
   * @see #setElement(ISingleRefContainedElement)
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainer_Element()
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent
47
   * @model opposite="parent" containment="true"
48
   * @generated
49
   */
50
  ISingleRefContainedElement getElement();
51
52
  /**
53
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement
54
   * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
56
   * @param value
57
   *          the new value of the '<em>Element</em>' containment reference.
58
   * @see #getElement()
59
   * @generated
60
   */
61
  void setElement(ISingleRefContainedElement value);
62
63
} // ISingleRefContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainer.java (-53 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: IMultiRefNonContainer.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Non Container</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer()
29
 * @model interface="true" abstract="true"
30
 * @generated
31
 */
32
public interface IMultiRefNonContainer extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement}. It is bidirectional and its
37
   * opposite is '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent
38
   * <em>Parent</em>}'. <!-- begin-user-doc -->
39
   * <p>
40
   * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description
41
   * here...
42
   * </p>
43
   * <!-- end-user-doc -->
44
   * 
45
   * @return the value of the '<em>Elements</em>' reference list.
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer_Elements()
47
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent
48
   * @model opposite="parent"
49
   * @generated
50
   */
51
  EList<IMultiRefNonContainedElement> getElements();
52
53
} // IMultiRefNonContainer
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IContainedElementNoParentLink.java (-27 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: IContainedElementNoParentLink.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>IContained Element No Parent Link</b></em>'.
19
 * <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIContainedElementNoParentLink()
22
 * @model interface="true" abstract="true"
23
 * @generated
24
 */
25
public interface IContainedElementNoParentLink extends EObject
26
{
27
} // IContainedElementNoParentLink
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java (-3 / +3 lines)
Lines 26-32 Link Here
26
 * 
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory
28
 * @model kind="package"
28
 * @model kind="package"
29
 * @generated NOT
29
 * @generated
30
 */
30
 */
31
public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage
31
public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage
32
{
32
{
Lines 40-48 Link Here
40
  /**
40
  /**
41
   * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
41
   * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
42
   * 
42
   * 
43
   * @generated
43
   * @generated NOT
44
   */
44
   */
45
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4interfaces/1.0.0";
45
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model4interfaces/1.0.0";
46
46
47
  /**
47
  /**
48
   * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
48
   * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainedElement.java (-64 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ISingleRefNonContainedElement.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Non Contained Element</b></em>'.
19
 * <!-- end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}
24
 * </li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainedElement()
29
 * @model interface="true" abstract="true"
30
 * @generated
31
 */
32
public interface ISingleRefNonContainedElement extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Parent</b></em>' reference. It is bidirectional and its opposite is '
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}'. <!--
37
   * begin-user-doc -->
38
   * <p>
39
   * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Parent</em>' reference.
44
   * @see #setParent(ISingleRefNonContainer)
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainedElement_Parent()
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement
47
   * @model opposite="element"
48
   * @generated
49
   */
50
  ISingleRefNonContainer getParent();
51
52
  /**
53
   * Sets the value of the '
54
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}'
55
   * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * 
57
   * @param value
58
   *          the new value of the '<em>Parent</em>' reference.
59
   * @see #getParent()
60
   * @generated
61
   */
62
  void setParent(ISingleRefNonContainer value);
63
64
} // ISingleRefNonContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainerNPL.java (-60 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ISingleRefContainerNPL.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Container NPL</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL()
28
 * @model interface="true" abstract="true"
29
 * @generated
30
 */
31
public interface ISingleRefContainerNPL extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a
37
   * description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * 
41
   * @return the value of the '<em>Element</em>' containment reference.
42
   * @see #setElement(IContainedElementNoParentLink)
43
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL_Element()
44
   * @model containment="true"
45
   * @generated
46
   */
47
  IContainedElementNoParentLink getElement();
48
49
  /**
50
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#getElement
51
   * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @param value
54
   *          the new value of the '<em>Element</em>' containment reference.
55
   * @see #getElement()
56
   * @generated
57
   */
58
  void setElement(IContainedElementNoParentLink value);
59
60
} // ISingleRefContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainedElement.java (-64 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: ISingleRefContainedElement.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Contained Element</b></em>'. <!--
19
 * end-user-doc -->
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}</li>
24
 * </ul>
25
 * </p>
26
 * 
27
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainedElement()
28
 * @model interface="true" abstract="true"
29
 * @generated
30
 */
31
public interface ISingleRefContainedElement extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is '
35
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}'. <!--
36
   * begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a
39
   * description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Parent</em>' container reference.
44
   * @see #setParent(ISingleRefContainer)
45
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainedElement_Parent()
46
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement
47
   * @model opposite="element" transient="false"
48
   * @generated
49
   */
50
  ISingleRefContainer getParent();
51
52
  /**
53
   * Sets the value of the '
54
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}'
55
   * container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
56
   * 
57
   * @param value
58
   *          the new value of the '<em>Parent</em>' container reference.
59
   * @see #getParent()
60
   * @generated
61
   */
62
  void setParent(ISingleRefContainer value);
63
64
} // ISingleRefContainedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainerNPL.java (-50 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: IMultiRefContainerNPL.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.common.util.EList;
16
import org.eclipse.emf.ecore.EObject;
17
18
/**
19
 * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Container NPL</b></em>'. <!--
20
 * end-user-doc -->
21
 * <p>
22
 * The following features are supported:
23
 * <ul>
24
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}</li>
25
 * </ul>
26
 * </p>
27
 * 
28
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainerNPL()
29
 * @model interface="true" abstract="true"
30
 * @generated
31
 */
32
public interface IMultiRefContainerNPL extends EObject
33
{
34
  /**
35
   * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type
36
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink}. <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a
39
   * description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * 
43
   * @return the value of the '<em>Elements</em>' containment reference list.
44
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainerNPL_Elements()
45
   * @model containment="true"
46
   * @generated
47
   */
48
  EList<IContainedElementNoParentLink> getElements();
49
50
} // IMultiRefContainerNPL
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/INamedElement.java (-58 lines)
Removed Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id: INamedElement.java,v 1.2 2009/08/22 09:34:16 estepper Exp $
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
14
15
import org.eclipse.emf.ecore.EObject;
16
17
/**
18
 * <!-- begin-user-doc --> A representation of the model object '<em><b>INamed Element</b></em>'. <!-- end-user-doc -->
19
 * <p>
20
 * The following features are supported:
21
 * <ul>
22
 * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#getName <em>Name</em>}</li>
23
 * </ul>
24
 * </p>
25
 * 
26
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getINamedElement()
27
 * @model interface="true" abstract="true"
28
 * @generated
29
 */
30
public interface INamedElement extends EObject
31
{
32
  /**
33
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
34
   * <p>
35
   * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
36
   * </p>
37
   * <!-- end-user-doc -->
38
   * 
39
   * @return the value of the '<em>Name</em>' attribute.
40
   * @see #setName(String)
41
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getINamedElement_Name()
42
   * @model
43
   * @generated
44
   */
45
  String getName();
46
47
  /**
48
   * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#getName
49
   * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
50
   * 
51
   * @param value
52
   *          the new value of the '<em>Name</em>' attribute.
53
   * @see #getName()
54
   * @generated
55
   */
56
  void setName(String value);
57
58
} // INamedElement
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java (-16 / +11 lines)
Lines 30-57 Link Here
30
import org.eclipse.emf.ecore.EObject;
30
import org.eclipse.emf.ecore.EObject;
31
31
32
import java.util.List;
32
import java.util.List;
33
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.*;
33
34
34
/**
35
/**
35
 * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call
36
 * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call
36
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
37
 * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
37
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
38
 * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
38
 * returned, which is the result of the switch. <!-- end-user-doc -->
39
 * returned, which is the result of the switch. <!-- end-user-doc -->
39
 * 
40
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage
40
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage
41
 * @generated
41
 * @generated
42
 */
42
 */
43
public class model4interfacesSwitch<T>
43
public class model4interfacesSwitch<T>
44
{
44
{
45
  /**
45
  /**
46
   * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
46
   * The cached model package
47
   * 
47
   * <!-- begin-user-doc --> <!-- end-user-doc -->
48
   * @generated
48
   * @generated
49
   */
49
   */
50
  protected static model4interfacesPackage modelPackage;
50
  protected static model4interfacesPackage modelPackage;
51
51
52
  /**
52
  /**
53
   * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * Creates an instance of the switch.
54
   * 
54
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * @generated
55
   * @generated
56
   */
56
   */
57
  public model4interfacesSwitch()
57
  public model4interfacesSwitch()
Lines 65-71 Link Here
65
  /**
65
  /**
66
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
66
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
67
   * <!-- begin-user-doc --> <!-- end-user-doc -->
67
   * <!-- begin-user-doc --> <!-- end-user-doc -->
68
   * 
69
   * @return the first non-null result returned by a <code>caseXXX</code> call.
68
   * @return the first non-null result returned by a <code>caseXXX</code> call.
70
   * @generated
69
   * @generated
71
   */
70
   */
Lines 77-83 Link Here
77
  /**
76
  /**
78
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
77
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
79
   * <!-- begin-user-doc --> <!-- end-user-doc -->
78
   * <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * 
81
   * @return the first non-null result returned by a <code>caseXXX</code> call.
79
   * @return the first non-null result returned by a <code>caseXXX</code> call.
82
   * @generated
80
   * @generated
83
   */
81
   */
Lines 97-103 Link Here
97
  /**
95
  /**
98
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
96
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
99
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * <!-- begin-user-doc --> <!-- end-user-doc -->
100
   * 
101
   * @return the first non-null result returned by a <code>caseXXX</code> call.
98
   * @return the first non-null result returned by a <code>caseXXX</code> call.
102
   * @generated
99
   * @generated
103
   */
100
   */
Lines 351-361 Link Here
351
  }
348
  }
352
349
353
  /**
350
  /**
354
   * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'. <!-- begin-user-doc -->
351
   * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'.
352
   * <!-- begin-user-doc -->
355
   * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
353
   * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
356
   * 
354
   * @param object the target of the switch.
357
   * @param object
358
   *          the target of the switch.
359
   * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'.
355
   * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'.
360
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
356
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
361
   * @generated
357
   * @generated
Lines 446-457 Link Here
446
  }
442
  }
447
443
448
  /**
444
  /**
449
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
445
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
446
   * <!-- begin-user-doc --> This
450
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
447
   * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
451
   * anyway. <!-- end-user-doc -->
448
   * anyway. <!-- end-user-doc -->
452
   * 
449
   * @param object the target of the switch.
453
   * @param object
454
   *          the target of the switch.
455
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
450
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
456
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
451
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
457
   * @generated
452
   * @generated
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesAdapterFactory.java (-57 / +34 lines)
Lines 10-15 Link Here
10
 */
10
 */
11
package org.eclipse.emf.cdo.tests.legacy.model4interfaces.util;
11
package org.eclipse.emf.cdo.tests.legacy.model4interfaces.util;
12
12
13
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.*;
13
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
14
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
14
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
15
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
15
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement;
16
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement;
Lines 34-55 Link Here
34
/**
35
/**
35
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
36
 * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
36
 * method for each class of the model. <!-- end-user-doc -->
37
 * method for each class of the model. <!-- end-user-doc -->
37
 * 
38
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage
38
 * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage
39
 * @generated
39
 * @generated
40
 */
40
 */
41
public class model4interfacesAdapterFactory extends AdapterFactoryImpl
41
public class model4interfacesAdapterFactory extends AdapterFactoryImpl
42
{
42
{
43
  /**
43
  /**
44
   * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
44
   * The cached model package.
45
   * 
45
   * <!-- begin-user-doc --> <!-- end-user-doc -->
46
   * @generated
46
   * @generated
47
   */
47
   */
48
  protected static model4interfacesPackage modelPackage;
48
  protected static model4interfacesPackage modelPackage;
49
49
50
  /**
50
  /**
51
   * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * Creates an instance of the adapter factory.
52
   * 
52
   * <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * @generated
53
   * @generated
54
   */
54
   */
55
  public model4interfacesAdapterFactory()
55
  public model4interfacesAdapterFactory()
Lines 61-70 Link Here
61
  }
61
  }
62
62
63
  /**
63
  /**
64
   * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
64
   * Returns whether this factory is applicable for the type of the object.
65
   * <!-- begin-user-doc --> This implementation
65
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
66
   * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
66
   * end-user-doc -->
67
   * end-user-doc -->
67
   * 
68
   * @return whether this factory is applicable for the type of the object.
68
   * @return whether this factory is applicable for the type of the object.
69
   * @generated
69
   * @generated
70
   */
70
   */
Lines 83-90 Link Here
83
  }
83
  }
84
84
85
  /**
85
  /**
86
   * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
86
   * The switch that delegates to the <code>createXXX</code> methods.
87
   * 
87
   * <!-- begin-user-doc --> <!-- end-user-doc -->
88
   * @generated
88
   * @generated
89
   */
89
   */
90
  protected model4interfacesSwitch<Adapter> modelSwitch = new model4interfacesSwitch<Adapter>()
90
  protected model4interfacesSwitch<Adapter> modelSwitch = new model4interfacesSwitch<Adapter>()
Lines 181-190 Link Here
181
  };
181
  };
182
182
183
  /**
183
  /**
184
   * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
184
   * Creates an adapter for the <code>target</code>.
185
   * 
185
   * <!-- begin-user-doc --> <!-- end-user-doc -->
186
   * @param target
186
   * @param target the object to adapt.
187
   *          the object to adapt.
188
   * @return the adapter for the <code>target</code>.
187
   * @return the adapter for the <code>target</code>.
189
   * @generated
188
   * @generated
190
   */
189
   */
Lines 210-221 Link Here
210
  }
209
  }
211
210
212
  /**
211
  /**
213
   * Creates a new adapter for an object of class '
212
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</em>}'.
214
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
213
   * <!-- begin-user-doc --> This default implementation returns null so that
215
   * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
216
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
214
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
217
   * end-user-doc -->
215
   * end-user-doc -->
218
   * 
219
   * @return the new adapter.
216
   * @return the new adapter.
220
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
217
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
221
   * @generated
218
   * @generated
Lines 226-236 Link Here
226
  }
223
  }
227
224
228
  /**
225
  /**
229
   * Creates a new adapter for an object of class '
226
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}'.
230
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}
227
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
231
   * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
232
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
228
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
233
   * 
234
   * @return the new adapter.
229
   * @return the new adapter.
235
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
230
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
236
   * @generated
231
   * @generated
Lines 241-252 Link Here
241
  }
236
  }
242
237
243
  /**
238
  /**
244
   * Creates a new adapter for an object of class '
239
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</em>}'.
245
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
240
   * <!-- begin-user-doc --> This default implementation returns null so
246
   * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
247
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
241
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
248
   * <!-- end-user-doc -->
242
   * <!-- end-user-doc -->
249
   * 
250
   * @return the new adapter.
243
   * @return the new adapter.
251
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
244
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
252
   * @generated
245
   * @generated
Lines 272-283 Link Here
272
  }
265
  }
273
266
274
  /**
267
  /**
275
   * Creates a new adapter for an object of class '
268
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>}'.
276
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
269
   * <!-- begin-user-doc --> This default implementation returns null so that
277
   * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
278
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
270
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
279
   * end-user-doc -->
271
   * end-user-doc -->
280
   * 
281
   * @return the new adapter.
272
   * @return the new adapter.
282
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
273
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
283
   * @generated
274
   * @generated
Lines 288-298 Link Here
288
  }
279
  }
289
280
290
  /**
281
  /**
291
   * Creates a new adapter for an object of class '
282
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}'.
292
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}'.
293
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
283
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
294
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
284
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
295
   * 
296
   * @return the new adapter.
285
   * @return the new adapter.
297
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
286
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
298
   * @generated
287
   * @generated
Lines 303-314 Link Here
303
  }
292
  }
304
293
305
  /**
294
  /**
306
   * Creates a new adapter for an object of class '
295
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</em>}'.
307
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
296
   * <!-- begin-user-doc --> This default implementation returns null so
308
   * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
309
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
297
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
310
   * <!-- end-user-doc -->
298
   * <!-- end-user-doc -->
311
   * 
312
   * @return the new adapter.
299
   * @return the new adapter.
313
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
300
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
314
   * @generated
301
   * @generated
Lines 334-345 Link Here
334
  }
321
  }
335
322
336
  /**
323
  /**
337
   * Creates a new adapter for an object of class '
324
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</em>}'.
338
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
325
   * <!-- begin-user-doc --> This default implementation returns null so
339
   * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> This default implementation returns null so
340
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
326
   * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
341
   * <!-- end-user-doc -->
327
   * <!-- end-user-doc -->
342
   * 
343
   * @return the new adapter.
328
   * @return the new adapter.
344
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
329
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
345
   * @generated
330
   * @generated
Lines 350-360 Link Here
350
  }
335
  }
351
336
352
  /**
337
  /**
353
   * Creates a new adapter for an object of class '
338
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}'.
354
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}
339
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
355
   * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
356
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
340
   * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
357
   * 
358
   * @return the new adapter.
341
   * @return the new adapter.
359
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
342
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
360
   * @generated
343
   * @generated
Lines 365-376 Link Here
365
  }
348
  }
366
349
367
  /**
350
  /**
368
   * Creates a new adapter for an object of class '
351
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>}'.
369
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
352
   * <!-- begin-user-doc --> This default implementation returns null so that
370
   * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
371
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
353
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
372
   * end-user-doc -->
354
   * end-user-doc -->
373
   * 
374
   * @return the new adapter.
355
   * @return the new adapter.
375
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
356
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
376
   * @generated
357
   * @generated
Lines 381-391 Link Here
381
  }
362
  }
382
363
383
  /**
364
  /**
384
   * Creates a new adapter for an object of class '
365
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}'.
385
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}'.
386
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
366
   * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
387
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
367
   * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
388
   * 
389
   * @return the new adapter.
368
   * @return the new adapter.
390
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
369
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
391
   * @generated
370
   * @generated
Lines 396-407 Link Here
396
  }
375
  }
397
376
398
  /**
377
  /**
399
   * Creates a new adapter for an object of class '
378
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}'.
400
   * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
379
   * <!-- begin-user-doc --> This default implementation returns null so that
401
   * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
402
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
380
   * we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
403
   * end-user-doc -->
381
   * end-user-doc -->
404
   * 
405
   * @return the new adapter.
382
   * @return the new adapter.
406
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
383
   * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
407
   * @generated
384
   * @generated
Lines 412-420 Link Here
412
  }
389
  }
413
390
414
  /**
391
  /**
415
   * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
392
   * Creates a new adapter for the default case.
393
   * <!-- begin-user-doc --> This default implementation returns null. <!--
416
   * end-user-doc -->
394
   * end-user-doc -->
417
   * 
418
   * @return the new adapter.
395
   * @return the new adapter.
419
   * @generated
396
   * @generated
420
   */
397
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesFactoryImpl.java (-10 / +6 lines)
Lines 21-42 Link Here
21
21
22
/**
22
/**
23
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
23
 * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
24
 * 
25
 * @generated
24
 * @generated
26
 */
25
 */
27
public class model4interfacesFactoryImpl extends EFactoryImpl implements model4interfacesFactory
26
public class model4interfacesFactoryImpl extends EFactoryImpl implements model4interfacesFactory
28
{
27
{
29
  /**
28
  /**
30
   * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
29
   * Creates the default factory implementation.
31
   * 
30
   * <!-- begin-user-doc --> <!-- end-user-doc -->
32
   * @generated
31
   * @generated NOT
33
   */
32
   */
34
  public static model4interfacesFactory init()
33
  public static model4interfacesFactory init()
35
  {
34
  {
36
    try
35
    try
37
    {
36
    {
38
      model4interfacesFactory themodel4interfacesFactory = (model4interfacesFactory)EPackage.Registry.INSTANCE
37
      model4interfacesFactory themodel4interfacesFactory = (model4interfacesFactory)EPackage.Registry.INSTANCE
39
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/model4interfaces/1.0.0");
38
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model4interfaces/1.0.0");
40
      if (themodel4interfacesFactory != null)
39
      if (themodel4interfacesFactory != null)
41
      {
40
      {
42
        return themodel4interfacesFactory;
41
        return themodel4interfacesFactory;
Lines 50-57 Link Here
50
  }
49
  }
51
50
52
  /**
51
  /**
53
   * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * Creates an instance of the factory.
54
   * 
53
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * @generated
54
   * @generated
56
   */
55
   */
57
  public model4interfacesFactoryImpl()
56
  public model4interfacesFactoryImpl()
Lines 61-67 Link Here
61
60
62
  /**
61
  /**
63
   * <!-- begin-user-doc --> <!-- end-user-doc -->
62
   * <!-- begin-user-doc --> <!-- end-user-doc -->
64
   * 
65
   * @generated
63
   * @generated
66
   */
64
   */
67
  @Override
65
  @Override
Lines 76-82 Link Here
76
74
77
  /**
75
  /**
78
   * <!-- begin-user-doc --> <!-- end-user-doc -->
76
   * <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * 
80
   * @generated
77
   * @generated
81
   */
78
   */
82
  public model4interfacesPackage getmodel4interfacesPackage()
79
  public model4interfacesPackage getmodel4interfacesPackage()
Lines 86-92 Link Here
86
83
87
  /**
84
  /**
88
   * <!-- begin-user-doc --> <!-- end-user-doc -->
85
   * <!-- begin-user-doc --> <!-- end-user-doc -->
89
   * 
90
   * @deprecated
86
   * @deprecated
91
   * @generated
87
   * @generated
92
   */
88
   */
(-)src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java (-66 / +20 lines)
Lines 10-31 Link Here
10
 */
10
 */
11
package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl;
11
package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl;
12
12
13
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink;
14
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement;
15
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer;
16
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL;
17
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement;
18
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer;
19
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL;
20
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement;
21
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement;
22
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer;
23
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL;
24
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement;
25
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer;
26
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL;
27
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory;
13
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory;
28
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
14
import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
15
import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink;
16
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement;
17
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer;
18
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL;
19
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement;
20
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer;
21
import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL;
22
import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement;
23
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement;
24
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer;
25
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL;
26
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement;
27
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer;
28
import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL;
29
29
30
import org.eclipse.emf.ecore.EAttribute;
30
import org.eclipse.emf.ecore.EAttribute;
31
import org.eclipse.emf.ecore.EClass;
31
import org.eclipse.emf.ecore.EClass;
Lines 35-139 Link Here
35
35
36
/**
36
/**
37
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
37
 * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
38
 * 
39
 * @generated
38
 * @generated
40
 */
39
 */
41
public class model4interfacesPackageImpl extends EPackageImpl implements model4interfacesPackage
40
public class model4interfacesPackageImpl extends EPackageImpl implements model4interfacesPackage
42
{
41
{
43
  /**
42
  /**
44
   * <!-- begin-user-doc --> <!-- end-user-doc -->
43
   * <!-- begin-user-doc --> <!-- end-user-doc -->
45
   * 
46
   * @generated
44
   * @generated
47
   */
45
   */
48
  private EClass iSingleRefContainerEClass = null;
46
  private EClass iSingleRefContainerEClass = null;
49
47
50
  /**
48
  /**
51
   * <!-- begin-user-doc --> <!-- end-user-doc -->
49
   * <!-- begin-user-doc --> <!-- end-user-doc -->
52
   * 
53
   * @generated
50
   * @generated
54
   */
51
   */
55
  private EClass iSingleRefContainedElementEClass = null;
52
  private EClass iSingleRefContainedElementEClass = null;
56
53
57
  /**
54
  /**
58
   * <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * <!-- begin-user-doc --> <!-- end-user-doc -->
59
   * 
60
   * @generated
56
   * @generated
61
   */
57
   */
62
  private EClass iSingleRefNonContainerEClass = null;
58
  private EClass iSingleRefNonContainerEClass = null;
63
59
64
  /**
60
  /**
65
   * <!-- begin-user-doc --> <!-- end-user-doc -->
61
   * <!-- begin-user-doc --> <!-- end-user-doc -->
66
   * 
67
   * @generated
62
   * @generated
68
   */
63
   */
69
  private EClass iSingleRefNonContainedElementEClass = null;
64
  private EClass iSingleRefNonContainedElementEClass = null;
70
65
71
  /**
66
  /**
72
   * <!-- begin-user-doc --> <!-- end-user-doc -->
67
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * 
74
   * @generated
68
   * @generated
75
   */
69
   */
76
  private EClass iMultiRefContainerEClass = null;
70
  private EClass iMultiRefContainerEClass = null;
77
71
78
  /**
72
  /**
79
   * <!-- begin-user-doc --> <!-- end-user-doc -->
73
   * <!-- begin-user-doc --> <!-- end-user-doc -->
80
   * 
81
   * @generated
74
   * @generated
82
   */
75
   */
83
  private EClass iMultiRefContainedElementEClass = null;
76
  private EClass iMultiRefContainedElementEClass = null;
84
77
85
  /**
78
  /**
86
   * <!-- begin-user-doc --> <!-- end-user-doc -->
79
   * <!-- begin-user-doc --> <!-- end-user-doc -->
87
   * 
88
   * @generated
80
   * @generated
89
   */
81
   */
90
  private EClass iMultiRefNonContainerEClass = null;
82
  private EClass iMultiRefNonContainerEClass = null;
91
83
92
  /**
84
  /**
93
   * <!-- begin-user-doc --> <!-- end-user-doc -->
85
   * <!-- begin-user-doc --> <!-- end-user-doc -->
94
   * 
95
   * @generated
86
   * @generated
96
   */
87
   */
97
  private EClass iMultiRefNonContainedElementEClass = null;
88
  private EClass iMultiRefNonContainedElementEClass = null;
98
89
99
  /**
90
  /**
100
   * <!-- begin-user-doc --> <!-- end-user-doc -->
91
   * <!-- begin-user-doc --> <!-- end-user-doc -->
101
   * 
102
   * @generated
92
   * @generated
103
   */
93
   */
104
  private EClass iNamedElementEClass = null;
94
  private EClass iNamedElementEClass = null;
105
95
106
  /**
96
  /**
107
   * <!-- begin-user-doc --> <!-- end-user-doc -->
97
   * <!-- begin-user-doc --> <!-- end-user-doc -->
108
   * 
109
   * @generated
98
   * @generated
110
   */
99
   */
111
  private EClass iContainedElementNoParentLinkEClass = null;
100
  private EClass iContainedElementNoParentLinkEClass = null;
112
101
113
  /**
102
  /**
114
   * <!-- begin-user-doc --> <!-- end-user-doc -->
103
   * <!-- begin-user-doc --> <!-- end-user-doc -->
115
   * 
116
   * @generated
104
   * @generated
117
   */
105
   */
118
  private EClass iSingleRefContainerNPLEClass = null;
106
  private EClass iSingleRefContainerNPLEClass = null;
119
107
120
  /**
108
  /**
121
   * <!-- begin-user-doc --> <!-- end-user-doc -->
109
   * <!-- begin-user-doc --> <!-- end-user-doc -->
122
   * 
123
   * @generated
110
   * @generated
124
   */
111
   */
125
  private EClass iSingleRefNonContainerNPLEClass = null;
112
  private EClass iSingleRefNonContainerNPLEClass = null;
126
113
127
  /**
114
  /**
128
   * <!-- begin-user-doc --> <!-- end-user-doc -->
115
   * <!-- begin-user-doc --> <!-- end-user-doc -->
129
   * 
130
   * @generated
116
   * @generated
131
   */
117
   */
132
  private EClass iMultiRefContainerNPLEClass = null;
118
  private EClass iMultiRefContainerNPLEClass = null;
133
119
134
  /**
120
  /**
135
   * <!-- begin-user-doc --> <!-- end-user-doc -->
121
   * <!-- begin-user-doc --> <!-- end-user-doc -->
136
   * 
137
   * @generated
122
   * @generated
138
   */
123
   */
139
  private EClass iMultiRefNonContainerNPLEClass = null;
124
  private EClass iMultiRefNonContainerNPLEClass = null;
Lines 158-164 Link Here
158
143
159
  /**
144
  /**
160
   * <!-- begin-user-doc --> <!-- end-user-doc -->
145
   * <!-- begin-user-doc --> <!-- end-user-doc -->
161
   * 
162
   * @generated
146
   * @generated
163
   */
147
   */
164
  private static boolean isInited = false;
148
  private static boolean isInited = false;
Lines 203-209 Link Here
203
187
204
  /**
188
  /**
205
   * <!-- begin-user-doc --> <!-- end-user-doc -->
189
   * <!-- begin-user-doc --> <!-- end-user-doc -->
206
   * 
207
   * @generated
190
   * @generated
208
   */
191
   */
209
  public EClass getISingleRefContainer()
192
  public EClass getISingleRefContainer()
Lines 213-219 Link Here
213
196
214
  /**
197
  /**
215
   * <!-- begin-user-doc --> <!-- end-user-doc -->
198
   * <!-- begin-user-doc --> <!-- end-user-doc -->
216
   * 
217
   * @generated
199
   * @generated
218
   */
200
   */
219
  public EReference getISingleRefContainer_Element()
201
  public EReference getISingleRefContainer_Element()
Lines 223-229 Link Here
223
205
224
  /**
206
  /**
225
   * <!-- begin-user-doc --> <!-- end-user-doc -->
207
   * <!-- begin-user-doc --> <!-- end-user-doc -->
226
   * 
227
   * @generated
208
   * @generated
228
   */
209
   */
229
  public EClass getISingleRefContainedElement()
210
  public EClass getISingleRefContainedElement()
Lines 233-239 Link Here
233
214
234
  /**
215
  /**
235
   * <!-- begin-user-doc --> <!-- end-user-doc -->
216
   * <!-- begin-user-doc --> <!-- end-user-doc -->
236
   * 
237
   * @generated
217
   * @generated
238
   */
218
   */
239
  public EReference getISingleRefContainedElement_Parent()
219
  public EReference getISingleRefContainedElement_Parent()
Lines 243-249 Link Here
243
223
244
  /**
224
  /**
245
   * <!-- begin-user-doc --> <!-- end-user-doc -->
225
   * <!-- begin-user-doc --> <!-- end-user-doc -->
246
   * 
247
   * @generated
226
   * @generated
248
   */
227
   */
249
  public EClass getISingleRefNonContainer()
228
  public EClass getISingleRefNonContainer()
Lines 253-259 Link Here
253
232
254
  /**
233
  /**
255
   * <!-- begin-user-doc --> <!-- end-user-doc -->
234
   * <!-- begin-user-doc --> <!-- end-user-doc -->
256
   * 
257
   * @generated
235
   * @generated
258
   */
236
   */
259
  public EReference getISingleRefNonContainer_Element()
237
  public EReference getISingleRefNonContainer_Element()
Lines 263-269 Link Here
263
241
264
  /**
242
  /**
265
   * <!-- begin-user-doc --> <!-- end-user-doc -->
243
   * <!-- begin-user-doc --> <!-- end-user-doc -->
266
   * 
267
   * @generated
244
   * @generated
268
   */
245
   */
269
  public EClass getISingleRefNonContainedElement()
246
  public EClass getISingleRefNonContainedElement()
Lines 273-279 Link Here
273
250
274
  /**
251
  /**
275
   * <!-- begin-user-doc --> <!-- end-user-doc -->
252
   * <!-- begin-user-doc --> <!-- end-user-doc -->
276
   * 
277
   * @generated
253
   * @generated
278
   */
254
   */
279
  public EReference getISingleRefNonContainedElement_Parent()
255
  public EReference getISingleRefNonContainedElement_Parent()
Lines 283-289 Link Here
283
259
284
  /**
260
  /**
285
   * <!-- begin-user-doc --> <!-- end-user-doc -->
261
   * <!-- begin-user-doc --> <!-- end-user-doc -->
286
   * 
287
   * @generated
262
   * @generated
288
   */
263
   */
289
  public EClass getIMultiRefContainer()
264
  public EClass getIMultiRefContainer()
Lines 293-299 Link Here
293
268
294
  /**
269
  /**
295
   * <!-- begin-user-doc --> <!-- end-user-doc -->
270
   * <!-- begin-user-doc --> <!-- end-user-doc -->
296
   * 
297
   * @generated
271
   * @generated
298
   */
272
   */
299
  public EReference getIMultiRefContainer_Elements()
273
  public EReference getIMultiRefContainer_Elements()
Lines 303-309 Link Here
303
277
304
  /**
278
  /**
305
   * <!-- begin-user-doc --> <!-- end-user-doc -->
279
   * <!-- begin-user-doc --> <!-- end-user-doc -->
306
   * 
307
   * @generated
280
   * @generated
308
   */
281
   */
309
  public EClass getIMultiRefContainedElement()
282
  public EClass getIMultiRefContainedElement()
Lines 313-319 Link Here
313
286
314
  /**
287
  /**
315
   * <!-- begin-user-doc --> <!-- end-user-doc -->
288
   * <!-- begin-user-doc --> <!-- end-user-doc -->
316
   * 
317
   * @generated
289
   * @generated
318
   */
290
   */
319
  public EReference getIMultiRefContainedElement_Parent()
291
  public EReference getIMultiRefContainedElement_Parent()
Lines 323-329 Link Here
323
295
324
  /**
296
  /**
325
   * <!-- begin-user-doc --> <!-- end-user-doc -->
297
   * <!-- begin-user-doc --> <!-- end-user-doc -->
326
   * 
327
   * @generated
298
   * @generated
328
   */
299
   */
329
  public EClass getIMultiRefNonContainer()
300
  public EClass getIMultiRefNonContainer()
Lines 333-339 Link Here
333
304
334
  /**
305
  /**
335
   * <!-- begin-user-doc --> <!-- end-user-doc -->
306
   * <!-- begin-user-doc --> <!-- end-user-doc -->
336
   * 
337
   * @generated
307
   * @generated
338
   */
308
   */
339
  public EReference getIMultiRefNonContainer_Elements()
309
  public EReference getIMultiRefNonContainer_Elements()
Lines 343-349 Link Here
343
313
344
  /**
314
  /**
345
   * <!-- begin-user-doc --> <!-- end-user-doc -->
315
   * <!-- begin-user-doc --> <!-- end-user-doc -->
346
   * 
347
   * @generated
316
   * @generated
348
   */
317
   */
349
  public EClass getIMultiRefNonContainedElement()
318
  public EClass getIMultiRefNonContainedElement()
Lines 353-359 Link Here
353
322
354
  /**
323
  /**
355
   * <!-- begin-user-doc --> <!-- end-user-doc -->
324
   * <!-- begin-user-doc --> <!-- end-user-doc -->
356
   * 
357
   * @generated
325
   * @generated
358
   */
326
   */
359
  public EReference getIMultiRefNonContainedElement_Parent()
327
  public EReference getIMultiRefNonContainedElement_Parent()
Lines 363-369 Link Here
363
331
364
  /**
332
  /**
365
   * <!-- begin-user-doc --> <!-- end-user-doc -->
333
   * <!-- begin-user-doc --> <!-- end-user-doc -->
366
   * 
367
   * @generated
334
   * @generated
368
   */
335
   */
369
  public EClass getINamedElement()
336
  public EClass getINamedElement()
Lines 373-379 Link Here
373
340
374
  /**
341
  /**
375
   * <!-- begin-user-doc --> <!-- end-user-doc -->
342
   * <!-- begin-user-doc --> <!-- end-user-doc -->
376
   * 
377
   * @generated
343
   * @generated
378
   */
344
   */
379
  public EAttribute getINamedElement_Name()
345
  public EAttribute getINamedElement_Name()
Lines 383-389 Link Here
383
349
384
  /**
350
  /**
385
   * <!-- begin-user-doc --> <!-- end-user-doc -->
351
   * <!-- begin-user-doc --> <!-- end-user-doc -->
386
   * 
387
   * @generated
352
   * @generated
388
   */
353
   */
389
  public EClass getIContainedElementNoParentLink()
354
  public EClass getIContainedElementNoParentLink()
Lines 393-399 Link Here
393
358
394
  /**
359
  /**
395
   * <!-- begin-user-doc --> <!-- end-user-doc -->
360
   * <!-- begin-user-doc --> <!-- end-user-doc -->
396
   * 
397
   * @generated
361
   * @generated
398
   */
362
   */
399
  public EClass getISingleRefContainerNPL()
363
  public EClass getISingleRefContainerNPL()
Lines 403-409 Link Here
403
367
404
  /**
368
  /**
405
   * <!-- begin-user-doc --> <!-- end-user-doc -->
369
   * <!-- begin-user-doc --> <!-- end-user-doc -->
406
   * 
407
   * @generated
370
   * @generated
408
   */
371
   */
409
  public EReference getISingleRefContainerNPL_Element()
372
  public EReference getISingleRefContainerNPL_Element()
Lines 413-419 Link Here
413
376
414
  /**
377
  /**
415
   * <!-- begin-user-doc --> <!-- end-user-doc -->
378
   * <!-- begin-user-doc --> <!-- end-user-doc -->
416
   * 
417
   * @generated
379
   * @generated
418
   */
380
   */
419
  public EClass getISingleRefNonContainerNPL()
381
  public EClass getISingleRefNonContainerNPL()
Lines 423-429 Link Here
423
385
424
  /**
386
  /**
425
   * <!-- begin-user-doc --> <!-- end-user-doc -->
387
   * <!-- begin-user-doc --> <!-- end-user-doc -->
426
   * 
427
   * @generated
388
   * @generated
428
   */
389
   */
429
  public EReference getISingleRefNonContainerNPL_Element()
390
  public EReference getISingleRefNonContainerNPL_Element()
Lines 433-439 Link Here
433
394
434
  /**
395
  /**
435
   * <!-- begin-user-doc --> <!-- end-user-doc -->
396
   * <!-- begin-user-doc --> <!-- end-user-doc -->
436
   * 
437
   * @generated
397
   * @generated
438
   */
398
   */
439
  public EClass getIMultiRefContainerNPL()
399
  public EClass getIMultiRefContainerNPL()
Lines 443-449 Link Here
443
403
444
  /**
404
  /**
445
   * <!-- begin-user-doc --> <!-- end-user-doc -->
405
   * <!-- begin-user-doc --> <!-- end-user-doc -->
446
   * 
447
   * @generated
406
   * @generated
448
   */
407
   */
449
  public EReference getIMultiRefContainerNPL_Elements()
408
  public EReference getIMultiRefContainerNPL_Elements()
Lines 453-459 Link Here
453
412
454
  /**
413
  /**
455
   * <!-- begin-user-doc --> <!-- end-user-doc -->
414
   * <!-- begin-user-doc --> <!-- end-user-doc -->
456
   * 
457
   * @generated
415
   * @generated
458
   */
416
   */
459
  public EClass getIMultiRefNonContainerNPL()
417
  public EClass getIMultiRefNonContainerNPL()
Lines 463-469 Link Here
463
421
464
  /**
422
  /**
465
   * <!-- begin-user-doc --> <!-- end-user-doc -->
423
   * <!-- begin-user-doc --> <!-- end-user-doc -->
466
   * 
467
   * @generated
424
   * @generated
468
   */
425
   */
469
  public EReference getIMultiRefNonContainerNPL_Elements()
426
  public EReference getIMultiRefNonContainerNPL_Elements()
Lines 473-479 Link Here
473
430
474
  /**
431
  /**
475
   * <!-- begin-user-doc --> <!-- end-user-doc -->
432
   * <!-- begin-user-doc --> <!-- end-user-doc -->
476
   * 
477
   * @generated
433
   * @generated
478
   */
434
   */
479
  public model4interfacesFactory getmodel4interfacesFactory()
435
  public model4interfacesFactory getmodel4interfacesFactory()
Lines 483-497 Link Here
483
439
484
  /**
440
  /**
485
   * <!-- begin-user-doc --> <!-- end-user-doc -->
441
   * <!-- begin-user-doc --> <!-- end-user-doc -->
486
   * 
487
   * @generated
442
   * @generated
488
   */
443
   */
489
  private boolean isCreated = false;
444
  private boolean isCreated = false;
490
445
491
  /**
446
  /**
492
   * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
447
   * Creates the meta-model objects for the package.  This method is
493
   * first. <!-- begin-user-doc --> <!-- end-user-doc -->
448
   * guarded to have no affect on any invocation but its first.
494
   * 
449
   * <!-- begin-user-doc --> <!-- end-user-doc -->
495
   * @generated
450
   * @generated
496
   */
451
   */
497
  public void createPackageContents()
452
  public void createPackageContents()
Lines 545-559 Link Here
545
500
546
  /**
501
  /**
547
   * <!-- begin-user-doc --> <!-- end-user-doc -->
502
   * <!-- begin-user-doc --> <!-- end-user-doc -->
548
   * 
549
   * @generated
503
   * @generated
550
   */
504
   */
551
  private boolean isInitialized = false;
505
  private boolean isInitialized = false;
552
506
553
  /**
507
  /**
554
   * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
508
   * Complete the initialization of the package and its meta-model.  This
555
   * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
509
   * method is guarded to have no affect on any invocation but its first.
556
   * 
510
   * <!-- begin-user-doc --> <!-- end-user-doc -->
557
   * @generated
511
   * @generated
558
   */
512
   */
559
  public void initializePackageContents()
513
  public void initializePackageContents()
(-)META-INF/MANIFEST.MF (+1 lines)
Lines 10-15 Link Here
10
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
10
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
11
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
11
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
12
Export-Package: org.eclipse.emf.cdo.tests.legacy.model1,
12
Export-Package: org.eclipse.emf.cdo.tests.legacy.model1,
13
 org.eclipse.emf.cdo.tests.legacy.model1.impl,
13
 org.eclipse.emf.cdo.tests.model1;version="3.0.0",
14
 org.eclipse.emf.cdo.tests.model1;version="3.0.0",
14
 org.eclipse.emf.cdo.tests.model1.impl;version="3.0.0",
15
 org.eclipse.emf.cdo.tests.model1.impl;version="3.0.0",
15
 org.eclipse.emf.cdo.tests.model1.util;version="3.0.0",
16
 org.eclipse.emf.cdo.tests.model1.util;version="3.0.0",
(-)src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1PackageImpl.java (-2 / +2 lines)
Lines 175-181 Link Here
175
   * @see #eNS_URI
175
   * @see #eNS_URI
176
   * @see #createPackageContents()
176
   * @see #createPackageContents()
177
   * @see #initializePackageContents()
177
   * @see #initializePackageContents()
178
   * @generated
178
   * @generated NOT
179
   */
179
   */
180
  public static Model1Package init()
180
  public static Model1Package init()
181
  {
181
  {
Lines 185-191 Link Here
185
    }
185
    }
186
186
187
    // Obtain or create and register package
187
    // Obtain or create and register package
188
    Model1PackageImpl theModel1Package = (Model1PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Model1PackageImpl ? EPackage.Registry.INSTANCE
188
    Model1PackageImpl theModel1Package = (Model1PackageImpl)(EPackage.Registry.INSTANCE.get(Model1Package.eNS_URI) instanceof Model1PackageImpl ? EPackage.Registry.INSTANCE
189
        .get(eNS_URI)
189
        .get(eNS_URI)
190
        : new Model1PackageImpl());
190
        : new Model1PackageImpl());
191
191
(-)src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1FactoryImpl.java (-2 / +2 lines)
Lines 53-66 Link Here
53
  /**
53
  /**
54
   * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
54
   * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
55
   * 
55
   * 
56
   * @generated
56
   * @generated NOT
57
   */
57
   */
58
  public static Model1Factory init()
58
  public static Model1Factory init()
59
  {
59
  {
60
    try
60
    try
61
    {
61
    {
62
      Model1Factory theModel1Factory = (Model1Factory)EPackage.Registry.INSTANCE
62
      Model1Factory theModel1Factory = (Model1Factory)EPackage.Registry.INSTANCE
63
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/model1/1.0.0");
63
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model1/1.0.0");
64
      if (theModel1Factory != null)
64
      if (theModel1Factory != null)
65
      {
65
      {
66
        return theModel1Factory;
66
        return theModel1Factory;
(-)src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Package.java (-4 / +3 lines)
Lines 15-21 Link Here
15
import org.eclipse.emf.ecore.EAttribute;
15
import org.eclipse.emf.ecore.EAttribute;
16
import org.eclipse.emf.ecore.EClass;
16
import org.eclipse.emf.ecore.EClass;
17
import org.eclipse.emf.ecore.EEnum;
17
import org.eclipse.emf.ecore.EEnum;
18
import org.eclipse.emf.ecore.EPackage;
19
import org.eclipse.emf.ecore.EReference;
18
import org.eclipse.emf.ecore.EReference;
20
19
21
/**
20
/**
Lines 32-38 Link Here
32
 * @model kind="package"
31
 * @model kind="package"
33
 * @generated
32
 * @generated
34
 */
33
 */
35
public interface Model1Package extends EPackage, org.eclipse.emf.cdo.tests.model1.Model1Package
34
public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Package
36
{
35
{
37
  /**
36
  /**
38
   * <!-- begin-user-doc --> <!-- end-user-doc -->
37
   * <!-- begin-user-doc --> <!-- end-user-doc -->
Lines 51-59 Link Here
51
  /**
50
  /**
52
   * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
51
   * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
53
   * 
52
   * 
54
   * @generated
53
   * @generated NOT
55
   */
54
   */
56
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model1/1.0.0";
55
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model1/1.0.0";
57
56
58
  /**
57
  /**
59
   * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
58
   * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
(-)src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Factory.java (-3 / +1 lines)
Lines 24-31 Link Here
24
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
24
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
25
import org.eclipse.emf.cdo.tests.model1.Supplier;
25
import org.eclipse.emf.cdo.tests.model1.Supplier;
26
26
27
import org.eclipse.emf.ecore.EFactory;
28
29
/**
27
/**
30
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
28
 * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
31
 * the model. <!-- end-user-doc -->
29
 * the model. <!-- end-user-doc -->
Lines 33-39 Link Here
33
 * @see org.eclipse.emf.cdo.tests.legacy.model1.Model1Package
31
 * @see org.eclipse.emf.cdo.tests.legacy.model1.Model1Package
34
 * @generated
32
 * @generated
35
 */
33
 */
36
public interface Model1Factory extends EFactory, org.eclipse.emf.cdo.tests.model1.Model1Factory
34
public interface Model1Factory extends org.eclipse.emf.cdo.tests.model1.Model1Factory
37
{
35
{
38
  /**
36
  /**
39
   * <!-- begin-user-doc --> <!-- end-user-doc -->
37
   * <!-- begin-user-doc --> <!-- end-user-doc -->
(-)META-INF/MANIFEST.MF (-1 / +2 lines)
Lines 9-14 Link Here
9
Bundle-ClassPath: .
9
Bundle-ClassPath: .
10
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
10
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
11
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
11
 org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
12
Export-Package: org.eclipse.emf.cdo.tests.model5;version="3.0.0",
12
Export-Package: org.eclipse.emf.cdo.tests.legacy.model5,
13
 org.eclipse.emf.cdo.tests.model5;version="3.0.0",
13
 org.eclipse.emf.cdo.tests.model5.impl;version="3.0.0",
14
 org.eclipse.emf.cdo.tests.model5.impl;version="3.0.0",
14
 org.eclipse.emf.cdo.tests.model5.util;version="3.0.0"
15
 org.eclipse.emf.cdo.tests.model5.util;version="3.0.0"
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfStringImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfString;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of String</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfStringImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfStringImpl extends EObjectImpl implements GenListOfString
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<String> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfStringImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_STRING;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<String> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<String>(String.class, this, Model5Package.GEN_LIST_OF_STRING__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_STRING__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_STRING__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends String>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_STRING__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_STRING__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfStringImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/util/Model5Switch.java (+455 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.util;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.Doctor;
17
import org.eclipse.emf.cdo.tests.model5.GenListOfBoolean;
18
import org.eclipse.emf.cdo.tests.model5.GenListOfChar;
19
import org.eclipse.emf.cdo.tests.model5.GenListOfDate;
20
import org.eclipse.emf.cdo.tests.model5.GenListOfDouble;
21
import org.eclipse.emf.cdo.tests.model5.GenListOfFloat;
22
import org.eclipse.emf.cdo.tests.model5.GenListOfInt;
23
import org.eclipse.emf.cdo.tests.model5.GenListOfInteger;
24
import org.eclipse.emf.cdo.tests.model5.GenListOfLong;
25
import org.eclipse.emf.cdo.tests.model5.GenListOfShort;
26
import org.eclipse.emf.cdo.tests.model5.GenListOfString;
27
import org.eclipse.emf.cdo.tests.model5.Manager;
28
import org.eclipse.emf.cdo.tests.model5.TestFeatureMap;
29
30
import org.eclipse.emf.ecore.EClass;
31
import org.eclipse.emf.ecore.EObject;
32
33
import java.util.List;
34
35
/**
36
 * <!-- begin-user-doc -->
37
 * The <b>Switch</b> for the model's inheritance hierarchy.
38
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
39
 * to invoke the <code>caseXXX</code> method for each class of the model,
40
 * starting with the actual class of the object
41
 * and proceeding up the inheritance hierarchy
42
 * until a non-null result is returned,
43
 * which is the result of the switch.
44
 * <!-- end-user-doc -->
45
 * @see org.eclipse.emf.cdo.tests.legacy.model5.Model5Package
46
 * @generated
47
 */
48
public class Model5Switch<T>
49
{
50
  /**
51
   * <!-- begin-user-doc -->
52
   * <!-- end-user-doc -->
53
   * @generated
54
   */
55
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
56
57
  /**
58
   * The cached model package
59
   * <!-- begin-user-doc -->
60
   * <!-- end-user-doc -->
61
   * @generated
62
   */
63
  protected static Model5Package modelPackage;
64
65
  /**
66
   * Creates an instance of the switch.
67
   * <!-- begin-user-doc -->
68
   * <!-- end-user-doc -->
69
   * @generated
70
   */
71
  public Model5Switch()
72
  {
73
    if (modelPackage == null)
74
    {
75
      modelPackage = Model5Package.eINSTANCE;
76
    }
77
  }
78
79
  /**
80
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
81
   * <!-- begin-user-doc -->
82
   * <!-- end-user-doc -->
83
   * @return the first non-null result returned by a <code>caseXXX</code> call.
84
   * @generated
85
   */
86
  public T doSwitch(EObject theEObject)
87
  {
88
    return doSwitch(theEObject.eClass(), theEObject);
89
  }
90
91
  /**
92
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @return the first non-null result returned by a <code>caseXXX</code> call.
96
   * @generated
97
   */
98
  protected T doSwitch(EClass theEClass, EObject theEObject)
99
  {
100
    if (theEClass.eContainer() == modelPackage)
101
    {
102
      return doSwitch(theEClass.getClassifierID(), theEObject);
103
    }
104
    else
105
    {
106
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
107
      return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
108
    }
109
  }
110
111
  /**
112
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
113
   * <!-- begin-user-doc -->
114
   * <!-- end-user-doc -->
115
   * @return the first non-null result returned by a <code>caseXXX</code> call.
116
   * @generated
117
   */
118
  protected T doSwitch(int classifierID, EObject theEObject)
119
  {
120
    switch (classifierID)
121
    {
122
    case Model5Package.TEST_FEATURE_MAP:
123
    {
124
      TestFeatureMap testFeatureMap = (TestFeatureMap)theEObject;
125
      T result = caseTestFeatureMap(testFeatureMap);
126
      if (result == null)
127
        result = defaultCase(theEObject);
128
      return result;
129
    }
130
    case Model5Package.MANAGER:
131
    {
132
      Manager manager = (Manager)theEObject;
133
      T result = caseManager(manager);
134
      if (result == null)
135
        result = defaultCase(theEObject);
136
      return result;
137
    }
138
    case Model5Package.DOCTOR:
139
    {
140
      Doctor doctor = (Doctor)theEObject;
141
      T result = caseDoctor(doctor);
142
      if (result == null)
143
        result = defaultCase(theEObject);
144
      return result;
145
    }
146
    case Model5Package.GEN_LIST_OF_STRING:
147
    {
148
      GenListOfString genListOfString = (GenListOfString)theEObject;
149
      T result = caseGenListOfString(genListOfString);
150
      if (result == null)
151
        result = defaultCase(theEObject);
152
      return result;
153
    }
154
    case Model5Package.GEN_LIST_OF_INT:
155
    {
156
      GenListOfInt genListOfInt = (GenListOfInt)theEObject;
157
      T result = caseGenListOfInt(genListOfInt);
158
      if (result == null)
159
        result = defaultCase(theEObject);
160
      return result;
161
    }
162
    case Model5Package.GEN_LIST_OF_INTEGER:
163
    {
164
      GenListOfInteger genListOfInteger = (GenListOfInteger)theEObject;
165
      T result = caseGenListOfInteger(genListOfInteger);
166
      if (result == null)
167
        result = defaultCase(theEObject);
168
      return result;
169
    }
170
    case Model5Package.GEN_LIST_OF_LONG:
171
    {
172
      GenListOfLong genListOfLong = (GenListOfLong)theEObject;
173
      T result = caseGenListOfLong(genListOfLong);
174
      if (result == null)
175
        result = defaultCase(theEObject);
176
      return result;
177
    }
178
    case Model5Package.GEN_LIST_OF_BOOLEAN:
179
    {
180
      GenListOfBoolean genListOfBoolean = (GenListOfBoolean)theEObject;
181
      T result = caseGenListOfBoolean(genListOfBoolean);
182
      if (result == null)
183
        result = defaultCase(theEObject);
184
      return result;
185
    }
186
    case Model5Package.GEN_LIST_OF_SHORT:
187
    {
188
      GenListOfShort genListOfShort = (GenListOfShort)theEObject;
189
      T result = caseGenListOfShort(genListOfShort);
190
      if (result == null)
191
        result = defaultCase(theEObject);
192
      return result;
193
    }
194
    case Model5Package.GEN_LIST_OF_FLOAT:
195
    {
196
      GenListOfFloat genListOfFloat = (GenListOfFloat)theEObject;
197
      T result = caseGenListOfFloat(genListOfFloat);
198
      if (result == null)
199
        result = defaultCase(theEObject);
200
      return result;
201
    }
202
    case Model5Package.GEN_LIST_OF_DOUBLE:
203
    {
204
      GenListOfDouble genListOfDouble = (GenListOfDouble)theEObject;
205
      T result = caseGenListOfDouble(genListOfDouble);
206
      if (result == null)
207
        result = defaultCase(theEObject);
208
      return result;
209
    }
210
    case Model5Package.GEN_LIST_OF_DATE:
211
    {
212
      GenListOfDate genListOfDate = (GenListOfDate)theEObject;
213
      T result = caseGenListOfDate(genListOfDate);
214
      if (result == null)
215
        result = defaultCase(theEObject);
216
      return result;
217
    }
218
    case Model5Package.GEN_LIST_OF_CHAR:
219
    {
220
      GenListOfChar genListOfChar = (GenListOfChar)theEObject;
221
      T result = caseGenListOfChar(genListOfChar);
222
      if (result == null)
223
        result = defaultCase(theEObject);
224
      return result;
225
    }
226
    default:
227
      return defaultCase(theEObject);
228
    }
229
  }
230
231
  /**
232
   * Returns the result of interpreting the object as an instance of '<em>Test Feature Map</em>'.
233
   * <!-- begin-user-doc -->
234
   * This implementation returns null;
235
   * returning a non-null result will terminate the switch.
236
   * <!-- end-user-doc -->
237
   * @param object the target of the switch.
238
   * @return the result of interpreting the object as an instance of '<em>Test Feature Map</em>'.
239
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
240
   * @generated
241
   */
242
  public T caseTestFeatureMap(TestFeatureMap object)
243
  {
244
    return null;
245
  }
246
247
  /**
248
   * Returns the result of interpreting the object as an instance of '<em>Manager</em>'.
249
   * <!-- begin-user-doc -->
250
   * This implementation returns null;
251
   * returning a non-null result will terminate the switch.
252
   * <!-- end-user-doc -->
253
   * @param object the target of the switch.
254
   * @return the result of interpreting the object as an instance of '<em>Manager</em>'.
255
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
256
   * @generated
257
   */
258
  public T caseManager(Manager object)
259
  {
260
    return null;
261
  }
262
263
  /**
264
   * Returns the result of interpreting the object as an instance of '<em>Doctor</em>'.
265
   * <!-- begin-user-doc -->
266
   * This implementation returns null;
267
   * returning a non-null result will terminate the switch.
268
   * <!-- end-user-doc -->
269
   * @param object the target of the switch.
270
   * @return the result of interpreting the object as an instance of '<em>Doctor</em>'.
271
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
272
   * @generated
273
   */
274
  public T caseDoctor(Doctor object)
275
  {
276
    return null;
277
  }
278
279
  /**
280
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of String</em>'.
281
   * <!-- begin-user-doc -->
282
   * This implementation returns null;
283
   * returning a non-null result will terminate the switch.
284
   * <!-- end-user-doc -->
285
   * @param object the target of the switch.
286
   * @return the result of interpreting the object as an instance of '<em>Gen List Of String</em>'.
287
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
288
   * @generated
289
   */
290
  public T caseGenListOfString(GenListOfString object)
291
  {
292
    return null;
293
  }
294
295
  /**
296
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Int</em>'.
297
   * <!-- begin-user-doc -->
298
   * This implementation returns null;
299
   * returning a non-null result will terminate the switch.
300
   * <!-- end-user-doc -->
301
   * @param object the target of the switch.
302
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Int</em>'.
303
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
304
   * @generated
305
   */
306
  public T caseGenListOfInt(GenListOfInt object)
307
  {
308
    return null;
309
  }
310
311
  /**
312
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Integer</em>'.
313
   * <!-- begin-user-doc -->
314
   * This implementation returns null;
315
   * returning a non-null result will terminate the switch.
316
   * <!-- end-user-doc -->
317
   * @param object the target of the switch.
318
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Integer</em>'.
319
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
320
   * @generated
321
   */
322
  public T caseGenListOfInteger(GenListOfInteger object)
323
  {
324
    return null;
325
  }
326
327
  /**
328
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Long</em>'.
329
   * <!-- begin-user-doc -->
330
   * This implementation returns null;
331
   * returning a non-null result will terminate the switch.
332
   * <!-- end-user-doc -->
333
   * @param object the target of the switch.
334
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Long</em>'.
335
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
336
   * @generated
337
   */
338
  public T caseGenListOfLong(GenListOfLong object)
339
  {
340
    return null;
341
  }
342
343
  /**
344
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Boolean</em>'.
345
   * <!-- begin-user-doc -->
346
   * This implementation returns null;
347
   * returning a non-null result will terminate the switch.
348
   * <!-- end-user-doc -->
349
   * @param object the target of the switch.
350
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Boolean</em>'.
351
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
352
   * @generated
353
   */
354
  public T caseGenListOfBoolean(GenListOfBoolean object)
355
  {
356
    return null;
357
  }
358
359
  /**
360
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Short</em>'.
361
   * <!-- begin-user-doc -->
362
   * This implementation returns null;
363
   * returning a non-null result will terminate the switch.
364
   * <!-- end-user-doc -->
365
   * @param object the target of the switch.
366
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Short</em>'.
367
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
368
   * @generated
369
   */
370
  public T caseGenListOfShort(GenListOfShort object)
371
  {
372
    return null;
373
  }
374
375
  /**
376
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Float</em>'.
377
   * <!-- begin-user-doc -->
378
   * This implementation returns null;
379
   * returning a non-null result will terminate the switch.
380
   * <!-- end-user-doc -->
381
   * @param object the target of the switch.
382
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Float</em>'.
383
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
384
   * @generated
385
   */
386
  public T caseGenListOfFloat(GenListOfFloat object)
387
  {
388
    return null;
389
  }
390
391
  /**
392
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Double</em>'.
393
   * <!-- begin-user-doc -->
394
   * This implementation returns null;
395
   * returning a non-null result will terminate the switch.
396
   * <!-- end-user-doc -->
397
   * @param object the target of the switch.
398
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Double</em>'.
399
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
400
   * @generated
401
   */
402
  public T caseGenListOfDouble(GenListOfDouble object)
403
  {
404
    return null;
405
  }
406
407
  /**
408
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Date</em>'.
409
   * <!-- begin-user-doc -->
410
   * This implementation returns null;
411
   * returning a non-null result will terminate the switch.
412
   * <!-- end-user-doc -->
413
   * @param object the target of the switch.
414
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Date</em>'.
415
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
416
   * @generated
417
   */
418
  public T caseGenListOfDate(GenListOfDate object)
419
  {
420
    return null;
421
  }
422
423
  /**
424
   * Returns the result of interpreting the object as an instance of '<em>Gen List Of Char</em>'.
425
   * <!-- begin-user-doc -->
426
   * This implementation returns null;
427
   * returning a non-null result will terminate the switch.
428
   * <!-- end-user-doc -->
429
   * @param object the target of the switch.
430
   * @return the result of interpreting the object as an instance of '<em>Gen List Of Char</em>'.
431
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
432
   * @generated
433
   */
434
  public T caseGenListOfChar(GenListOfChar object)
435
  {
436
    return null;
437
  }
438
439
  /**
440
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
441
   * <!-- begin-user-doc -->
442
   * This implementation returns null;
443
   * returning a non-null result will terminate the switch, but this is the last case anyway.
444
   * <!-- end-user-doc -->
445
   * @param object the target of the switch.
446
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
447
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
448
   * @generated
449
   */
450
  public T defaultCase(EObject object)
451
  {
452
    return null;
453
  }
454
455
} //Model5Switch
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/ManagerImpl.java (+60 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.Manager;
17
18
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.impl.EObjectImpl;
20
21
/**
22
 * <!-- begin-user-doc -->
23
 * An implementation of the model object '<em><b>Manager</b></em>'.
24
 * <!-- end-user-doc -->
25
 * <p>
26
 * </p>
27
 *
28
 * @generated
29
 */
30
public class ManagerImpl extends EObjectImpl implements Manager
31
{
32
  /**
33
   * <!-- begin-user-doc -->
34
   * <!-- end-user-doc -->
35
   * @generated
36
   */
37
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
38
39
  /**
40
   * <!-- begin-user-doc -->
41
   * <!-- end-user-doc -->
42
   * @generated
43
   */
44
  protected ManagerImpl()
45
  {
46
    super();
47
  }
48
49
  /**
50
   * <!-- begin-user-doc -->
51
   * <!-- end-user-doc -->
52
   * @generated
53
   */
54
  @Override
55
  protected EClass eStaticClass()
56
  {
57
    return Model5Package.Literals.MANAGER;
58
  }
59
60
} //ManagerImpl
(-)model/model5.legacy-genmodel (+86 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA;   Eike Stepper - initial API and implementation" modelDirectory="/org.eclipse.emf.cdo.tests.model5/src" editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model5" modelName="Model5" updateClasspath="false" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" providerRootExtendsClass="">
3
  <foreignModel>model5.ecore</foreignModel>
4
  <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
5
  <genPackages prefix="Model5" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true" extensibleProviderFactory="true" childCreationExtenders="true">
6
    <ecorePackage href="model5.ecore#/"/>
7
    <genClasses>
8
      <ecoreClass href="model5.ecore#//TestFeatureMap"/>
9
      <genFeatures notify="false" createChild="false" propertySortChoices="true">
10
        <ecoreFeature xsi:type="ecore:EReference" href="model5.ecore#//TestFeatureMap/managers"/>
11
      </genFeatures>
12
      <genFeatures property="None" notify="false" createChild="false">
13
        <ecoreFeature xsi:type="ecore:EReference" href="model5.ecore#//TestFeatureMap/doctors"/>
14
      </genFeatures>
15
      <genFeatures property="None" children="true" createChild="true">
16
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//TestFeatureMap/people"/>
17
      </genFeatures>
18
    </genClasses>
19
    <genClasses>
20
      <ecoreClass href="model5.ecore#//Manager"/>
21
    </genClasses>
22
    <genClasses>
23
      <ecoreClass href="model5.ecore#//Doctor"/>
24
    </genClasses>
25
    <genClasses>
26
      <ecoreClass href="model5.ecore#//GenListOfString"/>
27
      <genFeatures createChild="false">
28
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfString/elements"/>
29
      </genFeatures>
30
    </genClasses>
31
    <genClasses>
32
      <ecoreClass href="model5.ecore#//GenListOfInt"/>
33
      <genFeatures createChild="false">
34
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfInt/elements"/>
35
      </genFeatures>
36
    </genClasses>
37
    <genClasses>
38
      <ecoreClass href="model5.ecore#//GenListOfInteger"/>
39
      <genFeatures createChild="false">
40
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfInteger/elements"/>
41
      </genFeatures>
42
    </genClasses>
43
    <genClasses>
44
      <ecoreClass href="model5.ecore#//GenListOfLong"/>
45
      <genFeatures createChild="false">
46
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfLong/elements"/>
47
      </genFeatures>
48
    </genClasses>
49
    <genClasses>
50
      <ecoreClass href="model5.ecore#//GenListOfBoolean"/>
51
      <genFeatures createChild="false">
52
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfBoolean/elements"/>
53
      </genFeatures>
54
    </genClasses>
55
    <genClasses>
56
      <ecoreClass href="model5.ecore#//GenListOfShort"/>
57
      <genFeatures createChild="false">
58
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfShort/elements"/>
59
      </genFeatures>
60
    </genClasses>
61
    <genClasses>
62
      <ecoreClass href="model5.ecore#//GenListOfFloat"/>
63
      <genFeatures createChild="false">
64
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfFloat/elements"/>
65
      </genFeatures>
66
    </genClasses>
67
    <genClasses>
68
      <ecoreClass href="model5.ecore#//GenListOfDouble"/>
69
      <genFeatures createChild="false">
70
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfDouble/elements"/>
71
      </genFeatures>
72
    </genClasses>
73
    <genClasses>
74
      <ecoreClass href="model5.ecore#//GenListOfDate"/>
75
      <genFeatures createChild="false">
76
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfDate/elements"/>
77
      </genFeatures>
78
    </genClasses>
79
    <genClasses>
80
      <ecoreClass href="model5.ecore#//GenListOfChar"/>
81
      <genFeatures createChild="false">
82
        <ecoreFeature xsi:type="ecore:EAttribute" href="model5.ecore#//GenListOfChar/elements"/>
83
      </genFeatures>
84
    </genClasses>
85
  </genPackages>
86
</genmodel:GenModel>
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/Model5Factory.java (+180 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5;
14
15
import org.eclipse.emf.cdo.tests.model5.Doctor;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfBoolean;
17
import org.eclipse.emf.cdo.tests.model5.GenListOfChar;
18
import org.eclipse.emf.cdo.tests.model5.GenListOfDate;
19
import org.eclipse.emf.cdo.tests.model5.GenListOfDouble;
20
import org.eclipse.emf.cdo.tests.model5.GenListOfFloat;
21
import org.eclipse.emf.cdo.tests.model5.GenListOfInt;
22
import org.eclipse.emf.cdo.tests.model5.GenListOfInteger;
23
import org.eclipse.emf.cdo.tests.model5.GenListOfLong;
24
import org.eclipse.emf.cdo.tests.model5.GenListOfShort;
25
import org.eclipse.emf.cdo.tests.model5.GenListOfString;
26
import org.eclipse.emf.cdo.tests.model5.Manager;
27
import org.eclipse.emf.cdo.tests.model5.TestFeatureMap;
28
29
/**
30
 * <!-- begin-user-doc -->
31
 * The <b>Factory</b> for the model.
32
 * It provides a create method for each non-abstract class of the model.
33
 * <!-- end-user-doc -->
34
 * @see org.eclipse.emf.cdo.tests.legacy.model5.Model5Package
35
 * @generated
36
 */
37
public interface Model5Factory extends org.eclipse.emf.cdo.tests.model5.Model5Factory
38
{
39
  /**
40
   * <!-- begin-user-doc -->
41
   * <!-- end-user-doc -->
42
   * @generated
43
   */
44
  String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
45
46
  /**
47
   * The singleton instance of the factory.
48
   * <!-- begin-user-doc -->
49
   * <!-- end-user-doc -->
50
   * @generated
51
   */
52
  Model5Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5FactoryImpl.init();
53
54
  /**
55
   * Returns a new object of class '<em>Test Feature Map</em>'.
56
   * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
58
   * @return a new object of class '<em>Test Feature Map</em>'.
59
   * @generated
60
   */
61
  TestFeatureMap createTestFeatureMap();
62
63
  /**
64
   * Returns a new object of class '<em>Manager</em>'.
65
   * <!-- begin-user-doc -->
66
   * <!-- end-user-doc -->
67
   * @return a new object of class '<em>Manager</em>'.
68
   * @generated
69
   */
70
  Manager createManager();
71
72
  /**
73
   * Returns a new object of class '<em>Doctor</em>'.
74
   * <!-- begin-user-doc -->
75
   * <!-- end-user-doc -->
76
   * @return a new object of class '<em>Doctor</em>'.
77
   * @generated
78
   */
79
  Doctor createDoctor();
80
81
  /**
82
   * Returns a new object of class '<em>Gen List Of String</em>'.
83
   * <!-- begin-user-doc -->
84
   * <!-- end-user-doc -->
85
   * @return a new object of class '<em>Gen List Of String</em>'.
86
   * @generated
87
   */
88
  GenListOfString createGenListOfString();
89
90
  /**
91
   * Returns a new object of class '<em>Gen List Of Int</em>'.
92
   * <!-- begin-user-doc -->
93
   * <!-- end-user-doc -->
94
   * @return a new object of class '<em>Gen List Of Int</em>'.
95
   * @generated
96
   */
97
  GenListOfInt createGenListOfInt();
98
99
  /**
100
   * Returns a new object of class '<em>Gen List Of Integer</em>'.
101
   * <!-- begin-user-doc -->
102
   * <!-- end-user-doc -->
103
   * @return a new object of class '<em>Gen List Of Integer</em>'.
104
   * @generated
105
   */
106
  GenListOfInteger createGenListOfInteger();
107
108
  /**
109
   * Returns a new object of class '<em>Gen List Of Long</em>'.
110
   * <!-- begin-user-doc -->
111
   * <!-- end-user-doc -->
112
   * @return a new object of class '<em>Gen List Of Long</em>'.
113
   * @generated
114
   */
115
  GenListOfLong createGenListOfLong();
116
117
  /**
118
   * Returns a new object of class '<em>Gen List Of Boolean</em>'.
119
   * <!-- begin-user-doc -->
120
   * <!-- end-user-doc -->
121
   * @return a new object of class '<em>Gen List Of Boolean</em>'.
122
   * @generated
123
   */
124
  GenListOfBoolean createGenListOfBoolean();
125
126
  /**
127
   * Returns a new object of class '<em>Gen List Of Short</em>'.
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @return a new object of class '<em>Gen List Of Short</em>'.
131
   * @generated
132
   */
133
  GenListOfShort createGenListOfShort();
134
135
  /**
136
   * Returns a new object of class '<em>Gen List Of Float</em>'.
137
   * <!-- begin-user-doc -->
138
   * <!-- end-user-doc -->
139
   * @return a new object of class '<em>Gen List Of Float</em>'.
140
   * @generated
141
   */
142
  GenListOfFloat createGenListOfFloat();
143
144
  /**
145
   * Returns a new object of class '<em>Gen List Of Double</em>'.
146
   * <!-- begin-user-doc -->
147
   * <!-- end-user-doc -->
148
   * @return a new object of class '<em>Gen List Of Double</em>'.
149
   * @generated
150
   */
151
  GenListOfDouble createGenListOfDouble();
152
153
  /**
154
   * Returns a new object of class '<em>Gen List Of Date</em>'.
155
   * <!-- begin-user-doc -->
156
   * <!-- end-user-doc -->
157
   * @return a new object of class '<em>Gen List Of Date</em>'.
158
   * @generated
159
   */
160
  GenListOfDate createGenListOfDate();
161
162
  /**
163
   * Returns a new object of class '<em>Gen List Of Char</em>'.
164
   * <!-- begin-user-doc -->
165
   * <!-- end-user-doc -->
166
   * @return a new object of class '<em>Gen List Of Char</em>'.
167
   * @generated
168
   */
169
  GenListOfChar createGenListOfChar();
170
171
  /**
172
   * Returns the package supported by this factory.
173
   * <!-- begin-user-doc -->
174
   * <!-- end-user-doc -->
175
   * @return the package supported by this factory.
176
   * @generated
177
   */
178
  Model5Package getModel5Package();
179
180
} //Model5Factory
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/Model5FactoryImpl.java (+293 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Factory;
16
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
17
import org.eclipse.emf.cdo.tests.model5.Doctor;
18
import org.eclipse.emf.cdo.tests.model5.GenListOfBoolean;
19
import org.eclipse.emf.cdo.tests.model5.GenListOfChar;
20
import org.eclipse.emf.cdo.tests.model5.GenListOfDate;
21
import org.eclipse.emf.cdo.tests.model5.GenListOfDouble;
22
import org.eclipse.emf.cdo.tests.model5.GenListOfFloat;
23
import org.eclipse.emf.cdo.tests.model5.GenListOfInt;
24
import org.eclipse.emf.cdo.tests.model5.GenListOfInteger;
25
import org.eclipse.emf.cdo.tests.model5.GenListOfLong;
26
import org.eclipse.emf.cdo.tests.model5.GenListOfShort;
27
import org.eclipse.emf.cdo.tests.model5.GenListOfString;
28
import org.eclipse.emf.cdo.tests.model5.Manager;
29
import org.eclipse.emf.cdo.tests.model5.TestFeatureMap;
30
31
import org.eclipse.emf.ecore.EClass;
32
import org.eclipse.emf.ecore.EObject;
33
import org.eclipse.emf.ecore.EPackage;
34
import org.eclipse.emf.ecore.impl.EFactoryImpl;
35
import org.eclipse.emf.ecore.plugin.EcorePlugin;
36
37
/**
38
 * <!-- begin-user-doc -->
39
 * An implementation of the model <b>Factory</b>.
40
 * <!-- end-user-doc -->
41
 * @generated
42
 */
43
public class Model5FactoryImpl extends EFactoryImpl implements Model5Factory
44
{
45
  /**
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
48
   * @generated
49
   */
50
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
51
52
  /**
53
   * Creates the default factory implementation.
54
   * <!-- begin-user-doc -->
55
   * <!-- end-user-doc -->
56
   * @generated NOT
57
   */
58
  public static Model5Factory init()
59
  {
60
    try
61
    {
62
      Model5Factory theModel5Factory = (Model5Factory)EPackage.Registry.INSTANCE
63
          .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model5/1.0.0");
64
      if (theModel5Factory != null)
65
      {
66
        return theModel5Factory;
67
      }
68
    }
69
    catch (Exception exception)
70
    {
71
      EcorePlugin.INSTANCE.log(exception);
72
    }
73
    return new Model5FactoryImpl();
74
  }
75
76
  /**
77
   * Creates an instance of the factory.
78
   * <!-- begin-user-doc -->
79
   * <!-- end-user-doc -->
80
   * @generated
81
   */
82
  public Model5FactoryImpl()
83
  {
84
    super();
85
  }
86
87
  /**
88
   * <!-- begin-user-doc -->
89
   * <!-- end-user-doc -->
90
   * @generated
91
   */
92
  @Override
93
  public EObject create(EClass eClass)
94
  {
95
    switch (eClass.getClassifierID())
96
    {
97
    case Model5Package.TEST_FEATURE_MAP:
98
      return createTestFeatureMap();
99
    case Model5Package.MANAGER:
100
      return createManager();
101
    case Model5Package.DOCTOR:
102
      return createDoctor();
103
    case Model5Package.GEN_LIST_OF_STRING:
104
      return createGenListOfString();
105
    case Model5Package.GEN_LIST_OF_INT:
106
      return createGenListOfInt();
107
    case Model5Package.GEN_LIST_OF_INTEGER:
108
      return createGenListOfInteger();
109
    case Model5Package.GEN_LIST_OF_LONG:
110
      return createGenListOfLong();
111
    case Model5Package.GEN_LIST_OF_BOOLEAN:
112
      return createGenListOfBoolean();
113
    case Model5Package.GEN_LIST_OF_SHORT:
114
      return createGenListOfShort();
115
    case Model5Package.GEN_LIST_OF_FLOAT:
116
      return createGenListOfFloat();
117
    case Model5Package.GEN_LIST_OF_DOUBLE:
118
      return createGenListOfDouble();
119
    case Model5Package.GEN_LIST_OF_DATE:
120
      return createGenListOfDate();
121
    case Model5Package.GEN_LIST_OF_CHAR:
122
      return createGenListOfChar();
123
    default:
124
      throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
125
    }
126
  }
127
128
  /**
129
   * <!-- begin-user-doc -->
130
   * <!-- end-user-doc -->
131
   * @generated
132
   */
133
  public TestFeatureMap createTestFeatureMap()
134
  {
135
    TestFeatureMapImpl testFeatureMap = new TestFeatureMapImpl();
136
    return testFeatureMap;
137
  }
138
139
  /**
140
   * <!-- begin-user-doc -->
141
   * <!-- end-user-doc -->
142
   * @generated
143
   */
144
  public Manager createManager()
145
  {
146
    ManagerImpl manager = new ManagerImpl();
147
    return manager;
148
  }
149
150
  /**
151
   * <!-- begin-user-doc -->
152
   * <!-- end-user-doc -->
153
   * @generated
154
   */
155
  public Doctor createDoctor()
156
  {
157
    DoctorImpl doctor = new DoctorImpl();
158
    return doctor;
159
  }
160
161
  /**
162
   * <!-- begin-user-doc -->
163
   * <!-- end-user-doc -->
164
   * @generated
165
   */
166
  public GenListOfString createGenListOfString()
167
  {
168
    GenListOfStringImpl genListOfString = new GenListOfStringImpl();
169
    return genListOfString;
170
  }
171
172
  /**
173
   * <!-- begin-user-doc -->
174
   * <!-- end-user-doc -->
175
   * @generated
176
   */
177
  public GenListOfInt createGenListOfInt()
178
  {
179
    GenListOfIntImpl genListOfInt = new GenListOfIntImpl();
180
    return genListOfInt;
181
  }
182
183
  /**
184
   * <!-- begin-user-doc -->
185
   * <!-- end-user-doc -->
186
   * @generated
187
   */
188
  public GenListOfInteger createGenListOfInteger()
189
  {
190
    GenListOfIntegerImpl genListOfInteger = new GenListOfIntegerImpl();
191
    return genListOfInteger;
192
  }
193
194
  /**
195
   * <!-- begin-user-doc -->
196
   * <!-- end-user-doc -->
197
   * @generated
198
   */
199
  public GenListOfLong createGenListOfLong()
200
  {
201
    GenListOfLongImpl genListOfLong = new GenListOfLongImpl();
202
    return genListOfLong;
203
  }
204
205
  /**
206
   * <!-- begin-user-doc -->
207
   * <!-- end-user-doc -->
208
   * @generated
209
   */
210
  public GenListOfBoolean createGenListOfBoolean()
211
  {
212
    GenListOfBooleanImpl genListOfBoolean = new GenListOfBooleanImpl();
213
    return genListOfBoolean;
214
  }
215
216
  /**
217
   * <!-- begin-user-doc -->
218
   * <!-- end-user-doc -->
219
   * @generated
220
   */
221
  public GenListOfShort createGenListOfShort()
222
  {
223
    GenListOfShortImpl genListOfShort = new GenListOfShortImpl();
224
    return genListOfShort;
225
  }
226
227
  /**
228
   * <!-- begin-user-doc -->
229
   * <!-- end-user-doc -->
230
   * @generated
231
   */
232
  public GenListOfFloat createGenListOfFloat()
233
  {
234
    GenListOfFloatImpl genListOfFloat = new GenListOfFloatImpl();
235
    return genListOfFloat;
236
  }
237
238
  /**
239
   * <!-- begin-user-doc -->
240
   * <!-- end-user-doc -->
241
   * @generated
242
   */
243
  public GenListOfDouble createGenListOfDouble()
244
  {
245
    GenListOfDoubleImpl genListOfDouble = new GenListOfDoubleImpl();
246
    return genListOfDouble;
247
  }
248
249
  /**
250
   * <!-- begin-user-doc -->
251
   * <!-- end-user-doc -->
252
   * @generated
253
   */
254
  public GenListOfDate createGenListOfDate()
255
  {
256
    GenListOfDateImpl genListOfDate = new GenListOfDateImpl();
257
    return genListOfDate;
258
  }
259
260
  /**
261
   * <!-- begin-user-doc -->
262
   * <!-- end-user-doc -->
263
   * @generated
264
   */
265
  public GenListOfChar createGenListOfChar()
266
  {
267
    GenListOfCharImpl genListOfChar = new GenListOfCharImpl();
268
    return genListOfChar;
269
  }
270
271
  /**
272
   * <!-- begin-user-doc -->
273
   * <!-- end-user-doc -->
274
   * @generated
275
   */
276
  public Model5Package getModel5Package()
277
  {
278
    return (Model5Package)getEPackage();
279
  }
280
281
  /**
282
   * <!-- begin-user-doc -->
283
   * <!-- end-user-doc -->
284
   * @deprecated
285
   * @generated
286
   */
287
  @Deprecated
288
  public static Model5Package getPackage()
289
  {
290
    return Model5Package.eINSTANCE;
291
  }
292
293
} //Model5FactoryImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfIntegerImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfInteger;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Integer</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntegerImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfIntegerImpl extends EObjectImpl implements GenListOfInteger
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Integer> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfIntegerImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_INTEGER;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Integer> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<Integer>(Integer.class, this, Model5Package.GEN_LIST_OF_INTEGER__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_INTEGER__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_INTEGER__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Integer>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_INTEGER__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_INTEGER__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfIntegerImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfIntImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfInt;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Int</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfIntImpl extends EObjectImpl implements GenListOfInt
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Integer> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfIntImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_INT;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Integer> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<Integer>(Integer.class, this, Model5Package.GEN_LIST_OF_INT__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_INT__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_INT__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Integer>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_INT__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_INT__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfIntImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/Model5Package.java (+971 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5;
14
15
import org.eclipse.emf.ecore.EAttribute;
16
import org.eclipse.emf.ecore.EClass;
17
import org.eclipse.emf.ecore.EReference;
18
19
/**
20
 * <!-- begin-user-doc -->
21
 * The <b>Package</b> for the model.
22
 * It contains accessors for the meta objects to represent
23
 * <ul>
24
 *   <li>each class,</li>
25
 *   <li>each feature of each class,</li>
26
 *   <li>each enum,</li>
27
 *   <li>and each data type</li>
28
 * </ul>
29
 * <!-- end-user-doc -->
30
 * @see org.eclipse.emf.cdo.tests.legacy.model5.Model5Factory
31
 * @model kind="package"
32
 * @generated
33
 */
34
public interface Model5Package extends org.eclipse.emf.cdo.tests.model5.Model5Package
35
{
36
  /**
37
   * <!-- begin-user-doc -->
38
   * <!-- end-user-doc -->
39
   * @generated
40
   */
41
  String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
42
43
  /**
44
   * The package name.
45
   * <!-- begin-user-doc -->
46
   * <!-- end-user-doc -->
47
   * @generated
48
   */
49
  String eNAME = "model5";
50
51
  /**
52
   * The package namespace URI.
53
   * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
55
   * @generated NOT
56
   */
57
  String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model5/1.0.0";
58
59
  /**
60
   * The package namespace name.
61
   * <!-- begin-user-doc -->
62
   * <!-- end-user-doc -->
63
   * @generated
64
   */
65
  String eNS_PREFIX = "model5";
66
67
  /**
68
   * The singleton instance of the package.
69
   * <!-- begin-user-doc -->
70
   * <!-- end-user-doc -->
71
   * @generated
72
   */
73
  Model5Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl.init();
74
75
  /**
76
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl <em>Test Feature Map</em>}' class.
77
   * <!-- begin-user-doc -->
78
   * <!-- end-user-doc -->
79
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl
80
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getTestFeatureMap()
81
   * @generated
82
   */
83
  int TEST_FEATURE_MAP = 0;
84
85
  /**
86
   * The feature id for the '<em><b>Managers</b></em>' reference list.
87
   * <!-- begin-user-doc -->
88
   * <!-- end-user-doc -->
89
   * @generated
90
   * @ordered
91
   */
92
  int TEST_FEATURE_MAP__MANAGERS = 0;
93
94
  /**
95
   * The feature id for the '<em><b>Doctors</b></em>' containment reference list.
96
   * <!-- begin-user-doc -->
97
   * <!-- end-user-doc -->
98
   * @generated
99
   * @ordered
100
   */
101
  int TEST_FEATURE_MAP__DOCTORS = 1;
102
103
  /**
104
   * The feature id for the '<em><b>People</b></em>' attribute list.
105
   * <!-- begin-user-doc -->
106
   * <!-- end-user-doc -->
107
   * @generated
108
   * @ordered
109
   */
110
  int TEST_FEATURE_MAP__PEOPLE = 2;
111
112
  /**
113
   * The number of structural features of the '<em>Test Feature Map</em>' class.
114
   * <!-- begin-user-doc -->
115
   * <!-- end-user-doc -->
116
   * @generated
117
   * @ordered
118
   */
119
  int TEST_FEATURE_MAP_FEATURE_COUNT = 3;
120
121
  /**
122
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.ManagerImpl <em>Manager</em>}' class.
123
   * <!-- begin-user-doc -->
124
   * <!-- end-user-doc -->
125
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.ManagerImpl
126
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getManager()
127
   * @generated
128
   */
129
  int MANAGER = 1;
130
131
  /**
132
   * The number of structural features of the '<em>Manager</em>' class.
133
   * <!-- begin-user-doc -->
134
   * <!-- end-user-doc -->
135
   * @generated
136
   * @ordered
137
   */
138
  int MANAGER_FEATURE_COUNT = 0;
139
140
  /**
141
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.DoctorImpl <em>Doctor</em>}' class.
142
   * <!-- begin-user-doc -->
143
   * <!-- end-user-doc -->
144
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.DoctorImpl
145
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getDoctor()
146
   * @generated
147
   */
148
  int DOCTOR = 2;
149
150
  /**
151
   * The number of structural features of the '<em>Doctor</em>' class.
152
   * <!-- begin-user-doc -->
153
   * <!-- end-user-doc -->
154
   * @generated
155
   * @ordered
156
   */
157
  int DOCTOR_FEATURE_COUNT = 0;
158
159
  /**
160
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfStringImpl <em>Gen List Of String</em>}' class.
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfStringImpl
164
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfString()
165
   * @generated
166
   */
167
  int GEN_LIST_OF_STRING = 3;
168
169
  /**
170
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
171
   * <!-- begin-user-doc -->
172
   * <!-- end-user-doc -->
173
   * @generated
174
   * @ordered
175
   */
176
  int GEN_LIST_OF_STRING__ELEMENTS = 0;
177
178
  /**
179
   * The number of structural features of the '<em>Gen List Of String</em>' class.
180
   * <!-- begin-user-doc -->
181
   * <!-- end-user-doc -->
182
   * @generated
183
   * @ordered
184
   */
185
  int GEN_LIST_OF_STRING_FEATURE_COUNT = 1;
186
187
  /**
188
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntImpl <em>Gen List Of Int</em>}' class.
189
   * <!-- begin-user-doc -->
190
   * <!-- end-user-doc -->
191
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntImpl
192
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfInt()
193
   * @generated
194
   */
195
  int GEN_LIST_OF_INT = 4;
196
197
  /**
198
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
199
   * <!-- begin-user-doc -->
200
   * <!-- end-user-doc -->
201
   * @generated
202
   * @ordered
203
   */
204
  int GEN_LIST_OF_INT__ELEMENTS = 0;
205
206
  /**
207
   * The number of structural features of the '<em>Gen List Of Int</em>' class.
208
   * <!-- begin-user-doc -->
209
   * <!-- end-user-doc -->
210
   * @generated
211
   * @ordered
212
   */
213
  int GEN_LIST_OF_INT_FEATURE_COUNT = 1;
214
215
  /**
216
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntegerImpl <em>Gen List Of Integer</em>}' class.
217
   * <!-- begin-user-doc -->
218
   * <!-- end-user-doc -->
219
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntegerImpl
220
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfInteger()
221
   * @generated
222
   */
223
  int GEN_LIST_OF_INTEGER = 5;
224
225
  /**
226
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
227
   * <!-- begin-user-doc -->
228
   * <!-- end-user-doc -->
229
   * @generated
230
   * @ordered
231
   */
232
  int GEN_LIST_OF_INTEGER__ELEMENTS = 0;
233
234
  /**
235
   * The number of structural features of the '<em>Gen List Of Integer</em>' class.
236
   * <!-- begin-user-doc -->
237
   * <!-- end-user-doc -->
238
   * @generated
239
   * @ordered
240
   */
241
  int GEN_LIST_OF_INTEGER_FEATURE_COUNT = 1;
242
243
  /**
244
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfLongImpl <em>Gen List Of Long</em>}' class.
245
   * <!-- begin-user-doc -->
246
   * <!-- end-user-doc -->
247
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfLongImpl
248
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfLong()
249
   * @generated
250
   */
251
  int GEN_LIST_OF_LONG = 6;
252
253
  /**
254
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
255
   * <!-- begin-user-doc -->
256
   * <!-- end-user-doc -->
257
   * @generated
258
   * @ordered
259
   */
260
  int GEN_LIST_OF_LONG__ELEMENTS = 0;
261
262
  /**
263
   * The number of structural features of the '<em>Gen List Of Long</em>' class.
264
   * <!-- begin-user-doc -->
265
   * <!-- end-user-doc -->
266
   * @generated
267
   * @ordered
268
   */
269
  int GEN_LIST_OF_LONG_FEATURE_COUNT = 1;
270
271
  /**
272
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfBooleanImpl <em>Gen List Of Boolean</em>}' class.
273
   * <!-- begin-user-doc -->
274
   * <!-- end-user-doc -->
275
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfBooleanImpl
276
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfBoolean()
277
   * @generated
278
   */
279
  int GEN_LIST_OF_BOOLEAN = 7;
280
281
  /**
282
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
283
   * <!-- begin-user-doc -->
284
   * <!-- end-user-doc -->
285
   * @generated
286
   * @ordered
287
   */
288
  int GEN_LIST_OF_BOOLEAN__ELEMENTS = 0;
289
290
  /**
291
   * The number of structural features of the '<em>Gen List Of Boolean</em>' class.
292
   * <!-- begin-user-doc -->
293
   * <!-- end-user-doc -->
294
   * @generated
295
   * @ordered
296
   */
297
  int GEN_LIST_OF_BOOLEAN_FEATURE_COUNT = 1;
298
299
  /**
300
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfShortImpl <em>Gen List Of Short</em>}' class.
301
   * <!-- begin-user-doc -->
302
   * <!-- end-user-doc -->
303
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfShortImpl
304
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfShort()
305
   * @generated
306
   */
307
  int GEN_LIST_OF_SHORT = 8;
308
309
  /**
310
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
311
   * <!-- begin-user-doc -->
312
   * <!-- end-user-doc -->
313
   * @generated
314
   * @ordered
315
   */
316
  int GEN_LIST_OF_SHORT__ELEMENTS = 0;
317
318
  /**
319
   * The number of structural features of the '<em>Gen List Of Short</em>' class.
320
   * <!-- begin-user-doc -->
321
   * <!-- end-user-doc -->
322
   * @generated
323
   * @ordered
324
   */
325
  int GEN_LIST_OF_SHORT_FEATURE_COUNT = 1;
326
327
  /**
328
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfFloatImpl <em>Gen List Of Float</em>}' class.
329
   * <!-- begin-user-doc -->
330
   * <!-- end-user-doc -->
331
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfFloatImpl
332
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfFloat()
333
   * @generated
334
   */
335
  int GEN_LIST_OF_FLOAT = 9;
336
337
  /**
338
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
339
   * <!-- begin-user-doc -->
340
   * <!-- end-user-doc -->
341
   * @generated
342
   * @ordered
343
   */
344
  int GEN_LIST_OF_FLOAT__ELEMENTS = 0;
345
346
  /**
347
   * The number of structural features of the '<em>Gen List Of Float</em>' class.
348
   * <!-- begin-user-doc -->
349
   * <!-- end-user-doc -->
350
   * @generated
351
   * @ordered
352
   */
353
  int GEN_LIST_OF_FLOAT_FEATURE_COUNT = 1;
354
355
  /**
356
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDoubleImpl <em>Gen List Of Double</em>}' class.
357
   * <!-- begin-user-doc -->
358
   * <!-- end-user-doc -->
359
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDoubleImpl
360
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfDouble()
361
   * @generated
362
   */
363
  int GEN_LIST_OF_DOUBLE = 10;
364
365
  /**
366
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
367
   * <!-- begin-user-doc -->
368
   * <!-- end-user-doc -->
369
   * @generated
370
   * @ordered
371
   */
372
  int GEN_LIST_OF_DOUBLE__ELEMENTS = 0;
373
374
  /**
375
   * The number of structural features of the '<em>Gen List Of Double</em>' class.
376
   * <!-- begin-user-doc -->
377
   * <!-- end-user-doc -->
378
   * @generated
379
   * @ordered
380
   */
381
  int GEN_LIST_OF_DOUBLE_FEATURE_COUNT = 1;
382
383
  /**
384
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDateImpl <em>Gen List Of Date</em>}' class.
385
   * <!-- begin-user-doc -->
386
   * <!-- end-user-doc -->
387
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDateImpl
388
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfDate()
389
   * @generated
390
   */
391
  int GEN_LIST_OF_DATE = 11;
392
393
  /**
394
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
395
   * <!-- begin-user-doc -->
396
   * <!-- end-user-doc -->
397
   * @generated
398
   * @ordered
399
   */
400
  int GEN_LIST_OF_DATE__ELEMENTS = 0;
401
402
  /**
403
   * The number of structural features of the '<em>Gen List Of Date</em>' class.
404
   * <!-- begin-user-doc -->
405
   * <!-- end-user-doc -->
406
   * @generated
407
   * @ordered
408
   */
409
  int GEN_LIST_OF_DATE_FEATURE_COUNT = 1;
410
411
  /**
412
   * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfCharImpl <em>Gen List Of Char</em>}' class.
413
   * <!-- begin-user-doc -->
414
   * <!-- end-user-doc -->
415
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfCharImpl
416
   * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfChar()
417
   * @generated
418
   */
419
  int GEN_LIST_OF_CHAR = 12;
420
421
  /**
422
   * The feature id for the '<em><b>Elements</b></em>' attribute list.
423
   * <!-- begin-user-doc -->
424
   * <!-- end-user-doc -->
425
   * @generated
426
   * @ordered
427
   */
428
  int GEN_LIST_OF_CHAR__ELEMENTS = 0;
429
430
  /**
431
   * The number of structural features of the '<em>Gen List Of Char</em>' class.
432
   * <!-- begin-user-doc -->
433
   * <!-- end-user-doc -->
434
   * @generated
435
   * @ordered
436
   */
437
  int GEN_LIST_OF_CHAR_FEATURE_COUNT = 1;
438
439
  /**
440
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap <em>Test Feature Map</em>}'.
441
   * <!-- begin-user-doc -->
442
   * <!-- end-user-doc -->
443
   * @return the meta object for class '<em>Test Feature Map</em>'.
444
   * @see org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap
445
   * @generated
446
   */
447
  EClass getTestFeatureMap();
448
449
  /**
450
   * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getManagers <em>Managers</em>}'.
451
   * <!-- begin-user-doc -->
452
   * <!-- end-user-doc -->
453
   * @return the meta object for the reference list '<em>Managers</em>'.
454
   * @see org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getManagers()
455
   * @see #getTestFeatureMap()
456
   * @generated
457
   */
458
  EReference getTestFeatureMap_Managers();
459
460
  /**
461
   * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getDoctors <em>Doctors</em>}'.
462
   * <!-- begin-user-doc -->
463
   * <!-- end-user-doc -->
464
   * @return the meta object for the containment reference list '<em>Doctors</em>'.
465
   * @see org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getDoctors()
466
   * @see #getTestFeatureMap()
467
   * @generated
468
   */
469
  EReference getTestFeatureMap_Doctors();
470
471
  /**
472
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getPeople <em>People</em>}'.
473
   * <!-- begin-user-doc -->
474
   * <!-- end-user-doc -->
475
   * @return the meta object for the attribute list '<em>People</em>'.
476
   * @see org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getPeople()
477
   * @see #getTestFeatureMap()
478
   * @generated
479
   */
480
  EAttribute getTestFeatureMap_People();
481
482
  /**
483
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.Manager <em>Manager</em>}'.
484
   * <!-- begin-user-doc -->
485
   * <!-- end-user-doc -->
486
   * @return the meta object for class '<em>Manager</em>'.
487
   * @see org.eclipse.emf.cdo.tests.legacy.model5.Manager
488
   * @generated
489
   */
490
  EClass getManager();
491
492
  /**
493
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.Doctor <em>Doctor</em>}'.
494
   * <!-- begin-user-doc -->
495
   * <!-- end-user-doc -->
496
   * @return the meta object for class '<em>Doctor</em>'.
497
   * @see org.eclipse.emf.cdo.tests.legacy.model5.Doctor
498
   * @generated
499
   */
500
  EClass getDoctor();
501
502
  /**
503
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfString <em>Gen List Of String</em>}'.
504
   * <!-- begin-user-doc -->
505
   * <!-- end-user-doc -->
506
   * @return the meta object for class '<em>Gen List Of String</em>'.
507
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfString
508
   * @generated
509
   */
510
  EClass getGenListOfString();
511
512
  /**
513
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfString#getElements <em>Elements</em>}'.
514
   * <!-- begin-user-doc -->
515
   * <!-- end-user-doc -->
516
   * @return the meta object for the attribute list '<em>Elements</em>'.
517
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfString#getElements()
518
   * @see #getGenListOfString()
519
   * @generated
520
   */
521
  EAttribute getGenListOfString_Elements();
522
523
  /**
524
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInt <em>Gen List Of Int</em>}'.
525
   * <!-- begin-user-doc -->
526
   * <!-- end-user-doc -->
527
   * @return the meta object for class '<em>Gen List Of Int</em>'.
528
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInt
529
   * @generated
530
   */
531
  EClass getGenListOfInt();
532
533
  /**
534
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInt#getElements <em>Elements</em>}'.
535
   * <!-- begin-user-doc -->
536
   * <!-- end-user-doc -->
537
   * @return the meta object for the attribute list '<em>Elements</em>'.
538
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInt#getElements()
539
   * @see #getGenListOfInt()
540
   * @generated
541
   */
542
  EAttribute getGenListOfInt_Elements();
543
544
  /**
545
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInteger <em>Gen List Of Integer</em>}'.
546
   * <!-- begin-user-doc -->
547
   * <!-- end-user-doc -->
548
   * @return the meta object for class '<em>Gen List Of Integer</em>'.
549
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInteger
550
   * @generated
551
   */
552
  EClass getGenListOfInteger();
553
554
  /**
555
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInteger#getElements <em>Elements</em>}'.
556
   * <!-- begin-user-doc -->
557
   * <!-- end-user-doc -->
558
   * @return the meta object for the attribute list '<em>Elements</em>'.
559
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInteger#getElements()
560
   * @see #getGenListOfInteger()
561
   * @generated
562
   */
563
  EAttribute getGenListOfInteger_Elements();
564
565
  /**
566
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfLong <em>Gen List Of Long</em>}'.
567
   * <!-- begin-user-doc -->
568
   * <!-- end-user-doc -->
569
   * @return the meta object for class '<em>Gen List Of Long</em>'.
570
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfLong
571
   * @generated
572
   */
573
  EClass getGenListOfLong();
574
575
  /**
576
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfLong#getElements <em>Elements</em>}'.
577
   * <!-- begin-user-doc -->
578
   * <!-- end-user-doc -->
579
   * @return the meta object for the attribute list '<em>Elements</em>'.
580
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfLong#getElements()
581
   * @see #getGenListOfLong()
582
   * @generated
583
   */
584
  EAttribute getGenListOfLong_Elements();
585
586
  /**
587
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfBoolean <em>Gen List Of Boolean</em>}'.
588
   * <!-- begin-user-doc -->
589
   * <!-- end-user-doc -->
590
   * @return the meta object for class '<em>Gen List Of Boolean</em>'.
591
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfBoolean
592
   * @generated
593
   */
594
  EClass getGenListOfBoolean();
595
596
  /**
597
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfBoolean#getElements <em>Elements</em>}'.
598
   * <!-- begin-user-doc -->
599
   * <!-- end-user-doc -->
600
   * @return the meta object for the attribute list '<em>Elements</em>'.
601
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfBoolean#getElements()
602
   * @see #getGenListOfBoolean()
603
   * @generated
604
   */
605
  EAttribute getGenListOfBoolean_Elements();
606
607
  /**
608
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfShort <em>Gen List Of Short</em>}'.
609
   * <!-- begin-user-doc -->
610
   * <!-- end-user-doc -->
611
   * @return the meta object for class '<em>Gen List Of Short</em>'.
612
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfShort
613
   * @generated
614
   */
615
  EClass getGenListOfShort();
616
617
  /**
618
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfShort#getElements <em>Elements</em>}'.
619
   * <!-- begin-user-doc -->
620
   * <!-- end-user-doc -->
621
   * @return the meta object for the attribute list '<em>Elements</em>'.
622
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfShort#getElements()
623
   * @see #getGenListOfShort()
624
   * @generated
625
   */
626
  EAttribute getGenListOfShort_Elements();
627
628
  /**
629
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfFloat <em>Gen List Of Float</em>}'.
630
   * <!-- begin-user-doc -->
631
   * <!-- end-user-doc -->
632
   * @return the meta object for class '<em>Gen List Of Float</em>'.
633
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfFloat
634
   * @generated
635
   */
636
  EClass getGenListOfFloat();
637
638
  /**
639
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfFloat#getElements <em>Elements</em>}'.
640
   * <!-- begin-user-doc -->
641
   * <!-- end-user-doc -->
642
   * @return the meta object for the attribute list '<em>Elements</em>'.
643
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfFloat#getElements()
644
   * @see #getGenListOfFloat()
645
   * @generated
646
   */
647
  EAttribute getGenListOfFloat_Elements();
648
649
  /**
650
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDouble <em>Gen List Of Double</em>}'.
651
   * <!-- begin-user-doc -->
652
   * <!-- end-user-doc -->
653
   * @return the meta object for class '<em>Gen List Of Double</em>'.
654
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDouble
655
   * @generated
656
   */
657
  EClass getGenListOfDouble();
658
659
  /**
660
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDouble#getElements <em>Elements</em>}'.
661
   * <!-- begin-user-doc -->
662
   * <!-- end-user-doc -->
663
   * @return the meta object for the attribute list '<em>Elements</em>'.
664
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDouble#getElements()
665
   * @see #getGenListOfDouble()
666
   * @generated
667
   */
668
  EAttribute getGenListOfDouble_Elements();
669
670
  /**
671
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDate <em>Gen List Of Date</em>}'.
672
   * <!-- begin-user-doc -->
673
   * <!-- end-user-doc -->
674
   * @return the meta object for class '<em>Gen List Of Date</em>'.
675
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDate
676
   * @generated
677
   */
678
  EClass getGenListOfDate();
679
680
  /**
681
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDate#getElements <em>Elements</em>}'.
682
   * <!-- begin-user-doc -->
683
   * <!-- end-user-doc -->
684
   * @return the meta object for the attribute list '<em>Elements</em>'.
685
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDate#getElements()
686
   * @see #getGenListOfDate()
687
   * @generated
688
   */
689
  EAttribute getGenListOfDate_Elements();
690
691
  /**
692
   * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfChar <em>Gen List Of Char</em>}'.
693
   * <!-- begin-user-doc -->
694
   * <!-- end-user-doc -->
695
   * @return the meta object for class '<em>Gen List Of Char</em>'.
696
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfChar
697
   * @generated
698
   */
699
  EClass getGenListOfChar();
700
701
  /**
702
   * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfChar#getElements <em>Elements</em>}'.
703
   * <!-- begin-user-doc -->
704
   * <!-- end-user-doc -->
705
   * @return the meta object for the attribute list '<em>Elements</em>'.
706
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfChar#getElements()
707
   * @see #getGenListOfChar()
708
   * @generated
709
   */
710
  EAttribute getGenListOfChar_Elements();
711
712
  /**
713
   * Returns the factory that creates the instances of the model.
714
   * <!-- begin-user-doc -->
715
   * <!-- end-user-doc -->
716
   * @return the factory that creates the instances of the model.
717
   * @generated
718
   */
719
  Model5Factory getModel5Factory();
720
721
  /**
722
   * <!-- begin-user-doc -->
723
   * Defines literals for the meta objects that represent
724
   * <ul>
725
   *   <li>each class,</li>
726
   *   <li>each feature of each class,</li>
727
   *   <li>each enum,</li>
728
   *   <li>and each data type</li>
729
   * </ul>
730
   * <!-- end-user-doc -->
731
   * @generated
732
   */
733
  interface Literals
734
  {
735
    /**
736
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl <em>Test Feature Map</em>}' class.
737
     * <!-- begin-user-doc -->
738
     * <!-- end-user-doc -->
739
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl
740
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getTestFeatureMap()
741
     * @generated
742
     */
743
    EClass TEST_FEATURE_MAP = eINSTANCE.getTestFeatureMap();
744
745
    /**
746
     * The meta object literal for the '<em><b>Managers</b></em>' reference list feature.
747
     * <!-- begin-user-doc -->
748
     * <!-- end-user-doc -->
749
     * @generated
750
     */
751
    EReference TEST_FEATURE_MAP__MANAGERS = eINSTANCE.getTestFeatureMap_Managers();
752
753
    /**
754
     * The meta object literal for the '<em><b>Doctors</b></em>' containment reference list feature.
755
     * <!-- begin-user-doc -->
756
     * <!-- end-user-doc -->
757
     * @generated
758
     */
759
    EReference TEST_FEATURE_MAP__DOCTORS = eINSTANCE.getTestFeatureMap_Doctors();
760
761
    /**
762
     * The meta object literal for the '<em><b>People</b></em>' attribute list feature.
763
     * <!-- begin-user-doc -->
764
     * <!-- end-user-doc -->
765
     * @generated
766
     */
767
    EAttribute TEST_FEATURE_MAP__PEOPLE = eINSTANCE.getTestFeatureMap_People();
768
769
    /**
770
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.ManagerImpl <em>Manager</em>}' class.
771
     * <!-- begin-user-doc -->
772
     * <!-- end-user-doc -->
773
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.ManagerImpl
774
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getManager()
775
     * @generated
776
     */
777
    EClass MANAGER = eINSTANCE.getManager();
778
779
    /**
780
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.DoctorImpl <em>Doctor</em>}' class.
781
     * <!-- begin-user-doc -->
782
     * <!-- end-user-doc -->
783
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.DoctorImpl
784
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getDoctor()
785
     * @generated
786
     */
787
    EClass DOCTOR = eINSTANCE.getDoctor();
788
789
    /**
790
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfStringImpl <em>Gen List Of String</em>}' class.
791
     * <!-- begin-user-doc -->
792
     * <!-- end-user-doc -->
793
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfStringImpl
794
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfString()
795
     * @generated
796
     */
797
    EClass GEN_LIST_OF_STRING = eINSTANCE.getGenListOfString();
798
799
    /**
800
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
801
     * <!-- begin-user-doc -->
802
     * <!-- end-user-doc -->
803
     * @generated
804
     */
805
    EAttribute GEN_LIST_OF_STRING__ELEMENTS = eINSTANCE.getGenListOfString_Elements();
806
807
    /**
808
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntImpl <em>Gen List Of Int</em>}' class.
809
     * <!-- begin-user-doc -->
810
     * <!-- end-user-doc -->
811
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntImpl
812
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfInt()
813
     * @generated
814
     */
815
    EClass GEN_LIST_OF_INT = eINSTANCE.getGenListOfInt();
816
817
    /**
818
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
819
     * <!-- begin-user-doc -->
820
     * <!-- end-user-doc -->
821
     * @generated
822
     */
823
    EAttribute GEN_LIST_OF_INT__ELEMENTS = eINSTANCE.getGenListOfInt_Elements();
824
825
    /**
826
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntegerImpl <em>Gen List Of Integer</em>}' class.
827
     * <!-- begin-user-doc -->
828
     * <!-- end-user-doc -->
829
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfIntegerImpl
830
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfInteger()
831
     * @generated
832
     */
833
    EClass GEN_LIST_OF_INTEGER = eINSTANCE.getGenListOfInteger();
834
835
    /**
836
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
837
     * <!-- begin-user-doc -->
838
     * <!-- end-user-doc -->
839
     * @generated
840
     */
841
    EAttribute GEN_LIST_OF_INTEGER__ELEMENTS = eINSTANCE.getGenListOfInteger_Elements();
842
843
    /**
844
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfLongImpl <em>Gen List Of Long</em>}' class.
845
     * <!-- begin-user-doc -->
846
     * <!-- end-user-doc -->
847
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfLongImpl
848
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfLong()
849
     * @generated
850
     */
851
    EClass GEN_LIST_OF_LONG = eINSTANCE.getGenListOfLong();
852
853
    /**
854
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
855
     * <!-- begin-user-doc -->
856
     * <!-- end-user-doc -->
857
     * @generated
858
     */
859
    EAttribute GEN_LIST_OF_LONG__ELEMENTS = eINSTANCE.getGenListOfLong_Elements();
860
861
    /**
862
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfBooleanImpl <em>Gen List Of Boolean</em>}' class.
863
     * <!-- begin-user-doc -->
864
     * <!-- end-user-doc -->
865
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfBooleanImpl
866
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfBoolean()
867
     * @generated
868
     */
869
    EClass GEN_LIST_OF_BOOLEAN = eINSTANCE.getGenListOfBoolean();
870
871
    /**
872
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
873
     * <!-- begin-user-doc -->
874
     * <!-- end-user-doc -->
875
     * @generated
876
     */
877
    EAttribute GEN_LIST_OF_BOOLEAN__ELEMENTS = eINSTANCE.getGenListOfBoolean_Elements();
878
879
    /**
880
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfShortImpl <em>Gen List Of Short</em>}' class.
881
     * <!-- begin-user-doc -->
882
     * <!-- end-user-doc -->
883
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfShortImpl
884
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfShort()
885
     * @generated
886
     */
887
    EClass GEN_LIST_OF_SHORT = eINSTANCE.getGenListOfShort();
888
889
    /**
890
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
891
     * <!-- begin-user-doc -->
892
     * <!-- end-user-doc -->
893
     * @generated
894
     */
895
    EAttribute GEN_LIST_OF_SHORT__ELEMENTS = eINSTANCE.getGenListOfShort_Elements();
896
897
    /**
898
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfFloatImpl <em>Gen List Of Float</em>}' class.
899
     * <!-- begin-user-doc -->
900
     * <!-- end-user-doc -->
901
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfFloatImpl
902
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfFloat()
903
     * @generated
904
     */
905
    EClass GEN_LIST_OF_FLOAT = eINSTANCE.getGenListOfFloat();
906
907
    /**
908
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
909
     * <!-- begin-user-doc -->
910
     * <!-- end-user-doc -->
911
     * @generated
912
     */
913
    EAttribute GEN_LIST_OF_FLOAT__ELEMENTS = eINSTANCE.getGenListOfFloat_Elements();
914
915
    /**
916
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDoubleImpl <em>Gen List Of Double</em>}' class.
917
     * <!-- begin-user-doc -->
918
     * <!-- end-user-doc -->
919
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDoubleImpl
920
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfDouble()
921
     * @generated
922
     */
923
    EClass GEN_LIST_OF_DOUBLE = eINSTANCE.getGenListOfDouble();
924
925
    /**
926
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
927
     * <!-- begin-user-doc -->
928
     * <!-- end-user-doc -->
929
     * @generated
930
     */
931
    EAttribute GEN_LIST_OF_DOUBLE__ELEMENTS = eINSTANCE.getGenListOfDouble_Elements();
932
933
    /**
934
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDateImpl <em>Gen List Of Date</em>}' class.
935
     * <!-- begin-user-doc -->
936
     * <!-- end-user-doc -->
937
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDateImpl
938
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfDate()
939
     * @generated
940
     */
941
    EClass GEN_LIST_OF_DATE = eINSTANCE.getGenListOfDate();
942
943
    /**
944
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
945
     * <!-- begin-user-doc -->
946
     * <!-- end-user-doc -->
947
     * @generated
948
     */
949
    EAttribute GEN_LIST_OF_DATE__ELEMENTS = eINSTANCE.getGenListOfDate_Elements();
950
951
    /**
952
     * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfCharImpl <em>Gen List Of Char</em>}' class.
953
     * <!-- begin-user-doc -->
954
     * <!-- end-user-doc -->
955
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfCharImpl
956
     * @see org.eclipse.emf.cdo.tests.legacy.model5.impl.Model5PackageImpl#getGenListOfChar()
957
     * @generated
958
     */
959
    EClass GEN_LIST_OF_CHAR = eINSTANCE.getGenListOfChar();
960
961
    /**
962
     * The meta object literal for the '<em><b>Elements</b></em>' attribute list feature.
963
     * <!-- begin-user-doc -->
964
     * <!-- end-user-doc -->
965
     * @generated
966
     */
967
    EAttribute GEN_LIST_OF_CHAR__ELEMENTS = eINSTANCE.getGenListOfChar_Elements();
968
969
  }
970
971
} //Model5Package
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/Model5PackageImpl.java (+665 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Factory;
16
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
17
import org.eclipse.emf.cdo.tests.model5.Doctor;
18
import org.eclipse.emf.cdo.tests.model5.GenListOfBoolean;
19
import org.eclipse.emf.cdo.tests.model5.GenListOfChar;
20
import org.eclipse.emf.cdo.tests.model5.GenListOfDate;
21
import org.eclipse.emf.cdo.tests.model5.GenListOfDouble;
22
import org.eclipse.emf.cdo.tests.model5.GenListOfFloat;
23
import org.eclipse.emf.cdo.tests.model5.GenListOfInt;
24
import org.eclipse.emf.cdo.tests.model5.GenListOfInteger;
25
import org.eclipse.emf.cdo.tests.model5.GenListOfLong;
26
import org.eclipse.emf.cdo.tests.model5.GenListOfShort;
27
import org.eclipse.emf.cdo.tests.model5.GenListOfString;
28
import org.eclipse.emf.cdo.tests.model5.Manager;
29
import org.eclipse.emf.cdo.tests.model5.TestFeatureMap;
30
31
import org.eclipse.emf.ecore.EAttribute;
32
import org.eclipse.emf.ecore.EClass;
33
import org.eclipse.emf.ecore.EPackage;
34
import org.eclipse.emf.ecore.EReference;
35
import org.eclipse.emf.ecore.impl.EPackageImpl;
36
37
/**
38
 * <!-- begin-user-doc -->
39
 * An implementation of the model <b>Package</b>.
40
 * <!-- end-user-doc -->
41
 * @generated
42
 */
43
public class Model5PackageImpl extends EPackageImpl implements Model5Package
44
{
45
  /**
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
48
   * @generated
49
   */
50
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
51
52
  /**
53
   * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
55
   * @generated
56
   */
57
  private EClass testFeatureMapEClass = null;
58
59
  /**
60
   * <!-- begin-user-doc -->
61
   * <!-- end-user-doc -->
62
   * @generated
63
   */
64
  private EClass managerEClass = null;
65
66
  /**
67
   * <!-- begin-user-doc -->
68
   * <!-- end-user-doc -->
69
   * @generated
70
   */
71
  private EClass doctorEClass = null;
72
73
  /**
74
   * <!-- begin-user-doc -->
75
   * <!-- end-user-doc -->
76
   * @generated
77
   */
78
  private EClass genListOfStringEClass = null;
79
80
  /**
81
   * <!-- begin-user-doc -->
82
   * <!-- end-user-doc -->
83
   * @generated
84
   */
85
  private EClass genListOfIntEClass = null;
86
87
  /**
88
   * <!-- begin-user-doc -->
89
   * <!-- end-user-doc -->
90
   * @generated
91
   */
92
  private EClass genListOfIntegerEClass = null;
93
94
  /**
95
   * <!-- begin-user-doc -->
96
   * <!-- end-user-doc -->
97
   * @generated
98
   */
99
  private EClass genListOfLongEClass = null;
100
101
  /**
102
   * <!-- begin-user-doc -->
103
   * <!-- end-user-doc -->
104
   * @generated
105
   */
106
  private EClass genListOfBooleanEClass = null;
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  private EClass genListOfShortEClass = null;
114
115
  /**
116
   * <!-- begin-user-doc -->
117
   * <!-- end-user-doc -->
118
   * @generated
119
   */
120
  private EClass genListOfFloatEClass = null;
121
122
  /**
123
   * <!-- begin-user-doc -->
124
   * <!-- end-user-doc -->
125
   * @generated
126
   */
127
  private EClass genListOfDoubleEClass = null;
128
129
  /**
130
   * <!-- begin-user-doc -->
131
   * <!-- end-user-doc -->
132
   * @generated
133
   */
134
  private EClass genListOfDateEClass = null;
135
136
  /**
137
   * <!-- begin-user-doc -->
138
   * <!-- end-user-doc -->
139
   * @generated
140
   */
141
  private EClass genListOfCharEClass = null;
142
143
  /**
144
   * Creates an instance of the model <b>Package</b>, registered with
145
   * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
146
   * package URI value.
147
   * <p>Note: the correct way to create the package is via the static
148
   * factory method {@link #init init()}, which also performs
149
   * initialization of the package, or returns the registered package,
150
   * if one already exists.
151
   * <!-- begin-user-doc -->
152
   * <!-- end-user-doc -->
153
   * @see org.eclipse.emf.ecore.EPackage.Registry
154
   * @see org.eclipse.emf.cdo.tests.legacy.model5.Model5Package#eNS_URI
155
   * @see #init()
156
   * @generated
157
   */
158
  private Model5PackageImpl()
159
  {
160
    super(eNS_URI, Model5Factory.eINSTANCE);
161
  }
162
163
  /**
164
   * <!-- begin-user-doc -->
165
   * <!-- end-user-doc -->
166
   * @generated
167
   */
168
  private static boolean isInited = false;
169
170
  /**
171
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
172
   * 
173
   * <p>This method is used to initialize {@link Model5Package#eINSTANCE} when that field is accessed.
174
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
175
   * <!-- begin-user-doc -->
176
   * <!-- end-user-doc -->
177
   * @see #eNS_URI
178
   * @see #createPackageContents()
179
   * @see #initializePackageContents()
180
   * @generated
181
   */
182
  public static Model5Package init()
183
  {
184
    if (isInited)
185
      return (Model5Package)EPackage.Registry.INSTANCE.getEPackage(Model5Package.eNS_URI);
186
187
    // Obtain or create and register package
188
    Model5PackageImpl theModel5Package = (Model5PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Model5PackageImpl ? EPackage.Registry.INSTANCE
189
        .get(eNS_URI)
190
        : new Model5PackageImpl());
191
192
    isInited = true;
193
194
    // Create package meta-data objects
195
    theModel5Package.createPackageContents();
196
197
    // Initialize created meta-data
198
    theModel5Package.initializePackageContents();
199
200
    // Mark meta-data to indicate it can't be changed
201
    theModel5Package.freeze();
202
203
    // Update the registry and return the package
204
    EPackage.Registry.INSTANCE.put(Model5Package.eNS_URI, theModel5Package);
205
    return theModel5Package;
206
  }
207
208
  /**
209
   * <!-- begin-user-doc -->
210
   * <!-- end-user-doc -->
211
   * @generated
212
   */
213
  public EClass getTestFeatureMap()
214
  {
215
    return testFeatureMapEClass;
216
  }
217
218
  /**
219
   * <!-- begin-user-doc -->
220
   * <!-- end-user-doc -->
221
   * @generated
222
   */
223
  public EReference getTestFeatureMap_Managers()
224
  {
225
    return (EReference)testFeatureMapEClass.getEStructuralFeatures().get(0);
226
  }
227
228
  /**
229
   * <!-- begin-user-doc -->
230
   * <!-- end-user-doc -->
231
   * @generated
232
   */
233
  public EReference getTestFeatureMap_Doctors()
234
  {
235
    return (EReference)testFeatureMapEClass.getEStructuralFeatures().get(1);
236
  }
237
238
  /**
239
   * <!-- begin-user-doc -->
240
   * <!-- end-user-doc -->
241
   * @generated
242
   */
243
  public EAttribute getTestFeatureMap_People()
244
  {
245
    return (EAttribute)testFeatureMapEClass.getEStructuralFeatures().get(2);
246
  }
247
248
  /**
249
   * <!-- begin-user-doc -->
250
   * <!-- end-user-doc -->
251
   * @generated
252
   */
253
  public EClass getManager()
254
  {
255
    return managerEClass;
256
  }
257
258
  /**
259
   * <!-- begin-user-doc -->
260
   * <!-- end-user-doc -->
261
   * @generated
262
   */
263
  public EClass getDoctor()
264
  {
265
    return doctorEClass;
266
  }
267
268
  /**
269
   * <!-- begin-user-doc -->
270
   * <!-- end-user-doc -->
271
   * @generated
272
   */
273
  public EClass getGenListOfString()
274
  {
275
    return genListOfStringEClass;
276
  }
277
278
  /**
279
   * <!-- begin-user-doc -->
280
   * <!-- end-user-doc -->
281
   * @generated
282
   */
283
  public EAttribute getGenListOfString_Elements()
284
  {
285
    return (EAttribute)genListOfStringEClass.getEStructuralFeatures().get(0);
286
  }
287
288
  /**
289
   * <!-- begin-user-doc -->
290
   * <!-- end-user-doc -->
291
   * @generated
292
   */
293
  public EClass getGenListOfInt()
294
  {
295
    return genListOfIntEClass;
296
  }
297
298
  /**
299
   * <!-- begin-user-doc -->
300
   * <!-- end-user-doc -->
301
   * @generated
302
   */
303
  public EAttribute getGenListOfInt_Elements()
304
  {
305
    return (EAttribute)genListOfIntEClass.getEStructuralFeatures().get(0);
306
  }
307
308
  /**
309
   * <!-- begin-user-doc -->
310
   * <!-- end-user-doc -->
311
   * @generated
312
   */
313
  public EClass getGenListOfInteger()
314
  {
315
    return genListOfIntegerEClass;
316
  }
317
318
  /**
319
   * <!-- begin-user-doc -->
320
   * <!-- end-user-doc -->
321
   * @generated
322
   */
323
  public EAttribute getGenListOfInteger_Elements()
324
  {
325
    return (EAttribute)genListOfIntegerEClass.getEStructuralFeatures().get(0);
326
  }
327
328
  /**
329
   * <!-- begin-user-doc -->
330
   * <!-- end-user-doc -->
331
   * @generated
332
   */
333
  public EClass getGenListOfLong()
334
  {
335
    return genListOfLongEClass;
336
  }
337
338
  /**
339
   * <!-- begin-user-doc -->
340
   * <!-- end-user-doc -->
341
   * @generated
342
   */
343
  public EAttribute getGenListOfLong_Elements()
344
  {
345
    return (EAttribute)genListOfLongEClass.getEStructuralFeatures().get(0);
346
  }
347
348
  /**
349
   * <!-- begin-user-doc -->
350
   * <!-- end-user-doc -->
351
   * @generated
352
   */
353
  public EClass getGenListOfBoolean()
354
  {
355
    return genListOfBooleanEClass;
356
  }
357
358
  /**
359
   * <!-- begin-user-doc -->
360
   * <!-- end-user-doc -->
361
   * @generated
362
   */
363
  public EAttribute getGenListOfBoolean_Elements()
364
  {
365
    return (EAttribute)genListOfBooleanEClass.getEStructuralFeatures().get(0);
366
  }
367
368
  /**
369
   * <!-- begin-user-doc -->
370
   * <!-- end-user-doc -->
371
   * @generated
372
   */
373
  public EClass getGenListOfShort()
374
  {
375
    return genListOfShortEClass;
376
  }
377
378
  /**
379
   * <!-- begin-user-doc -->
380
   * <!-- end-user-doc -->
381
   * @generated
382
   */
383
  public EAttribute getGenListOfShort_Elements()
384
  {
385
    return (EAttribute)genListOfShortEClass.getEStructuralFeatures().get(0);
386
  }
387
388
  /**
389
   * <!-- begin-user-doc -->
390
   * <!-- end-user-doc -->
391
   * @generated
392
   */
393
  public EClass getGenListOfFloat()
394
  {
395
    return genListOfFloatEClass;
396
  }
397
398
  /**
399
   * <!-- begin-user-doc -->
400
   * <!-- end-user-doc -->
401
   * @generated
402
   */
403
  public EAttribute getGenListOfFloat_Elements()
404
  {
405
    return (EAttribute)genListOfFloatEClass.getEStructuralFeatures().get(0);
406
  }
407
408
  /**
409
   * <!-- begin-user-doc -->
410
   * <!-- end-user-doc -->
411
   * @generated
412
   */
413
  public EClass getGenListOfDouble()
414
  {
415
    return genListOfDoubleEClass;
416
  }
417
418
  /**
419
   * <!-- begin-user-doc -->
420
   * <!-- end-user-doc -->
421
   * @generated
422
   */
423
  public EAttribute getGenListOfDouble_Elements()
424
  {
425
    return (EAttribute)genListOfDoubleEClass.getEStructuralFeatures().get(0);
426
  }
427
428
  /**
429
   * <!-- begin-user-doc -->
430
   * <!-- end-user-doc -->
431
   * @generated
432
   */
433
  public EClass getGenListOfDate()
434
  {
435
    return genListOfDateEClass;
436
  }
437
438
  /**
439
   * <!-- begin-user-doc -->
440
   * <!-- end-user-doc -->
441
   * @generated
442
   */
443
  public EAttribute getGenListOfDate_Elements()
444
  {
445
    return (EAttribute)genListOfDateEClass.getEStructuralFeatures().get(0);
446
  }
447
448
  /**
449
   * <!-- begin-user-doc -->
450
   * <!-- end-user-doc -->
451
   * @generated
452
   */
453
  public EClass getGenListOfChar()
454
  {
455
    return genListOfCharEClass;
456
  }
457
458
  /**
459
   * <!-- begin-user-doc -->
460
   * <!-- end-user-doc -->
461
   * @generated
462
   */
463
  public EAttribute getGenListOfChar_Elements()
464
  {
465
    return (EAttribute)genListOfCharEClass.getEStructuralFeatures().get(0);
466
  }
467
468
  /**
469
   * <!-- begin-user-doc -->
470
   * <!-- end-user-doc -->
471
   * @generated
472
   */
473
  public Model5Factory getModel5Factory()
474
  {
475
    return (Model5Factory)getEFactoryInstance();
476
  }
477
478
  /**
479
   * <!-- begin-user-doc -->
480
   * <!-- end-user-doc -->
481
   * @generated
482
   */
483
  private boolean isCreated = false;
484
485
  /**
486
   * Creates the meta-model objects for the package.  This method is
487
   * guarded to have no affect on any invocation but its first.
488
   * <!-- begin-user-doc -->
489
   * <!-- end-user-doc -->
490
   * @generated
491
   */
492
  public void createPackageContents()
493
  {
494
    if (isCreated)
495
      return;
496
    isCreated = true;
497
498
    // Create classes and their features
499
    testFeatureMapEClass = createEClass(TEST_FEATURE_MAP);
500
    createEReference(testFeatureMapEClass, TEST_FEATURE_MAP__MANAGERS);
501
    createEReference(testFeatureMapEClass, TEST_FEATURE_MAP__DOCTORS);
502
    createEAttribute(testFeatureMapEClass, TEST_FEATURE_MAP__PEOPLE);
503
504
    managerEClass = createEClass(MANAGER);
505
506
    doctorEClass = createEClass(DOCTOR);
507
508
    genListOfStringEClass = createEClass(GEN_LIST_OF_STRING);
509
    createEAttribute(genListOfStringEClass, GEN_LIST_OF_STRING__ELEMENTS);
510
511
    genListOfIntEClass = createEClass(GEN_LIST_OF_INT);
512
    createEAttribute(genListOfIntEClass, GEN_LIST_OF_INT__ELEMENTS);
513
514
    genListOfIntegerEClass = createEClass(GEN_LIST_OF_INTEGER);
515
    createEAttribute(genListOfIntegerEClass, GEN_LIST_OF_INTEGER__ELEMENTS);
516
517
    genListOfLongEClass = createEClass(GEN_LIST_OF_LONG);
518
    createEAttribute(genListOfLongEClass, GEN_LIST_OF_LONG__ELEMENTS);
519
520
    genListOfBooleanEClass = createEClass(GEN_LIST_OF_BOOLEAN);
521
    createEAttribute(genListOfBooleanEClass, GEN_LIST_OF_BOOLEAN__ELEMENTS);
522
523
    genListOfShortEClass = createEClass(GEN_LIST_OF_SHORT);
524
    createEAttribute(genListOfShortEClass, GEN_LIST_OF_SHORT__ELEMENTS);
525
526
    genListOfFloatEClass = createEClass(GEN_LIST_OF_FLOAT);
527
    createEAttribute(genListOfFloatEClass, GEN_LIST_OF_FLOAT__ELEMENTS);
528
529
    genListOfDoubleEClass = createEClass(GEN_LIST_OF_DOUBLE);
530
    createEAttribute(genListOfDoubleEClass, GEN_LIST_OF_DOUBLE__ELEMENTS);
531
532
    genListOfDateEClass = createEClass(GEN_LIST_OF_DATE);
533
    createEAttribute(genListOfDateEClass, GEN_LIST_OF_DATE__ELEMENTS);
534
535
    genListOfCharEClass = createEClass(GEN_LIST_OF_CHAR);
536
    createEAttribute(genListOfCharEClass, GEN_LIST_OF_CHAR__ELEMENTS);
537
  }
538
539
  /**
540
   * <!-- begin-user-doc -->
541
   * <!-- end-user-doc -->
542
   * @generated
543
   */
544
  private boolean isInitialized = false;
545
546
  /**
547
   * Complete the initialization of the package and its meta-model.  This
548
   * method is guarded to have no affect on any invocation but its first.
549
   * <!-- begin-user-doc -->
550
   * <!-- end-user-doc -->
551
   * @generated
552
   */
553
  public void initializePackageContents()
554
  {
555
    if (isInitialized)
556
      return;
557
    isInitialized = true;
558
559
    // Initialize package
560
    setName(eNAME);
561
    setNsPrefix(eNS_PREFIX);
562
    setNsURI(eNS_URI);
563
564
    // Create type parameters
565
566
    // Set bounds for type parameters
567
568
    // Add supertypes to classes
569
570
    // Initialize classes and features; add operations and parameters
571
    initEClass(testFeatureMapEClass, TestFeatureMap.class, "TestFeatureMap", !IS_ABSTRACT, !IS_INTERFACE,
572
        IS_GENERATED_INSTANCE_CLASS);
573
    initEReference(getTestFeatureMap_Managers(), this.getManager(), null, "managers", null, 0, -1,
574
        TestFeatureMap.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
575
        !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
576
    initEReference(getTestFeatureMap_Doctors(), this.getDoctor(), null, "doctors", null, 0, -1, TestFeatureMap.class,
577
        IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
578
        !IS_DERIVED, IS_ORDERED);
579
    initEAttribute(getTestFeatureMap_People(), ecorePackage.getEFeatureMapEntry(), "people", null, 0, -1,
580
        TestFeatureMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,
581
        !IS_DERIVED, IS_ORDERED);
582
583
    initEClass(managerEClass, Manager.class, "Manager", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
584
585
    initEClass(doctorEClass, Doctor.class, "Doctor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
586
587
    initEClass(genListOfStringEClass, GenListOfString.class, "GenListOfString", !IS_ABSTRACT, !IS_INTERFACE,
588
        IS_GENERATED_INSTANCE_CLASS);
589
    initEAttribute(getGenListOfString_Elements(), ecorePackage.getEString(), "elements", null, 0, -1,
590
        GenListOfString.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
591
        !IS_DERIVED, IS_ORDERED);
592
593
    initEClass(genListOfIntEClass, GenListOfInt.class, "GenListOfInt", !IS_ABSTRACT, !IS_INTERFACE,
594
        IS_GENERATED_INSTANCE_CLASS);
595
    initEAttribute(getGenListOfInt_Elements(), ecorePackage.getEInt(), "elements", null, 0, -1, GenListOfInt.class,
596
        !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
597
598
    initEClass(genListOfIntegerEClass, GenListOfInteger.class, "GenListOfInteger", !IS_ABSTRACT, !IS_INTERFACE,
599
        IS_GENERATED_INSTANCE_CLASS);
600
    initEAttribute(getGenListOfInteger_Elements(), ecorePackage.getEIntegerObject(), "elements", null, 0, -1,
601
        GenListOfInteger.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
602
        !IS_DERIVED, IS_ORDERED);
603
604
    initEClass(genListOfLongEClass, GenListOfLong.class, "GenListOfLong", !IS_ABSTRACT, !IS_INTERFACE,
605
        IS_GENERATED_INSTANCE_CLASS);
606
    initEAttribute(getGenListOfLong_Elements(), ecorePackage.getELong(), "elements", null, 0, -1, GenListOfLong.class,
607
        !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
608
609
    initEClass(genListOfBooleanEClass, GenListOfBoolean.class, "GenListOfBoolean", !IS_ABSTRACT, !IS_INTERFACE,
610
        IS_GENERATED_INSTANCE_CLASS);
611
    initEAttribute(getGenListOfBoolean_Elements(), ecorePackage.getEBoolean(), "elements", null, 0, -1,
612
        GenListOfBoolean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,
613
        !IS_DERIVED, IS_ORDERED);
614
615
    initEClass(genListOfShortEClass, GenListOfShort.class, "GenListOfShort", !IS_ABSTRACT, !IS_INTERFACE,
616
        IS_GENERATED_INSTANCE_CLASS);
617
    initEAttribute(getGenListOfShort_Elements(), ecorePackage.getEShort(), "elements", null, 0, -1,
618
        GenListOfShort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
619
        !IS_DERIVED, IS_ORDERED);
620
621
    initEClass(genListOfFloatEClass, GenListOfFloat.class, "GenListOfFloat", !IS_ABSTRACT, !IS_INTERFACE,
622
        IS_GENERATED_INSTANCE_CLASS);
623
    initEAttribute(getGenListOfFloat_Elements(), ecorePackage.getEFloat(), "elements", null, 0, -1,
624
        GenListOfFloat.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
625
        !IS_DERIVED, IS_ORDERED);
626
627
    initEClass(genListOfDoubleEClass, GenListOfDouble.class, "GenListOfDouble", !IS_ABSTRACT, !IS_INTERFACE,
628
        IS_GENERATED_INSTANCE_CLASS);
629
    initEAttribute(getGenListOfDouble_Elements(), ecorePackage.getEDouble(), "elements", null, 0, -1,
630
        GenListOfDouble.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
631
        !IS_DERIVED, IS_ORDERED);
632
633
    initEClass(genListOfDateEClass, GenListOfDate.class, "GenListOfDate", !IS_ABSTRACT, !IS_INTERFACE,
634
        IS_GENERATED_INSTANCE_CLASS);
635
    initEAttribute(getGenListOfDate_Elements(), ecorePackage.getEDate(), "elements", null, 0, -1, GenListOfDate.class,
636
        !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
637
638
    initEClass(genListOfCharEClass, GenListOfChar.class, "GenListOfChar", !IS_ABSTRACT, !IS_INTERFACE,
639
        IS_GENERATED_INSTANCE_CLASS);
640
    initEAttribute(getGenListOfChar_Elements(), ecorePackage.getEChar(), "elements", null, 0, -1, GenListOfChar.class,
641
        !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
642
643
    // Create resource
644
    createResource(eNS_URI);
645
646
    // Create annotations
647
    // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
648
    createExtendedMetaDataAnnotations();
649
  }
650
651
  /**
652
   * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
653
   * <!-- begin-user-doc -->
654
   * <!-- end-user-doc -->
655
   * @generated
656
   */
657
  protected void createExtendedMetaDataAnnotations()
658
  {
659
    String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
660
    addAnnotation(getTestFeatureMap_Managers(), source, new String[] { "group", "#people" });
661
    addAnnotation(getTestFeatureMap_Doctors(), source, new String[] { "group", "#people" });
662
    addAnnotation(getTestFeatureMap_People(), source, new String[] { "kind", "group" });
663
  }
664
665
} //Model5PackageImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfCharImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfChar;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Char</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfCharImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfCharImpl extends EObjectImpl implements GenListOfChar
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Character> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfCharImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_CHAR;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Character> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<Character>(Character.class, this, Model5Package.GEN_LIST_OF_CHAR__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_CHAR__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_CHAR__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Character>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_CHAR__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_CHAR__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfCharImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/util/Model5AdapterFactory.java (+411 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.util;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.Doctor;
17
import org.eclipse.emf.cdo.tests.model5.GenListOfBoolean;
18
import org.eclipse.emf.cdo.tests.model5.GenListOfChar;
19
import org.eclipse.emf.cdo.tests.model5.GenListOfDate;
20
import org.eclipse.emf.cdo.tests.model5.GenListOfDouble;
21
import org.eclipse.emf.cdo.tests.model5.GenListOfFloat;
22
import org.eclipse.emf.cdo.tests.model5.GenListOfInt;
23
import org.eclipse.emf.cdo.tests.model5.GenListOfInteger;
24
import org.eclipse.emf.cdo.tests.model5.GenListOfLong;
25
import org.eclipse.emf.cdo.tests.model5.GenListOfShort;
26
import org.eclipse.emf.cdo.tests.model5.GenListOfString;
27
import org.eclipse.emf.cdo.tests.model5.Manager;
28
import org.eclipse.emf.cdo.tests.model5.TestFeatureMap;
29
30
import org.eclipse.emf.common.notify.Adapter;
31
import org.eclipse.emf.common.notify.Notifier;
32
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
33
import org.eclipse.emf.ecore.EObject;
34
35
/**
36
 * <!-- begin-user-doc -->
37
 * The <b>Adapter Factory</b> for the model.
38
 * It provides an adapter <code>createXXX</code> method for each class of the model.
39
 * <!-- end-user-doc -->
40
 * @see org.eclipse.emf.cdo.tests.legacy.model5.Model5Package
41
 * @generated
42
 */
43
public class Model5AdapterFactory extends AdapterFactoryImpl
44
{
45
  /**
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
48
   * @generated
49
   */
50
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
51
52
  /**
53
   * The cached model package.
54
   * <!-- begin-user-doc -->
55
   * <!-- end-user-doc -->
56
   * @generated
57
   */
58
  protected static Model5Package modelPackage;
59
60
  /**
61
   * Creates an instance of the adapter factory.
62
   * <!-- begin-user-doc -->
63
   * <!-- end-user-doc -->
64
   * @generated
65
   */
66
  public Model5AdapterFactory()
67
  {
68
    if (modelPackage == null)
69
    {
70
      modelPackage = Model5Package.eINSTANCE;
71
    }
72
  }
73
74
  /**
75
   * Returns whether this factory is applicable for the type of the object.
76
   * <!-- begin-user-doc -->
77
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
78
   * <!-- end-user-doc -->
79
   * @return whether this factory is applicable for the type of the object.
80
   * @generated
81
   */
82
  @Override
83
  public boolean isFactoryForType(Object object)
84
  {
85
    if (object == modelPackage)
86
    {
87
      return true;
88
    }
89
    if (object instanceof EObject)
90
    {
91
      return ((EObject)object).eClass().getEPackage() == modelPackage;
92
    }
93
    return false;
94
  }
95
96
  /**
97
   * The switch that delegates to the <code>createXXX</code> methods.
98
   * <!-- begin-user-doc -->
99
   * <!-- end-user-doc -->
100
   * @generated
101
   */
102
  protected Model5Switch<Adapter> modelSwitch = new Model5Switch<Adapter>()
103
  {
104
    @Override
105
    public Adapter caseTestFeatureMap(TestFeatureMap object)
106
    {
107
      return createTestFeatureMapAdapter();
108
    }
109
110
    @Override
111
    public Adapter caseManager(Manager object)
112
    {
113
      return createManagerAdapter();
114
    }
115
116
    @Override
117
    public Adapter caseDoctor(Doctor object)
118
    {
119
      return createDoctorAdapter();
120
    }
121
122
    @Override
123
    public Adapter caseGenListOfString(GenListOfString object)
124
    {
125
      return createGenListOfStringAdapter();
126
    }
127
128
    @Override
129
    public Adapter caseGenListOfInt(GenListOfInt object)
130
    {
131
      return createGenListOfIntAdapter();
132
    }
133
134
    @Override
135
    public Adapter caseGenListOfInteger(GenListOfInteger object)
136
    {
137
      return createGenListOfIntegerAdapter();
138
    }
139
140
    @Override
141
    public Adapter caseGenListOfLong(GenListOfLong object)
142
    {
143
      return createGenListOfLongAdapter();
144
    }
145
146
    @Override
147
    public Adapter caseGenListOfBoolean(GenListOfBoolean object)
148
    {
149
      return createGenListOfBooleanAdapter();
150
    }
151
152
    @Override
153
    public Adapter caseGenListOfShort(GenListOfShort object)
154
    {
155
      return createGenListOfShortAdapter();
156
    }
157
158
    @Override
159
    public Adapter caseGenListOfFloat(GenListOfFloat object)
160
    {
161
      return createGenListOfFloatAdapter();
162
    }
163
164
    @Override
165
    public Adapter caseGenListOfDouble(GenListOfDouble object)
166
    {
167
      return createGenListOfDoubleAdapter();
168
    }
169
170
    @Override
171
    public Adapter caseGenListOfDate(GenListOfDate object)
172
    {
173
      return createGenListOfDateAdapter();
174
    }
175
176
    @Override
177
    public Adapter caseGenListOfChar(GenListOfChar object)
178
    {
179
      return createGenListOfCharAdapter();
180
    }
181
182
    @Override
183
    public Adapter defaultCase(EObject object)
184
    {
185
      return createEObjectAdapter();
186
    }
187
  };
188
189
  /**
190
   * Creates an adapter for the <code>target</code>.
191
   * <!-- begin-user-doc -->
192
   * <!-- end-user-doc -->
193
   * @param target the object to adapt.
194
   * @return the adapter for the <code>target</code>.
195
   * @generated
196
   */
197
  @Override
198
  public Adapter createAdapter(Notifier target)
199
  {
200
    return modelSwitch.doSwitch((EObject)target);
201
  }
202
203
  /**
204
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap <em>Test Feature Map</em>}'.
205
   * <!-- begin-user-doc -->
206
   * This default implementation returns null so that we can easily ignore cases;
207
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
208
   * <!-- end-user-doc -->
209
   * @return the new adapter.
210
   * @see org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap
211
   * @generated
212
   */
213
  public Adapter createTestFeatureMapAdapter()
214
  {
215
    return null;
216
  }
217
218
  /**
219
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.Manager <em>Manager</em>}'.
220
   * <!-- begin-user-doc -->
221
   * This default implementation returns null so that we can easily ignore cases;
222
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
223
   * <!-- end-user-doc -->
224
   * @return the new adapter.
225
   * @see org.eclipse.emf.cdo.tests.legacy.model5.Manager
226
   * @generated
227
   */
228
  public Adapter createManagerAdapter()
229
  {
230
    return null;
231
  }
232
233
  /**
234
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.Doctor <em>Doctor</em>}'.
235
   * <!-- begin-user-doc -->
236
   * This default implementation returns null so that we can easily ignore cases;
237
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
238
   * <!-- end-user-doc -->
239
   * @return the new adapter.
240
   * @see org.eclipse.emf.cdo.tests.legacy.model5.Doctor
241
   * @generated
242
   */
243
  public Adapter createDoctorAdapter()
244
  {
245
    return null;
246
  }
247
248
  /**
249
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfString <em>Gen List Of String</em>}'.
250
   * <!-- begin-user-doc -->
251
   * This default implementation returns null so that we can easily ignore cases;
252
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
253
   * <!-- end-user-doc -->
254
   * @return the new adapter.
255
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfString
256
   * @generated
257
   */
258
  public Adapter createGenListOfStringAdapter()
259
  {
260
    return null;
261
  }
262
263
  /**
264
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInt <em>Gen List Of Int</em>}'.
265
   * <!-- begin-user-doc -->
266
   * This default implementation returns null so that we can easily ignore cases;
267
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
268
   * <!-- end-user-doc -->
269
   * @return the new adapter.
270
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInt
271
   * @generated
272
   */
273
  public Adapter createGenListOfIntAdapter()
274
  {
275
    return null;
276
  }
277
278
  /**
279
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInteger <em>Gen List Of Integer</em>}'.
280
   * <!-- begin-user-doc -->
281
   * This default implementation returns null so that we can easily ignore cases;
282
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
283
   * <!-- end-user-doc -->
284
   * @return the new adapter.
285
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfInteger
286
   * @generated
287
   */
288
  public Adapter createGenListOfIntegerAdapter()
289
  {
290
    return null;
291
  }
292
293
  /**
294
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfLong <em>Gen List Of Long</em>}'.
295
   * <!-- begin-user-doc -->
296
   * This default implementation returns null so that we can easily ignore cases;
297
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
298
   * <!-- end-user-doc -->
299
   * @return the new adapter.
300
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfLong
301
   * @generated
302
   */
303
  public Adapter createGenListOfLongAdapter()
304
  {
305
    return null;
306
  }
307
308
  /**
309
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfBoolean <em>Gen List Of Boolean</em>}'.
310
   * <!-- begin-user-doc -->
311
   * This default implementation returns null so that we can easily ignore cases;
312
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
313
   * <!-- end-user-doc -->
314
   * @return the new adapter.
315
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfBoolean
316
   * @generated
317
   */
318
  public Adapter createGenListOfBooleanAdapter()
319
  {
320
    return null;
321
  }
322
323
  /**
324
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfShort <em>Gen List Of Short</em>}'.
325
   * <!-- begin-user-doc -->
326
   * This default implementation returns null so that we can easily ignore cases;
327
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
328
   * <!-- end-user-doc -->
329
   * @return the new adapter.
330
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfShort
331
   * @generated
332
   */
333
  public Adapter createGenListOfShortAdapter()
334
  {
335
    return null;
336
  }
337
338
  /**
339
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfFloat <em>Gen List Of Float</em>}'.
340
   * <!-- begin-user-doc -->
341
   * This default implementation returns null so that we can easily ignore cases;
342
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
343
   * <!-- end-user-doc -->
344
   * @return the new adapter.
345
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfFloat
346
   * @generated
347
   */
348
  public Adapter createGenListOfFloatAdapter()
349
  {
350
    return null;
351
  }
352
353
  /**
354
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDouble <em>Gen List Of Double</em>}'.
355
   * <!-- begin-user-doc -->
356
   * This default implementation returns null so that we can easily ignore cases;
357
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
358
   * <!-- end-user-doc -->
359
   * @return the new adapter.
360
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDouble
361
   * @generated
362
   */
363
  public Adapter createGenListOfDoubleAdapter()
364
  {
365
    return null;
366
  }
367
368
  /**
369
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDate <em>Gen List Of Date</em>}'.
370
   * <!-- begin-user-doc -->
371
   * This default implementation returns null so that we can easily ignore cases;
372
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
373
   * <!-- end-user-doc -->
374
   * @return the new adapter.
375
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfDate
376
   * @generated
377
   */
378
  public Adapter createGenListOfDateAdapter()
379
  {
380
    return null;
381
  }
382
383
  /**
384
   * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model5.GenListOfChar <em>Gen List Of Char</em>}'.
385
   * <!-- begin-user-doc -->
386
   * This default implementation returns null so that we can easily ignore cases;
387
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
388
   * <!-- end-user-doc -->
389
   * @return the new adapter.
390
   * @see org.eclipse.emf.cdo.tests.legacy.model5.GenListOfChar
391
   * @generated
392
   */
393
  public Adapter createGenListOfCharAdapter()
394
  {
395
    return null;
396
  }
397
398
  /**
399
   * Creates a new adapter for the default case.
400
   * <!-- begin-user-doc -->
401
   * This default implementation returns null.
402
   * <!-- end-user-doc -->
403
   * @return the new adapter.
404
   * @generated
405
   */
406
  public Adapter createEObjectAdapter()
407
  {
408
    return null;
409
  }
410
411
} //Model5AdapterFactory
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/TestFeatureMapImpl.java (+277 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.Doctor;
17
import org.eclipse.emf.cdo.tests.model5.Manager;
18
import org.eclipse.emf.cdo.tests.model5.TestFeatureMap;
19
20
import org.eclipse.emf.common.notify.NotificationChain;
21
import org.eclipse.emf.common.util.EList;
22
import org.eclipse.emf.ecore.EClass;
23
import org.eclipse.emf.ecore.InternalEObject;
24
import org.eclipse.emf.ecore.impl.EObjectImpl;
25
import org.eclipse.emf.ecore.util.BasicFeatureMap;
26
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
27
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
28
import org.eclipse.emf.ecore.util.FeatureMap;
29
import org.eclipse.emf.ecore.util.InternalEList;
30
31
import java.util.Collection;
32
33
/**
34
 * <!-- begin-user-doc -->
35
 * An implementation of the model object '<em><b>Test Feature Map</b></em>'.
36
 * <!-- end-user-doc -->
37
 * <p>
38
 * The following features are implemented:
39
 * <ul>
40
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl#getManagers <em>Managers</em>}</li>
41
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl#getDoctors <em>Doctors</em>}</li>
42
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.TestFeatureMapImpl#getPeople <em>People</em>}</li>
43
 * </ul>
44
 * </p>
45
 *
46
 * @generated
47
 */
48
public class TestFeatureMapImpl extends EObjectImpl implements TestFeatureMap
49
{
50
  /**
51
   * <!-- begin-user-doc -->
52
   * <!-- end-user-doc -->
53
   * @generated
54
   */
55
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
56
57
  /**
58
   * The cached value of the '{@link #getManagers() <em>Managers</em>}' reference list.
59
   * <!-- begin-user-doc -->
60
   * <!-- end-user-doc -->
61
   * @see #getManagers()
62
   * @generated
63
   * @ordered
64
   */
65
  protected EList<Manager> managers;
66
67
  /**
68
   * The cached value of the '{@link #getDoctors() <em>Doctors</em>}' containment reference list.
69
   * <!-- begin-user-doc -->
70
   * <!-- end-user-doc -->
71
   * @see #getDoctors()
72
   * @generated
73
   * @ordered
74
   */
75
  protected EList<Doctor> doctors;
76
77
  /**
78
   * The cached value of the '{@link #getPeople() <em>People</em>}' attribute list.
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @see #getPeople()
82
   * @generated
83
   * @ordered
84
   */
85
  protected FeatureMap people;
86
87
  /**
88
   * <!-- begin-user-doc -->
89
   * <!-- end-user-doc -->
90
   * @generated
91
   */
92
  protected TestFeatureMapImpl()
93
  {
94
    super();
95
  }
96
97
  /**
98
   * <!-- begin-user-doc -->
99
   * <!-- end-user-doc -->
100
   * @generated
101
   */
102
  @Override
103
  protected EClass eStaticClass()
104
  {
105
    return Model5Package.Literals.TEST_FEATURE_MAP;
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  public EList<Manager> getManagers()
114
  {
115
    if (managers == null)
116
    {
117
      managers = new EObjectResolvingEList<Manager>(Manager.class, this, Model5Package.TEST_FEATURE_MAP__MANAGERS);
118
    }
119
    return managers;
120
  }
121
122
  /**
123
   * <!-- begin-user-doc -->
124
   * <!-- end-user-doc -->
125
   * @generated
126
   */
127
  public EList<Doctor> getDoctors()
128
  {
129
    if (doctors == null)
130
    {
131
      doctors = new EObjectContainmentEList<Doctor>(Doctor.class, this, Model5Package.TEST_FEATURE_MAP__DOCTORS);
132
    }
133
    return doctors;
134
  }
135
136
  /**
137
   * <!-- begin-user-doc -->
138
   * <!-- end-user-doc -->
139
   * @generated
140
   */
141
  public FeatureMap getPeople()
142
  {
143
    if (people == null)
144
    {
145
      people = new BasicFeatureMap(this, Model5Package.TEST_FEATURE_MAP__PEOPLE);
146
    }
147
    return people;
148
  }
149
150
  /**
151
   * <!-- begin-user-doc -->
152
   * <!-- end-user-doc -->
153
   * @generated
154
   */
155
  @Override
156
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
157
  {
158
    switch (featureID)
159
    {
160
    case Model5Package.TEST_FEATURE_MAP__DOCTORS:
161
      return ((InternalEList<?>)getDoctors()).basicRemove(otherEnd, msgs);
162
    case Model5Package.TEST_FEATURE_MAP__PEOPLE:
163
      return ((InternalEList<?>)getPeople()).basicRemove(otherEnd, msgs);
164
    }
165
    return super.eInverseRemove(otherEnd, featureID, msgs);
166
  }
167
168
  /**
169
   * <!-- begin-user-doc -->
170
   * <!-- end-user-doc -->
171
   * @generated
172
   */
173
  @Override
174
  public Object eGet(int featureID, boolean resolve, boolean coreType)
175
  {
176
    switch (featureID)
177
    {
178
    case Model5Package.TEST_FEATURE_MAP__MANAGERS:
179
      return getManagers();
180
    case Model5Package.TEST_FEATURE_MAP__DOCTORS:
181
      return getDoctors();
182
    case Model5Package.TEST_FEATURE_MAP__PEOPLE:
183
      if (coreType)
184
        return getPeople();
185
      return ((FeatureMap.Internal)getPeople()).getWrapper();
186
    }
187
    return super.eGet(featureID, resolve, coreType);
188
  }
189
190
  /**
191
   * <!-- begin-user-doc -->
192
   * <!-- end-user-doc -->
193
   * @generated
194
   */
195
  @SuppressWarnings("unchecked")
196
  @Override
197
  public void eSet(int featureID, Object newValue)
198
  {
199
    switch (featureID)
200
    {
201
    case Model5Package.TEST_FEATURE_MAP__MANAGERS:
202
      getManagers().clear();
203
      getManagers().addAll((Collection<? extends Manager>)newValue);
204
      return;
205
    case Model5Package.TEST_FEATURE_MAP__DOCTORS:
206
      getDoctors().clear();
207
      getDoctors().addAll((Collection<? extends Doctor>)newValue);
208
      return;
209
    case Model5Package.TEST_FEATURE_MAP__PEOPLE:
210
      ((FeatureMap.Internal)getPeople()).set(newValue);
211
      return;
212
    }
213
    super.eSet(featureID, newValue);
214
  }
215
216
  /**
217
   * <!-- begin-user-doc -->
218
   * <!-- end-user-doc -->
219
   * @generated
220
   */
221
  @Override
222
  public void eUnset(int featureID)
223
  {
224
    switch (featureID)
225
    {
226
    case Model5Package.TEST_FEATURE_MAP__MANAGERS:
227
      getManagers().clear();
228
      return;
229
    case Model5Package.TEST_FEATURE_MAP__DOCTORS:
230
      getDoctors().clear();
231
      return;
232
    case Model5Package.TEST_FEATURE_MAP__PEOPLE:
233
      getPeople().clear();
234
      return;
235
    }
236
    super.eUnset(featureID);
237
  }
238
239
  /**
240
   * <!-- begin-user-doc -->
241
   * <!-- end-user-doc -->
242
   * @generated
243
   */
244
  @Override
245
  public boolean eIsSet(int featureID)
246
  {
247
    switch (featureID)
248
    {
249
    case Model5Package.TEST_FEATURE_MAP__MANAGERS:
250
      return managers != null && !managers.isEmpty();
251
    case Model5Package.TEST_FEATURE_MAP__DOCTORS:
252
      return doctors != null && !doctors.isEmpty();
253
    case Model5Package.TEST_FEATURE_MAP__PEOPLE:
254
      return people != null && !people.isEmpty();
255
    }
256
    return super.eIsSet(featureID);
257
  }
258
259
  /**
260
   * <!-- begin-user-doc -->
261
   * <!-- end-user-doc -->
262
   * @generated
263
   */
264
  @Override
265
  public String toString()
266
  {
267
    if (eIsProxy())
268
      return super.toString();
269
270
    StringBuffer result = new StringBuffer(super.toString());
271
    result.append(" (people: ");
272
    result.append(people);
273
    result.append(')');
274
    return result.toString();
275
  }
276
277
} //TestFeatureMapImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfDateImpl.java (+179 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfDate;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
import java.util.Date;
25
26
/**
27
 * <!-- begin-user-doc -->
28
 * An implementation of the model object '<em><b>Gen List Of Date</b></em>'.
29
 * <!-- end-user-doc -->
30
 * <p>
31
 * The following features are implemented:
32
 * <ul>
33
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDateImpl#getElements <em>Elements</em>}</li>
34
 * </ul>
35
 * </p>
36
 *
37
 * @generated
38
 */
39
public class GenListOfDateImpl extends EObjectImpl implements GenListOfDate
40
{
41
  /**
42
   * <!-- begin-user-doc -->
43
   * <!-- end-user-doc -->
44
   * @generated
45
   */
46
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
47
48
  /**
49
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
50
   * <!-- begin-user-doc -->
51
   * <!-- end-user-doc -->
52
   * @see #getElements()
53
   * @generated
54
   * @ordered
55
   */
56
  protected EList<Date> elements;
57
58
  /**
59
   * <!-- begin-user-doc -->
60
   * <!-- end-user-doc -->
61
   * @generated
62
   */
63
  protected GenListOfDateImpl()
64
  {
65
    super();
66
  }
67
68
  /**
69
   * <!-- begin-user-doc -->
70
   * <!-- end-user-doc -->
71
   * @generated
72
   */
73
  @Override
74
  protected EClass eStaticClass()
75
  {
76
    return Model5Package.Literals.GEN_LIST_OF_DATE;
77
  }
78
79
  /**
80
   * <!-- begin-user-doc -->
81
   * <!-- end-user-doc -->
82
   * @generated
83
   */
84
  public EList<Date> getElements()
85
  {
86
    if (elements == null)
87
    {
88
      elements = new EDataTypeUniqueEList<Date>(Date.class, this, Model5Package.GEN_LIST_OF_DATE__ELEMENTS);
89
    }
90
    return elements;
91
  }
92
93
  /**
94
   * <!-- begin-user-doc -->
95
   * <!-- end-user-doc -->
96
   * @generated
97
   */
98
  @Override
99
  public Object eGet(int featureID, boolean resolve, boolean coreType)
100
  {
101
    switch (featureID)
102
    {
103
    case Model5Package.GEN_LIST_OF_DATE__ELEMENTS:
104
      return getElements();
105
    }
106
    return super.eGet(featureID, resolve, coreType);
107
  }
108
109
  /**
110
   * <!-- begin-user-doc -->
111
   * <!-- end-user-doc -->
112
   * @generated
113
   */
114
  @SuppressWarnings("unchecked")
115
  @Override
116
  public void eSet(int featureID, Object newValue)
117
  {
118
    switch (featureID)
119
    {
120
    case Model5Package.GEN_LIST_OF_DATE__ELEMENTS:
121
      getElements().clear();
122
      getElements().addAll((Collection<? extends Date>)newValue);
123
      return;
124
    }
125
    super.eSet(featureID, newValue);
126
  }
127
128
  /**
129
   * <!-- begin-user-doc -->
130
   * <!-- end-user-doc -->
131
   * @generated
132
   */
133
  @Override
134
  public void eUnset(int featureID)
135
  {
136
    switch (featureID)
137
    {
138
    case Model5Package.GEN_LIST_OF_DATE__ELEMENTS:
139
      getElements().clear();
140
      return;
141
    }
142
    super.eUnset(featureID);
143
  }
144
145
  /**
146
   * <!-- begin-user-doc -->
147
   * <!-- end-user-doc -->
148
   * @generated
149
   */
150
  @Override
151
  public boolean eIsSet(int featureID)
152
  {
153
    switch (featureID)
154
    {
155
    case Model5Package.GEN_LIST_OF_DATE__ELEMENTS:
156
      return elements != null && !elements.isEmpty();
157
    }
158
    return super.eIsSet(featureID);
159
  }
160
161
  /**
162
   * <!-- begin-user-doc -->
163
   * <!-- end-user-doc -->
164
   * @generated
165
   */
166
  @Override
167
  public String toString()
168
  {
169
    if (eIsProxy())
170
      return super.toString();
171
172
    StringBuffer result = new StringBuffer(super.toString());
173
    result.append(" (elements: ");
174
    result.append(elements);
175
    result.append(')');
176
    return result.toString();
177
  }
178
179
} //GenListOfDateImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfBooleanImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfBoolean;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Boolean</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfBooleanImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfBooleanImpl extends EObjectImpl implements GenListOfBoolean
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Boolean> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfBooleanImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_BOOLEAN;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Boolean> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeEList<Boolean>(Boolean.class, this, Model5Package.GEN_LIST_OF_BOOLEAN__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_BOOLEAN__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_BOOLEAN__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Boolean>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_BOOLEAN__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_BOOLEAN__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfBooleanImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfDoubleImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfDouble;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Double</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfDoubleImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfDoubleImpl extends EObjectImpl implements GenListOfDouble
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Double> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfDoubleImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_DOUBLE;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Double> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<Double>(Double.class, this, Model5Package.GEN_LIST_OF_DOUBLE__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_DOUBLE__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_DOUBLE__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Double>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_DOUBLE__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_DOUBLE__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfDoubleImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfShortImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfShort;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Short</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfShortImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfShortImpl extends EObjectImpl implements GenListOfShort
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Short> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfShortImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_SHORT;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Short> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<Short>(Short.class, this, Model5Package.GEN_LIST_OF_SHORT__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_SHORT__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_SHORT__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Short>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_SHORT__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_SHORT__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfShortImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfFloatImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfFloat;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Float</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfFloatImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfFloatImpl extends EObjectImpl implements GenListOfFloat
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Float> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfFloatImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_FLOAT;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Float> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<Float>(Float.class, this, Model5Package.GEN_LIST_OF_FLOAT__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_FLOAT__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_FLOAT__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Float>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_FLOAT__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_FLOAT__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfFloatImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/DoctorImpl.java (+60 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.Doctor;
17
18
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.impl.EObjectImpl;
20
21
/**
22
 * <!-- begin-user-doc -->
23
 * An implementation of the model object '<em><b>Doctor</b></em>'.
24
 * <!-- end-user-doc -->
25
 * <p>
26
 * </p>
27
 *
28
 * @generated
29
 */
30
public class DoctorImpl extends EObjectImpl implements Doctor
31
{
32
  /**
33
   * <!-- begin-user-doc -->
34
   * <!-- end-user-doc -->
35
   * @generated
36
   */
37
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
38
39
  /**
40
   * <!-- begin-user-doc -->
41
   * <!-- end-user-doc -->
42
   * @generated
43
   */
44
  protected DoctorImpl()
45
  {
46
    super();
47
  }
48
49
  /**
50
   * <!-- begin-user-doc -->
51
   * <!-- end-user-doc -->
52
   * @generated
53
   */
54
  @Override
55
  protected EClass eStaticClass()
56
  {
57
    return Model5Package.Literals.DOCTOR;
58
  }
59
60
} //DoctorImpl
(-)src/org/eclipse/emf/cdo/tests/legacy/model5/impl/GenListOfLongImpl.java (+178 lines)
Added Link Here
1
/**
2
 * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *    Eike Stepper - initial API and implementation
10
 *
11
 * $Id$
12
 */
13
package org.eclipse.emf.cdo.tests.legacy.model5.impl;
14
15
import org.eclipse.emf.cdo.tests.legacy.model5.Model5Package;
16
import org.eclipse.emf.cdo.tests.model5.GenListOfLong;
17
18
import org.eclipse.emf.common.util.EList;
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
22
23
import java.util.Collection;
24
25
/**
26
 * <!-- begin-user-doc -->
27
 * An implementation of the model object '<em><b>Gen List Of Long</b></em>'.
28
 * <!-- end-user-doc -->
29
 * <p>
30
 * The following features are implemented:
31
 * <ul>
32
 *   <li>{@link org.eclipse.emf.cdo.tests.legacy.model5.impl.GenListOfLongImpl#getElements <em>Elements</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class GenListOfLongImpl extends EObjectImpl implements GenListOfLong
39
{
40
  /**
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @generated
44
   */
45
  public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n   Eike Stepper - initial API and implementation";
46
47
  /**
48
   * The cached value of the '{@link #getElements() <em>Elements</em>}' attribute list.
49
   * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
51
   * @see #getElements()
52
   * @generated
53
   * @ordered
54
   */
55
  protected EList<Long> elements;
56
57
  /**
58
   * <!-- begin-user-doc -->
59
   * <!-- end-user-doc -->
60
   * @generated
61
   */
62
  protected GenListOfLongImpl()
63
  {
64
    super();
65
  }
66
67
  /**
68
   * <!-- begin-user-doc -->
69
   * <!-- end-user-doc -->
70
   * @generated
71
   */
72
  @Override
73
  protected EClass eStaticClass()
74
  {
75
    return Model5Package.Literals.GEN_LIST_OF_LONG;
76
  }
77
78
  /**
79
   * <!-- begin-user-doc -->
80
   * <!-- end-user-doc -->
81
   * @generated
82
   */
83
  public EList<Long> getElements()
84
  {
85
    if (elements == null)
86
    {
87
      elements = new EDataTypeUniqueEList<Long>(Long.class, this, Model5Package.GEN_LIST_OF_LONG__ELEMENTS);
88
    }
89
    return elements;
90
  }
91
92
  /**
93
   * <!-- begin-user-doc -->
94
   * <!-- end-user-doc -->
95
   * @generated
96
   */
97
  @Override
98
  public Object eGet(int featureID, boolean resolve, boolean coreType)
99
  {
100
    switch (featureID)
101
    {
102
    case Model5Package.GEN_LIST_OF_LONG__ELEMENTS:
103
      return getElements();
104
    }
105
    return super.eGet(featureID, resolve, coreType);
106
  }
107
108
  /**
109
   * <!-- begin-user-doc -->
110
   * <!-- end-user-doc -->
111
   * @generated
112
   */
113
  @SuppressWarnings("unchecked")
114
  @Override
115
  public void eSet(int featureID, Object newValue)
116
  {
117
    switch (featureID)
118
    {
119
    case Model5Package.GEN_LIST_OF_LONG__ELEMENTS:
120
      getElements().clear();
121
      getElements().addAll((Collection<? extends Long>)newValue);
122
      return;
123
    }
124
    super.eSet(featureID, newValue);
125
  }
126
127
  /**
128
   * <!-- begin-user-doc -->
129
   * <!-- end-user-doc -->
130
   * @generated
131
   */
132
  @Override
133
  public void eUnset(int featureID)
134
  {
135
    switch (featureID)
136
    {
137
    case Model5Package.GEN_LIST_OF_LONG__ELEMENTS:
138
      getElements().clear();
139
      return;
140
    }
141
    super.eUnset(featureID);
142
  }
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  @Override
150
  public boolean eIsSet(int featureID)
151
  {
152
    switch (featureID)
153
    {
154
    case Model5Package.GEN_LIST_OF_LONG__ELEMENTS:
155
      return elements != null && !elements.isEmpty();
156
    }
157
    return super.eIsSet(featureID);
158
  }
159
160
  /**
161
   * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
163
   * @generated
164
   */
165
  @Override
166
  public String toString()
167
  {
168
    if (eIsProxy())
169
      return super.toString();
170
171
    StringBuffer result = new StringBuffer(super.toString());
172
    result.append(" (elements: ");
173
    result.append(elements);
174
    result.append(')');
175
    return result.toString();
176
  }
177
178
} //GenListOfLongImpl

Return to bug 247226