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

Collapse All | Expand All

(-)jee-models/org/eclipse/jst/javaee/application/internal/impl/ModuleImpl.java (-1 / +1 lines)
Lines 109-115 Link Here
109
	 * @generated
109
	 * @generated
110
	 * @ordered
110
	 * @ordered
111
	 */
111
	 */
112
	protected Web web = null;
112
	protected Web web;
113
113
114
	/**
114
	/**
115
	 * The default value of the '{@link #getAltDd() <em>Alt Dd</em>}' attribute.
115
	 * The default value of the '{@link #getAltDd() <em>Alt Dd</em>}' attribute.
(-)jee-models/org/eclipse/jst/javaee/application/internal/impl/ApplicationFactoryImpl.java (+1 lines)
Lines 130-135 Link Here
130
	 * @deprecated
130
	 * @deprecated
131
	 * @generated
131
	 * @generated
132
	 */
132
	 */
133
	@Deprecated
133
	public static ApplicationPackage getPackage() {
134
	public static ApplicationPackage getPackage() {
134
		return ApplicationPackage.eINSTANCE;
135
		return ApplicationPackage.eINSTANCE;
135
	}
136
	}
(-)jee-models/org/eclipse/jst/javaee/application/internal/impl/ApplicationPackageImpl.java (-42 / +301 lines)
Lines 41-46 Link Here
41
41
42
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
42
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
43
43
44
import org.eclipse.jst.javaee.jca.internal.impl.JcaPackageImpl;
45
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
44
import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl;
46
import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl;
45
47
46
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
48
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
Lines 48-53 Link Here
48
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
50
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
49
51
50
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
52
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
53
import org.eclipse.jst.javaee.webapp.internal.impl.WebappPackageImpl;
54
import org.eclipse.jst.javaee.webapp.internal.metadata.WebappPackage;
55
import org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl;
56
import org.eclipse.jst.javaee.webfragment.internal.metadata.WebfragmentPackage;
51
57
52
/**
58
/**
53
 * <!-- begin-user-doc -->
59
 * <!-- begin-user-doc -->
Lines 111-130 Link Here
111
	private static boolean isInited = false;
117
	private static boolean isInited = false;
112
118
113
	/**
119
	/**
114
	 * Creates, registers, and initializes the <b>Package</b> for this
120
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
115
	 * model, and for any others upon which it depends.  Simple
121
	 * 
116
	 * dependencies are satisfied by calling this method on all
122
	 * <p>This method is used to initialize {@link ApplicationPackage#eINSTANCE} when that field is accessed.
117
	 * dependent packages before doing anything else.  This method drives
123
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
118
	 * initialization for interdependent packages directly, in parallel
119
	 * with this package, itself.
120
	 * <p>Of this package and its interdependencies, all packages which
121
	 * have not yet been registered by their URI values are first created
122
	 * and registered.  The packages are then initialized in two steps:
123
	 * meta-model objects for all of the packages are created before any
124
	 * are initialized, since one package's meta-model objects may refer to
125
	 * those of another.
126
	 * <p>Invocation of this method will not affect any packages that have
127
	 * already been initialized.
128
	 * <!-- begin-user-doc -->
124
	 * <!-- begin-user-doc -->
129
	 * <!-- end-user-doc -->
125
	 * <!-- end-user-doc -->
130
	 * @see #eNS_URI
126
	 * @see #eNS_URI
Lines 136-142 Link Here
136
		if (isInited) return (ApplicationPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI);
132
		if (isInited) return (ApplicationPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI);
137
133
138
		// Obtain or create and register package
134
		// Obtain or create and register package
139
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ApplicationPackageImpl());
135
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ApplicationPackageImpl());
140
136
141
		isInited = true;
137
		isInited = true;
142
138
Lines 145-175 Link Here
145
		XMLTypePackage.eINSTANCE.eClass();
141
		XMLTypePackage.eINSTANCE.eClass();
146
142
147
		// Obtain or create and register interdependencies
143
		// Obtain or create and register interdependencies
148
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
149
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) : JavaeePackage.eINSTANCE);
144
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) : JavaeePackage.eINSTANCE);
150
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
151
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE);
145
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE);
146
		JcaPackageImpl theJcaPackage = (JcaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) instanceof JcaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) : JcaPackage.eINSTANCE);
147
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
152
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
148
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
149
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
150
		WebappPackageImpl theWebappPackage = (WebappPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) instanceof WebappPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) : WebappPackage.eINSTANCE);
151
		WebfragmentPackageImpl theWebfragmentPackage = (WebfragmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) instanceof WebfragmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) : WebfragmentPackage.eINSTANCE);
153
152
154
		// Create package meta-data objects
153
		// Create package meta-data objects
155
		theApplicationPackage.createPackageContents();
154
		theApplicationPackage.createPackageContents();
156
		theWebPackage.createPackageContents();
157
		theJavaeePackage.createPackageContents();
155
		theJavaeePackage.createPackageContents();
158
		theEjbPackage.createPackageContents();
159
		theApplicationclientPackage.createPackageContents();
156
		theApplicationclientPackage.createPackageContents();
157
		theJcaPackage.createPackageContents();
158
		theEjbPackage.createPackageContents();
160
		theJspPackage.createPackageContents();
159
		theJspPackage.createPackageContents();
160
		theWebPackage.createPackageContents();
161
		theWebappPackage.createPackageContents();
162
		theWebfragmentPackage.createPackageContents();
161
163
162
		// Initialize created meta-data
164
		// Initialize created meta-data
163
		theApplicationPackage.initializePackageContents();
165
		theApplicationPackage.initializePackageContents();
164
		theWebPackage.initializePackageContents();
165
		theJavaeePackage.initializePackageContents();
166
		theJavaeePackage.initializePackageContents();
166
		theEjbPackage.initializePackageContents();
167
		theApplicationclientPackage.initializePackageContents();
167
		theApplicationclientPackage.initializePackageContents();
168
		theJcaPackage.initializePackageContents();
169
		theEjbPackage.initializePackageContents();
168
		theJspPackage.initializePackageContents();
170
		theJspPackage.initializePackageContents();
171
		theWebPackage.initializePackageContents();
172
		theWebappPackage.initializePackageContents();
173
		theWebfragmentPackage.initializePackageContents();
169
174
170
		// Mark meta-data to indicate it can't be changed
175
		// Mark meta-data to indicate it can't be changed
171
		theApplicationPackage.freeze();
176
		theApplicationPackage.freeze();
172
177
178
  
179
		// Update the registry and return the package
180
		EPackage.Registry.INSTANCE.put(ApplicationPackage.eNS_URI, theApplicationPackage);
173
		return theApplicationPackage;
181
		return theApplicationPackage;
174
	}
182
	}
175
183
Lines 187-194 Link Here
187
	 * <!-- end-user-doc -->
195
	 * <!-- end-user-doc -->
188
	 * @generated
196
	 * @generated
189
	 */
197
	 */
198
	public EAttribute getApplication_ApplicationName() {
199
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(0);
200
	}
201
202
	/**
203
	 * <!-- begin-user-doc -->
204
	 * <!-- end-user-doc -->
205
	 * @generated
206
	 */
190
	public EReference getApplication_Descriptions() {
207
	public EReference getApplication_Descriptions() {
191
		return (EReference)applicationEClass.getEStructuralFeatures().get(0);
208
		return (EReference)applicationEClass.getEStructuralFeatures().get(1);
192
	}
209
	}
193
210
194
	/**
211
	/**
Lines 197-203 Link Here
197
	 * @generated
214
	 * @generated
198
	 */
215
	 */
199
	public EReference getApplication_DisplayNames() {
216
	public EReference getApplication_DisplayNames() {
200
		return (EReference)applicationEClass.getEStructuralFeatures().get(1);
217
		return (EReference)applicationEClass.getEStructuralFeatures().get(2);
201
	}
218
	}
202
219
203
	/**
220
	/**
Lines 206-212 Link Here
206
	 * @generated
223
	 * @generated
207
	 */
224
	 */
208
	public EReference getApplication_Icons() {
225
	public EReference getApplication_Icons() {
209
		return (EReference)applicationEClass.getEStructuralFeatures().get(2);
226
		return (EReference)applicationEClass.getEStructuralFeatures().get(3);
227
	}
228
229
	/**
230
	 * <!-- begin-user-doc -->
231
	 * <!-- end-user-doc -->
232
	 * @generated
233
	 */
234
	public EAttribute getApplication_InitializeInOrder() {
235
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(4);
210
	}
236
	}
211
237
212
	/**
238
	/**
Lines 215-221 Link Here
215
	 * @generated
241
	 * @generated
216
	 */
242
	 */
217
	public EReference getApplication_Modules() {
243
	public EReference getApplication_Modules() {
218
		return (EReference)applicationEClass.getEStructuralFeatures().get(3);
244
		return (EReference)applicationEClass.getEStructuralFeatures().get(5);
219
	}
245
	}
220
246
221
	/**
247
	/**
Lines 224-230 Link Here
224
	 * @generated
250
	 * @generated
225
	 */
251
	 */
226
	public EReference getApplication_SecurityRoles() {
252
	public EReference getApplication_SecurityRoles() {
227
		return (EReference)applicationEClass.getEStructuralFeatures().get(4);
253
		return (EReference)applicationEClass.getEStructuralFeatures().get(6);
228
	}
254
	}
229
255
230
	/**
256
	/**
Lines 233-239 Link Here
233
	 * @generated
259
	 * @generated
234
	 */
260
	 */
235
	public EAttribute getApplication_LibraryDirectory() {
261
	public EAttribute getApplication_LibraryDirectory() {
236
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(5);
262
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(7);
263
	}
264
265
	/**
266
	 * <!-- begin-user-doc -->
267
	 * <!-- end-user-doc -->
268
	 * @generated
269
	 */
270
	public EReference getApplication_EnvEntry() {
271
		return (EReference)applicationEClass.getEStructuralFeatures().get(8);
272
	}
273
274
	/**
275
	 * <!-- begin-user-doc -->
276
	 * <!-- end-user-doc -->
277
	 * @generated
278
	 */
279
	public EReference getApplication_EjbRef() {
280
		return (EReference)applicationEClass.getEStructuralFeatures().get(9);
281
	}
282
283
	/**
284
	 * <!-- begin-user-doc -->
285
	 * <!-- end-user-doc -->
286
	 * @generated
287
	 */
288
	public EReference getApplication_EjbLocalRef() {
289
		return (EReference)applicationEClass.getEStructuralFeatures().get(10);
290
	}
291
292
	/**
293
	 * <!-- begin-user-doc -->
294
	 * <!-- end-user-doc -->
295
	 * @generated
296
	 */
297
	public EReference getApplication_ServiceRefs() {
298
		return (EReference)applicationEClass.getEStructuralFeatures().get(11);
299
	}
300
301
	/**
302
	 * <!-- begin-user-doc -->
303
	 * <!-- end-user-doc -->
304
	 * @generated
305
	 */
306
	public EReference getApplication_ResourceRef() {
307
		return (EReference)applicationEClass.getEStructuralFeatures().get(12);
308
	}
309
310
	/**
311
	 * <!-- begin-user-doc -->
312
	 * <!-- end-user-doc -->
313
	 * @generated
314
	 */
315
	public EReference getApplication_ResourceEnvRef() {
316
		return (EReference)applicationEClass.getEStructuralFeatures().get(13);
317
	}
318
319
	/**
320
	 * <!-- begin-user-doc -->
321
	 * <!-- end-user-doc -->
322
	 * @generated
323
	 */
324
	public EReference getApplication_MessageDestinationRef() {
325
		return (EReference)applicationEClass.getEStructuralFeatures().get(14);
326
	}
327
328
	/**
329
	 * <!-- begin-user-doc -->
330
	 * <!-- end-user-doc -->
331
	 * @generated
332
	 */
333
	public EReference getApplication_PersistenceContextRef() {
334
		return (EReference)applicationEClass.getEStructuralFeatures().get(15);
335
	}
336
337
	/**
338
	 * <!-- begin-user-doc -->
339
	 * <!-- end-user-doc -->
340
	 * @generated
341
	 */
342
	public EReference getApplication_PersistenceUnitRef() {
343
		return (EReference)applicationEClass.getEStructuralFeatures().get(16);
344
	}
345
346
	/**
347
	 * <!-- begin-user-doc -->
348
	 * <!-- end-user-doc -->
349
	 * @generated
350
	 */
351
	public EReference getApplication_MessageDestination() {
352
		return (EReference)applicationEClass.getEStructuralFeatures().get(17);
353
	}
354
355
	/**
356
	 * <!-- begin-user-doc -->
357
	 * <!-- end-user-doc -->
358
	 * @generated
359
	 */
360
	public EReference getApplication_DataSource() {
361
		return (EReference)applicationEClass.getEStructuralFeatures().get(18);
237
	}
362
	}
238
363
239
	/**
364
	/**
Lines 242-248 Link Here
242
	 * @generated
367
	 * @generated
243
	 */
368
	 */
244
	public EAttribute getApplication_Id() {
369
	public EAttribute getApplication_Id() {
245
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(6);
370
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(19);
246
	}
371
	}
247
372
248
	/**
373
	/**
Lines 251-257 Link Here
251
	 * @generated
376
	 * @generated
252
	 */
377
	 */
253
	public EAttribute getApplication_Version() {
378
	public EAttribute getApplication_Version() {
254
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(7);
379
		return (EAttribute)applicationEClass.getEStructuralFeatures().get(20);
255
	}
380
	}
256
381
257
	/**
382
	/**
Lines 427-438 Link Here
427
552
428
		// Create classes and their features
553
		// Create classes and their features
429
		applicationEClass = createEClass(APPLICATION);
554
		applicationEClass = createEClass(APPLICATION);
555
		createEAttribute(applicationEClass, APPLICATION__APPLICATION_NAME);
430
		createEReference(applicationEClass, APPLICATION__DESCRIPTIONS);
556
		createEReference(applicationEClass, APPLICATION__DESCRIPTIONS);
431
		createEReference(applicationEClass, APPLICATION__DISPLAY_NAMES);
557
		createEReference(applicationEClass, APPLICATION__DISPLAY_NAMES);
432
		createEReference(applicationEClass, APPLICATION__ICONS);
558
		createEReference(applicationEClass, APPLICATION__ICONS);
559
		createEAttribute(applicationEClass, APPLICATION__INITIALIZE_IN_ORDER);
433
		createEReference(applicationEClass, APPLICATION__MODULES);
560
		createEReference(applicationEClass, APPLICATION__MODULES);
434
		createEReference(applicationEClass, APPLICATION__SECURITY_ROLES);
561
		createEReference(applicationEClass, APPLICATION__SECURITY_ROLES);
435
		createEAttribute(applicationEClass, APPLICATION__LIBRARY_DIRECTORY);
562
		createEAttribute(applicationEClass, APPLICATION__LIBRARY_DIRECTORY);
563
		createEReference(applicationEClass, APPLICATION__ENV_ENTRY);
564
		createEReference(applicationEClass, APPLICATION__EJB_REF);
565
		createEReference(applicationEClass, APPLICATION__EJB_LOCAL_REF);
566
		createEReference(applicationEClass, APPLICATION__SERVICE_REFS);
567
		createEReference(applicationEClass, APPLICATION__RESOURCE_REF);
568
		createEReference(applicationEClass, APPLICATION__RESOURCE_ENV_REF);
569
		createEReference(applicationEClass, APPLICATION__MESSAGE_DESTINATION_REF);
570
		createEReference(applicationEClass, APPLICATION__PERSISTENCE_CONTEXT_REF);
571
		createEReference(applicationEClass, APPLICATION__PERSISTENCE_UNIT_REF);
572
		createEReference(applicationEClass, APPLICATION__MESSAGE_DESTINATION);
573
		createEReference(applicationEClass, APPLICATION__DATA_SOURCE);
436
		createEAttribute(applicationEClass, APPLICATION__ID);
574
		createEAttribute(applicationEClass, APPLICATION__ID);
437
		createEAttribute(applicationEClass, APPLICATION__VERSION);
575
		createEAttribute(applicationEClass, APPLICATION__VERSION);
438
576
Lines 480-500 Link Here
480
		setNsURI(eNS_URI);
618
		setNsURI(eNS_URI);
481
619
482
		// Obtain other dependent packages
620
		// Obtain other dependent packages
483
		JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
484
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
621
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
622
		JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
623
624
		// Create type parameters
625
626
		// Set bounds for type parameters
485
627
486
		// Add supertypes to classes
628
		// Add supertypes to classes
487
629
488
		// Initialize classes and features; add operations and parameters
630
		// Initialize classes and features; add operations and parameters
489
		initEClass(applicationEClass, Application.class, "Application", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
631
		initEClass(applicationEClass, Application.class, "Application", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
632
		initEAttribute(getApplication_ApplicationName(), theXMLTypePackage.getToken(), "applicationName", null, 0, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
490
		initEReference(getApplication_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
633
		initEReference(getApplication_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
491
		initEReference(getApplication_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
634
		initEReference(getApplication_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
492
		initEReference(getApplication_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
635
		initEReference(getApplication_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
636
		initEAttribute(getApplication_InitializeInOrder(), theJavaeePackage.getGenericBooleanType(), "initializeInOrder", null, 0, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
493
		initEReference(getApplication_Modules(), this.getModule(), null, "modules", null, 1, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
637
		initEReference(getApplication_Modules(), this.getModule(), null, "modules", null, 1, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
494
		initEReference(getApplication_SecurityRoles(), theJavaeePackage.getSecurityRole(), null, "securityRoles", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
638
		initEReference(getApplication_SecurityRoles(), theJavaeePackage.getSecurityRole(), null, "securityRoles", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
495
		initEAttribute(getApplication_LibraryDirectory(), theJavaeePackage.getPathType(), "libraryDirectory", null, 0, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
639
		initEAttribute(getApplication_LibraryDirectory(), theJavaeePackage.getPathType(), "libraryDirectory", null, 0, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
496
		initEAttribute(getApplication_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
640
		initEReference(getApplication_EnvEntry(), theJavaeePackage.getEnvEntry(), null, "envEntry", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
497
		initEAttribute(getApplication_Version(), theJavaeePackage.getDeweyVersionType(), "version", "5", 1, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
641
		initEReference(getApplication_EjbRef(), theJavaeePackage.getEjbRef(), null, "ejbRef", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
642
		initEReference(getApplication_EjbLocalRef(), theJavaeePackage.getEjbLocalRef(), null, "ejbLocalRef", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
643
		initEReference(getApplication_ServiceRefs(), theJavaeePackage.getServiceRef(), null, "serviceRefs", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
644
		initEReference(getApplication_ResourceRef(), theJavaeePackage.getResourceRef(), null, "resourceRef", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
645
		initEReference(getApplication_ResourceEnvRef(), theJavaeePackage.getResourceEnvRef(), null, "resourceEnvRef", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
646
		initEReference(getApplication_MessageDestinationRef(), theJavaeePackage.getMessageDestinationRef(), null, "messageDestinationRef", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
647
		initEReference(getApplication_PersistenceContextRef(), theJavaeePackage.getPersistenceContextRef(), null, "persistenceContextRef", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
648
		initEReference(getApplication_PersistenceUnitRef(), theJavaeePackage.getPersistenceUnitRef(), null, "persistenceUnitRef", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
649
		initEReference(getApplication_MessageDestination(), theJavaeePackage.getMessageDestination(), null, "messageDestination", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
650
		initEReference(getApplication_DataSource(), theJavaeePackage.getDataSourceType(), null, "dataSource", null, 0, -1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
651
		initEAttribute(getApplication_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
652
		initEAttribute(getApplication_Version(), theJavaeePackage.getDeweyVersionType(), "version", "6", 1, 1, Application.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
498
653
499
		initEClass(applicationDeploymentDescriptorEClass, ApplicationDeploymentDescriptor.class, "ApplicationDeploymentDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
654
		initEClass(applicationDeploymentDescriptorEClass, ApplicationDeploymentDescriptor.class, "ApplicationDeploymentDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
500
		initEAttribute(getApplicationDeploymentDescriptor_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
655
		initEAttribute(getApplicationDeploymentDescriptor_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
Lines 503-519 Link Here
503
		initEReference(getApplicationDeploymentDescriptor_Application(), this.getApplication(), null, "application", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
658
		initEReference(getApplicationDeploymentDescriptor_Application(), this.getApplication(), null, "application", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
504
659
505
		initEClass(moduleEClass, Module.class, "Module", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
660
		initEClass(moduleEClass, Module.class, "Module", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
506
		initEAttribute(getModule_Connector(), theJavaeePackage.getPathType(), "connector", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
661
		initEAttribute(getModule_Connector(), theJavaeePackage.getPathType(), "connector", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
507
		initEAttribute(getModule_Ejb(), theJavaeePackage.getPathType(), "ejb", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
662
		initEAttribute(getModule_Ejb(), theJavaeePackage.getPathType(), "ejb", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
508
		initEAttribute(getModule_Java(), theJavaeePackage.getPathType(), "java", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
663
		initEAttribute(getModule_Java(), theJavaeePackage.getPathType(), "java", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
509
		initEReference(getModule_Web(), this.getWeb(), null, "web", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
664
		initEReference(getModule_Web(), this.getWeb(), null, "web", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
510
		initEAttribute(getModule_AltDd(), theJavaeePackage.getPathType(), "altDd", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
665
		initEAttribute(getModule_AltDd(), theJavaeePackage.getPathType(), "altDd", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
511
		initEAttribute(getModule_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
666
		initEAttribute(getModule_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
512
667
513
		initEClass(webEClass, Web.class, "Web", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
668
		initEClass(webEClass, Web.class, "Web", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
514
		initEAttribute(getWeb_WebUri(), theJavaeePackage.getPathType(), "webUri", null, 1, 1, Web.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
669
		initEAttribute(getWeb_WebUri(), theJavaeePackage.getPathType(), "webUri", null, 1, 1, Web.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
515
		initEAttribute(getWeb_ContextRoot(), theXMLTypePackage.getToken(), "contextRoot", null, 1, 1, Web.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
670
		initEAttribute(getWeb_ContextRoot(), theXMLTypePackage.getToken(), "contextRoot", null, 1, 1, Web.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
516
		initEAttribute(getWeb_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Web.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
671
		initEAttribute(getWeb_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Web.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
517
672
518
		// Create resource
673
		// Create resource
519
		createResource(eNS_URI);
674
		createResource(eNS_URI);
Lines 537-542 Link Here
537
		   new String[] {
692
		   new String[] {
538
			 "name", "applicationType", //$NON-NLS-1$ //$NON-NLS-2$
693
			 "name", "applicationType", //$NON-NLS-1$ //$NON-NLS-2$
539
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
694
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
695
		   });			
696
		addAnnotation
697
		  (getApplication_ApplicationName(), 
698
		   source, 
699
		   new String[] {
700
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
701
			 "name", "application-name", //$NON-NLS-1$ //$NON-NLS-2$
702
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
540
		   });		
703
		   });		
541
		addAnnotation
704
		addAnnotation
542
		  (getApplication_Descriptions(), 
705
		  (getApplication_Descriptions(), 
Lines 563-575 Link Here
563
			 "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$
726
			 "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$
564
		   });			
727
		   });			
565
		addAnnotation
728
		addAnnotation
729
		  (getApplication_InitializeInOrder(), 
730
		   source, 
731
		   new String[] {
732
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
733
			 "name", "initialize-in-order", //$NON-NLS-1$ //$NON-NLS-2$
734
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
735
		   });			
736
		addAnnotation
566
		  (getApplication_Modules(), 
737
		  (getApplication_Modules(), 
567
		   source, 
738
		   source, 
568
		   new String[] {
739
		   new String[] {
569
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
740
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
570
			 "name", "module", //$NON-NLS-1$ //$NON-NLS-2$
741
			 "name", "module", //$NON-NLS-1$ //$NON-NLS-2$
571
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
742
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
572
		   });		
743
		   });			
573
		addAnnotation
744
		addAnnotation
574
		  (getApplication_SecurityRoles(), 
745
		  (getApplication_SecurityRoles(), 
575
		   source, 
746
		   source, 
Lines 585-590 Link Here
585
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
756
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
586
			 "name", "library-directory", //$NON-NLS-1$ //$NON-NLS-2$
757
			 "name", "library-directory", //$NON-NLS-1$ //$NON-NLS-2$
587
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
758
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
759
		   });			
760
		addAnnotation
761
		  (getApplication_EnvEntry(), 
762
		   source, 
763
		   new String[] {
764
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
765
			 "name", "env-entry", //$NON-NLS-1$ //$NON-NLS-2$
766
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
767
		   });			
768
		addAnnotation
769
		  (getApplication_EjbRef(), 
770
		   source, 
771
		   new String[] {
772
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
773
			 "name", "ejb-ref", //$NON-NLS-1$ //$NON-NLS-2$
774
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
775
		   });			
776
		addAnnotation
777
		  (getApplication_EjbLocalRef(), 
778
		   source, 
779
		   new String[] {
780
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
781
			 "name", "ejb-local-ref", //$NON-NLS-1$ //$NON-NLS-2$
782
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
783
		   });		
784
		addAnnotation
785
		  (getApplication_ServiceRefs(), 
786
		   source, 
787
		   new String[] {
788
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
789
			 "name", "service-ref", //$NON-NLS-1$ //$NON-NLS-2$
790
			 "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$
791
		   });			
792
		addAnnotation
793
		  (getApplication_ResourceRef(), 
794
		   source, 
795
		   new String[] {
796
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
797
			 "name", "resource-ref", //$NON-NLS-1$ //$NON-NLS-2$
798
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
799
		   });			
800
		addAnnotation
801
		  (getApplication_ResourceEnvRef(), 
802
		   source, 
803
		   new String[] {
804
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
805
			 "name", "resource-env-ref", //$NON-NLS-1$ //$NON-NLS-2$
806
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
807
		   });			
808
		addAnnotation
809
		  (getApplication_MessageDestinationRef(), 
810
		   source, 
811
		   new String[] {
812
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
813
			 "name", "message-destination-ref", //$NON-NLS-1$ //$NON-NLS-2$
814
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
815
		   });			
816
		addAnnotation
817
		  (getApplication_PersistenceContextRef(), 
818
		   source, 
819
		   new String[] {
820
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
821
			 "name", "persistence-context-ref", //$NON-NLS-1$ //$NON-NLS-2$
822
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
823
		   });			
824
		addAnnotation
825
		  (getApplication_PersistenceUnitRef(), 
826
		   source, 
827
		   new String[] {
828
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
829
			 "name", "persistence-unit-ref", //$NON-NLS-1$ //$NON-NLS-2$
830
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
831
		   });			
832
		addAnnotation
833
		  (getApplication_MessageDestination(), 
834
		   source, 
835
		   new String[] {
836
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
837
			 "name", "message-destination", //$NON-NLS-1$ //$NON-NLS-2$
838
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
839
		   });			
840
		addAnnotation
841
		  (getApplication_DataSource(), 
842
		   source, 
843
		   new String[] {
844
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
845
			 "name", "data-source", //$NON-NLS-1$ //$NON-NLS-2$
846
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
588
		   });		
847
		   });		
589
		addAnnotation
848
		addAnnotation
590
		  (getApplication_Id(), 
849
		  (getApplication_Id(), 
(-)jee-models/org/eclipse/jst/javaee/application/internal/impl/ApplicationDeploymentDescriptorImpl.java (-14 / +14 lines)
Lines 59-65 Link Here
59
	 * @generated
59
	 * @generated
60
	 * @ordered
60
	 * @ordered
61
	 */
61
	 */
62
	protected FeatureMap mixed = null;
62
	protected FeatureMap mixed;
63
63
64
	/**
64
	/**
65
	 * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
65
	 * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
Lines 69-75 Link Here
69
	 * @generated
69
	 * @generated
70
	 * @ordered
70
	 * @ordered
71
	 */
71
	 */
72
	protected EMap xMLNSPrefixMap = null;
72
	protected EMap<String, String> xMLNSPrefixMap;
73
73
74
	/**
74
	/**
75
	 * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
75
	 * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
Lines 79-85 Link Here
79
	 * @generated
79
	 * @generated
80
	 * @ordered
80
	 * @ordered
81
	 */
81
	 */
82
	protected EMap xSISchemaLocation = null;
82
	protected EMap<String, String> xSISchemaLocation;
83
83
84
	/**
84
	/**
85
	 * <!-- begin-user-doc -->
85
	 * <!-- begin-user-doc -->
Lines 117-125 Link Here
117
	 * <!-- end-user-doc -->
117
	 * <!-- end-user-doc -->
118
	 * @generated
118
	 * @generated
119
	 */
119
	 */
120
	public Map getXMLNSPrefixMap() {
120
	public Map<String, String> getXMLNSPrefixMap() {
121
		if (xMLNSPrefixMap == null) {
121
		if (xMLNSPrefixMap == null) {
122
			xMLNSPrefixMap = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP);
122
			xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP);
123
		}
123
		}
124
		return xMLNSPrefixMap.map();
124
		return xMLNSPrefixMap.map();
125
	}
125
	}
Lines 129-137 Link Here
129
	 * <!-- end-user-doc -->
129
	 * <!-- end-user-doc -->
130
	 * @generated
130
	 * @generated
131
	 */
131
	 */
132
	public Map getXSISchemaLocation() {
132
	public Map<String, String> getXSISchemaLocation() {
133
		if (xSISchemaLocation == null) {
133
		if (xSISchemaLocation == null) {
134
			xSISchemaLocation = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION);
134
			xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION);
135
		}
135
		}
136
		return xSISchemaLocation.map();
136
		return xSISchemaLocation.map();
137
	}
137
	}
Lines 172-182 Link Here
172
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
172
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
173
		switch (featureID) {
173
		switch (featureID) {
174
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__MIXED:
174
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__MIXED:
175
				return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
175
				return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
176
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
176
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
177
				return ((InternalEList)((EMap.InternalMapView)getXMLNSPrefixMap()).eMap()).basicRemove(otherEnd, msgs);
177
				return ((InternalEList<?>)((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap()).basicRemove(otherEnd, msgs);
178
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
178
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
179
				return ((InternalEList)((EMap.InternalMapView)getXSISchemaLocation()).eMap()).basicRemove(otherEnd, msgs);
179
				return ((InternalEList<?>)((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap()).basicRemove(otherEnd, msgs);
180
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__APPLICATION:
180
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__APPLICATION:
181
				return basicSetApplication(null, msgs);
181
				return basicSetApplication(null, msgs);
182
		}
182
		}
Lines 195-204 Link Here
195
				if (coreType) return getMixed();
195
				if (coreType) return getMixed();
196
				return ((FeatureMap.Internal)getMixed()).getWrapper();
196
				return ((FeatureMap.Internal)getMixed()).getWrapper();
197
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
197
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
198
				if (coreType) return ((EMap.InternalMapView)getXMLNSPrefixMap()).eMap();
198
				if (coreType) return ((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap();
199
				else return getXMLNSPrefixMap();
199
				else return getXMLNSPrefixMap();
200
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
200
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
201
				if (coreType) return ((EMap.InternalMapView)getXSISchemaLocation()).eMap();
201
				if (coreType) return ((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap();
202
				else return getXSISchemaLocation();
202
				else return getXSISchemaLocation();
203
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__APPLICATION:
203
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__APPLICATION:
204
				return getApplication();
204
				return getApplication();
Lines 218-227 Link Here
218
				((FeatureMap.Internal)getMixed()).set(newValue);
218
				((FeatureMap.Internal)getMixed()).set(newValue);
219
				return;
219
				return;
220
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
220
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
221
				((EStructuralFeature.Setting)((EMap.InternalMapView)getXMLNSPrefixMap()).eMap()).set(newValue);
221
				((EStructuralFeature.Setting)((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap()).set(newValue);
222
				return;
222
				return;
223
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
223
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
224
				((EStructuralFeature.Setting)((EMap.InternalMapView)getXSISchemaLocation()).eMap()).set(newValue);
224
				((EStructuralFeature.Setting)((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap()).set(newValue);
225
				return;
225
				return;
226
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__APPLICATION:
226
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR__APPLICATION:
227
				setApplication((Application)newValue);
227
				setApplication((Application)newValue);
(-)jee-models/org/eclipse/jst/javaee/application/internal/impl/ApplicationImpl.java (-28 / +579 lines)
Lines 25-34 Link Here
25
import org.eclipse.jst.javaee.application.Application;
25
import org.eclipse.jst.javaee.application.Application;
26
import org.eclipse.jst.javaee.application.Module;
26
import org.eclipse.jst.javaee.application.Module;
27
import org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage;
27
import org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage;
28
import org.eclipse.jst.javaee.core.DataSourceType;
28
import org.eclipse.jst.javaee.core.Description;
29
import org.eclipse.jst.javaee.core.Description;
29
import org.eclipse.jst.javaee.core.DisplayName;
30
import org.eclipse.jst.javaee.core.DisplayName;
31
import org.eclipse.jst.javaee.core.EjbLocalRef;
32
import org.eclipse.jst.javaee.core.EjbRef;
33
import org.eclipse.jst.javaee.core.EnvEntry;
34
import org.eclipse.jst.javaee.core.GenericBooleanType;
30
import org.eclipse.jst.javaee.core.Icon;
35
import org.eclipse.jst.javaee.core.Icon;
36
import org.eclipse.jst.javaee.core.MessageDestination;
37
import org.eclipse.jst.javaee.core.MessageDestinationRef;
38
import org.eclipse.jst.javaee.core.PersistenceContextRef;
39
import org.eclipse.jst.javaee.core.PersistenceUnitRef;
40
import org.eclipse.jst.javaee.core.ResourceEnvRef;
41
import org.eclipse.jst.javaee.core.ResourceRef;
31
import org.eclipse.jst.javaee.core.SecurityRole;
42
import org.eclipse.jst.javaee.core.SecurityRole;
43
import org.eclipse.jst.javaee.core.ServiceRef;
32
import org.eclipse.jst.jee.application.ICommonApplication;
44
import org.eclipse.jst.jee.application.ICommonApplication;
33
import org.eclipse.jst.jee.application.ICommonModule;
45
import org.eclipse.jst.jee.application.ICommonModule;
34
import org.eclipse.wst.common.internal.emf.utilities.StringUtil;
46
import org.eclipse.wst.common.internal.emf.utilities.StringUtil;
Lines 40-51 Link Here
40
 * <p>
52
 * <p>
41
 * The following features are implemented:
53
 * The following features are implemented:
42
 * <ul>
54
 * <ul>
55
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getApplicationName <em>Application Name</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getDescriptions <em>Descriptions</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getDescriptions <em>Descriptions</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getDisplayNames <em>Display Names</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getDisplayNames <em>Display Names</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getIcons <em>Icons</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getIcons <em>Icons</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getInitializeInOrder <em>Initialize In Order</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getModules <em>Modules</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getModules <em>Modules</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getSecurityRoles <em>Security Roles</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getSecurityRoles <em>Security Roles</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getLibraryDirectory <em>Library Directory</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getLibraryDirectory <em>Library Directory</em>}</li>
63
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getEnvEntry <em>Env Entry</em>}</li>
64
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getEjbRef <em>Ejb Ref</em>}</li>
65
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getEjbLocalRef <em>Ejb Local Ref</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getServiceRefs <em>Service Refs</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getResourceRef <em>Resource Ref</em>}</li>
68
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getResourceEnvRef <em>Resource Env Ref</em>}</li>
69
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getMessageDestinationRef <em>Message Destination Ref</em>}</li>
70
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getPersistenceContextRef <em>Persistence Context Ref</em>}</li>
71
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getPersistenceUnitRef <em>Persistence Unit Ref</em>}</li>
72
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getMessageDestination <em>Message Destination</em>}</li>
73
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getDataSource <em>Data Source</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getId <em>Id</em>}</li>
74
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getId <em>Id</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getVersion <em>Version</em>}</li>
75
 *   <li>{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationImpl#getVersion <em>Version</em>}</li>
51
 * </ul>
76
 * </ul>
Lines 55-60 Link Here
55
 */
80
 */
56
public class ApplicationImpl extends EObjectImpl implements Application, ICommonApplication {
81
public class ApplicationImpl extends EObjectImpl implements Application, ICommonApplication {
57
	/**
82
	/**
83
	 * The default value of the '{@link #getApplicationName() <em>Application Name</em>}' attribute.
84
	 * <!-- begin-user-doc -->
85
	 * <!-- end-user-doc -->
86
	 * @see #getApplicationName()
87
	 * @generated
88
	 * @ordered
89
	 */
90
	protected static final String APPLICATION_NAME_EDEFAULT = null;
91
92
	/**
93
	 * The cached value of the '{@link #getApplicationName() <em>Application Name</em>}' attribute.
94
	 * <!-- begin-user-doc -->
95
	 * <!-- end-user-doc -->
96
	 * @see #getApplicationName()
97
	 * @generated
98
	 * @ordered
99
	 */
100
	protected String applicationName = APPLICATION_NAME_EDEFAULT;
101
102
	/**
58
	 * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
103
	 * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
59
	 * <!-- begin-user-doc -->
104
	 * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
105
	 * <!-- end-user-doc -->
Lines 62-68 Link Here
62
	 * @generated
107
	 * @generated
63
	 * @ordered
108
	 * @ordered
64
	 */
109
	 */
65
	protected EList descriptions = null;
110
	protected EList<Description> descriptions;
66
111
67
	/**
112
	/**
68
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
113
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
Lines 72-78 Link Here
72
	 * @generated
117
	 * @generated
73
	 * @ordered
118
	 * @ordered
74
	 */
119
	 */
75
	protected EList displayNames = null;
120
	protected EList<DisplayName> displayNames;
76
121
77
	/**
122
	/**
78
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
123
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
Lines 82-88 Link Here
82
	 * @generated
127
	 * @generated
83
	 * @ordered
128
	 * @ordered
84
	 */
129
	 */
85
	protected EList icons = null;
130
	protected EList<Icon> icons;
131
132
	/**
133
	 * The default value of the '{@link #getInitializeInOrder() <em>Initialize In Order</em>}' attribute.
134
	 * <!-- begin-user-doc -->
135
	 * <!-- end-user-doc -->
136
	 * @see #getInitializeInOrder()
137
	 * @generated
138
	 * @ordered
139
	 */
140
	protected static final GenericBooleanType INITIALIZE_IN_ORDER_EDEFAULT = GenericBooleanType.TRUE;
141
142
	/**
143
	 * The cached value of the '{@link #getInitializeInOrder() <em>Initialize In Order</em>}' attribute.
144
	 * <!-- begin-user-doc -->
145
	 * <!-- end-user-doc -->
146
	 * @see #getInitializeInOrder()
147
	 * @generated
148
	 * @ordered
149
	 */
150
	protected GenericBooleanType initializeInOrder = INITIALIZE_IN_ORDER_EDEFAULT;
151
152
	/**
153
	 * This is true if the Initialize In Order attribute has been set.
154
	 * <!-- begin-user-doc -->
155
	 * <!-- end-user-doc -->
156
	 * @generated
157
	 * @ordered
158
	 */
159
	protected boolean initializeInOrderESet;
86
160
87
	/**
161
	/**
88
	 * The cached value of the '{@link #getModules() <em>Modules</em>}' containment reference list.
162
	 * The cached value of the '{@link #getModules() <em>Modules</em>}' containment reference list.
Lines 92-98 Link Here
92
	 * @generated
166
	 * @generated
93
	 * @ordered
167
	 * @ordered
94
	 */
168
	 */
95
	protected EList modules = null;
169
	protected EList<Module> modules;
96
170
97
	/**
171
	/**
98
	 * The cached value of the '{@link #getSecurityRoles() <em>Security Roles</em>}' containment reference list.
172
	 * The cached value of the '{@link #getSecurityRoles() <em>Security Roles</em>}' containment reference list.
Lines 102-108 Link Here
102
	 * @generated
176
	 * @generated
103
	 * @ordered
177
	 * @ordered
104
	 */
178
	 */
105
	protected EList securityRoles = null;
179
	protected EList<SecurityRole> securityRoles;
106
180
107
	/**
181
	/**
108
	 * The default value of the '{@link #getLibraryDirectory() <em>Library Directory</em>}' attribute.
182
	 * The default value of the '{@link #getLibraryDirectory() <em>Library Directory</em>}' attribute.
Lines 125-130 Link Here
125
	protected String libraryDirectory = LIBRARY_DIRECTORY_EDEFAULT;
199
	protected String libraryDirectory = LIBRARY_DIRECTORY_EDEFAULT;
126
200
127
	/**
201
	/**
202
	 * The cached value of the '{@link #getEnvEntry() <em>Env Entry</em>}' containment reference list.
203
	 * <!-- begin-user-doc -->
204
	 * <!-- end-user-doc -->
205
	 * @see #getEnvEntry()
206
	 * @generated
207
	 * @ordered
208
	 */
209
	protected EList<EnvEntry> envEntry;
210
211
	/**
212
	 * The cached value of the '{@link #getEjbRef() <em>Ejb Ref</em>}' containment reference list.
213
	 * <!-- begin-user-doc -->
214
	 * <!-- end-user-doc -->
215
	 * @see #getEjbRef()
216
	 * @generated
217
	 * @ordered
218
	 */
219
	protected EList<EjbRef> ejbRef;
220
221
	/**
222
	 * The cached value of the '{@link #getEjbLocalRef() <em>Ejb Local Ref</em>}' containment reference list.
223
	 * <!-- begin-user-doc -->
224
	 * <!-- end-user-doc -->
225
	 * @see #getEjbLocalRef()
226
	 * @generated
227
	 * @ordered
228
	 */
229
	protected EList<EjbLocalRef> ejbLocalRef;
230
231
	/**
232
	 * The cached value of the '{@link #getServiceRefs() <em>Service Refs</em>}' containment reference list.
233
	 * <!-- begin-user-doc -->
234
	 * <!-- end-user-doc -->
235
	 * @see #getServiceRefs()
236
	 * @generated
237
	 * @ordered
238
	 */
239
	protected EList<ServiceRef> serviceRefs;
240
241
	/**
242
	 * The cached value of the '{@link #getResourceRef() <em>Resource Ref</em>}' containment reference list.
243
	 * <!-- begin-user-doc -->
244
	 * <!-- end-user-doc -->
245
	 * @see #getResourceRef()
246
	 * @generated
247
	 * @ordered
248
	 */
249
	protected EList<ResourceRef> resourceRef;
250
251
	/**
252
	 * The cached value of the '{@link #getResourceEnvRef() <em>Resource Env Ref</em>}' containment reference list.
253
	 * <!-- begin-user-doc -->
254
	 * <!-- end-user-doc -->
255
	 * @see #getResourceEnvRef()
256
	 * @generated
257
	 * @ordered
258
	 */
259
	protected EList<ResourceEnvRef> resourceEnvRef;
260
261
	/**
262
	 * The cached value of the '{@link #getMessageDestinationRef() <em>Message Destination Ref</em>}' containment reference list.
263
	 * <!-- begin-user-doc -->
264
	 * <!-- end-user-doc -->
265
	 * @see #getMessageDestinationRef()
266
	 * @generated
267
	 * @ordered
268
	 */
269
	protected EList<MessageDestinationRef> messageDestinationRef;
270
271
	/**
272
	 * The cached value of the '{@link #getPersistenceContextRef() <em>Persistence Context Ref</em>}' containment reference list.
273
	 * <!-- begin-user-doc -->
274
	 * <!-- end-user-doc -->
275
	 * @see #getPersistenceContextRef()
276
	 * @generated
277
	 * @ordered
278
	 */
279
	protected EList<PersistenceContextRef> persistenceContextRef;
280
281
	/**
282
	 * The cached value of the '{@link #getPersistenceUnitRef() <em>Persistence Unit Ref</em>}' containment reference list.
283
	 * <!-- begin-user-doc -->
284
	 * <!-- end-user-doc -->
285
	 * @see #getPersistenceUnitRef()
286
	 * @generated
287
	 * @ordered
288
	 */
289
	protected EList<PersistenceUnitRef> persistenceUnitRef;
290
291
	/**
292
	 * The cached value of the '{@link #getMessageDestination() <em>Message Destination</em>}' containment reference list.
293
	 * <!-- begin-user-doc -->
294
	 * <!-- end-user-doc -->
295
	 * @see #getMessageDestination()
296
	 * @generated
297
	 * @ordered
298
	 */
299
	protected EList<MessageDestination> messageDestination;
300
301
	/**
302
	 * The cached value of the '{@link #getDataSource() <em>Data Source</em>}' containment reference list.
303
	 * <!-- begin-user-doc -->
304
	 * <!-- end-user-doc -->
305
	 * @see #getDataSource()
306
	 * @generated
307
	 * @ordered
308
	 */
309
	protected EList<DataSourceType> dataSource;
310
311
	/**
128
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
312
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
129
	 * <!-- begin-user-doc -->
313
	 * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
314
	 * <!-- end-user-doc -->
Lines 152-158 Link Here
152
	 * @generated
336
	 * @generated
153
	 * @ordered
337
	 * @ordered
154
	 */
338
	 */
155
	protected static final String VERSION_EDEFAULT = "5"; //$NON-NLS-1$
339
	protected static final String VERSION_EDEFAULT = "6"; //$NON-NLS-1$
156
340
157
	/**
341
	/**
158
	 * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
342
	 * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
Lines 171-177 Link Here
171
	 * @generated
355
	 * @generated
172
	 * @ordered
356
	 * @ordered
173
	 */
357
	 */
174
	protected boolean versionESet = false;
358
	protected boolean versionESet;
175
359
176
	/**
360
	/**
177
	 * <!-- begin-user-doc -->
361
	 * <!-- begin-user-doc -->
Lines 197-205 Link Here
197
	 * <!-- end-user-doc -->
381
	 * <!-- end-user-doc -->
198
	 * @generated
382
	 * @generated
199
	 */
383
	 */
200
	public List getDescriptions() {
384
	public String getApplicationName() {
385
		return applicationName;
386
	}
387
388
	/**
389
	 * <!-- begin-user-doc -->
390
	 * <!-- end-user-doc -->
391
	 * @generated
392
	 */
393
	public void setApplicationName(String newApplicationName) {
394
		String oldApplicationName = applicationName;
395
		applicationName = newApplicationName;
396
		if (eNotificationRequired())
397
			eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.APPLICATION__APPLICATION_NAME, oldApplicationName, applicationName));
398
	}
399
400
	/**
401
	 * <!-- begin-user-doc -->
402
	 * <!-- end-user-doc -->
403
	 * @generated
404
	 */
405
	public List<Description> getDescriptions() {
201
		if (descriptions == null) {
406
		if (descriptions == null) {
202
			descriptions = new EObjectContainmentEList(Description.class, this, ApplicationPackage.APPLICATION__DESCRIPTIONS);
407
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, ApplicationPackage.APPLICATION__DESCRIPTIONS);
203
		}
408
		}
204
		return descriptions;
409
		return descriptions;
205
	}
410
	}
Lines 209-217 Link Here
209
	 * <!-- end-user-doc -->
414
	 * <!-- end-user-doc -->
210
	 * @generated
415
	 * @generated
211
	 */
416
	 */
212
	public List getDisplayNames() {
417
	public List<DisplayName> getDisplayNames() {
213
		if (displayNames == null) {
418
		if (displayNames == null) {
214
			displayNames = new EObjectContainmentEList(DisplayName.class, this, ApplicationPackage.APPLICATION__DISPLAY_NAMES);
419
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, ApplicationPackage.APPLICATION__DISPLAY_NAMES);
215
		}
420
		}
216
		return displayNames;
421
		return displayNames;
217
	}
422
	}
Lines 221-229 Link Here
221
	 * <!-- end-user-doc -->
426
	 * <!-- end-user-doc -->
222
	 * @generated
427
	 * @generated
223
	 */
428
	 */
224
	public List getIcons() {
429
	public List<Icon> getIcons() {
225
		if (icons == null) {
430
		if (icons == null) {
226
			icons = new EObjectContainmentEList(Icon.class, this, ApplicationPackage.APPLICATION__ICONS);
431
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, ApplicationPackage.APPLICATION__ICONS);
227
		}
432
		}
228
		return icons;
433
		return icons;
229
	}
434
	}
Lines 233-241 Link Here
233
	 * <!-- end-user-doc -->
438
	 * <!-- end-user-doc -->
234
	 * @generated
439
	 * @generated
235
	 */
440
	 */
236
	public List getModules() {
441
	public GenericBooleanType getInitializeInOrder() {
442
		return initializeInOrder;
443
	}
444
445
	/**
446
	 * <!-- begin-user-doc -->
447
	 * <!-- end-user-doc -->
448
	 * @generated
449
	 */
450
	public void setInitializeInOrder(GenericBooleanType newInitializeInOrder) {
451
		GenericBooleanType oldInitializeInOrder = initializeInOrder;
452
		initializeInOrder = newInitializeInOrder == null ? INITIALIZE_IN_ORDER_EDEFAULT : newInitializeInOrder;
453
		boolean oldInitializeInOrderESet = initializeInOrderESet;
454
		initializeInOrderESet = true;
455
		if (eNotificationRequired())
456
			eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.APPLICATION__INITIALIZE_IN_ORDER, oldInitializeInOrder, initializeInOrder, !oldInitializeInOrderESet));
457
	}
458
459
	/**
460
	 * <!-- begin-user-doc -->
461
	 * <!-- end-user-doc -->
462
	 * @generated
463
	 */
464
	public void unsetInitializeInOrder() {
465
		GenericBooleanType oldInitializeInOrder = initializeInOrder;
466
		boolean oldInitializeInOrderESet = initializeInOrderESet;
467
		initializeInOrder = INITIALIZE_IN_ORDER_EDEFAULT;
468
		initializeInOrderESet = false;
469
		if (eNotificationRequired())
470
			eNotify(new ENotificationImpl(this, Notification.UNSET, ApplicationPackage.APPLICATION__INITIALIZE_IN_ORDER, oldInitializeInOrder, INITIALIZE_IN_ORDER_EDEFAULT, oldInitializeInOrderESet));
471
	}
472
473
	/**
474
	 * <!-- begin-user-doc -->
475
	 * <!-- end-user-doc -->
476
	 * @generated
477
	 */
478
	public boolean isSetInitializeInOrder() {
479
		return initializeInOrderESet;
480
	}
481
482
	/**
483
	 * <!-- begin-user-doc -->
484
	 * <!-- end-user-doc -->
485
	 * @generated
486
	 */
487
	public List<Module> getModules() {
237
		if (modules == null) {
488
		if (modules == null) {
238
			modules = new EObjectContainmentEList(Module.class, this, ApplicationPackage.APPLICATION__MODULES);
489
			modules = new EObjectContainmentEList<Module>(Module.class, this, ApplicationPackage.APPLICATION__MODULES);
239
		}
490
		}
240
		return modules;
491
		return modules;
241
	}
492
	}
Lines 245-253 Link Here
245
	 * <!-- end-user-doc -->
496
	 * <!-- end-user-doc -->
246
	 * @generated
497
	 * @generated
247
	 */
498
	 */
248
	public List getSecurityRoles() {
499
	public List<SecurityRole> getSecurityRoles() {
249
		if (securityRoles == null) {
500
		if (securityRoles == null) {
250
			securityRoles = new EObjectContainmentEList(SecurityRole.class, this, ApplicationPackage.APPLICATION__SECURITY_ROLES);
501
			securityRoles = new EObjectContainmentEList<SecurityRole>(SecurityRole.class, this, ApplicationPackage.APPLICATION__SECURITY_ROLES);
251
		}
502
		}
252
		return securityRoles;
503
		return securityRoles;
253
	}
504
	}
Lines 278-283 Link Here
278
	 * <!-- end-user-doc -->
529
	 * <!-- end-user-doc -->
279
	 * @generated
530
	 * @generated
280
	 */
531
	 */
532
	public List<EnvEntry> getEnvEntry() {
533
		if (envEntry == null) {
534
			envEntry = new EObjectContainmentEList<EnvEntry>(EnvEntry.class, this, ApplicationPackage.APPLICATION__ENV_ENTRY);
535
		}
536
		return envEntry;
537
	}
538
539
	/**
540
	 * <!-- begin-user-doc -->
541
	 * <!-- end-user-doc -->
542
	 * @generated
543
	 */
544
	public List<EjbRef> getEjbRef() {
545
		if (ejbRef == null) {
546
			ejbRef = new EObjectContainmentEList<EjbRef>(EjbRef.class, this, ApplicationPackage.APPLICATION__EJB_REF);
547
		}
548
		return ejbRef;
549
	}
550
551
	/**
552
	 * <!-- begin-user-doc -->
553
	 * <!-- end-user-doc -->
554
	 * @generated
555
	 */
556
	public List<EjbLocalRef> getEjbLocalRef() {
557
		if (ejbLocalRef == null) {
558
			ejbLocalRef = new EObjectContainmentEList<EjbLocalRef>(EjbLocalRef.class, this, ApplicationPackage.APPLICATION__EJB_LOCAL_REF);
559
		}
560
		return ejbLocalRef;
561
	}
562
563
	/**
564
	 * <!-- begin-user-doc -->
565
	 * <!-- end-user-doc -->
566
	 * @generated
567
	 */
568
	public List<ServiceRef> getServiceRefs() {
569
		if (serviceRefs == null) {
570
			serviceRefs = new EObjectContainmentEList<ServiceRef>(ServiceRef.class, this, ApplicationPackage.APPLICATION__SERVICE_REFS);
571
		}
572
		return serviceRefs;
573
	}
574
575
	/**
576
	 * <!-- begin-user-doc -->
577
	 * <!-- end-user-doc -->
578
	 * @generated
579
	 */
580
	public List<ResourceRef> getResourceRef() {
581
		if (resourceRef == null) {
582
			resourceRef = new EObjectContainmentEList<ResourceRef>(ResourceRef.class, this, ApplicationPackage.APPLICATION__RESOURCE_REF);
583
		}
584
		return resourceRef;
585
	}
586
587
	/**
588
	 * <!-- begin-user-doc -->
589
	 * <!-- end-user-doc -->
590
	 * @generated
591
	 */
592
	public List<ResourceEnvRef> getResourceEnvRef() {
593
		if (resourceEnvRef == null) {
594
			resourceEnvRef = new EObjectContainmentEList<ResourceEnvRef>(ResourceEnvRef.class, this, ApplicationPackage.APPLICATION__RESOURCE_ENV_REF);
595
		}
596
		return resourceEnvRef;
597
	}
598
599
	/**
600
	 * <!-- begin-user-doc -->
601
	 * <!-- end-user-doc -->
602
	 * @generated
603
	 */
604
	public List<MessageDestinationRef> getMessageDestinationRef() {
605
		if (messageDestinationRef == null) {
606
			messageDestinationRef = new EObjectContainmentEList<MessageDestinationRef>(MessageDestinationRef.class, this, ApplicationPackage.APPLICATION__MESSAGE_DESTINATION_REF);
607
		}
608
		return messageDestinationRef;
609
	}
610
611
	/**
612
	 * <!-- begin-user-doc -->
613
	 * <!-- end-user-doc -->
614
	 * @generated
615
	 */
616
	public List<PersistenceContextRef> getPersistenceContextRef() {
617
		if (persistenceContextRef == null) {
618
			persistenceContextRef = new EObjectContainmentEList<PersistenceContextRef>(PersistenceContextRef.class, this, ApplicationPackage.APPLICATION__PERSISTENCE_CONTEXT_REF);
619
		}
620
		return persistenceContextRef;
621
	}
622
623
	/**
624
	 * <!-- begin-user-doc -->
625
	 * <!-- end-user-doc -->
626
	 * @generated
627
	 */
628
	public List<PersistenceUnitRef> getPersistenceUnitRef() {
629
		if (persistenceUnitRef == null) {
630
			persistenceUnitRef = new EObjectContainmentEList<PersistenceUnitRef>(PersistenceUnitRef.class, this, ApplicationPackage.APPLICATION__PERSISTENCE_UNIT_REF);
631
		}
632
		return persistenceUnitRef;
633
	}
634
635
	/**
636
	 * <!-- begin-user-doc -->
637
	 * <!-- end-user-doc -->
638
	 * @generated
639
	 */
640
	public List<MessageDestination> getMessageDestination() {
641
		if (messageDestination == null) {
642
			messageDestination = new EObjectContainmentEList<MessageDestination>(MessageDestination.class, this, ApplicationPackage.APPLICATION__MESSAGE_DESTINATION);
643
		}
644
		return messageDestination;
645
	}
646
647
	/**
648
	 * <!-- begin-user-doc -->
649
	 * <!-- end-user-doc -->
650
	 * @generated
651
	 */
652
	public List<DataSourceType> getDataSource() {
653
		if (dataSource == null) {
654
			dataSource = new EObjectContainmentEList<DataSourceType>(DataSourceType.class, this, ApplicationPackage.APPLICATION__DATA_SOURCE);
655
		}
656
		return dataSource;
657
	}
658
659
	/**
660
	 * <!-- begin-user-doc -->
661
	 * <!-- end-user-doc -->
662
	 * @generated
663
	 */
281
	public String getId() {
664
	public String getId() {
282
		return id;
665
		return id;
283
	}
666
	}
Lines 349-363 Link Here
349
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
732
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
350
		switch (featureID) {
733
		switch (featureID) {
351
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
734
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
352
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
735
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
353
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
736
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
354
				return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
737
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
355
			case ApplicationPackage.APPLICATION__ICONS:
738
			case ApplicationPackage.APPLICATION__ICONS:
356
				return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
739
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
357
			case ApplicationPackage.APPLICATION__MODULES:
740
			case ApplicationPackage.APPLICATION__MODULES:
358
				return ((InternalEList)getModules()).basicRemove(otherEnd, msgs);
741
				return ((InternalEList<?>)getModules()).basicRemove(otherEnd, msgs);
359
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
742
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
360
				return ((InternalEList)getSecurityRoles()).basicRemove(otherEnd, msgs);
743
				return ((InternalEList<?>)getSecurityRoles()).basicRemove(otherEnd, msgs);
744
			case ApplicationPackage.APPLICATION__ENV_ENTRY:
745
				return ((InternalEList<?>)getEnvEntry()).basicRemove(otherEnd, msgs);
746
			case ApplicationPackage.APPLICATION__EJB_REF:
747
				return ((InternalEList<?>)getEjbRef()).basicRemove(otherEnd, msgs);
748
			case ApplicationPackage.APPLICATION__EJB_LOCAL_REF:
749
				return ((InternalEList<?>)getEjbLocalRef()).basicRemove(otherEnd, msgs);
750
			case ApplicationPackage.APPLICATION__SERVICE_REFS:
751
				return ((InternalEList<?>)getServiceRefs()).basicRemove(otherEnd, msgs);
752
			case ApplicationPackage.APPLICATION__RESOURCE_REF:
753
				return ((InternalEList<?>)getResourceRef()).basicRemove(otherEnd, msgs);
754
			case ApplicationPackage.APPLICATION__RESOURCE_ENV_REF:
755
				return ((InternalEList<?>)getResourceEnvRef()).basicRemove(otherEnd, msgs);
756
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION_REF:
757
				return ((InternalEList<?>)getMessageDestinationRef()).basicRemove(otherEnd, msgs);
758
			case ApplicationPackage.APPLICATION__PERSISTENCE_CONTEXT_REF:
759
				return ((InternalEList<?>)getPersistenceContextRef()).basicRemove(otherEnd, msgs);
760
			case ApplicationPackage.APPLICATION__PERSISTENCE_UNIT_REF:
761
				return ((InternalEList<?>)getPersistenceUnitRef()).basicRemove(otherEnd, msgs);
762
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION:
763
				return ((InternalEList<?>)getMessageDestination()).basicRemove(otherEnd, msgs);
764
			case ApplicationPackage.APPLICATION__DATA_SOURCE:
765
				return ((InternalEList<?>)getDataSource()).basicRemove(otherEnd, msgs);
361
		}
766
		}
362
		return super.eInverseRemove(otherEnd, featureID, msgs);
767
		return super.eInverseRemove(otherEnd, featureID, msgs);
363
	}
768
	}
Lines 370-387 Link Here
370
	@Override
775
	@Override
371
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
776
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
372
		switch (featureID) {
777
		switch (featureID) {
778
			case ApplicationPackage.APPLICATION__APPLICATION_NAME:
779
				return getApplicationName();
373
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
780
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
374
				return getDescriptions();
781
				return getDescriptions();
375
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
782
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
376
				return getDisplayNames();
783
				return getDisplayNames();
377
			case ApplicationPackage.APPLICATION__ICONS:
784
			case ApplicationPackage.APPLICATION__ICONS:
378
				return getIcons();
785
				return getIcons();
786
			case ApplicationPackage.APPLICATION__INITIALIZE_IN_ORDER:
787
				return getInitializeInOrder();
379
			case ApplicationPackage.APPLICATION__MODULES:
788
			case ApplicationPackage.APPLICATION__MODULES:
380
				return getModules();
789
				return getModules();
381
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
790
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
382
				return getSecurityRoles();
791
				return getSecurityRoles();
383
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
792
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
384
				return getLibraryDirectory();
793
				return getLibraryDirectory();
794
			case ApplicationPackage.APPLICATION__ENV_ENTRY:
795
				return getEnvEntry();
796
			case ApplicationPackage.APPLICATION__EJB_REF:
797
				return getEjbRef();
798
			case ApplicationPackage.APPLICATION__EJB_LOCAL_REF:
799
				return getEjbLocalRef();
800
			case ApplicationPackage.APPLICATION__SERVICE_REFS:
801
				return getServiceRefs();
802
			case ApplicationPackage.APPLICATION__RESOURCE_REF:
803
				return getResourceRef();
804
			case ApplicationPackage.APPLICATION__RESOURCE_ENV_REF:
805
				return getResourceEnvRef();
806
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION_REF:
807
				return getMessageDestinationRef();
808
			case ApplicationPackage.APPLICATION__PERSISTENCE_CONTEXT_REF:
809
				return getPersistenceContextRef();
810
			case ApplicationPackage.APPLICATION__PERSISTENCE_UNIT_REF:
811
				return getPersistenceUnitRef();
812
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION:
813
				return getMessageDestination();
814
			case ApplicationPackage.APPLICATION__DATA_SOURCE:
815
				return getDataSource();
385
			case ApplicationPackage.APPLICATION__ID:
816
			case ApplicationPackage.APPLICATION__ID:
386
				return getId();
817
				return getId();
387
			case ApplicationPackage.APPLICATION__VERSION:
818
			case ApplicationPackage.APPLICATION__VERSION:
Lines 395-426 Link Here
395
	 * <!-- end-user-doc -->
826
	 * <!-- end-user-doc -->
396
	 * @generated
827
	 * @generated
397
	 */
828
	 */
829
	@SuppressWarnings("unchecked")
398
	@Override
830
	@Override
399
	public void eSet(int featureID, Object newValue) {
831
	public void eSet(int featureID, Object newValue) {
400
		switch (featureID) {
832
		switch (featureID) {
833
			case ApplicationPackage.APPLICATION__APPLICATION_NAME:
834
				setApplicationName((String)newValue);
835
				return;
401
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
836
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
402
				getDescriptions().clear();
837
				getDescriptions().clear();
403
				getDescriptions().addAll((Collection)newValue);
838
				getDescriptions().addAll((Collection<? extends Description>)newValue);
404
				return;
839
				return;
405
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
840
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
406
				getDisplayNames().clear();
841
				getDisplayNames().clear();
407
				getDisplayNames().addAll((Collection)newValue);
842
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
408
				return;
843
				return;
409
			case ApplicationPackage.APPLICATION__ICONS:
844
			case ApplicationPackage.APPLICATION__ICONS:
410
				getIcons().clear();
845
				getIcons().clear();
411
				getIcons().addAll((Collection)newValue);
846
				getIcons().addAll((Collection<? extends Icon>)newValue);
847
				return;
848
			case ApplicationPackage.APPLICATION__INITIALIZE_IN_ORDER:
849
				setInitializeInOrder((GenericBooleanType)newValue);
412
				return;
850
				return;
413
			case ApplicationPackage.APPLICATION__MODULES:
851
			case ApplicationPackage.APPLICATION__MODULES:
414
				getModules().clear();
852
				getModules().clear();
415
				getModules().addAll((Collection)newValue);
853
				getModules().addAll((Collection<? extends Module>)newValue);
416
				return;
854
				return;
417
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
855
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
418
				getSecurityRoles().clear();
856
				getSecurityRoles().clear();
419
				getSecurityRoles().addAll((Collection)newValue);
857
				getSecurityRoles().addAll((Collection<? extends SecurityRole>)newValue);
420
				return;
858
				return;
421
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
859
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
422
				setLibraryDirectory((String)newValue);
860
				setLibraryDirectory((String)newValue);
423
				return;
861
				return;
862
			case ApplicationPackage.APPLICATION__ENV_ENTRY:
863
				getEnvEntry().clear();
864
				getEnvEntry().addAll((Collection<? extends EnvEntry>)newValue);
865
				return;
866
			case ApplicationPackage.APPLICATION__EJB_REF:
867
				getEjbRef().clear();
868
				getEjbRef().addAll((Collection<? extends EjbRef>)newValue);
869
				return;
870
			case ApplicationPackage.APPLICATION__EJB_LOCAL_REF:
871
				getEjbLocalRef().clear();
872
				getEjbLocalRef().addAll((Collection<? extends EjbLocalRef>)newValue);
873
				return;
874
			case ApplicationPackage.APPLICATION__SERVICE_REFS:
875
				getServiceRefs().clear();
876
				getServiceRefs().addAll((Collection<? extends ServiceRef>)newValue);
877
				return;
878
			case ApplicationPackage.APPLICATION__RESOURCE_REF:
879
				getResourceRef().clear();
880
				getResourceRef().addAll((Collection<? extends ResourceRef>)newValue);
881
				return;
882
			case ApplicationPackage.APPLICATION__RESOURCE_ENV_REF:
883
				getResourceEnvRef().clear();
884
				getResourceEnvRef().addAll((Collection<? extends ResourceEnvRef>)newValue);
885
				return;
886
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION_REF:
887
				getMessageDestinationRef().clear();
888
				getMessageDestinationRef().addAll((Collection<? extends MessageDestinationRef>)newValue);
889
				return;
890
			case ApplicationPackage.APPLICATION__PERSISTENCE_CONTEXT_REF:
891
				getPersistenceContextRef().clear();
892
				getPersistenceContextRef().addAll((Collection<? extends PersistenceContextRef>)newValue);
893
				return;
894
			case ApplicationPackage.APPLICATION__PERSISTENCE_UNIT_REF:
895
				getPersistenceUnitRef().clear();
896
				getPersistenceUnitRef().addAll((Collection<? extends PersistenceUnitRef>)newValue);
897
				return;
898
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION:
899
				getMessageDestination().clear();
900
				getMessageDestination().addAll((Collection<? extends MessageDestination>)newValue);
901
				return;
902
			case ApplicationPackage.APPLICATION__DATA_SOURCE:
903
				getDataSource().clear();
904
				getDataSource().addAll((Collection<? extends DataSourceType>)newValue);
905
				return;
424
			case ApplicationPackage.APPLICATION__ID:
906
			case ApplicationPackage.APPLICATION__ID:
425
				setId((String)newValue);
907
				setId((String)newValue);
426
				return;
908
				return;
Lines 439-444 Link Here
439
	@Override
921
	@Override
440
	public void eUnset(int featureID) {
922
	public void eUnset(int featureID) {
441
		switch (featureID) {
923
		switch (featureID) {
924
			case ApplicationPackage.APPLICATION__APPLICATION_NAME:
925
				setApplicationName(APPLICATION_NAME_EDEFAULT);
926
				return;
442
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
927
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
443
				getDescriptions().clear();
928
				getDescriptions().clear();
444
				return;
929
				return;
Lines 448-453 Link Here
448
			case ApplicationPackage.APPLICATION__ICONS:
933
			case ApplicationPackage.APPLICATION__ICONS:
449
				getIcons().clear();
934
				getIcons().clear();
450
				return;
935
				return;
936
			case ApplicationPackage.APPLICATION__INITIALIZE_IN_ORDER:
937
				unsetInitializeInOrder();
938
				return;
451
			case ApplicationPackage.APPLICATION__MODULES:
939
			case ApplicationPackage.APPLICATION__MODULES:
452
				getModules().clear();
940
				getModules().clear();
453
				return;
941
				return;
Lines 457-462 Link Here
457
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
945
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
458
				setLibraryDirectory(LIBRARY_DIRECTORY_EDEFAULT);
946
				setLibraryDirectory(LIBRARY_DIRECTORY_EDEFAULT);
459
				return;
947
				return;
948
			case ApplicationPackage.APPLICATION__ENV_ENTRY:
949
				getEnvEntry().clear();
950
				return;
951
			case ApplicationPackage.APPLICATION__EJB_REF:
952
				getEjbRef().clear();
953
				return;
954
			case ApplicationPackage.APPLICATION__EJB_LOCAL_REF:
955
				getEjbLocalRef().clear();
956
				return;
957
			case ApplicationPackage.APPLICATION__SERVICE_REFS:
958
				getServiceRefs().clear();
959
				return;
960
			case ApplicationPackage.APPLICATION__RESOURCE_REF:
961
				getResourceRef().clear();
962
				return;
963
			case ApplicationPackage.APPLICATION__RESOURCE_ENV_REF:
964
				getResourceEnvRef().clear();
965
				return;
966
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION_REF:
967
				getMessageDestinationRef().clear();
968
				return;
969
			case ApplicationPackage.APPLICATION__PERSISTENCE_CONTEXT_REF:
970
				getPersistenceContextRef().clear();
971
				return;
972
			case ApplicationPackage.APPLICATION__PERSISTENCE_UNIT_REF:
973
				getPersistenceUnitRef().clear();
974
				return;
975
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION:
976
				getMessageDestination().clear();
977
				return;
978
			case ApplicationPackage.APPLICATION__DATA_SOURCE:
979
				getDataSource().clear();
980
				return;
460
			case ApplicationPackage.APPLICATION__ID:
981
			case ApplicationPackage.APPLICATION__ID:
461
				setId(ID_EDEFAULT);
982
				setId(ID_EDEFAULT);
462
				return;
983
				return;
Lines 475-492 Link Here
475
	@Override
996
	@Override
476
	public boolean eIsSet(int featureID) {
997
	public boolean eIsSet(int featureID) {
477
		switch (featureID) {
998
		switch (featureID) {
999
			case ApplicationPackage.APPLICATION__APPLICATION_NAME:
1000
				return APPLICATION_NAME_EDEFAULT == null ? applicationName != null : !APPLICATION_NAME_EDEFAULT.equals(applicationName);
478
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
1001
			case ApplicationPackage.APPLICATION__DESCRIPTIONS:
479
				return descriptions != null && !descriptions.isEmpty();
1002
				return descriptions != null && !descriptions.isEmpty();
480
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
1003
			case ApplicationPackage.APPLICATION__DISPLAY_NAMES:
481
				return displayNames != null && !displayNames.isEmpty();
1004
				return displayNames != null && !displayNames.isEmpty();
482
			case ApplicationPackage.APPLICATION__ICONS:
1005
			case ApplicationPackage.APPLICATION__ICONS:
483
				return icons != null && !icons.isEmpty();
1006
				return icons != null && !icons.isEmpty();
1007
			case ApplicationPackage.APPLICATION__INITIALIZE_IN_ORDER:
1008
				return isSetInitializeInOrder();
484
			case ApplicationPackage.APPLICATION__MODULES:
1009
			case ApplicationPackage.APPLICATION__MODULES:
485
				return modules != null && !modules.isEmpty();
1010
				return modules != null && !modules.isEmpty();
486
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
1011
			case ApplicationPackage.APPLICATION__SECURITY_ROLES:
487
				return securityRoles != null && !securityRoles.isEmpty();
1012
				return securityRoles != null && !securityRoles.isEmpty();
488
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
1013
			case ApplicationPackage.APPLICATION__LIBRARY_DIRECTORY:
489
				return LIBRARY_DIRECTORY_EDEFAULT == null ? libraryDirectory != null : !LIBRARY_DIRECTORY_EDEFAULT.equals(libraryDirectory);
1014
				return LIBRARY_DIRECTORY_EDEFAULT == null ? libraryDirectory != null : !LIBRARY_DIRECTORY_EDEFAULT.equals(libraryDirectory);
1015
			case ApplicationPackage.APPLICATION__ENV_ENTRY:
1016
				return envEntry != null && !envEntry.isEmpty();
1017
			case ApplicationPackage.APPLICATION__EJB_REF:
1018
				return ejbRef != null && !ejbRef.isEmpty();
1019
			case ApplicationPackage.APPLICATION__EJB_LOCAL_REF:
1020
				return ejbLocalRef != null && !ejbLocalRef.isEmpty();
1021
			case ApplicationPackage.APPLICATION__SERVICE_REFS:
1022
				return serviceRefs != null && !serviceRefs.isEmpty();
1023
			case ApplicationPackage.APPLICATION__RESOURCE_REF:
1024
				return resourceRef != null && !resourceRef.isEmpty();
1025
			case ApplicationPackage.APPLICATION__RESOURCE_ENV_REF:
1026
				return resourceEnvRef != null && !resourceEnvRef.isEmpty();
1027
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION_REF:
1028
				return messageDestinationRef != null && !messageDestinationRef.isEmpty();
1029
			case ApplicationPackage.APPLICATION__PERSISTENCE_CONTEXT_REF:
1030
				return persistenceContextRef != null && !persistenceContextRef.isEmpty();
1031
			case ApplicationPackage.APPLICATION__PERSISTENCE_UNIT_REF:
1032
				return persistenceUnitRef != null && !persistenceUnitRef.isEmpty();
1033
			case ApplicationPackage.APPLICATION__MESSAGE_DESTINATION:
1034
				return messageDestination != null && !messageDestination.isEmpty();
1035
			case ApplicationPackage.APPLICATION__DATA_SOURCE:
1036
				return dataSource != null && !dataSource.isEmpty();
490
			case ApplicationPackage.APPLICATION__ID:
1037
			case ApplicationPackage.APPLICATION__ID:
491
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
1038
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
492
			case ApplicationPackage.APPLICATION__VERSION:
1039
			case ApplicationPackage.APPLICATION__VERSION:
Lines 505-511 Link Here
505
		if (eIsProxy()) return super.toString();
1052
		if (eIsProxy()) return super.toString();
506
1053
507
		StringBuffer result = new StringBuffer(super.toString());
1054
		StringBuffer result = new StringBuffer(super.toString());
508
		result.append(" (libraryDirectory: "); //$NON-NLS-1$
1055
		result.append(" (applicationName: "); //$NON-NLS-1$
1056
		result.append(applicationName);
1057
		result.append(", initializeInOrder: "); //$NON-NLS-1$
1058
		if (initializeInOrderESet) result.append(initializeInOrder); else result.append("<unset>"); //$NON-NLS-1$
1059
		result.append(", libraryDirectory: "); //$NON-NLS-1$
509
		result.append(libraryDirectory);
1060
		result.append(libraryDirectory);
510
		result.append(", id: "); //$NON-NLS-1$
1061
		result.append(", id: "); //$NON-NLS-1$
511
		result.append(id);
1062
		result.append(id);
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/impl/ApplicationclientPackageImpl.java (-40 / +90 lines)
Lines 39-44 Link Here
39
39
40
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
40
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
41
41
42
import org.eclipse.jst.javaee.jca.internal.impl.JcaPackageImpl;
43
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
42
import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl;
44
import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl;
43
45
44
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
46
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
Lines 46-51 Link Here
46
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
48
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
47
49
48
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
50
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
51
import org.eclipse.jst.javaee.webapp.internal.impl.WebappPackageImpl;
52
import org.eclipse.jst.javaee.webapp.internal.metadata.WebappPackage;
53
import org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl;
54
import org.eclipse.jst.javaee.webfragment.internal.metadata.WebfragmentPackage;
49
55
50
/**
56
/**
51
 * <!-- begin-user-doc -->
57
 * <!-- begin-user-doc -->
Lines 95-114 Link Here
95
	private static boolean isInited = false;
101
	private static boolean isInited = false;
96
102
97
	/**
103
	/**
98
	 * Creates, registers, and initializes the <b>Package</b> for this
104
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
99
	 * model, and for any others upon which it depends.  Simple
105
	 * 
100
	 * dependencies are satisfied by calling this method on all
106
	 * <p>This method is used to initialize {@link ApplicationclientPackage#eINSTANCE} when that field is accessed.
101
	 * dependent packages before doing anything else.  This method drives
107
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
102
	 * initialization for interdependent packages directly, in parallel
103
	 * with this package, itself.
104
	 * <p>Of this package and its interdependencies, all packages which
105
	 * have not yet been registered by their URI values are first created
106
	 * and registered.  The packages are then initialized in two steps:
107
	 * meta-model objects for all of the packages are created before any
108
	 * are initialized, since one package's meta-model objects may refer to
109
	 * those of another.
110
	 * <p>Invocation of this method will not affect any packages that have
111
	 * already been initialized.
112
	 * <!-- begin-user-doc -->
108
	 * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
109
	 * <!-- end-user-doc -->
114
	 * @see #eNS_URI
110
	 * @see #eNS_URI
Lines 120-126 Link Here
120
		if (isInited) return (ApplicationclientPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI);
116
		if (isInited) return (ApplicationclientPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI);
121
117
122
		// Obtain or create and register package
118
		// Obtain or create and register package
123
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ApplicationclientPackageImpl());
119
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ApplicationclientPackageImpl());
124
120
125
		isInited = true;
121
		isInited = true;
126
122
Lines 129-159 Link Here
129
		XMLTypePackage.eINSTANCE.eClass();
125
		XMLTypePackage.eINSTANCE.eClass();
130
126
131
		// Obtain or create and register interdependencies
127
		// Obtain or create and register interdependencies
132
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
133
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
128
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
134
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) : JavaeePackage.eINSTANCE);
129
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) : JavaeePackage.eINSTANCE);
130
		JcaPackageImpl theJcaPackage = (JcaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) instanceof JcaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) : JcaPackage.eINSTANCE);
135
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
131
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
136
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
132
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
133
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
134
		WebappPackageImpl theWebappPackage = (WebappPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) instanceof WebappPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) : WebappPackage.eINSTANCE);
135
		WebfragmentPackageImpl theWebfragmentPackage = (WebfragmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) instanceof WebfragmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) : WebfragmentPackage.eINSTANCE);
137
136
138
		// Create package meta-data objects
137
		// Create package meta-data objects
139
		theApplicationclientPackage.createPackageContents();
138
		theApplicationclientPackage.createPackageContents();
140
		theWebPackage.createPackageContents();
141
		theApplicationPackage.createPackageContents();
139
		theApplicationPackage.createPackageContents();
142
		theJavaeePackage.createPackageContents();
140
		theJavaeePackage.createPackageContents();
141
		theJcaPackage.createPackageContents();
143
		theEjbPackage.createPackageContents();
142
		theEjbPackage.createPackageContents();
144
		theJspPackage.createPackageContents();
143
		theJspPackage.createPackageContents();
144
		theWebPackage.createPackageContents();
145
		theWebappPackage.createPackageContents();
146
		theWebfragmentPackage.createPackageContents();
145
147
146
		// Initialize created meta-data
148
		// Initialize created meta-data
147
		theApplicationclientPackage.initializePackageContents();
149
		theApplicationclientPackage.initializePackageContents();
148
		theWebPackage.initializePackageContents();
149
		theApplicationPackage.initializePackageContents();
150
		theApplicationPackage.initializePackageContents();
150
		theJavaeePackage.initializePackageContents();
151
		theJavaeePackage.initializePackageContents();
152
		theJcaPackage.initializePackageContents();
151
		theEjbPackage.initializePackageContents();
153
		theEjbPackage.initializePackageContents();
152
		theJspPackage.initializePackageContents();
154
		theJspPackage.initializePackageContents();
155
		theWebPackage.initializePackageContents();
156
		theWebappPackage.initializePackageContents();
157
		theWebfragmentPackage.initializePackageContents();
153
158
154
		// Mark meta-data to indicate it can't be changed
159
		// Mark meta-data to indicate it can't be changed
155
		theApplicationclientPackage.freeze();
160
		theApplicationclientPackage.freeze();
156
161
162
  
163
		// Update the registry and return the package
164
		EPackage.Registry.INSTANCE.put(ApplicationclientPackage.eNS_URI, theApplicationclientPackage);
157
		return theApplicationclientPackage;
165
		return theApplicationclientPackage;
158
	}
166
	}
159
167
Lines 171-178 Link Here
171
	 * <!-- end-user-doc -->
179
	 * <!-- end-user-doc -->
172
	 * @generated
180
	 * @generated
173
	 */
181
	 */
182
	public EAttribute getApplicationClient_ModuleName() {
183
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(0);
184
	}
185
186
	/**
187
	 * <!-- begin-user-doc -->
188
	 * <!-- end-user-doc -->
189
	 * @generated
190
	 */
174
	public EReference getApplicationClient_Descriptions() {
191
	public EReference getApplicationClient_Descriptions() {
175
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(0);
192
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(1);
176
	}
193
	}
177
194
178
	/**
195
	/**
Lines 181-187 Link Here
181
	 * @generated
198
	 * @generated
182
	 */
199
	 */
183
	public EReference getApplicationClient_DisplayNames() {
200
	public EReference getApplicationClient_DisplayNames() {
184
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(1);
201
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(2);
185
	}
202
	}
186
203
187
	/**
204
	/**
Lines 190-196 Link Here
190
	 * @generated
207
	 * @generated
191
	 */
208
	 */
192
	public EReference getApplicationClient_Icons() {
209
	public EReference getApplicationClient_Icons() {
193
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(2);
210
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(3);
194
	}
211
	}
195
212
196
	/**
213
	/**
Lines 199-205 Link Here
199
	 * @generated
216
	 * @generated
200
	 */
217
	 */
201
	public EReference getApplicationClient_EnvEntries() {
218
	public EReference getApplicationClient_EnvEntries() {
202
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(3);
219
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(4);
203
	}
220
	}
204
221
205
	/**
222
	/**
Lines 208-214 Link Here
208
	 * @generated
225
	 * @generated
209
	 */
226
	 */
210
	public EReference getApplicationClient_EjbRefs() {
227
	public EReference getApplicationClient_EjbRefs() {
211
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(4);
228
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(5);
212
	}
229
	}
213
230
214
	/**
231
	/**
Lines 217-223 Link Here
217
	 * @generated
234
	 * @generated
218
	 */
235
	 */
219
	public EReference getApplicationClient_ServiceRefs() {
236
	public EReference getApplicationClient_ServiceRefs() {
220
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(5);
237
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(6);
221
	}
238
	}
222
239
223
	/**
240
	/**
Lines 226-232 Link Here
226
	 * @generated
243
	 * @generated
227
	 */
244
	 */
228
	public EReference getApplicationClient_ResourceRefs() {
245
	public EReference getApplicationClient_ResourceRefs() {
229
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(6);
246
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(7);
230
	}
247
	}
231
248
232
	/**
249
	/**
Lines 235-241 Link Here
235
	 * @generated
252
	 * @generated
236
	 */
253
	 */
237
	public EReference getApplicationClient_ResourceEnvRefs() {
254
	public EReference getApplicationClient_ResourceEnvRefs() {
238
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(7);
255
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(8);
239
	}
256
	}
240
257
241
	/**
258
	/**
Lines 244-250 Link Here
244
	 * @generated
261
	 * @generated
245
	 */
262
	 */
246
	public EReference getApplicationClient_MessageDestinationRefs() {
263
	public EReference getApplicationClient_MessageDestinationRefs() {
247
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(8);
264
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(9);
248
	}
265
	}
249
266
250
	/**
267
	/**
Lines 253-259 Link Here
253
	 * @generated
270
	 * @generated
254
	 */
271
	 */
255
	public EReference getApplicationClient_PersistenceUnitRefs() {
272
	public EReference getApplicationClient_PersistenceUnitRefs() {
256
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(9);
273
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(10);
257
	}
274
	}
258
275
259
	/**
276
	/**
Lines 262-268 Link Here
262
	 * @generated
279
	 * @generated
263
	 */
280
	 */
264
	public EReference getApplicationClient_PostConstructs() {
281
	public EReference getApplicationClient_PostConstructs() {
265
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(10);
282
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(11);
266
	}
283
	}
267
284
268
	/**
285
	/**
Lines 271-277 Link Here
271
	 * @generated
288
	 * @generated
272
	 */
289
	 */
273
	public EReference getApplicationClient_PreDestroys() {
290
	public EReference getApplicationClient_PreDestroys() {
274
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(11);
291
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(12);
275
	}
292
	}
276
293
277
	/**
294
	/**
Lines 280-286 Link Here
280
	 * @generated
297
	 * @generated
281
	 */
298
	 */
282
	public EAttribute getApplicationClient_CallbackHandler() {
299
	public EAttribute getApplicationClient_CallbackHandler() {
283
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(12);
300
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(13);
284
	}
301
	}
285
302
286
	/**
303
	/**
Lines 289-295 Link Here
289
	 * @generated
306
	 * @generated
290
	 */
307
	 */
291
	public EReference getApplicationClient_MessageDestinations() {
308
	public EReference getApplicationClient_MessageDestinations() {
292
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(13);
309
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(14);
310
	}
311
312
	/**
313
	 * <!-- begin-user-doc -->
314
	 * <!-- end-user-doc -->
315
	 * @generated
316
	 */
317
	public EReference getApplicationClient_DataSource() {
318
		return (EReference)applicationClientEClass.getEStructuralFeatures().get(15);
293
	}
319
	}
294
320
295
	/**
321
	/**
Lines 298-304 Link Here
298
	 * @generated
324
	 * @generated
299
	 */
325
	 */
300
	public EAttribute getApplicationClient_Id() {
326
	public EAttribute getApplicationClient_Id() {
301
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(14);
327
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(16);
302
	}
328
	}
303
329
304
	/**
330
	/**
Lines 307-313 Link Here
307
	 * @generated
333
	 * @generated
308
	 */
334
	 */
309
	public EAttribute getApplicationClient_MetadataComplete() {
335
	public EAttribute getApplicationClient_MetadataComplete() {
310
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(15);
336
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(17);
311
	}
337
	}
312
338
313
	/**
339
	/**
Lines 316-322 Link Here
316
	 * @generated
342
	 * @generated
317
	 */
343
	 */
318
	public EAttribute getApplicationClient_Version() {
344
	public EAttribute getApplicationClient_Version() {
319
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(16);
345
		return (EAttribute)applicationClientEClass.getEStructuralFeatures().get(18);
320
	}
346
	}
321
347
322
	/**
348
	/**
Lines 393-398 Link Here
393
419
394
		// Create classes and their features
420
		// Create classes and their features
395
		applicationClientEClass = createEClass(APPLICATION_CLIENT);
421
		applicationClientEClass = createEClass(APPLICATION_CLIENT);
422
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__MODULE_NAME);
396
		createEReference(applicationClientEClass, APPLICATION_CLIENT__DESCRIPTIONS);
423
		createEReference(applicationClientEClass, APPLICATION_CLIENT__DESCRIPTIONS);
397
		createEReference(applicationClientEClass, APPLICATION_CLIENT__DISPLAY_NAMES);
424
		createEReference(applicationClientEClass, APPLICATION_CLIENT__DISPLAY_NAMES);
398
		createEReference(applicationClientEClass, APPLICATION_CLIENT__ICONS);
425
		createEReference(applicationClientEClass, APPLICATION_CLIENT__ICONS);
Lines 407-412 Link Here
407
		createEReference(applicationClientEClass, APPLICATION_CLIENT__PRE_DESTROYS);
434
		createEReference(applicationClientEClass, APPLICATION_CLIENT__PRE_DESTROYS);
408
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__CALLBACK_HANDLER);
435
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__CALLBACK_HANDLER);
409
		createEReference(applicationClientEClass, APPLICATION_CLIENT__MESSAGE_DESTINATIONS);
436
		createEReference(applicationClientEClass, APPLICATION_CLIENT__MESSAGE_DESTINATIONS);
437
		createEReference(applicationClientEClass, APPLICATION_CLIENT__DATA_SOURCE);
410
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__ID);
438
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__ID);
411
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__METADATA_COMPLETE);
439
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__METADATA_COMPLETE);
412
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__VERSION);
440
		createEAttribute(applicationClientEClass, APPLICATION_CLIENT__VERSION);
Lines 442-454 Link Here
442
		setNsURI(eNS_URI);
470
		setNsURI(eNS_URI);
443
471
444
		// Obtain other dependent packages
472
		// Obtain other dependent packages
445
		JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
446
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
473
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
474
		JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
475
476
		// Create type parameters
477
478
		// Set bounds for type parameters
447
479
448
		// Add supertypes to classes
480
		// Add supertypes to classes
449
481
450
		// Initialize classes and features; add operations and parameters
482
		// Initialize classes and features; add operations and parameters
451
		initEClass(applicationClientEClass, ApplicationClient.class, "ApplicationClient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
483
		initEClass(applicationClientEClass, ApplicationClient.class, "ApplicationClient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
484
		initEAttribute(getApplicationClient_ModuleName(), theXMLTypePackage.getToken(), "moduleName", null, 0, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
452
		initEReference(getApplicationClient_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
485
		initEReference(getApplicationClient_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
453
		initEReference(getApplicationClient_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
486
		initEReference(getApplicationClient_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
454
		initEReference(getApplicationClient_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
487
		initEReference(getApplicationClient_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
Lines 461-471 Link Here
461
		initEReference(getApplicationClient_PersistenceUnitRefs(), theJavaeePackage.getPersistenceUnitRef(), null, "persistenceUnitRefs", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
494
		initEReference(getApplicationClient_PersistenceUnitRefs(), theJavaeePackage.getPersistenceUnitRef(), null, "persistenceUnitRefs", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
462
		initEReference(getApplicationClient_PostConstructs(), theJavaeePackage.getLifecycleCallback(), null, "postConstructs", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
495
		initEReference(getApplicationClient_PostConstructs(), theJavaeePackage.getLifecycleCallback(), null, "postConstructs", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
463
		initEReference(getApplicationClient_PreDestroys(), theJavaeePackage.getLifecycleCallback(), null, "preDestroys", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
496
		initEReference(getApplicationClient_PreDestroys(), theJavaeePackage.getLifecycleCallback(), null, "preDestroys", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
464
		initEAttribute(getApplicationClient_CallbackHandler(), theJavaeePackage.getFullyQualifiedClassType(), "callbackHandler", null, 0, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
497
		initEAttribute(getApplicationClient_CallbackHandler(), theJavaeePackage.getFullyQualifiedClassType(), "callbackHandler", null, 0, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
465
		initEReference(getApplicationClient_MessageDestinations(), theJavaeePackage.getMessageDestination(), null, "messageDestinations", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
498
		initEReference(getApplicationClient_MessageDestinations(), theJavaeePackage.getMessageDestination(), null, "messageDestinations", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
466
		initEAttribute(getApplicationClient_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
499
		initEReference(getApplicationClient_DataSource(), theJavaeePackage.getDataSourceType(), null, "dataSource", null, 0, -1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
467
		initEAttribute(getApplicationClient_MetadataComplete(), theXMLTypePackage.getBoolean(), "metadataComplete", null, 0, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
500
		initEAttribute(getApplicationClient_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
468
		initEAttribute(getApplicationClient_Version(), theJavaeePackage.getDeweyVersionType(), "version", "5", 1, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
501
		initEAttribute(getApplicationClient_MetadataComplete(), theXMLTypePackage.getBoolean(), "metadataComplete", null, 0, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
502
		initEAttribute(getApplicationClient_Version(), theJavaeePackage.getDeweyVersionType(), "version", "6", 1, 1, ApplicationClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
469
503
470
		initEClass(applicationClientDeploymentDescriptorEClass, ApplicationClientDeploymentDescriptor.class, "ApplicationClientDeploymentDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
504
		initEClass(applicationClientDeploymentDescriptorEClass, ApplicationClientDeploymentDescriptor.class, "ApplicationClientDeploymentDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
471
		initEAttribute(getApplicationClientDeploymentDescriptor_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
505
		initEAttribute(getApplicationClientDeploymentDescriptor_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
Lines 495-500 Link Here
495
		   new String[] {
529
		   new String[] {
496
			 "name", "application-clientType", //$NON-NLS-1$ //$NON-NLS-2$
530
			 "name", "application-clientType", //$NON-NLS-1$ //$NON-NLS-2$
497
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
531
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
532
		   });			
533
		addAnnotation
534
		  (getApplicationClient_ModuleName(), 
535
		   source, 
536
		   new String[] {
537
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
538
			 "name", "module-name", //$NON-NLS-1$ //$NON-NLS-2$
539
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
498
		   });		
540
		   });		
499
		addAnnotation
541
		addAnnotation
500
		  (getApplicationClient_Descriptions(), 
542
		  (getApplicationClient_Descriptions(), 
Lines 607-612 Link Here
607
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
649
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
608
			 "name", "message-destination", //$NON-NLS-1$ //$NON-NLS-2$
650
			 "name", "message-destination", //$NON-NLS-1$ //$NON-NLS-2$
609
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
651
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
652
		   });			
653
		addAnnotation
654
		  (getApplicationClient_DataSource(), 
655
		   source, 
656
		   new String[] {
657
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
658
			 "name", "data-source", //$NON-NLS-1$ //$NON-NLS-2$
659
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
610
		   });		
660
		   });		
611
		addAnnotation
661
		addAnnotation
612
		  (getApplicationClient_Id(), 
662
		  (getApplicationClient_Id(), 
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/impl/ApplicationClientImpl.java (-71 / +163 lines)
Lines 31-36 Link Here
31
31
32
import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage;
32
import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage;
33
33
34
import org.eclipse.jst.javaee.core.DataSourceType;
34
import org.eclipse.jst.javaee.core.Description;
35
import org.eclipse.jst.javaee.core.Description;
35
import org.eclipse.jst.javaee.core.DisplayName;
36
import org.eclipse.jst.javaee.core.DisplayName;
36
import org.eclipse.jst.javaee.core.EjbRef;
37
import org.eclipse.jst.javaee.core.EjbRef;
Lines 51-56 Link Here
51
 * <p>
52
 * <p>
52
 * The following features are implemented:
53
 * The following features are implemented:
53
 * <ul>
54
 * <ul>
55
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getModuleName <em>Module Name</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getDescriptions <em>Descriptions</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getDescriptions <em>Descriptions</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getDisplayNames <em>Display Names</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getDisplayNames <em>Display Names</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getIcons <em>Icons</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getIcons <em>Icons</em>}</li>
Lines 65-70 Link Here
65
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getPreDestroys <em>Pre Destroys</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getPreDestroys <em>Pre Destroys</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getCallbackHandler <em>Callback Handler</em>}</li>
68
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getCallbackHandler <em>Callback Handler</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getMessageDestinations <em>Message Destinations</em>}</li>
69
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getMessageDestinations <em>Message Destinations</em>}</li>
70
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getDataSource <em>Data Source</em>}</li>
68
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getId <em>Id</em>}</li>
71
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getId <em>Id</em>}</li>
69
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#isMetadataComplete <em>Metadata Complete</em>}</li>
72
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#isMetadataComplete <em>Metadata Complete</em>}</li>
70
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getVersion <em>Version</em>}</li>
73
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientImpl#getVersion <em>Version</em>}</li>
Lines 75-80 Link Here
75
 */
78
 */
76
public class ApplicationClientImpl extends EObjectImpl implements ApplicationClient {
79
public class ApplicationClientImpl extends EObjectImpl implements ApplicationClient {
77
	/**
80
	/**
81
	 * The default value of the '{@link #getModuleName() <em>Module Name</em>}' attribute.
82
	 * <!-- begin-user-doc -->
83
	 * <!-- end-user-doc -->
84
	 * @see #getModuleName()
85
	 * @generated
86
	 * @ordered
87
	 */
88
	protected static final String MODULE_NAME_EDEFAULT = null;
89
90
	/**
91
	 * The cached value of the '{@link #getModuleName() <em>Module Name</em>}' attribute.
92
	 * <!-- begin-user-doc -->
93
	 * <!-- end-user-doc -->
94
	 * @see #getModuleName()
95
	 * @generated
96
	 * @ordered
97
	 */
98
	protected String moduleName = MODULE_NAME_EDEFAULT;
99
100
	/**
78
	 * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
101
	 * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
79
	 * <!-- begin-user-doc -->
102
	 * <!-- begin-user-doc -->
80
	 * <!-- end-user-doc -->
103
	 * <!-- end-user-doc -->
Lines 82-88 Link Here
82
	 * @generated
105
	 * @generated
83
	 * @ordered
106
	 * @ordered
84
	 */
107
	 */
85
	protected EList descriptions = null;
108
	protected EList<Description> descriptions;
86
109
87
	/**
110
	/**
88
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
111
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
Lines 92-98 Link Here
92
	 * @generated
115
	 * @generated
93
	 * @ordered
116
	 * @ordered
94
	 */
117
	 */
95
	protected EList displayNames = null;
118
	protected EList<DisplayName> displayNames;
96
119
97
	/**
120
	/**
98
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
121
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
Lines 102-108 Link Here
102
	 * @generated
125
	 * @generated
103
	 * @ordered
126
	 * @ordered
104
	 */
127
	 */
105
	protected EList icons = null;
128
	protected EList<Icon> icons;
106
129
107
	/**
130
	/**
108
	 * The cached value of the '{@link #getEnvEntries() <em>Env Entries</em>}' containment reference list.
131
	 * The cached value of the '{@link #getEnvEntries() <em>Env Entries</em>}' containment reference list.
Lines 112-118 Link Here
112
	 * @generated
135
	 * @generated
113
	 * @ordered
136
	 * @ordered
114
	 */
137
	 */
115
	protected EList envEntries = null;
138
	protected EList<EnvEntry> envEntries;
116
139
117
	/**
140
	/**
118
	 * The cached value of the '{@link #getEjbRefs() <em>Ejb Refs</em>}' containment reference list.
141
	 * The cached value of the '{@link #getEjbRefs() <em>Ejb Refs</em>}' containment reference list.
Lines 122-128 Link Here
122
	 * @generated
145
	 * @generated
123
	 * @ordered
146
	 * @ordered
124
	 */
147
	 */
125
	protected EList ejbRefs = null;
148
	protected EList<EjbRef> ejbRefs;
126
149
127
	/**
150
	/**
128
	 * The cached value of the '{@link #getServiceRefs() <em>Service Refs</em>}' containment reference list.
151
	 * The cached value of the '{@link #getServiceRefs() <em>Service Refs</em>}' containment reference list.
Lines 132-138 Link Here
132
	 * @generated
155
	 * @generated
133
	 * @ordered
156
	 * @ordered
134
	 */
157
	 */
135
	protected EList serviceRefs = null;
158
	protected EList<ServiceRef> serviceRefs;
136
159
137
	/**
160
	/**
138
	 * The cached value of the '{@link #getResourceRefs() <em>Resource Refs</em>}' containment reference list.
161
	 * The cached value of the '{@link #getResourceRefs() <em>Resource Refs</em>}' containment reference list.
Lines 142-148 Link Here
142
	 * @generated
165
	 * @generated
143
	 * @ordered
166
	 * @ordered
144
	 */
167
	 */
145
	protected EList resourceRefs = null;
168
	protected EList<ResourceRef> resourceRefs;
146
169
147
	/**
170
	/**
148
	 * The cached value of the '{@link #getResourceEnvRefs() <em>Resource Env Refs</em>}' containment reference list.
171
	 * The cached value of the '{@link #getResourceEnvRefs() <em>Resource Env Refs</em>}' containment reference list.
Lines 152-158 Link Here
152
	 * @generated
175
	 * @generated
153
	 * @ordered
176
	 * @ordered
154
	 */
177
	 */
155
	protected EList resourceEnvRefs = null;
178
	protected EList<ResourceEnvRef> resourceEnvRefs;
156
179
157
	/**
180
	/**
158
	 * The cached value of the '{@link #getMessageDestinationRefs() <em>Message Destination Refs</em>}' containment reference list.
181
	 * The cached value of the '{@link #getMessageDestinationRefs() <em>Message Destination Refs</em>}' containment reference list.
Lines 162-168 Link Here
162
	 * @generated
185
	 * @generated
163
	 * @ordered
186
	 * @ordered
164
	 */
187
	 */
165
	protected EList messageDestinationRefs = null;
188
	protected EList<MessageDestinationRef> messageDestinationRefs;
166
189
167
	/**
190
	/**
168
	 * The cached value of the '{@link #getPersistenceUnitRefs() <em>Persistence Unit Refs</em>}' containment reference list.
191
	 * The cached value of the '{@link #getPersistenceUnitRefs() <em>Persistence Unit Refs</em>}' containment reference list.
Lines 172-178 Link Here
172
	 * @generated
195
	 * @generated
173
	 * @ordered
196
	 * @ordered
174
	 */
197
	 */
175
	protected EList persistenceUnitRefs = null;
198
	protected EList<PersistenceUnitRef> persistenceUnitRefs;
176
199
177
	/**
200
	/**
178
	 * The cached value of the '{@link #getPostConstructs() <em>Post Constructs</em>}' containment reference list.
201
	 * The cached value of the '{@link #getPostConstructs() <em>Post Constructs</em>}' containment reference list.
Lines 182-188 Link Here
182
	 * @generated
205
	 * @generated
183
	 * @ordered
206
	 * @ordered
184
	 */
207
	 */
185
	protected EList postConstructs = null;
208
	protected EList<LifecycleCallback> postConstructs;
186
209
187
	/**
210
	/**
188
	 * The cached value of the '{@link #getPreDestroys() <em>Pre Destroys</em>}' containment reference list.
211
	 * The cached value of the '{@link #getPreDestroys() <em>Pre Destroys</em>}' containment reference list.
Lines 192-198 Link Here
192
	 * @generated
215
	 * @generated
193
	 * @ordered
216
	 * @ordered
194
	 */
217
	 */
195
	protected EList preDestroys = null;
218
	protected EList<LifecycleCallback> preDestroys;
196
219
197
	/**
220
	/**
198
	 * The default value of the '{@link #getCallbackHandler() <em>Callback Handler</em>}' attribute.
221
	 * The default value of the '{@link #getCallbackHandler() <em>Callback Handler</em>}' attribute.
Lines 222-228 Link Here
222
	 * @generated
245
	 * @generated
223
	 * @ordered
246
	 * @ordered
224
	 */
247
	 */
225
	protected EList messageDestinations = null;
248
	protected EList<MessageDestination> messageDestinations;
249
250
	/**
251
	 * The cached value of the '{@link #getDataSource() <em>Data Source</em>}' containment reference list.
252
	 * <!-- begin-user-doc -->
253
	 * <!-- end-user-doc -->
254
	 * @see #getDataSource()
255
	 * @generated
256
	 * @ordered
257
	 */
258
	protected EList<DataSourceType> dataSource;
226
259
227
	/**
260
	/**
228
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
261
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 271-277 Link Here
271
	 * @generated
304
	 * @generated
272
	 * @ordered
305
	 * @ordered
273
	 */
306
	 */
274
	protected boolean metadataCompleteESet = false;
307
	protected boolean metadataCompleteESet;
275
308
276
	/**
309
	/**
277
	 * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
310
	 * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
Lines 281-287 Link Here
281
	 * @generated
314
	 * @generated
282
	 * @ordered
315
	 * @ordered
283
	 */
316
	 */
284
	protected static final String VERSION_EDEFAULT = "5"; //$NON-NLS-1$
317
	protected static final String VERSION_EDEFAULT = "6"; //$NON-NLS-1$
285
318
286
	/**
319
	/**
287
	 * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
320
	 * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
Lines 300-306 Link Here
300
	 * @generated
333
	 * @generated
301
	 * @ordered
334
	 * @ordered
302
	 */
335
	 */
303
	protected boolean versionESet = false;
336
	protected boolean versionESet;
304
337
305
	/**
338
	/**
306
	 * <!-- begin-user-doc -->
339
	 * <!-- begin-user-doc -->
Lines 326-334 Link Here
326
	 * <!-- end-user-doc -->
359
	 * <!-- end-user-doc -->
327
	 * @generated
360
	 * @generated
328
	 */
361
	 */
329
	public List getDescriptions() {
362
	public String getModuleName() {
363
		return moduleName;
364
	}
365
366
	/**
367
	 * <!-- begin-user-doc -->
368
	 * <!-- end-user-doc -->
369
	 * @generated
370
	 */
371
	public void setModuleName(String newModuleName) {
372
		String oldModuleName = moduleName;
373
		moduleName = newModuleName;
374
		if (eNotificationRequired())
375
			eNotify(new ENotificationImpl(this, Notification.SET, ApplicationclientPackage.APPLICATION_CLIENT__MODULE_NAME, oldModuleName, moduleName));
376
	}
377
378
	/**
379
	 * <!-- begin-user-doc -->
380
	 * <!-- end-user-doc -->
381
	 * @generated
382
	 */
383
	public List<Description> getDescriptions() {
330
		if (descriptions == null) {
384
		if (descriptions == null) {
331
			descriptions = new EObjectContainmentEList(Description.class, this, ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS);
385
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS);
332
		}
386
		}
333
		return descriptions;
387
		return descriptions;
334
	}
388
	}
Lines 338-346 Link Here
338
	 * <!-- end-user-doc -->
392
	 * <!-- end-user-doc -->
339
	 * @generated
393
	 * @generated
340
	 */
394
	 */
341
	public List getDisplayNames() {
395
	public List<DisplayName> getDisplayNames() {
342
		if (displayNames == null) {
396
		if (displayNames == null) {
343
			displayNames = new EObjectContainmentEList(DisplayName.class, this, ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES);
397
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES);
344
		}
398
		}
345
		return displayNames;
399
		return displayNames;
346
	}
400
	}
Lines 350-358 Link Here
350
	 * <!-- end-user-doc -->
404
	 * <!-- end-user-doc -->
351
	 * @generated
405
	 * @generated
352
	 */
406
	 */
353
	public List getIcons() {
407
	public List<Icon> getIcons() {
354
		if (icons == null) {
408
		if (icons == null) {
355
			icons = new EObjectContainmentEList(Icon.class, this, ApplicationclientPackage.APPLICATION_CLIENT__ICONS);
409
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, ApplicationclientPackage.APPLICATION_CLIENT__ICONS);
356
		}
410
		}
357
		return icons;
411
		return icons;
358
	}
412
	}
Lines 362-370 Link Here
362
	 * <!-- end-user-doc -->
416
	 * <!-- end-user-doc -->
363
	 * @generated
417
	 * @generated
364
	 */
418
	 */
365
	public List getEnvEntries() {
419
	public List<EnvEntry> getEnvEntries() {
366
		if (envEntries == null) {
420
		if (envEntries == null) {
367
			envEntries = new EObjectContainmentEList(EnvEntry.class, this, ApplicationclientPackage.APPLICATION_CLIENT__ENV_ENTRIES);
421
			envEntries = new EObjectContainmentEList<EnvEntry>(EnvEntry.class, this, ApplicationclientPackage.APPLICATION_CLIENT__ENV_ENTRIES);
368
		}
422
		}
369
		return envEntries;
423
		return envEntries;
370
	}
424
	}
Lines 374-382 Link Here
374
	 * <!-- end-user-doc -->
428
	 * <!-- end-user-doc -->
375
	 * @generated
429
	 * @generated
376
	 */
430
	 */
377
	public List getEjbRefs() {
431
	public List<EjbRef> getEjbRefs() {
378
		if (ejbRefs == null) {
432
		if (ejbRefs == null) {
379
			ejbRefs = new EObjectContainmentEList(EjbRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__EJB_REFS);
433
			ejbRefs = new EObjectContainmentEList<EjbRef>(EjbRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__EJB_REFS);
380
		}
434
		}
381
		return ejbRefs;
435
		return ejbRefs;
382
	}
436
	}
Lines 386-394 Link Here
386
	 * <!-- end-user-doc -->
440
	 * <!-- end-user-doc -->
387
	 * @generated
441
	 * @generated
388
	 */
442
	 */
389
	public List getServiceRefs() {
443
	public List<ServiceRef> getServiceRefs() {
390
		if (serviceRefs == null) {
444
		if (serviceRefs == null) {
391
			serviceRefs = new EObjectContainmentEList(ServiceRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__SERVICE_REFS);
445
			serviceRefs = new EObjectContainmentEList<ServiceRef>(ServiceRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__SERVICE_REFS);
392
		}
446
		}
393
		return serviceRefs;
447
		return serviceRefs;
394
	}
448
	}
Lines 398-406 Link Here
398
	 * <!-- end-user-doc -->
452
	 * <!-- end-user-doc -->
399
	 * @generated
453
	 * @generated
400
	 */
454
	 */
401
	public List getResourceRefs() {
455
	public List<ResourceRef> getResourceRefs() {
402
		if (resourceRefs == null) {
456
		if (resourceRefs == null) {
403
			resourceRefs = new EObjectContainmentEList(ResourceRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_REFS);
457
			resourceRefs = new EObjectContainmentEList<ResourceRef>(ResourceRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_REFS);
404
		}
458
		}
405
		return resourceRefs;
459
		return resourceRefs;
406
	}
460
	}
Lines 410-418 Link Here
410
	 * <!-- end-user-doc -->
464
	 * <!-- end-user-doc -->
411
	 * @generated
465
	 * @generated
412
	 */
466
	 */
413
	public List getResourceEnvRefs() {
467
	public List<ResourceEnvRef> getResourceEnvRefs() {
414
		if (resourceEnvRefs == null) {
468
		if (resourceEnvRefs == null) {
415
			resourceEnvRefs = new EObjectContainmentEList(ResourceEnvRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_ENV_REFS);
469
			resourceEnvRefs = new EObjectContainmentEList<ResourceEnvRef>(ResourceEnvRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_ENV_REFS);
416
		}
470
		}
417
		return resourceEnvRefs;
471
		return resourceEnvRefs;
418
	}
472
	}
Lines 422-430 Link Here
422
	 * <!-- end-user-doc -->
476
	 * <!-- end-user-doc -->
423
	 * @generated
477
	 * @generated
424
	 */
478
	 */
425
	public List getMessageDestinationRefs() {
479
	public List<MessageDestinationRef> getMessageDestinationRefs() {
426
		if (messageDestinationRefs == null) {
480
		if (messageDestinationRefs == null) {
427
			messageDestinationRefs = new EObjectContainmentEList(MessageDestinationRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS);
481
			messageDestinationRefs = new EObjectContainmentEList<MessageDestinationRef>(MessageDestinationRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS);
428
		}
482
		}
429
		return messageDestinationRefs;
483
		return messageDestinationRefs;
430
	}
484
	}
Lines 434-442 Link Here
434
	 * <!-- end-user-doc -->
488
	 * <!-- end-user-doc -->
435
	 * @generated
489
	 * @generated
436
	 */
490
	 */
437
	public List getPersistenceUnitRefs() {
491
	public List<PersistenceUnitRef> getPersistenceUnitRefs() {
438
		if (persistenceUnitRefs == null) {
492
		if (persistenceUnitRefs == null) {
439
			persistenceUnitRefs = new EObjectContainmentEList(PersistenceUnitRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS);
493
			persistenceUnitRefs = new EObjectContainmentEList<PersistenceUnitRef>(PersistenceUnitRef.class, this, ApplicationclientPackage.APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS);
440
		}
494
		}
441
		return persistenceUnitRefs;
495
		return persistenceUnitRefs;
442
	}
496
	}
Lines 446-454 Link Here
446
	 * <!-- end-user-doc -->
500
	 * <!-- end-user-doc -->
447
	 * @generated
501
	 * @generated
448
	 */
502
	 */
449
	public List getPostConstructs() {
503
	public List<LifecycleCallback> getPostConstructs() {
450
		if (postConstructs == null) {
504
		if (postConstructs == null) {
451
			postConstructs = new EObjectContainmentEList(LifecycleCallback.class, this, ApplicationclientPackage.APPLICATION_CLIENT__POST_CONSTRUCTS);
505
			postConstructs = new EObjectContainmentEList<LifecycleCallback>(LifecycleCallback.class, this, ApplicationclientPackage.APPLICATION_CLIENT__POST_CONSTRUCTS);
452
		}
506
		}
453
		return postConstructs;
507
		return postConstructs;
454
	}
508
	}
Lines 458-466 Link Here
458
	 * <!-- end-user-doc -->
512
	 * <!-- end-user-doc -->
459
	 * @generated
513
	 * @generated
460
	 */
514
	 */
461
	public List getPreDestroys() {
515
	public List<LifecycleCallback> getPreDestroys() {
462
		if (preDestroys == null) {
516
		if (preDestroys == null) {
463
			preDestroys = new EObjectContainmentEList(LifecycleCallback.class, this, ApplicationclientPackage.APPLICATION_CLIENT__PRE_DESTROYS);
517
			preDestroys = new EObjectContainmentEList<LifecycleCallback>(LifecycleCallback.class, this, ApplicationclientPackage.APPLICATION_CLIENT__PRE_DESTROYS);
464
		}
518
		}
465
		return preDestroys;
519
		return preDestroys;
466
	}
520
	}
Lines 491-499 Link Here
491
	 * <!-- end-user-doc -->
545
	 * <!-- end-user-doc -->
492
	 * @generated
546
	 * @generated
493
	 */
547
	 */
494
	public List getMessageDestinations() {
548
	public List<MessageDestination> getMessageDestinations() {
495
		if (messageDestinations == null) {
549
		if (messageDestinations == null) {
496
			messageDestinations = new EObjectContainmentEList(MessageDestination.class, this, ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS);
550
			messageDestinations = new EObjectContainmentEList<MessageDestination>(MessageDestination.class, this, ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS);
497
		}
551
		}
498
		return messageDestinations;
552
		return messageDestinations;
499
	}
553
	}
Lines 503-508 Link Here
503
	 * <!-- end-user-doc -->
557
	 * <!-- end-user-doc -->
504
	 * @generated
558
	 * @generated
505
	 */
559
	 */
560
	public List<DataSourceType> getDataSource() {
561
		if (dataSource == null) {
562
			dataSource = new EObjectContainmentEList<DataSourceType>(DataSourceType.class, this, ApplicationclientPackage.APPLICATION_CLIENT__DATA_SOURCE);
563
		}
564
		return dataSource;
565
	}
566
567
	/**
568
	 * <!-- begin-user-doc -->
569
	 * <!-- end-user-doc -->
570
	 * @generated
571
	 */
506
	public String getId() {
572
	public String getId() {
507
		return id;
573
		return id;
508
	}
574
	}
Lines 620-650 Link Here
620
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
686
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
621
		switch (featureID) {
687
		switch (featureID) {
622
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
688
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
623
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
689
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
624
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
690
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
625
				return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
691
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
626
			case ApplicationclientPackage.APPLICATION_CLIENT__ICONS:
692
			case ApplicationclientPackage.APPLICATION_CLIENT__ICONS:
627
				return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
693
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
628
			case ApplicationclientPackage.APPLICATION_CLIENT__ENV_ENTRIES:
694
			case ApplicationclientPackage.APPLICATION_CLIENT__ENV_ENTRIES:
629
				return ((InternalEList)getEnvEntries()).basicRemove(otherEnd, msgs);
695
				return ((InternalEList<?>)getEnvEntries()).basicRemove(otherEnd, msgs);
630
			case ApplicationclientPackage.APPLICATION_CLIENT__EJB_REFS:
696
			case ApplicationclientPackage.APPLICATION_CLIENT__EJB_REFS:
631
				return ((InternalEList)getEjbRefs()).basicRemove(otherEnd, msgs);
697
				return ((InternalEList<?>)getEjbRefs()).basicRemove(otherEnd, msgs);
632
			case ApplicationclientPackage.APPLICATION_CLIENT__SERVICE_REFS:
698
			case ApplicationclientPackage.APPLICATION_CLIENT__SERVICE_REFS:
633
				return ((InternalEList)getServiceRefs()).basicRemove(otherEnd, msgs);
699
				return ((InternalEList<?>)getServiceRefs()).basicRemove(otherEnd, msgs);
634
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_REFS:
700
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_REFS:
635
				return ((InternalEList)getResourceRefs()).basicRemove(otherEnd, msgs);
701
				return ((InternalEList<?>)getResourceRefs()).basicRemove(otherEnd, msgs);
636
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_ENV_REFS:
702
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_ENV_REFS:
637
				return ((InternalEList)getResourceEnvRefs()).basicRemove(otherEnd, msgs);
703
				return ((InternalEList<?>)getResourceEnvRefs()).basicRemove(otherEnd, msgs);
638
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS:
704
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS:
639
				return ((InternalEList)getMessageDestinationRefs()).basicRemove(otherEnd, msgs);
705
				return ((InternalEList<?>)getMessageDestinationRefs()).basicRemove(otherEnd, msgs);
640
			case ApplicationclientPackage.APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS:
706
			case ApplicationclientPackage.APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS:
641
				return ((InternalEList)getPersistenceUnitRefs()).basicRemove(otherEnd, msgs);
707
				return ((InternalEList<?>)getPersistenceUnitRefs()).basicRemove(otherEnd, msgs);
642
			case ApplicationclientPackage.APPLICATION_CLIENT__POST_CONSTRUCTS:
708
			case ApplicationclientPackage.APPLICATION_CLIENT__POST_CONSTRUCTS:
643
				return ((InternalEList)getPostConstructs()).basicRemove(otherEnd, msgs);
709
				return ((InternalEList<?>)getPostConstructs()).basicRemove(otherEnd, msgs);
644
			case ApplicationclientPackage.APPLICATION_CLIENT__PRE_DESTROYS:
710
			case ApplicationclientPackage.APPLICATION_CLIENT__PRE_DESTROYS:
645
				return ((InternalEList)getPreDestroys()).basicRemove(otherEnd, msgs);
711
				return ((InternalEList<?>)getPreDestroys()).basicRemove(otherEnd, msgs);
646
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
712
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
647
				return ((InternalEList)getMessageDestinations()).basicRemove(otherEnd, msgs);
713
				return ((InternalEList<?>)getMessageDestinations()).basicRemove(otherEnd, msgs);
714
			case ApplicationclientPackage.APPLICATION_CLIENT__DATA_SOURCE:
715
				return ((InternalEList<?>)getDataSource()).basicRemove(otherEnd, msgs);
648
		}
716
		}
649
		return super.eInverseRemove(otherEnd, featureID, msgs);
717
		return super.eInverseRemove(otherEnd, featureID, msgs);
650
	}
718
	}
Lines 657-662 Link Here
657
	@Override
725
	@Override
658
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
726
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
659
		switch (featureID) {
727
		switch (featureID) {
728
			case ApplicationclientPackage.APPLICATION_CLIENT__MODULE_NAME:
729
				return getModuleName();
660
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
730
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
661
				return getDescriptions();
731
				return getDescriptions();
662
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
732
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
Lines 685-694 Link Here
685
				return getCallbackHandler();
755
				return getCallbackHandler();
686
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
756
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
687
				return getMessageDestinations();
757
				return getMessageDestinations();
758
			case ApplicationclientPackage.APPLICATION_CLIENT__DATA_SOURCE:
759
				return getDataSource();
688
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
760
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
689
				return getId();
761
				return getId();
690
			case ApplicationclientPackage.APPLICATION_CLIENT__METADATA_COMPLETE:
762
			case ApplicationclientPackage.APPLICATION_CLIENT__METADATA_COMPLETE:
691
				return isMetadataComplete() ? Boolean.TRUE : Boolean.FALSE;
763
				return isMetadataComplete();
692
			case ApplicationclientPackage.APPLICATION_CLIENT__VERSION:
764
			case ApplicationclientPackage.APPLICATION_CLIENT__VERSION:
693
				return getVersion();
765
				return getVersion();
694
		}
766
		}
Lines 700-768 Link Here
700
	 * <!-- end-user-doc -->
772
	 * <!-- end-user-doc -->
701
	 * @generated
773
	 * @generated
702
	 */
774
	 */
775
	@SuppressWarnings("unchecked")
703
	@Override
776
	@Override
704
	public void eSet(int featureID, Object newValue) {
777
	public void eSet(int featureID, Object newValue) {
705
		switch (featureID) {
778
		switch (featureID) {
779
			case ApplicationclientPackage.APPLICATION_CLIENT__MODULE_NAME:
780
				setModuleName((String)newValue);
781
				return;
706
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
782
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
707
				getDescriptions().clear();
783
				getDescriptions().clear();
708
				getDescriptions().addAll((Collection)newValue);
784
				getDescriptions().addAll((Collection<? extends Description>)newValue);
709
				return;
785
				return;
710
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
786
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
711
				getDisplayNames().clear();
787
				getDisplayNames().clear();
712
				getDisplayNames().addAll((Collection)newValue);
788
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
713
				return;
789
				return;
714
			case ApplicationclientPackage.APPLICATION_CLIENT__ICONS:
790
			case ApplicationclientPackage.APPLICATION_CLIENT__ICONS:
715
				getIcons().clear();
791
				getIcons().clear();
716
				getIcons().addAll((Collection)newValue);
792
				getIcons().addAll((Collection<? extends Icon>)newValue);
717
				return;
793
				return;
718
			case ApplicationclientPackage.APPLICATION_CLIENT__ENV_ENTRIES:
794
			case ApplicationclientPackage.APPLICATION_CLIENT__ENV_ENTRIES:
719
				getEnvEntries().clear();
795
				getEnvEntries().clear();
720
				getEnvEntries().addAll((Collection)newValue);
796
				getEnvEntries().addAll((Collection<? extends EnvEntry>)newValue);
721
				return;
797
				return;
722
			case ApplicationclientPackage.APPLICATION_CLIENT__EJB_REFS:
798
			case ApplicationclientPackage.APPLICATION_CLIENT__EJB_REFS:
723
				getEjbRefs().clear();
799
				getEjbRefs().clear();
724
				getEjbRefs().addAll((Collection)newValue);
800
				getEjbRefs().addAll((Collection<? extends EjbRef>)newValue);
725
				return;
801
				return;
726
			case ApplicationclientPackage.APPLICATION_CLIENT__SERVICE_REFS:
802
			case ApplicationclientPackage.APPLICATION_CLIENT__SERVICE_REFS:
727
				getServiceRefs().clear();
803
				getServiceRefs().clear();
728
				getServiceRefs().addAll((Collection)newValue);
804
				getServiceRefs().addAll((Collection<? extends ServiceRef>)newValue);
729
				return;
805
				return;
730
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_REFS:
806
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_REFS:
731
				getResourceRefs().clear();
807
				getResourceRefs().clear();
732
				getResourceRefs().addAll((Collection)newValue);
808
				getResourceRefs().addAll((Collection<? extends ResourceRef>)newValue);
733
				return;
809
				return;
734
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_ENV_REFS:
810
			case ApplicationclientPackage.APPLICATION_CLIENT__RESOURCE_ENV_REFS:
735
				getResourceEnvRefs().clear();
811
				getResourceEnvRefs().clear();
736
				getResourceEnvRefs().addAll((Collection)newValue);
812
				getResourceEnvRefs().addAll((Collection<? extends ResourceEnvRef>)newValue);
737
				return;
813
				return;
738
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS:
814
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS:
739
				getMessageDestinationRefs().clear();
815
				getMessageDestinationRefs().clear();
740
				getMessageDestinationRefs().addAll((Collection)newValue);
816
				getMessageDestinationRefs().addAll((Collection<? extends MessageDestinationRef>)newValue);
741
				return;
817
				return;
742
			case ApplicationclientPackage.APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS:
818
			case ApplicationclientPackage.APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS:
743
				getPersistenceUnitRefs().clear();
819
				getPersistenceUnitRefs().clear();
744
				getPersistenceUnitRefs().addAll((Collection)newValue);
820
				getPersistenceUnitRefs().addAll((Collection<? extends PersistenceUnitRef>)newValue);
745
				return;
821
				return;
746
			case ApplicationclientPackage.APPLICATION_CLIENT__POST_CONSTRUCTS:
822
			case ApplicationclientPackage.APPLICATION_CLIENT__POST_CONSTRUCTS:
747
				getPostConstructs().clear();
823
				getPostConstructs().clear();
748
				getPostConstructs().addAll((Collection)newValue);
824
				getPostConstructs().addAll((Collection<? extends LifecycleCallback>)newValue);
749
				return;
825
				return;
750
			case ApplicationclientPackage.APPLICATION_CLIENT__PRE_DESTROYS:
826
			case ApplicationclientPackage.APPLICATION_CLIENT__PRE_DESTROYS:
751
				getPreDestroys().clear();
827
				getPreDestroys().clear();
752
				getPreDestroys().addAll((Collection)newValue);
828
				getPreDestroys().addAll((Collection<? extends LifecycleCallback>)newValue);
753
				return;
829
				return;
754
			case ApplicationclientPackage.APPLICATION_CLIENT__CALLBACK_HANDLER:
830
			case ApplicationclientPackage.APPLICATION_CLIENT__CALLBACK_HANDLER:
755
				setCallbackHandler((String)newValue);
831
				setCallbackHandler((String)newValue);
756
				return;
832
				return;
757
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
833
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
758
				getMessageDestinations().clear();
834
				getMessageDestinations().clear();
759
				getMessageDestinations().addAll((Collection)newValue);
835
				getMessageDestinations().addAll((Collection<? extends MessageDestination>)newValue);
836
				return;
837
			case ApplicationclientPackage.APPLICATION_CLIENT__DATA_SOURCE:
838
				getDataSource().clear();
839
				getDataSource().addAll((Collection<? extends DataSourceType>)newValue);
760
				return;
840
				return;
761
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
841
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
762
				setId((String)newValue);
842
				setId((String)newValue);
763
				return;
843
				return;
764
			case ApplicationclientPackage.APPLICATION_CLIENT__METADATA_COMPLETE:
844
			case ApplicationclientPackage.APPLICATION_CLIENT__METADATA_COMPLETE:
765
				setMetadataComplete(((Boolean)newValue).booleanValue());
845
				setMetadataComplete((Boolean)newValue);
766
				return;
846
				return;
767
			case ApplicationclientPackage.APPLICATION_CLIENT__VERSION:
847
			case ApplicationclientPackage.APPLICATION_CLIENT__VERSION:
768
				setVersion((String)newValue);
848
				setVersion((String)newValue);
Lines 779-784 Link Here
779
	@Override
859
	@Override
780
	public void eUnset(int featureID) {
860
	public void eUnset(int featureID) {
781
		switch (featureID) {
861
		switch (featureID) {
862
			case ApplicationclientPackage.APPLICATION_CLIENT__MODULE_NAME:
863
				setModuleName(MODULE_NAME_EDEFAULT);
864
				return;
782
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
865
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
783
				getDescriptions().clear();
866
				getDescriptions().clear();
784
				return;
867
				return;
Lines 821-826 Link Here
821
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
904
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
822
				getMessageDestinations().clear();
905
				getMessageDestinations().clear();
823
				return;
906
				return;
907
			case ApplicationclientPackage.APPLICATION_CLIENT__DATA_SOURCE:
908
				getDataSource().clear();
909
				return;
824
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
910
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
825
				setId(ID_EDEFAULT);
911
				setId(ID_EDEFAULT);
826
				return;
912
				return;
Lines 842-847 Link Here
842
	@Override
928
	@Override
843
	public boolean eIsSet(int featureID) {
929
	public boolean eIsSet(int featureID) {
844
		switch (featureID) {
930
		switch (featureID) {
931
			case ApplicationclientPackage.APPLICATION_CLIENT__MODULE_NAME:
932
				return MODULE_NAME_EDEFAULT == null ? moduleName != null : !MODULE_NAME_EDEFAULT.equals(moduleName);
845
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
933
			case ApplicationclientPackage.APPLICATION_CLIENT__DESCRIPTIONS:
846
				return descriptions != null && !descriptions.isEmpty();
934
				return descriptions != null && !descriptions.isEmpty();
847
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
935
			case ApplicationclientPackage.APPLICATION_CLIENT__DISPLAY_NAMES:
Lines 870-875 Link Here
870
				return CALLBACK_HANDLER_EDEFAULT == null ? callbackHandler != null : !CALLBACK_HANDLER_EDEFAULT.equals(callbackHandler);
958
				return CALLBACK_HANDLER_EDEFAULT == null ? callbackHandler != null : !CALLBACK_HANDLER_EDEFAULT.equals(callbackHandler);
871
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
959
			case ApplicationclientPackage.APPLICATION_CLIENT__MESSAGE_DESTINATIONS:
872
				return messageDestinations != null && !messageDestinations.isEmpty();
960
				return messageDestinations != null && !messageDestinations.isEmpty();
961
			case ApplicationclientPackage.APPLICATION_CLIENT__DATA_SOURCE:
962
				return dataSource != null && !dataSource.isEmpty();
873
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
963
			case ApplicationclientPackage.APPLICATION_CLIENT__ID:
874
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
964
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
875
			case ApplicationclientPackage.APPLICATION_CLIENT__METADATA_COMPLETE:
965
			case ApplicationclientPackage.APPLICATION_CLIENT__METADATA_COMPLETE:
Lines 890-896 Link Here
890
		if (eIsProxy()) return super.toString();
980
		if (eIsProxy()) return super.toString();
891
981
892
		StringBuffer result = new StringBuffer(super.toString());
982
		StringBuffer result = new StringBuffer(super.toString());
893
		result.append(" (callbackHandler: "); //$NON-NLS-1$
983
		result.append(" (moduleName: "); //$NON-NLS-1$
984
		result.append(moduleName);
985
		result.append(", callbackHandler: "); //$NON-NLS-1$
894
		result.append(callbackHandler);
986
		result.append(callbackHandler);
895
		result.append(", id: "); //$NON-NLS-1$
987
		result.append(", id: "); //$NON-NLS-1$
896
		result.append(id);
988
		result.append(id);
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/impl/ApplicationclientFactoryImpl.java (+1 lines)
Lines 108-113 Link Here
108
	 * @deprecated
108
	 * @deprecated
109
	 * @generated
109
	 * @generated
110
	 */
110
	 */
111
	@Deprecated
111
	public static ApplicationclientPackage getPackage() {
112
	public static ApplicationclientPackage getPackage() {
112
		return ApplicationclientPackage.eINSTANCE;
113
		return ApplicationclientPackage.eINSTANCE;
113
	}
114
	}
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/impl/ApplicationClientDeploymentDescriptorImpl.java (-14 / +14 lines)
Lines 59-65 Link Here
59
	 * @generated
59
	 * @generated
60
	 * @ordered
60
	 * @ordered
61
	 */
61
	 */
62
	protected FeatureMap mixed = null;
62
	protected FeatureMap mixed;
63
63
64
	/**
64
	/**
65
	 * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
65
	 * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
Lines 69-75 Link Here
69
	 * @generated
69
	 * @generated
70
	 * @ordered
70
	 * @ordered
71
	 */
71
	 */
72
	protected EMap xMLNSPrefixMap = null;
72
	protected EMap<String, String> xMLNSPrefixMap;
73
73
74
	/**
74
	/**
75
	 * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
75
	 * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
Lines 79-85 Link Here
79
	 * @generated
79
	 * @generated
80
	 * @ordered
80
	 * @ordered
81
	 */
81
	 */
82
	protected EMap xSISchemaLocation = null;
82
	protected EMap<String, String> xSISchemaLocation;
83
83
84
	/**
84
	/**
85
	 * <!-- begin-user-doc -->
85
	 * <!-- begin-user-doc -->
Lines 117-125 Link Here
117
	 * <!-- end-user-doc -->
117
	 * <!-- end-user-doc -->
118
	 * @generated
118
	 * @generated
119
	 */
119
	 */
120
	public Map getXMLNSPrefixMap() {
120
	public Map<String, String> getXMLNSPrefixMap() {
121
		if (xMLNSPrefixMap == null) {
121
		if (xMLNSPrefixMap == null) {
122
			xMLNSPrefixMap = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP);
122
			xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP);
123
		}
123
		}
124
		return xMLNSPrefixMap.map();
124
		return xMLNSPrefixMap.map();
125
	}
125
	}
Lines 129-137 Link Here
129
	 * <!-- end-user-doc -->
129
	 * <!-- end-user-doc -->
130
	 * @generated
130
	 * @generated
131
	 */
131
	 */
132
	public Map getXSISchemaLocation() {
132
	public Map<String, String> getXSISchemaLocation() {
133
		if (xSISchemaLocation == null) {
133
		if (xSISchemaLocation == null) {
134
			xSISchemaLocation = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION);
134
			xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION);
135
		}
135
		}
136
		return xSISchemaLocation.map();
136
		return xSISchemaLocation.map();
137
	}
137
	}
Lines 172-182 Link Here
172
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
172
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
173
		switch (featureID) {
173
		switch (featureID) {
174
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__MIXED:
174
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__MIXED:
175
				return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
175
				return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
176
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
176
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
177
				return ((InternalEList)((EMap.InternalMapView)getXMLNSPrefixMap()).eMap()).basicRemove(otherEnd, msgs);
177
				return ((InternalEList<?>)((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap()).basicRemove(otherEnd, msgs);
178
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
178
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
179
				return ((InternalEList)((EMap.InternalMapView)getXSISchemaLocation()).eMap()).basicRemove(otherEnd, msgs);
179
				return ((InternalEList<?>)((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap()).basicRemove(otherEnd, msgs);
180
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__APPLICATION_CLIENT:
180
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__APPLICATION_CLIENT:
181
				return basicSetApplicationClient(null, msgs);
181
				return basicSetApplicationClient(null, msgs);
182
		}
182
		}
Lines 195-204 Link Here
195
				if (coreType) return getMixed();
195
				if (coreType) return getMixed();
196
				return ((FeatureMap.Internal)getMixed()).getWrapper();
196
				return ((FeatureMap.Internal)getMixed()).getWrapper();
197
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
197
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
198
				if (coreType) return ((EMap.InternalMapView)getXMLNSPrefixMap()).eMap();
198
				if (coreType) return ((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap();
199
				else return getXMLNSPrefixMap();
199
				else return getXMLNSPrefixMap();
200
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
200
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
201
				if (coreType) return ((EMap.InternalMapView)getXSISchemaLocation()).eMap();
201
				if (coreType) return ((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap();
202
				else return getXSISchemaLocation();
202
				else return getXSISchemaLocation();
203
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__APPLICATION_CLIENT:
203
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__APPLICATION_CLIENT:
204
				return getApplicationClient();
204
				return getApplicationClient();
Lines 218-227 Link Here
218
				((FeatureMap.Internal)getMixed()).set(newValue);
218
				((FeatureMap.Internal)getMixed()).set(newValue);
219
				return;
219
				return;
220
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
220
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
221
				((EStructuralFeature.Setting)((EMap.InternalMapView)getXMLNSPrefixMap()).eMap()).set(newValue);
221
				((EStructuralFeature.Setting)((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap()).set(newValue);
222
				return;
222
				return;
223
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
223
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
224
				((EStructuralFeature.Setting)((EMap.InternalMapView)getXSISchemaLocation()).eMap()).set(newValue);
224
				((EStructuralFeature.Setting)((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap()).set(newValue);
225
				return;
225
				return;
226
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__APPLICATION_CLIENT:
226
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR__APPLICATION_CLIENT:
227
				setApplicationClient((ApplicationClient)newValue);
227
				setApplicationClient((ApplicationClient)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/PersistenceContextType.java (-34 / +94 lines)
Lines 14-20 Link Here
14
import java.util.Collections;
14
import java.util.Collections;
15
import java.util.List;
15
import java.util.List;
16
16
17
import org.eclipse.emf.common.util.AbstractEnumerator;
17
import org.eclipse.emf.common.util.Enumerator;
18
18
19
/**
19
/**
20
 * <!-- begin-user-doc -->
20
 * <!-- begin-user-doc -->
Lines 24-43 Link Here
24
 * <!-- begin-model-doc -->
24
 * <!-- begin-model-doc -->
25
 * 
25
 * 
26
 * 
26
 * 
27
 * 	The persistence-context-typeType specifies the transactional
27
 *         The persistence-context-typeType specifies the transactional
28
 * 	nature of a persistence context reference.
28
 *         nature of a persistence context reference.  
29
 * 
29
 *         
30
 * 	The value of the persistence-context-type element must be
30
 *         The value of the persistence-context-type element must be
31
 * 	one of the following:
31
 *         one of the following:
32
 * 	    Transaction
32
 *         Transaction
33
 *             Extended
33
 *         Extended
34
 * 
34
 *         
35
 *         @since Java EE 5
35
 *       
36
 *       
36
 * <!-- end-model-doc -->
37
 * <!-- end-model-doc -->
37
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextType()
38
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextType()
38
 * @generated
39
 * @generated
39
 */
40
 */
40
public final class PersistenceContextType extends AbstractEnumerator {
41
public enum PersistenceContextType implements Enumerator
42
{
43
	/**
44
	 * The '<em><b>Transaction</b></em>' literal object.
45
	 * <!-- begin-user-doc -->
46
	 * <!-- end-user-doc -->
47
	 * @see #TRANSACTION
48
	 * @generated
49
	 * @ordered
50
	 */
51
	TRANSACTION_LITERAL(0, "Transaction", "Transaction"), //$NON-NLS-1$ //$NON-NLS-2$
52
	/**
53
	 * The '<em><b>Extended</b></em>' literal object.
54
	 * <!-- begin-user-doc -->
55
	 * <!-- end-user-doc -->
56
	 * @see #EXTENDED
57
	 * @generated
58
	 * @ordered
59
	 */
60
	EXTENDED_LITERAL(1, "Extended", "Extended"); //$NON-NLS-1$ //$NON-NLS-2$
41
	/**
61
	/**
42
	 * The '<em><b>Transaction</b></em>' literal value.
62
	 * The '<em><b>Transaction</b></em>' literal value.
43
	 * <!-- begin-user-doc -->
63
	 * <!-- begin-user-doc -->
Lines 67-92 Link Here
67
	public static final int EXTENDED = 1;
87
	public static final int EXTENDED = 1;
68
88
69
	/**
89
	/**
70
	 * The '<em><b>Transaction</b></em>' literal object.
71
	 * <!-- begin-user-doc -->
72
	 * <!-- end-user-doc -->
73
	 * @see #TRANSACTION
74
	 * @generated
75
	 * @ordered
76
	 */
77
	public static final PersistenceContextType TRANSACTION_LITERAL = new PersistenceContextType(TRANSACTION, "Transaction", "Transaction"); //$NON-NLS-1$ //$NON-NLS-2$
78
79
	/**
80
	 * The '<em><b>Extended</b></em>' literal object.
81
	 * <!-- begin-user-doc -->
82
	 * <!-- end-user-doc -->
83
	 * @see #EXTENDED
84
	 * @generated
85
	 * @ordered
86
	 */
87
	public static final PersistenceContextType EXTENDED_LITERAL = new PersistenceContextType(EXTENDED, "Extended", "Extended"); //$NON-NLS-1$ //$NON-NLS-2$
88
89
	/**
90
	 * An array of all the '<em><b>Persistence Context Type</b></em>' enumerators.
90
	 * An array of all the '<em><b>Persistence Context Type</b></em>' enumerators.
91
	 * <!-- begin-user-doc -->
91
	 * <!-- begin-user-doc -->
92
	 * <!-- end-user-doc -->
92
	 * <!-- end-user-doc -->
Lines 104-110 Link Here
104
	 * <!-- end-user-doc -->
104
	 * <!-- end-user-doc -->
105
	 * @generated
105
	 * @generated
106
	 */
106
	 */
107
	public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
107
	public static final List<PersistenceContextType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
108
108
109
	/**
109
	/**
110
	 * Returns the '<em><b>Persistence Context Type</b></em>' literal with the specified literal value.
110
	 * Returns the '<em><b>Persistence Context Type</b></em>' literal with the specified literal value.
Lines 149-165 Link Here
149
			case TRANSACTION: return TRANSACTION_LITERAL;
149
			case TRANSACTION: return TRANSACTION_LITERAL;
150
			case EXTENDED: return EXTENDED_LITERAL;
150
			case EXTENDED: return EXTENDED_LITERAL;
151
		}
151
		}
152
		return null;	
152
		return null;
153
	}
153
	}
154
154
155
	/**
155
	/**
156
	 * <!-- begin-user-doc -->
157
	 * <!-- end-user-doc -->
158
	 * @generated
159
	 */
160
	private final int value;
161
162
	/**
163
	 * <!-- begin-user-doc -->
164
	 * <!-- end-user-doc -->
165
	 * @generated
166
	 */
167
	private final String name;
168
169
	/**
170
	 * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
172
	 * @generated
173
	 */
174
	private final String literal;
175
176
	/**
156
	 * Only this class can construct instances.
177
	 * Only this class can construct instances.
157
	 * <!-- begin-user-doc -->
178
	 * <!-- begin-user-doc -->
158
	 * <!-- end-user-doc -->
179
	 * <!-- end-user-doc -->
159
	 * @generated
180
	 * @generated
160
	 */
181
	 */
161
	private PersistenceContextType(int value, String name, String literal) {
182
	private PersistenceContextType(int value, String name, String literal) {
162
		super(value, name, literal);
183
		this.value = value;
184
		this.name = name;
185
		this.literal = literal;
186
	}
187
188
	/**
189
	 * <!-- begin-user-doc -->
190
	 * <!-- end-user-doc -->
191
	 * @generated
192
	 */
193
	public int getValue() {
194
	  return value;
163
	}
195
	}
164
196
165
} //PersistenceContextType
197
	/**
198
	 * <!-- begin-user-doc -->
199
	 * <!-- end-user-doc -->
200
	 * @generated
201
	 */
202
	public String getName() {
203
	  return name;
204
	}
205
206
	/**
207
	 * <!-- begin-user-doc -->
208
	 * <!-- end-user-doc -->
209
	 * @generated
210
	 */
211
	public String getLiteral() {
212
	  return literal;
213
	}
214
215
	/**
216
	 * Returns the literal value of the enumerator, which is its string representation.
217
	 * <!-- begin-user-doc -->
218
	 * <!-- end-user-doc -->
219
	 * @generated
220
	 */
221
	@Override
222
	public String toString() {
223
		return literal;
224
	}
225
}
(-)jee-models/org/eclipse/jst/javaee/core/Icon.java (-50 / +74 lines)
Lines 19-33 Link Here
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 
21
 * 
22
 * 	The icon type contains small-icon and large-icon elements
22
 *         The icon type contains small-icon and large-icon elements
23
 * 	that specify the file names for small and large GIF, JPEG,
23
 *         that specify the file names for small and large GIF, JPEG,
24
 * 	or PNG icon images used to represent the parent element in a
24
 *         or PNG icon images used to represent the parent element in a
25
 * 	GUI tool.
25
 *         GUI tool. 
26
 * 
26
 *         
27
 * 	The xml:lang attribute defines the language that the
27
 *         The xml:lang attribute defines the language that the
28
 * 	icon file names are provided in. Its value is "en" (English)
28
 *         icon file names are provided in. Its value is "en" (English)
29
 * 	by default.
29
 *         by default. 
30
 * 
30
 *         
31
 *         @since Java EE 5
31
 *       
32
 *       
32
 * <!-- end-model-doc -->
33
 * <!-- end-model-doc -->
33
 *
34
 *
Lines 52-73 Link Here
52
	 * <!-- end-user-doc -->
53
	 * <!-- end-user-doc -->
53
	 * <!-- begin-model-doc -->
54
	 * <!-- begin-model-doc -->
54
	 * 
55
	 * 
55
	 * 	    
56
	 * <![CDATA[[
56
	 * 
57
	 *             The small-icon element contains the name of a file
57
	 * 	      The small-icon element contains the name of a file
58
	 *             containing a small (16 x 16) icon image. The file
58
	 * 	      containing a small (16 x 16) icon image. The file
59
	 *             name is a relative path within the Deployment
59
	 * 	      name is a relative path within the Deployment
60
	 *             Component's Deployment File.
60
	 * 	      Component's Deployment File.
61
	 *             
61
	 * 
62
	 *             The image may be in the GIF, JPEG, or PNG format.
62
	 * 	      The image may be in the GIF, JPEG, or PNG format.
63
	 *             The icon can be used by tools.
63
	 * 	      The icon can be used by tools.
64
	 *             
64
	 * 
65
	 *             Example:
65
	 * 	      Example:
66
	 *             
66
	 * 
67
	 *             <small-icon>employee-service-icon16x16.jpg</small-icon>
67
	 * 	      &lt;small-icon&gt;employee-service-icon16x16.jpg&lt;/small-icon&gt;
68
	 *             
68
	 * 
69
	 * ]]>
69
	 * 	      
70
	 *             @since Java EE 5
70
	 * 	  
71
	 *           
71
	 * <!-- end-model-doc -->
72
	 * <!-- end-model-doc -->
72
	 * @return the value of the '<em>Small Icon</em>' attribute.
73
	 * @return the value of the '<em>Small Icon</em>' attribute.
73
	 * @see #setSmallIcon(String)
74
	 * @see #setSmallIcon(String)
Lines 92-114 Link Here
92
	 * <!-- end-user-doc -->
93
	 * <!-- end-user-doc -->
93
	 * <!-- begin-model-doc -->
94
	 * <!-- begin-model-doc -->
94
	 * 
95
	 * 
95
	 * 	    
96
	 * <![CDATA[[
96
	 * 
97
	 *             The large-icon element contains the name of a file
97
	 * 	      The large-icon element contains the name of a file
98
	 *             containing a large
98
	 * 	      containing a large
99
	 *             (32 x 32) icon image. The file name is a relative 
99
	 * 	      (32 x 32) icon image. The file name is a relative
100
	 *             path within the Deployment Component's Deployment
100
	 * 	      path within the Deployment Component's Deployment
101
	 *             File.
101
	 * 	      File.
102
	 *             
102
	 * 
103
	 *             The image may be in the GIF, JPEG, or PNG format.
103
	 * 	      The image may be in the GIF, JPEG, or PNG format.
104
	 *             The icon can be used by tools.
104
	 * 	      The icon can be used by tools.
105
	 *             
105
	 * 
106
	 *             Example:
106
	 * 	      Example:
107
	 *             
107
	 * 
108
	 *             <large-icon>employee-service-icon32x32.jpg</large-icon>
108
	 * 	      &lt;large-icon&gt;employee-service-icon32x32.jpg&lt;/large-icon&gt;
109
	 *             
109
	 * 
110
	 * ]]>
110
	 * 	      
111
	 *             @since Java EE 5
111
	 * 	  
112
	 *           
112
	 * <!-- end-model-doc -->
113
	 * <!-- end-model-doc -->
113
	 * @return the value of the '<em>Large Icon</em>' attribute.
114
	 * @return the value of the '<em>Large Icon</em>' attribute.
114
	 * @see #setLargeIcon(String)
115
	 * @see #setLargeIcon(String)
Lines 157-171 Link Here
157
	 * <!-- begin-user-doc -->
158
	 * <!-- begin-user-doc -->
158
	 * <!-- end-user-doc -->
159
	 * <!-- end-user-doc -->
159
	 * <!-- begin-model-doc -->
160
	 * <!-- begin-model-doc -->
160
	 * Attempting to install the relevant ISO 2- and 3-letter
161
	 *          codes as the enumerated possible values is probably never
162
	 *          going to be a realistic possibility.  See
163
	 *          RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
164
	 *          at http://www.iana.org/assignments/lang-tag-apps.htm for
165
	 *          further information.
166
	 * 
161
	 * 
167
	 *          The union allows for the 'un-declaration' of xml:lang with
162
	 *     <div xmlns="http://www.w3.org/1999/xhtml">
168
	 *          the empty string.
163
	 *      
164
	 *       <h3>lang (as an attribute name)</h3>
165
	 *       <p>
166
	 *        denotes an attribute whose value
167
	 *        is a language code for the natural language of the content of
168
	 *        any element; its value is inherited.  This name is reserved
169
	 *        by virtue of its definition in the XML specification.</p>
170
	 *      
171
	 *     </div>
172
	 *     <div xmlns="http://www.w3.org/1999/xhtml">
173
	 *      <h4>Notes</h4>
174
	 *      <p>
175
	 *       Attempting to install the relevant ISO 2- and 3-letter
176
	 *       codes as the enumerated possible values is probably never
177
	 *       going to be a realistic possibility.  
178
	 *      </p>
179
	 *      <p>
180
	 *       See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
181
	 *        http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
182
	 *       and the IANA language subtag registry at
183
	 *       <a href="http://www.iana.org/assignments/language-subtag-registry">
184
	 *        http://www.iana.org/assignments/language-subtag-registry</a>
185
	 *       for further information.
186
	 *      </p>
187
	 *      <p>
188
	 *       The union allows for the 'un-declaration' of xml:lang with
189
	 *       the empty string.
190
	 *      </p>
191
	 *     </div>
192
	 *    
169
	 * <!-- end-model-doc -->
193
	 * <!-- end-model-doc -->
170
	 * @return the value of the '<em>Lang</em>' attribute.
194
	 * @return the value of the '<em>Lang</em>' attribute.
171
	 * @see #setLang(String)
195
	 * @see #setLang(String)
(-)jee-models/org/eclipse/jst/javaee/core/JavaeeFactory.java (+27 lines)
Lines 32-37 Link Here
32
	JavaeeFactory eINSTANCE = org.eclipse.jst.javaee.core.internal.impl.JavaeeFactoryImpl.init();
32
	JavaeeFactory eINSTANCE = org.eclipse.jst.javaee.core.internal.impl.JavaeeFactoryImpl.init();
33
33
34
	/**
34
	/**
35
	 * Returns a new object of class '<em>Addressing Type</em>'.
36
	 * <!-- begin-user-doc -->
37
	 * <!-- end-user-doc -->
38
	 * @return a new object of class '<em>Addressing Type</em>'.
39
	 * @generated
40
	 */
41
	AddressingType createAddressingType();
42
43
	/**
44
	 * Returns a new object of class '<em>Data Source Type</em>'.
45
	 * <!-- begin-user-doc -->
46
	 * <!-- end-user-doc -->
47
	 * @return a new object of class '<em>Data Source Type</em>'.
48
	 * @generated
49
	 */
50
	DataSourceType createDataSourceType();
51
52
	/**
35
	 * Returns a new object of class '<em>Description</em>'.
53
	 * Returns a new object of class '<em>Description</em>'.
36
	 * <!-- begin-user-doc -->
54
	 * <!-- begin-user-doc -->
37
	 * <!-- end-user-doc -->
55
	 * <!-- end-user-doc -->
Lines 203-208 Link Here
203
	ResourceRef createResourceRef();
221
	ResourceRef createResourceRef();
204
222
205
	/**
223
	/**
224
	 * Returns a new object of class '<em>Respect Binding Type</em>'.
225
	 * <!-- begin-user-doc -->
226
	 * <!-- end-user-doc -->
227
	 * @return a new object of class '<em>Respect Binding Type</em>'.
228
	 * @generated
229
	 */
230
	RespectBindingType createRespectBindingType();
231
232
	/**
206
	 * Returns a new object of class '<em>Run As</em>'.
233
	 * Returns a new object of class '<em>Run As</em>'.
207
	 * <!-- begin-user-doc -->
234
	 * <!-- begin-user-doc -->
208
	 * <!-- end-user-doc -->
235
	 * <!-- end-user-doc -->
(-)jee-models/org/eclipse/jst/javaee/core/InjectionTarget.java (-18 / +19 lines)
Lines 19-42 Link Here
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 
21
 * 
22
 * 	An injection target specifies a class and a name within
22
 *         An injection target specifies a class and a name within
23
 * 	that class into which a resource should be injected.
23
 *         that class into which a resource should be injected.
24
 * 
24
 *         
25
 * 	The injection target class specifies the fully qualified
25
 *         The injection target class specifies the fully qualified
26
 * 	class name that is the target of the injection.  The
26
 *         class name that is the target of the injection.  The
27
 * 	Java EE specifications describe which classes can be an
27
 *         Java EE specifications describe which classes can be an
28
 * 	injection target.
28
 *         injection target.
29
 * 
29
 *         
30
 * 	The injection target name specifies the target within
30
 *         The injection target name specifies the target within
31
 * 	the specified class.  The target is first looked for as a
31
 *         the specified class.  The target is first looked for as a
32
 * 	JavaBeans property name.  If not found, the target is
32
 *         JavaBeans property name.  If not found, the target is
33
 * 	looked for as a field name.
33
 *         looked for as a field name.
34
 * 
34
 *         
35
 * 	The specified resource will be injected into the target
35
 *         The specified resource will be injected into the target
36
 * 	during initialization of the class by either calling the
36
 *         during initialization of the class by either calling the
37
 * 	set method for the target property or by setting a value
37
 *         set method for the target property or by setting a value
38
 * 	into the named field.
38
 *         into the named field.
39
 * 
39
 *         
40
 *         @since Java EE 5
40
 *       
41
 *       
41
 * <!-- end-model-doc -->
42
 * <!-- end-model-doc -->
42
 *
43
 *
(-)jee-models/org/eclipse/jst/javaee/core/PortComponentRef.java (-25 / +137 lines)
Lines 10-15 Link Here
10
 *******************************************************************************/
10
 *******************************************************************************/
11
package org.eclipse.jst.javaee.core;
11
package org.eclipse.jst.javaee.core;
12
12
13
import java.math.BigInteger;
14
13
15
14
/**
16
/**
15
 * <!-- begin-user-doc -->
17
 * <!-- begin-user-doc -->
Lines 19-30 Link Here
19
 * <!-- begin-model-doc -->
21
 * <!-- begin-model-doc -->
20
 * 
22
 * 
21
 * 
23
 * 
22
 * 	The port-component-ref element declares a client dependency
24
 *         The port-component-ref element declares a client dependency
23
 * 	on the container for resolving a Service Endpoint Interface
25
 *         on the container for resolving a Service Endpoint Interface
24
 * 	to a WSDL port. It optionally associates the Service Endpoint
26
 *         to a WSDL port. It optionally associates the Service Endpoint
25
 * 	Interface with a particular port-component. This is only used
27
 *         Interface with a particular port-component. This is only used
26
 * 	by the container for a Service.getPort(Class) method call.
28
 *         by the container for a Service.getPort(Class) method call.
27
 * 
29
 *         
30
 *         @since Java EE 5, Web Services Client 1.2
28
 *       
31
 *       
29
 * <!-- end-model-doc -->
32
 * <!-- end-model-doc -->
30
 *
33
 *
Lines 33-38 Link Here
33
 * <ul>
36
 * <ul>
34
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li>
35
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold <em>Mtom Threshold</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getAddressing <em>Addressing</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding <em>Respect Binding</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink <em>Port Component Link</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink <em>Port Component Link</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getId <em>Id</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getId <em>Id</em>}</li>
38
 * </ul>
44
 * </ul>
Lines 50-60 Link Here
50
	 * <!-- begin-model-doc -->
56
	 * <!-- begin-model-doc -->
51
	 * 
57
	 * 
52
	 * 
58
	 * 
53
	 * 	    The service-endpoint-interface element defines a fully qualified
59
	 *             The service-endpoint-interface element defines a fully qualified
54
	 * 	    Java class that represents the Service Endpoint Interface of a
60
	 *             Java class that represents the Service Endpoint Interface of a
55
	 * 	    WSDL port.
61
	 *             WSDL port.
56
	 * 
62
	 *             
57
	 * 	  
63
	 *             @since Java EE 5, Web Services Client 1.2
64
	 *           
58
	 * <!-- end-model-doc -->
65
	 * <!-- end-model-doc -->
59
	 * @return the value of the '<em>Service Endpoint Interface</em>' attribute.
66
	 * @return the value of the '<em>Service Endpoint Interface</em>' attribute.
60
	 * @see #setServiceEndpointInterface(String)
67
	 * @see #setServiceEndpointInterface(String)
Lines 81-89 Link Here
81
	 * 
88
	 * 
82
	 * 
89
	 * 
83
	 *             Used to enable or disable SOAP MTOM/XOP mechanism on the client
90
	 *             Used to enable or disable SOAP MTOM/XOP mechanism on the client
84
	 * 	    side for a port-component.
91
	 *             side for a port-component. 
85
	 * 
92
	 *             
86
	 * 	    Not to be specified for JAX-RPC runtime
93
	 *             Not to be specified for JAX-RPC runtime
94
	 *             
95
	 *             @since Java EE 5, Web Services Client 1.2
87
	 *           
96
	 *           
88
	 * <!-- end-model-doc -->
97
	 * <!-- end-model-doc -->
89
	 * @return the value of the '<em>Enable Mtom</em>' attribute.
98
	 * @return the value of the '<em>Enable Mtom</em>' attribute.
Lines 131-153 Link Here
131
	boolean isSetEnableMtom();
140
	boolean isSetEnableMtom();
132
141
133
	/**
142
	/**
134
	 * Returns the value of the '<em><b>Port Component Link</b></em>' attribute.
143
	 * Returns the value of the '<em><b>Mtom Threshold</b></em>' attribute.
144
	 * <!-- begin-user-doc -->
145
	 * <!-- end-user-doc -->
146
	 * <!-- begin-model-doc -->
147
	 * 
148
	 * 
149
	 *             When MTOM is enabled, binary data above this size in bytes
150
	 *             should be XOP encoded or sent as attachment. Default value is 0.
151
	 *             
152
	 *             Not to be specified for JAX-RPC runtime
153
	 *             
154
	 *             @since Java EE 6, Web Services Client 1.3
155
	 *           
156
	 * <!-- end-model-doc -->
157
	 * @return the value of the '<em>Mtom Threshold</em>' attribute.
158
	 * @see #setMtomThreshold(BigInteger)
159
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_MtomThreshold()
160
	 * @generated
161
	 */
162
	BigInteger getMtomThreshold();
163
164
	/**
165
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold <em>Mtom Threshold</em>}' attribute.
166
	 * <!-- begin-user-doc -->
167
	 * <!-- end-user-doc -->
168
	 * @param value the new value of the '<em>Mtom Threshold</em>' attribute.
169
	 * @see #getMtomThreshold()
170
	 * @generated
171
	 */
172
	void setMtomThreshold(BigInteger value);
173
174
	/**
175
	 * Returns the value of the '<em><b>Addressing</b></em>' containment reference.
176
	 * <!-- begin-user-doc -->
177
	 * <!-- end-user-doc -->
178
	 * <!-- begin-model-doc -->
179
	 * 
180
	 * 
181
	 *             This specifies the WS-Addressing requirements for a JAX-WS
182
	 *             web service. It corresponds to javax.xml.ws.soap.Addressing
183
	 *             annotation or its feature javax.xml.ws.soap.AddressingFeature.
184
	 *             
185
	 *             See the addressingType for more information.
186
	 *             
187
	 *             Not to be specified for JAX-RPC runtime
188
	 *             
189
	 *             @since Java EE 6, Web Services Client 1.3
190
	 *           
191
	 * <!-- end-model-doc -->
192
	 * @return the value of the '<em>Addressing</em>' containment reference.
193
	 * @see #setAddressing(AddressingType)
194
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_Addressing()
195
	 * @generated
196
	 */
197
	AddressingType getAddressing();
198
199
	/**
200
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getAddressing <em>Addressing</em>}' containment reference.
201
	 * <!-- begin-user-doc -->
202
	 * <!-- end-user-doc -->
203
	 * @param value the new value of the '<em>Addressing</em>' containment reference.
204
	 * @see #getAddressing()
205
	 * @generated
206
	 */
207
	void setAddressing(AddressingType value);
208
209
	/**
210
	 * Returns the value of the '<em><b>Respect Binding</b></em>' containment reference.
135
	 * <!-- begin-user-doc -->
211
	 * <!-- begin-user-doc -->
136
	 * <!-- end-user-doc -->
212
	 * <!-- end-user-doc -->
137
	 * <!-- begin-model-doc -->
213
	 * <!-- begin-model-doc -->
138
	 * 
214
	 * 
139
	 * 
215
	 * 
140
	 * 	    The port-component-link element links a port-component-ref
216
	 *             Corresponds to the javax.xml.ws.RespectBinding annotation
141
	 * 	    to a specific port-component required to be made available
217
	 *             or its corresponding javax.xml.ws.RespectBindingFeature web
142
	 * 	    by a service reference.
218
	 *             service feature. This is used to control whether a JAX-WS
143
	 * 
219
	 *             implementation must respect/honor the contents of the
144
	 * 	    The value of a port-component-link must be the
220
	 *             wsdl:binding in the WSDL that is associated with the service.
145
	 * 	    port-component-name of a port-component in the same module
221
	 *             
146
	 * 	    or another module in the same application unit. The syntax
222
	 *             Not to be specified for JAX-RPC runtime
147
	 * 	    for specification follows the syntax defined for ejb-link
223
	 *             
148
	 * 	    in the EJB 2.0 specification.
224
	 *             @since Java EE 6, Web Services Client 1.3
225
	 *           
226
	 * <!-- end-model-doc -->
227
	 * @return the value of the '<em>Respect Binding</em>' containment reference.
228
	 * @see #setRespectBinding(RespectBindingType)
229
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_RespectBinding()
230
	 * @generated
231
	 */
232
	RespectBindingType getRespectBinding();
233
234
	/**
235
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding <em>Respect Binding</em>}' containment reference.
236
	 * <!-- begin-user-doc -->
237
	 * <!-- end-user-doc -->
238
	 * @param value the new value of the '<em>Respect Binding</em>' containment reference.
239
	 * @see #getRespectBinding()
240
	 * @generated
241
	 */
242
	void setRespectBinding(RespectBindingType value);
243
244
	/**
245
	 * Returns the value of the '<em><b>Port Component Link</b></em>' attribute.
246
	 * <!-- begin-user-doc -->
247
	 * <!-- end-user-doc -->
248
	 * <!-- begin-model-doc -->
249
	 * 
149
	 * 
250
	 * 
150
	 * 	  
251
	 *             The port-component-link element links a port-component-ref
252
	 *             to a specific port-component required to be made available
253
	 *             by a service reference.
254
	 *             
255
	 *             The value of a port-component-link must be the
256
	 *             port-component-name of a port-component in the same module
257
	 *             or another module in the same application unit. The syntax
258
	 *             for specification follows the syntax defined for ejb-link
259
	 *             in the EJB 2.0 specification.
260
	 *             
261
	 *             @since Java EE 5, Web Services Client 1.2
262
	 *           
151
	 * <!-- end-model-doc -->
263
	 * <!-- end-model-doc -->
152
	 * @return the value of the '<em>Port Component Link</em>' attribute.
264
	 * @return the value of the '<em>Port Component Link</em>' attribute.
153
	 * @see #setPortComponentLink(String)
265
	 * @see #setPortComponentLink(String)
(-)jee-models/org/eclipse/jst/javaee/core/MessageDestination.java (-53 / +53 lines)
Lines 19-48 Link Here
19
 *
19
 *
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 	
22
 * <![CDATA[[
23
 * 
23
 *         The message-destinationType specifies a message
24
 * 	  The message-destinationType specifies a message
24
 *         destination. The logical destination described by this
25
 * 	  destination. The logical destination described by this
25
 *         element is mapped to a physical destination by the Deployer.
26
 * 	  element is mapped to a physical destination by the Deployer.
26
 *         
27
 * 
27
 *         The message destination element contains: 
28
 * 	  The message destination element contains:
28
 *         
29
 * 
29
 *         - an optional description
30
 * 		  - an optional description
30
 *         - an optional display-name
31
 * 		  - an optional display-name
31
 *         - an optional icon
32
 * 		  - an optional icon
32
 *         - a message destination name which must be unique
33
 * 		  - a message destination name which must be unique
33
 *         among message destination names within the same 
34
 * 		    among message destination names within the same
34
 *         Deployment File. 
35
 * 		    Deployment File.
35
 *         - an optional mapped name
36
 * 		  - an optional mapped name
36
 *         
37
 * 
37
 *         Example: 
38
 * 	  Example:
38
 *         
39
 * 
39
 *         <message-destination>
40
 * 	  &lt;message-destination&gt;
40
 *         <message-destination-name>CorporateStocks
41
 * 		  &lt;message-destination-name&gt;CorporateStocks
41
 *         </message-destination-name>
42
 * 		  &lt;/message-destination-name&gt;
42
 *         </message-destination>
43
 * 	  &lt;/message-destination&gt;
43
 *         
44
 * 
44
 * ]]>
45
 * 	  
45
 *         @since Java EE 5
46
 *       
46
 *       
47
 * <!-- end-model-doc -->
47
 * <!-- end-model-doc -->
48
 *
48
 *
Lines 76-82 Link Here
76
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_Descriptions()
76
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_Descriptions()
77
	 * @generated
77
	 * @generated
78
	 */
78
	 */
79
	List getDescriptions();
79
	List<Description> getDescriptions();
80
80
81
	/**
81
	/**
82
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
82
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
Lines 91-97 Link Here
91
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_DisplayNames()
91
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_DisplayNames()
92
	 * @generated
92
	 * @generated
93
	 */
93
	 */
94
	List getDisplayNames();
94
	List<DisplayName> getDisplayNames();
95
95
96
	/**
96
	/**
97
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
97
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
Lines 106-112 Link Here
106
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_Icons()
106
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_Icons()
107
	 * @generated
107
	 * @generated
108
	 */
108
	 */
109
	List getIcons();
109
	List<Icon> getIcons();
110
110
111
	/**
111
	/**
112
	 * Returns the value of the '<em><b>Message Destination Name</b></em>' attribute.
112
	 * Returns the value of the '<em><b>Message Destination Name</b></em>' attribute.
Lines 115-126 Link Here
115
	 * <!-- begin-model-doc -->
115
	 * <!-- begin-model-doc -->
116
	 * 
116
	 * 
117
	 * 
117
	 * 
118
	 * 	    The message-destination-name element specifies a
118
	 *             The message-destination-name element specifies a
119
	 * 	    name for a message destination.  This name must be
119
	 *             name for a message destination.  This name must be
120
	 * 	    unique among the names of message destinations
120
	 *             unique among the names of message destinations
121
	 * 	    within the Deployment File.
121
	 *             within the Deployment File.
122
	 * 
122
	 *             
123
	 * 	  
123
	 *             @since Java EE 5
124
	 *           
124
	 * <!-- end-model-doc -->
125
	 * <!-- end-model-doc -->
125
	 * @return the value of the '<em>Message Destination Name</em>' attribute.
126
	 * @return the value of the '<em>Message Destination Name</em>' attribute.
126
	 * @see #setMessageDestinationName(String)
127
	 * @see #setMessageDestinationName(String)
Lines 145-171 Link Here
145
	 * <!-- end-user-doc -->
146
	 * <!-- end-user-doc -->
146
	 * <!-- begin-model-doc -->
147
	 * <!-- begin-model-doc -->
147
	 * 
148
	 * 
148
	 * 	    
149
	 * 
150
	 * 	      A product specific name that this message destination
151
	 * 	      should be mapped to.  Each message-destination-ref
152
	 * 	      element that references this message destination will
153
	 * 	      define a name in the namespace of the referencing
154
	 * 	      component.  (It's a name in the JNDI java:comp/env
155
	 * 	      namespace.)  Many application servers provide a way to
156
	 * 	      map these local names to names of resources known to the
157
	 * 	      application server.  This mapped name is often a global
158
	 * 	      JNDI name, but may be a name of any form.  Each of the
159
	 * 	      local names should be mapped to this same global name.
160
	 * 
161
	 * 	      Application servers are not required to support any
162
	 * 	      particular form or type of mapped name, nor the ability
163
	 * 	      to use mapped names.  The mapped name is
164
	 * 	      product-dependent and often installation-dependent.  No
165
	 * 	      use of a mapped name is portable.
166
	 * 
149
	 * 
167
	 * 	      
150
	 *             A product specific name that this message destination
168
	 * 	  
151
	 *             should be mapped to.  Each message-destination-ref
152
	 *             element that references this message destination will
153
	 *             define a name in the namespace of the referencing
154
	 *             component.  (It's a name in the JNDI java:comp/env
155
	 *             namespace.)  Many application servers provide a way to
156
	 *             map these local names to names of resources known to the
157
	 *             application server.  This mapped name is often a global
158
	 *             JNDI name, but may be a name of any form.  Each of the
159
	 *             local names should be mapped to this same global name.
160
	 *             
161
	 *             Application servers are not required to support any
162
	 *             particular form or type of mapped name, nor the ability
163
	 *             to use mapped names.  The mapped name is
164
	 *             product-dependent and often installation-dependent.  No
165
	 *             use of a mapped name is portable.
166
	 *             
167
	 *             @since Java EE 5
168
	 *           
169
	 * <!-- end-model-doc -->
169
	 * <!-- end-model-doc -->
170
	 * @return the value of the '<em>Mapped Name</em>' attribute.
170
	 * @return the value of the '<em>Mapped Name</em>' attribute.
171
	 * @see #setMappedName(String)
171
	 * @see #setMappedName(String)
(-)jee-models/org/eclipse/jst/javaee/core/EmptyType.java (-3 / +4 lines)
Lines 19-27 Link Here
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 
21
 * 
22
 * 	This type is used to designate an empty
22
 *         This type is used to designate an empty
23
 * 	element when used.
23
 *         element when used. 
24
 * 
24
 *         
25
 *         @since Java EE 5
25
 *       
26
 *       
26
 * <!-- end-model-doc -->
27
 * <!-- end-model-doc -->
27
 *
28
 *
(-)jee-models/org/eclipse/jst/javaee/core/SecurityRole.java (-18 / +18 lines)
Lines 19-41 Link Here
19
 *
19
 *
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 	
22
 * <![CDATA[[
23
 * 
23
 *         The security-roleType contains the definition of a security
24
 * 	  The security-roleType contains the definition of a security
24
 *         role. The definition consists of an optional description of
25
 * 	  role. The definition consists of an optional description of
25
 *         the security role, and the security role name.
26
 * 	  the security role, and the security role name.
26
 *         
27
 * 
27
 *         Example:
28
 * 	  Example:
28
 *         
29
 * 
29
 *         <security-role>
30
 * 	      &lt;security-role&gt;
30
 *         <description>
31
 * 	      &lt;description&gt;
31
 *         This role includes all employees who are authorized
32
 * 		  This role includes all employees who are authorized
32
 *         to access the employee service application.
33
 * 		  to access the employee service application.
33
 *         </description>
34
 * 	      &lt;/description&gt;
34
 *         <role-name>employee</role-name>
35
 * 	      &lt;role-name&gt;employee&lt;/role-name&gt;
35
 *         </security-role>
36
 * 	      &lt;/security-role&gt;
36
 *         
37
 * 
37
 * ]]>
38
 * 	  
38
 *         @since Java EE 5
39
 *       
39
 *       
40
 * <!-- end-model-doc -->
40
 * <!-- end-model-doc -->
41
 *
41
 *
Lines 66-72 Link Here
66
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRole_Descriptions()
66
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRole_Descriptions()
67
	 * @generated
67
	 * @generated
68
	 */
68
	 */
69
	List getDescriptions();
69
	List<Description> getDescriptions();
70
70
71
	/**
71
	/**
72
	 * Returns the value of the '<em><b>Role Name</b></em>' attribute.
72
	 * Returns the value of the '<em><b>Role Name</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/EjbRef.java (-43 / +72 lines)
Lines 20-46 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The ejb-refType is used by ejb-ref elements for the
23
 *         The ejb-refType is used by ejb-ref elements for the
24
 * 	declaration of a reference to an enterprise bean's home or
24
 *         declaration of a reference to an enterprise bean's home or
25
 *         to the remote business interface of a 3.0 bean.
25
 *         to the remote business interface of a 3.0 bean.  
26
 * 	The declaration consists of:
26
 *         The declaration consists of:
27
 * 
27
 *         
28
 * 	    - an optional description
28
 *         - an optional description
29
 * 	    - the EJB reference name used in the code of
29
 *         - the EJB reference name used in the code of
30
 * 	      the Deployment Component that's referencing the enterprise
30
 *         the Deployment Component that's referencing the enterprise
31
 * 	      bean.
31
 *         bean. 
32
 * 	    - the optional expected type of the referenced enterprise bean
32
 *         - the optional expected type of the referenced enterprise bean
33
 *             - the optional remote interface of the referenced enterprise bean
33
 *         - the optional remote interface of the referenced enterprise bean
34
 *               or the remote business interface of the referenced enterprise
34
 *         or the remote business interface of the referenced enterprise 
35
 *               bean
35
 *         bean
36
 * 	    - the optional expected home interface of the referenced
36
 *         - the optional expected home interface of the referenced 
37
 *               enterprise bean.  Not applicable if this ejb-ref
37
 *         enterprise bean.  Not applicable if this ejb-ref
38
 *               refers to the remote business interface of a 3.0 bean.
38
 *         refers to the remote business interface of a 3.0 bean.
39
 * 	    - optional ejb-link information, used to specify the
39
 *         - optional ejb-link information, used to specify the
40
 * 	      referenced enterprise bean
40
 *         referenced enterprise bean
41
 *             - optional elements to define injection of the named enterprise
41
 *         - optional elements to define injection of the named enterprise
42
 *               bean into a component field or property
42
 *         bean into a component field or property
43
 * 
43
 *         
44
 *         @since Java EE 5
44
 *       
45
 *       
45
 * <!-- end-model-doc -->
46
 * <!-- end-model-doc -->
46
 *
47
 *
Lines 55-60 Link Here
55
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getEjbLink <em>Ejb Link</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getEjbLink <em>Ejb Link</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getMappedName <em>Mapped Name</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getMappedName <em>Mapped Name</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getInjectionTargets <em>Injection Targets</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getInjectionTargets <em>Injection Targets</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getLookupName <em>Lookup Name</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getId <em>Id</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.core.EjbRef#getId <em>Id</em>}</li>
59
 * </ul>
61
 * </ul>
60
 * </p>
62
 * </p>
Lines 77-83 Link Here
77
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_Descriptions()
79
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_Descriptions()
78
	 * @generated
80
	 * @generated
79
	 */
81
	 */
80
	List getDescriptions();
82
	List<Description> getDescriptions();
81
83
82
	/**
84
	/**
83
	 * Returns the value of the '<em><b>Ejb Ref Name</b></em>' attribute.
85
	 * Returns the value of the '<em><b>Ejb Ref Name</b></em>' attribute.
Lines 106-112 Link Here
106
108
107
	/**
109
	/**
108
	 * Returns the value of the '<em><b>Ejb Ref Type</b></em>' attribute.
110
	 * Returns the value of the '<em><b>Ejb Ref Type</b></em>' attribute.
109
	 * The default value is <code>"Entity"</code>.
110
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.EjbRefType}.
111
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.EjbRefType}.
111
	 * <!-- begin-user-doc -->
112
	 * <!-- begin-user-doc -->
112
	 * <p>
113
	 * <p>
Lines 241-266 Link Here
241
	 * <!-- end-user-doc -->
242
	 * <!-- end-user-doc -->
242
	 * <!-- begin-model-doc -->
243
	 * <!-- begin-model-doc -->
243
	 * 
244
	 * 
244
	 * 	    
245
	 * 
245
	 * 
246
	 * 	      A product specific name that this resource should be
246
	 *             A product specific name that this resource should be
247
	 * 	      mapped to.  The name of this resource, as defined by the
247
	 *             mapped to.  The name of this resource, as defined by the
248
	 * 	      resource's name element or defaulted, is a name that is
248
	 *             resource's name element or defaulted, is a name that is
249
	 * 	      local to the application component using the resource.
249
	 *             local to the application component using the resource.
250
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
250
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
251
	 * 	      application servers provide a way to map these local
251
	 *             application servers provide a way to map these local
252
	 * 	      names to names of resources known to the application
252
	 *             names to names of resources known to the application
253
	 * 	      server.  This mapped name is often a global JNDI name,
253
	 *             server.  This mapped name is often a global JNDI name,
254
	 * 	      but may be a name of any form.
254
	 *             but may be a name of any form.
255
	 * 
255
	 *             
256
	 * 	      Application servers are not required to support any
256
	 *             Application servers are not required to support any
257
	 * 	      particular form or type of mapped name, nor the ability
257
	 *             particular form or type of mapped name, nor the ability
258
	 * 	      to use mapped names.  The mapped name is
258
	 *             to use mapped names.  The mapped name is
259
	 * 	      product-dependent and often installation-dependent.  No
259
	 *             product-dependent and often installation-dependent.  No
260
	 * 	      use of a mapped name is portable.
260
	 *             use of a mapped name is portable.
261
	 * 
261
	 *             
262
	 * 	      
262
	 *             @since Java EE 5
263
	 * 	  
263
	 *           
264
	 * <!-- end-model-doc -->
264
	 * <!-- end-model-doc -->
265
	 * @return the value of the '<em>Mapped Name</em>' attribute.
265
	 * @return the value of the '<em>Mapped Name</em>' attribute.
266
	 * @see #setMappedName(String)
266
	 * @see #setMappedName(String)
Lines 292-298 Link Here
292
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_InjectionTargets()
292
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_InjectionTargets()
293
	 * @generated
293
	 * @generated
294
	 */
294
	 */
295
	List getInjectionTargets();
295
	List<InjectionTarget> getInjectionTargets();
296
297
	/**
298
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
299
	 * <!-- begin-user-doc -->
300
	 * <!-- end-user-doc -->
301
	 * <!-- begin-model-doc -->
302
	 * 
303
	 * 
304
	 *             The JNDI name to be looked up to resolve a resource reference.
305
	 *             
306
	 *             @since Java EE 6
307
	 *           
308
	 * <!-- end-model-doc -->
309
	 * @return the value of the '<em>Lookup Name</em>' attribute.
310
	 * @see #setLookupName(String)
311
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_LookupName()
312
	 * @generated
313
	 */
314
	String getLookupName();
315
316
	/**
317
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getLookupName <em>Lookup Name</em>}' attribute.
318
	 * <!-- begin-user-doc -->
319
	 * <!-- end-user-doc -->
320
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
321
	 * @see #getLookupName()
322
	 * @generated
323
	 */
324
	void setLookupName(String value);
296
325
297
	/**
326
	/**
298
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
327
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChain.java (-14 / +15 lines)
Lines 20-36 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 *       The handler-chain element defines the handlerchain.
23
 *         The handler-chain element defines the handlerchain. 
24
 *       Handlerchain can be defined such that the handlers in the
24
 *         Handlerchain can be defined such that the handlers in the
25
 *       handlerchain operate,all ports of a service, on a specific
25
 *         handlerchain operate,all ports of a service, on a specific
26
 *       port or on a list of protocol-bindings. The choice of elements
26
 *         port or on a list of protocol-bindings. The choice of elements
27
 *       service-name-pattern, port-name-pattern and protocol-bindings
27
 *         service-name-pattern, port-name-pattern and protocol-bindings
28
 *       are used to specify whether the handlers in handler-chain are
28
 *         are used to specify whether the handlers in handler-chain are
29
 *       for a service, port or protocol binding. If none of these
29
 *         for a service, port or protocol binding. If none of these 
30
 *       choices are specified with the handler-chain element then the
30
 *         choices are specified with the handler-chain element then the
31
 *       handlers specified in the handler-chain will be applied on
31
 *         handlers specified in the handler-chain will be applied on 
32
 *       everything.
32
 *         everything.
33
 * 
33
 *         
34
 *         @since Java EE 5, Web Services Client 1.2
34
 *       
35
 *       
35
 * <!-- end-model-doc -->
36
 * <!-- end-model-doc -->
36
 *
37
 *
Lines 113-119 Link Here
113
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_ProtocolBindings()
114
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_ProtocolBindings()
114
	 * @generated
115
	 * @generated
115
	 */
116
	 */
116
	List getProtocolBindings();
117
	List<String> getProtocolBindings();
117
118
118
	/**
119
	/**
119
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getProtocolBindings <em>Protocol Bindings</em>}' attribute.
120
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getProtocolBindings <em>Protocol Bindings</em>}' attribute.
Lines 123-129 Link Here
123
	 * @see #getProtocolBindings()
124
	 * @see #getProtocolBindings()
124
	 * @generated
125
	 * @generated
125
	 */
126
	 */
126
	void setProtocolBindings(List value);
127
	void setProtocolBindings(List<String> value);
127
128
128
	/**
129
	/**
129
	 * Returns the value of the '<em><b>Handlers</b></em>' containment reference list.
130
	 * Returns the value of the '<em><b>Handlers</b></em>' containment reference list.
Lines 138-144 Link Here
138
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_Handlers()
139
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_Handlers()
139
	 * @generated
140
	 * @generated
140
	 */
141
	 */
141
	List getHandlers();
142
	List<ServiceRefHandler> getHandlers();
142
143
143
	/**
144
	/**
144
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
145
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/EjbLocalRef.java (-41 / +70 lines)
Lines 20-45 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The ejb-local-refType is used by ejb-local-ref elements for
23
 *         The ejb-local-refType is used by ejb-local-ref elements for
24
 * 	the declaration of a reference to an enterprise bean's local
24
 *         the declaration of a reference to an enterprise bean's local
25
 * 	home or to the local business interface of a 3.0 bean.
25
 *         home or to the local business interface of a 3.0 bean.
26
 *         The declaration consists of:
26
 *         The declaration consists of:
27
 * 
27
 *         
28
 * 	    - an optional description
28
 *         - an optional description
29
 * 	    - the EJB reference name used in the code of the Deployment
29
 *         - the EJB reference name used in the code of the Deployment 
30
 * 	      Component that's referencing the enterprise bean.
30
 *         Component that's referencing the enterprise bean.
31
 * 	    - the optional expected type of the referenced enterprise bean
31
 *         - the optional expected type of the referenced enterprise bean
32
 * 	    - the optional expected local interface of the referenced
32
 *         - the optional expected local interface of the referenced 
33
 *               enterprise bean or the local business interface of the
33
 *         enterprise bean or the local business interface of the 
34
 *               referenced enterprise bean.
34
 *         referenced enterprise bean.
35
 * 	    - the optional expected local home interface of the referenced
35
 *         - the optional expected local home interface of the referenced 
36
 *               enterprise bean. Not applicable if this ejb-local-ref refers
36
 *         enterprise bean. Not applicable if this ejb-local-ref refers
37
 *               to the local business interface of a 3.0 bean.
37
 *         to the local business interface of a 3.0 bean.
38
 * 	    - optional ejb-link information, used to specify the
38
 *         - optional ejb-link information, used to specify the 
39
 * 	      referenced enterprise bean
39
 *         referenced enterprise bean
40
 *             - optional elements to define injection of the named enterprise
40
 *         - optional elements to define injection of the named enterprise  
41
 *               bean into a component field or property.
41
 *         bean into a component field or property.
42
 * 
42
 *         
43
 *         @since Java EE 5
43
 *       
44
 *       
44
 * <!-- end-model-doc -->
45
 * <!-- end-model-doc -->
45
 *
46
 *
Lines 54-59 Link Here
54
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbLink <em>Ejb Link</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbLink <em>Ejb Link</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getMappedName <em>Mapped Name</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getMappedName <em>Mapped Name</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getInjectionTargets <em>Injection Targets</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getInjectionTargets <em>Injection Targets</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName <em>Lookup Name</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getId <em>Id</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getId <em>Id</em>}</li>
58
 * </ul>
60
 * </ul>
59
 * </p>
61
 * </p>
Lines 76-82 Link Here
76
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_Descriptions()
78
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_Descriptions()
77
	 * @generated
79
	 * @generated
78
	 */
80
	 */
79
	List getDescriptions();
81
	List<Description> getDescriptions();
80
82
81
	/**
83
	/**
82
	 * Returns the value of the '<em><b>Ejb Ref Name</b></em>' attribute.
84
	 * Returns the value of the '<em><b>Ejb Ref Name</b></em>' attribute.
Lines 105-111 Link Here
105
107
106
	/**
108
	/**
107
	 * Returns the value of the '<em><b>Ejb Ref Type</b></em>' attribute.
109
	 * Returns the value of the '<em><b>Ejb Ref Type</b></em>' attribute.
108
	 * The default value is <code>"Entity"</code>.
109
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.EjbRefType}.
110
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.EjbRefType}.
110
	 * <!-- begin-user-doc -->
111
	 * <!-- begin-user-doc -->
111
	 * <p>
112
	 * <p>
Lines 240-265 Link Here
240
	 * <!-- end-user-doc -->
241
	 * <!-- end-user-doc -->
241
	 * <!-- begin-model-doc -->
242
	 * <!-- begin-model-doc -->
242
	 * 
243
	 * 
243
	 * 	    
244
	 * 
244
	 * 
245
	 * 	      A product specific name that this resource should be
245
	 *             A product specific name that this resource should be
246
	 * 	      mapped to.  The name of this resource, as defined by the
246
	 *             mapped to.  The name of this resource, as defined by the
247
	 * 	      resource's name element or defaulted, is a name that is
247
	 *             resource's name element or defaulted, is a name that is
248
	 * 	      local to the application component using the resource.
248
	 *             local to the application component using the resource.
249
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
249
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
250
	 * 	      application servers provide a way to map these local
250
	 *             application servers provide a way to map these local
251
	 * 	      names to names of resources known to the application
251
	 *             names to names of resources known to the application
252
	 * 	      server.  This mapped name is often a global JNDI name,
252
	 *             server.  This mapped name is often a global JNDI name,
253
	 * 	      but may be a name of any form.
253
	 *             but may be a name of any form.
254
	 * 
254
	 *             
255
	 * 	      Application servers are not required to support any
255
	 *             Application servers are not required to support any
256
	 * 	      particular form or type of mapped name, nor the ability
256
	 *             particular form or type of mapped name, nor the ability
257
	 * 	      to use mapped names.  The mapped name is
257
	 *             to use mapped names.  The mapped name is
258
	 * 	      product-dependent and often installation-dependent.  No
258
	 *             product-dependent and often installation-dependent.  No
259
	 * 	      use of a mapped name is portable.
259
	 *             use of a mapped name is portable.
260
	 * 
260
	 *             
261
	 * 	      
261
	 *             @since Java EE 5
262
	 * 	  
262
	 *           
263
	 * <!-- end-model-doc -->
263
	 * <!-- end-model-doc -->
264
	 * @return the value of the '<em>Mapped Name</em>' attribute.
264
	 * @return the value of the '<em>Mapped Name</em>' attribute.
265
	 * @see #setMappedName(String)
265
	 * @see #setMappedName(String)
Lines 291-297 Link Here
291
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_InjectionTargets()
291
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_InjectionTargets()
292
	 * @generated
292
	 * @generated
293
	 */
293
	 */
294
	List getInjectionTargets();
294
	List<InjectionTarget> getInjectionTargets();
295
296
	/**
297
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
298
	 * <!-- begin-user-doc -->
299
	 * <!-- end-user-doc -->
300
	 * <!-- begin-model-doc -->
301
	 * 
302
	 * 
303
	 *             The JNDI name to be looked up to resolve a resource reference.
304
	 *             
305
	 *             @since Java EE 6
306
	 *           
307
	 * <!-- end-model-doc -->
308
	 * @return the value of the '<em>Lookup Name</em>' attribute.
309
	 * @see #setLookupName(String)
310
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_LookupName()
311
	 * @generated
312
	 */
313
	String getLookupName();
314
315
	/**
316
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName <em>Lookup Name</em>}' attribute.
317
	 * <!-- begin-user-doc -->
318
	 * <!-- end-user-doc -->
319
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
320
	 * @see #getLookupName()
321
	 * @generated
322
	 */
323
	void setLookupName(String value);
295
324
296
	/**
325
	/**
297
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
326
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/EnvEntry.java (-121 / +150 lines)
Lines 20-45 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The env-entryType is used to declare an application's
23
 *         The env-entryType is used to declare an application's
24
 * 	environment entry. The declaration consists of an optional
24
 *         environment entry. The declaration consists of an optional
25
 * 	description, the name of the environment entry, a type
25
 *         description, the name of the environment entry, a type
26
 * 	(optional if the value is injected, otherwise required), and
26
 *         (optional if the value is injected, otherwise required), and
27
 * 	an optional value.
27
 *         an optional value.
28
 * 
28
 *         
29
 * 	It also includes optional elements to define injection of
29
 *         It also includes optional elements to define injection of
30
 * 	the named resource into fields or JavaBeans properties.
30
 *         the named resource into fields or JavaBeans properties.
31
 * 
31
 *         
32
 * 	If a value is not specified and injection is requested,
32
 *         If a value is not specified and injection is requested,
33
 * 	no injection will occur and no entry of the specified name
33
 *         no injection will occur and no entry of the specified name
34
 * 	will be created.  This allows an initial value to be
34
 *         will be created.  This allows an initial value to be
35
 * 	specified in the source code without being incorrectly
35
 *         specified in the source code without being incorrectly
36
 * 	changed when no override has been specified.
36
 *         changed when no override has been specified.
37
 * 
37
 *         
38
 * 	If a value is not specified and no injection is requested,
38
 *         If a value is not specified and no injection is requested,
39
 * 	a value must be supplied during deployment.
39
 *         a value must be supplied during deployment. 
40
 * 
40
 *         
41
 * 	This type is used by env-entry elements.
41
 *         This type is used by env-entry elements.
42
 * 
42
 *         
43
 *         @since Java EE 5
43
 *       
44
 *       
44
 * <!-- end-model-doc -->
45
 * <!-- end-model-doc -->
45
 *
46
 *
Lines 52-57 Link Here
52
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryValue <em>Env Entry Value</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryValue <em>Env Entry Value</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getMappedName <em>Mapped Name</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getMappedName <em>Mapped Name</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getInjectionTargets <em>Injection Targets</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getInjectionTargets <em>Injection Targets</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getLookupName <em>Lookup Name</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getId <em>Id</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getId <em>Id</em>}</li>
56
 * </ul>
58
 * </ul>
57
 * </p>
59
 * </p>
Lines 74-80 Link Here
74
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_Descriptions()
76
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_Descriptions()
75
	 * @generated
77
	 * @generated
76
	 */
78
	 */
77
	List getDescriptions();
79
	List<Description> getDescriptions();
78
80
79
	/**
81
	/**
80
	 * Returns the value of the '<em><b>Env Entry Name</b></em>' attribute.
82
	 * Returns the value of the '<em><b>Env Entry Name</b></em>' attribute.
Lines 82-103 Link Here
82
	 * <!-- end-user-doc -->
84
	 * <!-- end-user-doc -->
83
	 * <!-- begin-model-doc -->
85
	 * <!-- begin-model-doc -->
84
	 * 
86
	 * 
85
	 * 	    
87
	 * <![CDATA[[
86
	 * 
88
	 *             The env-entry-name element contains the name of a
87
	 * 	      The env-entry-name element contains the name of a
89
	 *             Deployment Component's environment entry.  The name
88
	 * 	      Deployment Component's environment entry.  The name
90
	 *             is a JNDI name relative to the java:comp/env
89
	 * 	      is a JNDI name relative to the java:comp/env
91
	 *             context.  The name must be unique within a 
90
	 * 	      context.  The name must be unique within a
92
	 *             Deployment Component. The uniqueness
91
	 * 	      Deployment Component. The uniqueness
93
	 *             constraints must be defined within the declared
92
	 * 	      constraints must be defined within the declared
94
	 *             context.
93
	 * 	      context.
95
	 *             
94
	 * 
96
	 *             Example:
95
	 * 	      Example:
97
	 *             
96
	 * 
98
	 *             <env-entry-name>minAmount</env-entry-name>
97
	 * 	      &lt;env-entry-name&gt;minAmount&lt;/env-entry-name&gt;
99
	 *             
98
	 * 
100
	 * ]]>
99
	 * 	      
101
	 *             @since Java EE 5
100
	 * 	  
102
	 *           
101
	 * <!-- end-model-doc -->
103
	 * <!-- end-model-doc -->
102
	 * @return the value of the '<em>Env Entry Name</em>' attribute.
104
	 * @return the value of the '<em>Env Entry Name</em>' attribute.
103
	 * @see #setEnvEntryName(String)
105
	 * @see #setEnvEntryName(String)
Lines 118-190 Link Here
118
120
119
	/**
121
	/**
120
	 * Returns the value of the '<em><b>Env Entry Type</b></em>' attribute.
122
	 * Returns the value of the '<em><b>Env Entry Type</b></em>' attribute.
121
	 * The default value is <code>"java.lang.Boolean"</code>.
122
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.EnvEntryType}.
123
	 * <!-- begin-user-doc -->
123
	 * <!-- begin-user-doc -->
124
	 * <!-- end-user-doc -->
124
	 * <!-- end-user-doc -->
125
	 * <!-- begin-model-doc -->
125
	 * <!-- begin-model-doc -->
126
	 * 
126
	 * 
127
	 * 	    
127
	 * <![CDATA[[
128
	 * 
128
	 *             The env-entry-type element contains the Java language
129
	 * 	      The env-entry-type element contains the Java language
129
	 *             type of the environment entry.  If an injection target
130
	 * 	      type of the environment entry.  If an injection target
130
	 *             is specified for the environment entry, the type may
131
	 * 	      is specified for the environment entry, the type may
131
	 *             be omitted, or must match the type of the injection
132
	 * 	      be omitted, or must match the type of the injection
132
	 *             target.  If no injection target is specified, the type
133
	 * 	      target.  If no injection target is specified, the type
133
	 *             is required.
134
	 * 	      is required.
134
	 *             
135
	 * 
135
	 *             Example:
136
	 * 	      Example:
136
	 *             
137
	 * 
137
	 *             <env-entry-type>java.lang.Integer</env-entry-type>
138
	 * 	      &lt;env-entry-type&gt;java.lang.Integer&lt;/env-entry-type&gt;
138
	 *             
139
	 * 
139
	 * ]]>
140
	 * 	      
140
	 *             @since Java EE 5
141
	 * 	  
141
	 *           
142
	 * <!-- end-model-doc -->
142
	 * <!-- end-model-doc -->
143
	 * @return the value of the '<em>Env Entry Type</em>' attribute.
143
	 * @return the value of the '<em>Env Entry Type</em>' attribute.
144
	 * @see org.eclipse.jst.javaee.core.EnvEntryType
144
	 * @see #setEnvEntryType(String)
145
	 * @see #isSetEnvEntryType()
146
	 * @see #unsetEnvEntryType()
147
	 * @see #setEnvEntryType(EnvEntryType)
148
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_EnvEntryType()
145
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_EnvEntryType()
149
	 * @generated
146
	 * @generated
150
	 */
147
	 */
151
	EnvEntryType getEnvEntryType();
148
	String getEnvEntryType();
152
149
153
	/**
150
	/**
154
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute.
151
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute.
155
	 * <!-- begin-user-doc -->
152
	 * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
153
	 * <!-- end-user-doc -->
157
	 * @param value the new value of the '<em>Env Entry Type</em>' attribute.
154
	 * @param value the new value of the '<em>Env Entry Type</em>' attribute.
158
	 * @see org.eclipse.jst.javaee.core.EnvEntryType
159
	 * @see #isSetEnvEntryType()
160
	 * @see #unsetEnvEntryType()
161
	 * @see #getEnvEntryType()
162
	 * @generated
163
	 */
164
	void setEnvEntryType(EnvEntryType value);
165
166
	/**
167
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute.
168
	 * <!-- begin-user-doc -->
169
	 * <!-- end-user-doc -->
170
	 * @see #isSetEnvEntryType()
171
	 * @see #getEnvEntryType()
172
	 * @see #setEnvEntryType(EnvEntryType)
173
	 * @generated
174
	 */
175
	void unsetEnvEntryType();
176
177
	/**
178
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute is set.
179
	 * <!-- begin-user-doc -->
180
	 * <!-- end-user-doc -->
181
	 * @return whether the value of the '<em>Env Entry Type</em>' attribute is set.
182
	 * @see #unsetEnvEntryType()
183
	 * @see #getEnvEntryType()
155
	 * @see #getEnvEntryType()
184
	 * @see #setEnvEntryType(EnvEntryType)
185
	 * @generated
156
	 * @generated
186
	 */
157
	 */
187
	boolean isSetEnvEntryType();
158
	void setEnvEntryType(String value);
188
159
189
	/**
160
	/**
190
	 * Returns the value of the '<em><b>Env Entry Value</b></em>' attribute.
161
	 * Returns the value of the '<em><b>Env Entry Value</b></em>' attribute.
Lines 192-212 Link Here
192
	 * <!-- end-user-doc -->
163
	 * <!-- end-user-doc -->
193
	 * <!-- begin-model-doc -->
164
	 * <!-- begin-model-doc -->
194
	 * 
165
	 * 
195
	 * 	    
166
	 * <![CDATA[[
196
	 * 
167
	 *             The env-entry-value designates the value of a
197
	 * 	      The env-entry-value designates the value of a
168
	 *             Deployment Component's environment entry. The value
198
	 * 	      Deployment Component's environment entry. The value
169
	 *             must be a String that is valid for the
199
	 * 	      must be a String that is valid for the
170
	 *             constructor of the specified type that takes a
200
	 * 	      constructor of the specified type that takes a
171
	 *             single String parameter, or for java.lang.Character,
201
	 * 	      single String parameter, or for java.lang.Character,
172
	 *             a single character.
202
	 * 	      a single character.
173
	 *             
203
	 * 
174
	 *             Example:
204
	 * 	      Example:
175
	 *             
205
	 * 
176
	 *             <env-entry-value>100.00</env-entry-value>
206
	 * 	      &lt;env-entry-value&gt;100.00&lt;/env-entry-value&gt;
177
	 *             
207
	 * 
178
	 * ]]>
208
	 * 	      
179
	 *             @since Java EE 5
209
	 * 	  
180
	 *           
210
	 * <!-- end-model-doc -->
181
	 * <!-- end-model-doc -->
211
	 * @return the value of the '<em>Env Entry Value</em>' attribute.
182
	 * @return the value of the '<em>Env Entry Value</em>' attribute.
212
	 * @see #setEnvEntryValue(String)
183
	 * @see #setEnvEntryValue(String)
Lines 231-256 Link Here
231
	 * <!-- end-user-doc -->
202
	 * <!-- end-user-doc -->
232
	 * <!-- begin-model-doc -->
203
	 * <!-- begin-model-doc -->
233
	 * 
204
	 * 
234
	 * 	    
235
	 * 
236
	 * 	      A product specific name that this resource should be
237
	 * 	      mapped to.  The name of this resource, as defined by the
238
	 * 	      resource's name element or defaulted, is a name that is
239
	 * 	      local to the application component using the resource.
240
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
241
	 * 	      application servers provide a way to map these local
242
	 * 	      names to names of resources known to the application
243
	 * 	      server.  This mapped name is often a global JNDI name,
244
	 * 	      but may be a name of any form.
245
	 * 
205
	 * 
246
	 * 	      Application servers are not required to support any
206
	 *             A product specific name that this resource should be
247
	 * 	      particular form or type of mapped name, nor the ability
207
	 *             mapped to.  The name of this resource, as defined by the
248
	 * 	      to use mapped names.  The mapped name is
208
	 *             resource's name element or defaulted, is a name that is
249
	 * 	      product-dependent and often installation-dependent.  No
209
	 *             local to the application component using the resource.
250
	 * 	      use of a mapped name is portable.
210
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
251
	 * 
211
	 *             application servers provide a way to map these local
252
	 * 	      
212
	 *             names to names of resources known to the application
253
	 * 	  
213
	 *             server.  This mapped name is often a global JNDI name,
214
	 *             but may be a name of any form.
215
	 *             
216
	 *             Application servers are not required to support any
217
	 *             particular form or type of mapped name, nor the ability
218
	 *             to use mapped names.  The mapped name is
219
	 *             product-dependent and often installation-dependent.  No
220
	 *             use of a mapped name is portable.
221
	 *             
222
	 *             @since Java EE 5
223
	 *           
254
	 * <!-- end-model-doc -->
224
	 * <!-- end-model-doc -->
255
	 * @return the value of the '<em>Mapped Name</em>' attribute.
225
	 * @return the value of the '<em>Mapped Name</em>' attribute.
256
	 * @see #setMappedName(String)
226
	 * @see #setMappedName(String)
Lines 282-288 Link Here
282
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_InjectionTargets()
252
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_InjectionTargets()
283
	 * @generated
253
	 * @generated
284
	 */
254
	 */
285
	List getInjectionTargets();
255
	List<InjectionTarget> getInjectionTargets();
256
257
	/**
258
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
259
	 * <!-- begin-user-doc -->
260
	 * <!-- end-user-doc -->
261
	 * <!-- begin-model-doc -->
262
	 * 
263
	 * 
264
	 *             The JNDI name to be looked up to resolve a resource reference.
265
	 *             
266
	 *             @since Java EE 6
267
	 *           
268
	 * <!-- end-model-doc -->
269
	 * @return the value of the '<em>Lookup Name</em>' attribute.
270
	 * @see #setLookupName(String)
271
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_LookupName()
272
	 * @generated
273
	 */
274
	String getLookupName();
275
276
	/**
277
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getLookupName <em>Lookup Name</em>}' attribute.
278
	 * <!-- begin-user-doc -->
279
	 * <!-- end-user-doc -->
280
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
281
	 * @see #getLookupName()
282
	 * @generated
283
	 */
284
	void setLookupName(String value);
286
285
287
	/**
286
	/**
288
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
287
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
Lines 308-312 Link Here
308
	 * @generated
307
	 * @generated
309
	 */
308
	 */
310
	void setId(String value);
309
	void setId(String value);
310
	
311
	/**
312
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute.
313
	 * @param value the new value of the '<em>Env Entry Type</em>' attribute.
314
	 * @see org.eclipse.jst.javaee.core.EnvEntryType
315
	 * @see #isSetEnvEntryType()
316
	 * @see #unsetEnvEntryType()
317
	 * @see #getEnvEntryType()
318
	 * This is provided for Java EE 5 model equivalence
319
	 */
320
	void setEnvEntryType(EnvEntryType value);
321
322
	/**
323
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute.
324
	 * @see #isSetEnvEntryType()
325
	 * @see #getEnvEntryType()
326
	 * @see #setEnvEntryType(EnvEntryType)
327
	 * This is provided for Java EE 5 model equivalence
328
	 */
329
	void unsetEnvEntryType();
330
331
	/**
332
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute is set.
333
	 * @return whether the value of the '<em>Env Entry Type</em>' attribute is set.
334
	 * @see #unsetEnvEntryType()
335
	 * @see #getEnvEntryType()
336
	 * @see #setEnvEntryType(EnvEntryType)
337
	 * This is provided for Java EE 5 model equivalence
338
	 */
339
	boolean isSetEnvEntryType();
311
340
312
} // EnvEntry
341
} // EnvEntry
(-)jee-models/org/eclipse/jst/javaee/core/ResourceRef.java (-67 / +96 lines)
Lines 19-55 Link Here
19
 *
19
 *
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 	
22
 * <![CDATA[[
23
 * 
23
 *         The resource-refType contains a declaration of a
24
 * 	  The resource-refType contains a declaration of a
24
 *         Deployment Component's reference to an external resource. It
25
 * 	  Deployment Component's reference to an external resource. It
25
 *         consists of an optional description, the resource manager
26
 * 	  consists of an optional description, the resource manager
26
 *         connection factory reference name, an optional indication of
27
 * 	  connection factory reference name, an optional indication of
27
 *         the resource manager connection factory type expected by the
28
 * 	  the resource manager connection factory type expected by the
28
 *         Deployment Component code, an optional type of authentication
29
 * 	  Deployment Component code, an optional type of authentication
29
 *         (Application or Container), and an optional specification of
30
 * 	  (Application or Container), and an optional specification of
30
 *         the shareability of connections obtained from the resource
31
 * 	  the shareability of connections obtained from the resource
31
 *         (Shareable or Unshareable).
32
 * 	  (Shareable or Unshareable).
32
 *         
33
 * 
33
 *         It also includes optional elements to define injection of
34
 * 	  It also includes optional elements to define injection of
34
 *         the named resource into fields or JavaBeans properties.
35
 * 	  the named resource into fields or JavaBeans properties.
35
 *         
36
 * 
36
 *         The connection factory type must be supplied unless an
37
 * 	  The connection factory type must be supplied unless an
37
 *         injection target is specified, in which case the type
38
 * 	  injection target is specified, in which case the type
38
 *         of the target is used.  If both are specified, the type
39
 * 	  of the target is used.  If both are specified, the type
39
 *         must be assignment compatible with the type of the injection
40
 * 	  must be assignment compatible with the type of the injection
40
 *         target.
41
 * 	  target.
41
 *         
42
 * 
42
 *         Example:
43
 * 	  Example:
43
 *         
44
 * 
44
 *         <resource-ref>
45
 * 	  &lt;resource-ref&gt;
45
 *         <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
46
 * 	      &lt;res-ref-name&gt;jdbc/EmployeeAppDB&lt;/res-ref-name&gt;
46
 *         <res-type>javax.sql.DataSource</res-type>
47
 * 	      &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
47
 *         <res-auth>Container</res-auth>
48
 * 	      &lt;res-auth&gt;Container&lt;/res-auth&gt;
48
 *         <res-sharing-scope>Shareable</res-sharing-scope>
49
 * 	      &lt;res-sharing-scope&gt;Shareable&lt;/res-sharing-scope&gt;
49
 *         </resource-ref>
50
 * 	  &lt;/resource-ref&gt;
50
 *         
51
 * 
51
 * ]]>
52
 * 	  
52
 *         @since Java EE 5
53
 *       
53
 *       
54
 * <!-- end-model-doc -->
54
 * <!-- end-model-doc -->
55
 *
55
 *
Lines 63-68 Link Here
63
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope <em>Res Sharing Scope</em>}</li>
63
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope <em>Res Sharing Scope</em>}</li>
64
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getMappedName <em>Mapped Name</em>}</li>
64
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getMappedName <em>Mapped Name</em>}</li>
65
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getInjectionTargets <em>Injection Targets</em>}</li>
65
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getInjectionTargets <em>Injection Targets</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getLookupName <em>Lookup Name</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getId <em>Id</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getId <em>Id</em>}</li>
67
 * </ul>
68
 * </ul>
68
 * </p>
69
 * </p>
Lines 85-91 Link Here
85
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_Descriptions()
86
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_Descriptions()
86
	 * @generated
87
	 * @generated
87
	 */
88
	 */
88
	List getDescriptions();
89
	List<Description> getDescriptions();
89
90
90
	/**
91
	/**
91
	 * Returns the value of the '<em><b>Res Ref Name</b></em>' attribute.
92
	 * Returns the value of the '<em><b>Res Ref Name</b></em>' attribute.
Lines 94-106 Link Here
94
	 * <!-- begin-model-doc -->
95
	 * <!-- begin-model-doc -->
95
	 * 
96
	 * 
96
	 * 
97
	 * 
97
	 * 	    The res-ref-name element specifies the name of a
98
	 *             The res-ref-name element specifies the name of a
98
	 * 	    resource manager connection factory reference.
99
	 *             resource manager connection factory reference.
99
	 * 	    The name is a JNDI name relative to the
100
	 *             The name is a JNDI name relative to the
100
	 * 	    java:comp/env context.
101
	 *             java:comp/env context.  
101
	 * 	    The name must be unique within a Deployment File.
102
	 *             The name must be unique within a Deployment File. 
102
	 * 
103
	 *             
103
	 * 	  
104
	 *             @since Java EE 5
105
	 *           
104
	 * <!-- end-model-doc -->
106
	 * <!-- end-model-doc -->
105
	 * @return the value of the '<em>Res Ref Name</em>' attribute.
107
	 * @return the value of the '<em>Res Ref Name</em>' attribute.
106
	 * @see #setResRefName(String)
108
	 * @see #setResRefName(String)
Lines 126-137 Link Here
126
	 * <!-- begin-model-doc -->
128
	 * <!-- begin-model-doc -->
127
	 * 
129
	 * 
128
	 * 
130
	 * 
129
	 * 	    The res-type element specifies the type of the data
131
	 *             The res-type element specifies the type of the data
130
	 * 	    source. The type is specified by the fully qualified
132
	 *             source. The type is specified by the fully qualified
131
	 * 	    Java language class or interface
133
	 *             Java language class or interface
132
	 * 	    expected to be implemented by the data source.
134
	 *             expected to be implemented by the data source.
133
	 * 
135
	 *             
134
	 * 	  
136
	 *             @since Java EE 5
137
	 *           
135
	 * <!-- end-model-doc -->
138
	 * <!-- end-model-doc -->
136
	 * @return the value of the '<em>Res Type</em>' attribute.
139
	 * @return the value of the '<em>Res Type</em>' attribute.
137
	 * @see #setResType(String)
140
	 * @see #setResType(String)
Lines 152-158 Link Here
152
155
153
	/**
156
	/**
154
	 * Returns the value of the '<em><b>Res Auth</b></em>' attribute.
157
	 * Returns the value of the '<em><b>Res Auth</b></em>' attribute.
155
	 * The default value is <code>"Application"</code>.
156
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.ResAuthType}.
158
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.ResAuthType}.
157
	 * <!-- begin-user-doc -->
159
	 * <!-- begin-user-doc -->
158
	 * <p>
160
	 * <p>
Lines 208-214 Link Here
208
210
209
	/**
211
	/**
210
	 * Returns the value of the '<em><b>Res Sharing Scope</b></em>' attribute.
212
	 * Returns the value of the '<em><b>Res Sharing Scope</b></em>' attribute.
211
	 * The default value is <code>"Shareable"</code>.
212
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.ResSharingScopeType}.
213
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.ResSharingScopeType}.
213
	 * <!-- begin-user-doc -->
214
	 * <!-- begin-user-doc -->
214
	 * <p>
215
	 * <p>
Lines 268-293 Link Here
268
	 * <!-- end-user-doc -->
269
	 * <!-- end-user-doc -->
269
	 * <!-- begin-model-doc -->
270
	 * <!-- begin-model-doc -->
270
	 * 
271
	 * 
271
	 * 	    
272
	 * 
273
	 * 	      A product specific name that this resource should be
274
	 * 	      mapped to.  The name of this resource, as defined by the
275
	 * 	      resource's name element or defaulted, is a name that is
276
	 * 	      local to the application component using the resource.
277
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
278
	 * 	      application servers provide a way to map these local
279
	 * 	      names to names of resources known to the application
280
	 * 	      server.  This mapped name is often a global JNDI name,
281
	 * 	      but may be a name of any form.
282
	 * 
272
	 * 
283
	 * 	      Application servers are not required to support any
273
	 *             A product specific name that this resource should be
284
	 * 	      particular form or type of mapped name, nor the ability
274
	 *             mapped to.  The name of this resource, as defined by the
285
	 * 	      to use mapped names.  The mapped name is
275
	 *             resource's name element or defaulted, is a name that is
286
	 * 	      product-dependent and often installation-dependent.  No
276
	 *             local to the application component using the resource.
287
	 * 	      use of a mapped name is portable.
277
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
288
	 * 
278
	 *             application servers provide a way to map these local
289
	 * 	      
279
	 *             names to names of resources known to the application
290
	 * 	  
280
	 *             server.  This mapped name is often a global JNDI name,
281
	 *             but may be a name of any form.
282
	 *             
283
	 *             Application servers are not required to support any
284
	 *             particular form or type of mapped name, nor the ability
285
	 *             to use mapped names.  The mapped name is
286
	 *             product-dependent and often installation-dependent.  No
287
	 *             use of a mapped name is portable.
288
	 *             
289
	 *             @since Java EE 5
290
	 *           
291
	 * <!-- end-model-doc -->
291
	 * <!-- end-model-doc -->
292
	 * @return the value of the '<em>Mapped Name</em>' attribute.
292
	 * @return the value of the '<em>Mapped Name</em>' attribute.
293
	 * @see #setMappedName(String)
293
	 * @see #setMappedName(String)
Lines 319-325 Link Here
319
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_InjectionTargets()
319
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_InjectionTargets()
320
	 * @generated
320
	 * @generated
321
	 */
321
	 */
322
	List getInjectionTargets();
322
	List<InjectionTarget> getInjectionTargets();
323
324
	/**
325
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
326
	 * <!-- begin-user-doc -->
327
	 * <!-- end-user-doc -->
328
	 * <!-- begin-model-doc -->
329
	 * 
330
	 * 
331
	 *             The JNDI name to be looked up to resolve a resource reference.
332
	 *             
333
	 *             @since Java EE 6
334
	 *           
335
	 * <!-- end-model-doc -->
336
	 * @return the value of the '<em>Lookup Name</em>' attribute.
337
	 * @see #setLookupName(String)
338
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_LookupName()
339
	 * @generated
340
	 */
341
	String getLookupName();
342
343
	/**
344
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getLookupName <em>Lookup Name</em>}' attribute.
345
	 * <!-- begin-user-doc -->
346
	 * <!-- end-user-doc -->
347
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
348
	 * @see #getLookupName()
349
	 * @generated
350
	 */
351
	void setLookupName(String value);
323
352
324
	/**
353
	/**
325
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
354
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/ResourceEnvRef.java (-65 / +96 lines)
Lines 19-54 Link Here
19
 *
19
 *
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 	
22
 * <![CDATA[[
23
 * 
23
 *         The resource-env-refType is used to define
24
 * 	  The resource-env-refType is used to define
24
 *         resource-env-ref elements.  It contains a declaration of a
25
 * 	  resource-env-type elements.  It contains a declaration of a
25
 *         Deployment Component's reference to an administered object
26
 * 	  Deployment Component's reference to an administered object
26
 *         associated with a resource in the Deployment Component's
27
 * 	  associated with a resource in the Deployment Component's
27
 *         environment.  It consists of an optional description, the
28
 * 	  environment.  It consists of an optional description, the
28
 *         resource environment reference name, and an optional
29
 * 	  resource environment reference name, and an optional
29
 *         indication of the resource environment reference type
30
 * 	  indication of the resource environment reference type
30
 *         expected by the Deployment Component code.
31
 * 	  expected by the Deployment Component code.
31
 *         
32
 * 
32
 *         It also includes optional elements to define injection of
33
 * 	  It also includes optional elements to define injection of
33
 *         the named resource into fields or JavaBeans properties.
34
 * 	  the named resource into fields or JavaBeans properties.
34
 *         
35
 * 
35
 *         The resource environment type must be supplied unless an
36
 * 	  The resource environment type must be supplied unless an
36
 *         injection target is specified, in which case the type
37
 * 	  injection target is specified, in which case the type
37
 *         of the target is used.  If both are specified, the type
38
 * 	  of the target is used.  If both are specified, the type
38
 *         must be assignment compatible with the type of the injection
39
 * 	  must be assignment compatible with the type of the injection
39
 *         target.
40
 * 	  target.
40
 *         
41
 * 
41
 *         Example:
42
 * 	  Example:
42
 *         
43
 * 
43
 *         <resource-env-ref>
44
 * 	  &lt;resource-env-ref&gt;
44
 *         <resource-env-ref-name>jms/StockQueue
45
 * 	      &lt;resource-env-ref-name&gt;jms/StockQueue
45
 *         </resource-env-ref-name>
46
 * 	      &lt;/resource-env-ref-name&gt;
46
 *         <resource-env-ref-type>javax.jms.Queue
47
 * 	      &lt;resource-env-ref-type&gt;javax.jms.Queue
47
 *         </resource-env-ref-type>
48
 * 	      &lt;/resource-env-ref-type&gt;
48
 *         </resource-env-ref>
49
 * 	  &lt;/resource-env-ref&gt;
49
 *         
50
 * 
50
 * ]]>
51
 * 	  
51
 *         @since Java EE 5
52
 *       
52
 *       
53
 * <!-- end-model-doc -->
53
 * <!-- end-model-doc -->
54
 *
54
 *
Lines 60-65 Link Here
60
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefType <em>Resource Env Ref Type</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefType <em>Resource Env Ref Type</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getMappedName <em>Mapped Name</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getMappedName <em>Mapped Name</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getInjectionTargets <em>Injection Targets</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getInjectionTargets <em>Injection Targets</em>}</li>
63
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName <em>Lookup Name</em>}</li>
63
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getId <em>Id</em>}</li>
64
 *   <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getId <em>Id</em>}</li>
64
 * </ul>
65
 * </ul>
65
 * </p>
66
 * </p>
Lines 82-88 Link Here
82
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_Descriptions()
83
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_Descriptions()
83
	 * @generated
84
	 * @generated
84
	 */
85
	 */
85
	List getDescriptions();
86
	List<Description> getDescriptions();
86
87
87
	/**
88
	/**
88
	 * Returns the value of the '<em><b>Resource Env Ref Name</b></em>' attribute.
89
	 * Returns the value of the '<em><b>Resource Env Ref Name</b></em>' attribute.
Lines 91-104 Link Here
91
	 * <!-- begin-model-doc -->
92
	 * <!-- begin-model-doc -->
92
	 * 
93
	 * 
93
	 * 
94
	 * 
94
	 * 	    The resource-env-ref-name element specifies the name
95
	 *             The resource-env-ref-name element specifies the name
95
	 * 	    of a resource environment reference; its value is
96
	 *             of a resource environment reference; its value is
96
	 * 	    the environment entry name used in
97
	 *             the environment entry name used in
97
	 * 	    the Deployment Component code.  The name is a JNDI
98
	 *             the Deployment Component code.  The name is a JNDI 
98
	 * 	    name relative to the java:comp/env context and must
99
	 *             name relative to the java:comp/env context and must 
99
	 * 	    be unique within a Deployment Component.
100
	 *             be unique within a Deployment Component.
100
	 * 
101
	 *             
101
	 * 	  
102
	 *             @since Java EE 5
103
	 *           
102
	 * <!-- end-model-doc -->
104
	 * <!-- end-model-doc -->
103
	 * @return the value of the '<em>Resource Env Ref Name</em>' attribute.
105
	 * @return the value of the '<em>Resource Env Ref Name</em>' attribute.
104
	 * @see #setResourceEnvRefName(String)
106
	 * @see #setResourceEnvRefName(String)
Lines 124-135 Link Here
124
	 * <!-- begin-model-doc -->
126
	 * <!-- begin-model-doc -->
125
	 * 
127
	 * 
126
	 * 
128
	 * 
127
	 * 	    The resource-env-ref-type element specifies the type
129
	 *             The resource-env-ref-type element specifies the type
128
	 * 	    of a resource environment reference.  It is the
130
	 *             of a resource environment reference.  It is the
129
	 * 	    fully qualified name of a Java language class or
131
	 *             fully qualified name of a Java language class or
130
	 * 	    interface.
132
	 *             interface.
131
	 * 
133
	 *             
132
	 * 	  
134
	 *             @since Java EE 5
135
	 *           
133
	 * <!-- end-model-doc -->
136
	 * <!-- end-model-doc -->
134
	 * @return the value of the '<em>Resource Env Ref Type</em>' attribute.
137
	 * @return the value of the '<em>Resource Env Ref Type</em>' attribute.
135
	 * @see #setResourceEnvRefType(String)
138
	 * @see #setResourceEnvRefType(String)
Lines 154-179 Link Here
154
	 * <!-- end-user-doc -->
157
	 * <!-- end-user-doc -->
155
	 * <!-- begin-model-doc -->
158
	 * <!-- begin-model-doc -->
156
	 * 
159
	 * 
157
	 * 	    
158
	 * 
159
	 * 	      A product specific name that this resource should be
160
	 * 	      mapped to.  The name of this resource, as defined by the
161
	 * 	      resource's name element or defaulted, is a name that is
162
	 * 	      local to the application component using the resource.
163
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
164
	 * 	      application servers provide a way to map these local
165
	 * 	      names to names of resources known to the application
166
	 * 	      server.  This mapped name is often a global JNDI name,
167
	 * 	      but may be a name of any form.
168
	 * 
169
	 * 	      Application servers are not required to support any
170
	 * 	      particular form or type of mapped name, nor the ability
171
	 * 	      to use mapped names.  The mapped name is
172
	 * 	      product-dependent and often installation-dependent.  No
173
	 * 	      use of a mapped name is portable.
174
	 * 
160
	 * 
175
	 * 	      
161
	 *             A product specific name that this resource should be
176
	 * 	  
162
	 *             mapped to.  The name of this resource, as defined by the
163
	 *             resource's name element or defaulted, is a name that is
164
	 *             local to the application component using the resource.
165
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
166
	 *             application servers provide a way to map these local
167
	 *             names to names of resources known to the application
168
	 *             server.  This mapped name is often a global JNDI name,
169
	 *             but may be a name of any form.
170
	 *             
171
	 *             Application servers are not required to support any
172
	 *             particular form or type of mapped name, nor the ability
173
	 *             to use mapped names.  The mapped name is
174
	 *             product-dependent and often installation-dependent.  No
175
	 *             use of a mapped name is portable.
176
	 *             
177
	 *             @since Java EE 5
178
	 *           
177
	 * <!-- end-model-doc -->
179
	 * <!-- end-model-doc -->
178
	 * @return the value of the '<em>Mapped Name</em>' attribute.
180
	 * @return the value of the '<em>Mapped Name</em>' attribute.
179
	 * @see #setMappedName(String)
181
	 * @see #setMappedName(String)
Lines 205-211 Link Here
205
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_InjectionTargets()
207
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_InjectionTargets()
206
	 * @generated
208
	 * @generated
207
	 */
209
	 */
208
	List getInjectionTargets();
210
	List<InjectionTarget> getInjectionTargets();
211
212
	/**
213
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
214
	 * <!-- begin-user-doc -->
215
	 * <!-- end-user-doc -->
216
	 * <!-- begin-model-doc -->
217
	 * 
218
	 * 
219
	 *             The JNDI name to be looked up to resolve a resource reference.
220
	 *             
221
	 *             @since Java EE 6
222
	 *           
223
	 * <!-- end-model-doc -->
224
	 * @return the value of the '<em>Lookup Name</em>' attribute.
225
	 * @see #setLookupName(String)
226
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_LookupName()
227
	 * @generated
228
	 */
229
	String getLookupName();
230
231
	/**
232
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName <em>Lookup Name</em>}' attribute.
233
	 * <!-- begin-user-doc -->
234
	 * <!-- end-user-doc -->
235
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
236
	 * @see #getLookupName()
237
	 * @generated
238
	 */
239
	void setLookupName(String value);
209
240
210
	/**
241
	/**
211
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
242
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/MessageDestinationUsageType.java (-49 / +108 lines)
Lines 14-20 Link Here
14
import java.util.Collections;
14
import java.util.Collections;
15
import java.util.List;
15
import java.util.List;
16
16
17
import org.eclipse.emf.common.util.AbstractEnumerator;
17
import org.eclipse.emf.common.util.Enumerator;
18
18
19
/**
19
/**
20
 * <!-- begin-user-doc -->
20
 * <!-- begin-user-doc -->
Lines 24-48 Link Here
24
 * <!-- begin-model-doc -->
24
 * <!-- begin-model-doc -->
25
 * 
25
 * 
26
 * 
26
 * 
27
 * 	The message-destination-usageType specifies the use of the
27
 *         The message-destination-usageType specifies the use of the
28
 * 	message destination indicated by the reference.  The value
28
 *         message destination indicated by the reference.  The value
29
 * 	indicates whether messages are consumed from the message
29
 *         indicates whether messages are consumed from the message
30
 * 	destination, produced for the destination, or both.  The
30
 *         destination, produced for the destination, or both.  The
31
 * 	Assembler makes use of this information in linking producers
31
 *         Assembler makes use of this information in linking producers
32
 * 	of a destination with its consumers.
32
 *         of a destination with its consumers.
33
 * 
33
 *         
34
 * 	The value of the message-destination-usage element must be
34
 *         The value of the message-destination-usage element must be
35
 * 	one of the following:
35
 *         one of the following:
36
 * 	    Consumes
36
 *         Consumes
37
 * 	    Produces
37
 *         Produces
38
 * 	    ConsumesProduces
38
 *         ConsumesProduces
39
 * 
39
 *         
40
 *         @since Java EE 5
40
 *       
41
 *       
41
 * <!-- end-model-doc -->
42
 * <!-- end-model-doc -->
42
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationUsageType()
43
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationUsageType()
43
 * @generated
44
 * @generated
44
 */
45
 */
45
public final class MessageDestinationUsageType extends AbstractEnumerator {
46
public enum MessageDestinationUsageType implements Enumerator
47
{
48
	/**
49
	 * The '<em><b>Consumes</b></em>' literal object.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * @see #CONSUMES
53
	 * @generated
54
	 * @ordered
55
	 */
56
	CONSUMES_LITERAL(0, "Consumes", "Consumes"), //$NON-NLS-1$ //$NON-NLS-2$
57
	/**
58
	 * The '<em><b>Produces</b></em>' literal object.
59
	 * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
61
	 * @see #PRODUCES
62
	 * @generated
63
	 * @ordered
64
	 */
65
	PRODUCES_LITERAL(1, "Produces", "Produces"), //$NON-NLS-1$ //$NON-NLS-2$
66
	/**
67
	 * The '<em><b>Consumes Produces</b></em>' literal object.
68
	 * <!-- begin-user-doc -->
69
	 * <!-- end-user-doc -->
70
	 * @see #CONSUMES_PRODUCES
71
	 * @generated
72
	 * @ordered
73
	 */
74
	CONSUMES_PRODUCES_LITERAL(2, "ConsumesProduces", "ConsumesProduces"); //$NON-NLS-1$ //$NON-NLS-2$
46
	/**
75
	/**
47
	 * The '<em><b>Consumes</b></em>' literal value.
76
	 * The '<em><b>Consumes</b></em>' literal value.
48
	 * <!-- begin-user-doc -->
77
	 * <!-- begin-user-doc -->
Lines 86-121 Link Here
86
	public static final int CONSUMES_PRODUCES = 2;
115
	public static final int CONSUMES_PRODUCES = 2;
87
116
88
	/**
117
	/**
89
	 * The '<em><b>Consumes</b></em>' literal object.
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @see #CONSUMES
93
	 * @generated
94
	 * @ordered
95
	 */
96
	public static final MessageDestinationUsageType CONSUMES_LITERAL = new MessageDestinationUsageType(CONSUMES, "Consumes", "Consumes"); //$NON-NLS-1$ //$NON-NLS-2$
97
98
	/**
99
	 * The '<em><b>Produces</b></em>' literal object.
100
	 * <!-- begin-user-doc -->
101
	 * <!-- end-user-doc -->
102
	 * @see #PRODUCES
103
	 * @generated
104
	 * @ordered
105
	 */
106
	public static final MessageDestinationUsageType PRODUCES_LITERAL = new MessageDestinationUsageType(PRODUCES, "Produces", "Produces"); //$NON-NLS-1$ //$NON-NLS-2$
107
108
	/**
109
	 * The '<em><b>Consumes Produces</b></em>' literal object.
110
	 * <!-- begin-user-doc -->
111
	 * <!-- end-user-doc -->
112
	 * @see #CONSUMES_PRODUCES
113
	 * @generated
114
	 * @ordered
115
	 */
116
	public static final MessageDestinationUsageType CONSUMES_PRODUCES_LITERAL = new MessageDestinationUsageType(CONSUMES_PRODUCES, "ConsumesProduces", "ConsumesProduces"); //$NON-NLS-1$ //$NON-NLS-2$
117
118
	/**
119
	 * An array of all the '<em><b>Message Destination Usage Type</b></em>' enumerators.
118
	 * An array of all the '<em><b>Message Destination Usage Type</b></em>' enumerators.
120
	 * <!-- begin-user-doc -->
119
	 * <!-- begin-user-doc -->
121
	 * <!-- end-user-doc -->
120
	 * <!-- end-user-doc -->
Lines 134-140 Link Here
134
	 * <!-- end-user-doc -->
133
	 * <!-- end-user-doc -->
135
	 * @generated
134
	 * @generated
136
	 */
135
	 */
137
	public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
136
	public static final List<MessageDestinationUsageType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
138
137
139
	/**
138
	/**
140
	 * Returns the '<em><b>Message Destination Usage Type</b></em>' literal with the specified literal value.
139
	 * Returns the '<em><b>Message Destination Usage Type</b></em>' literal with the specified literal value.
Lines 180-196 Link Here
180
			case PRODUCES: return PRODUCES_LITERAL;
179
			case PRODUCES: return PRODUCES_LITERAL;
181
			case CONSUMES_PRODUCES: return CONSUMES_PRODUCES_LITERAL;
180
			case CONSUMES_PRODUCES: return CONSUMES_PRODUCES_LITERAL;
182
		}
181
		}
183
		return null;	
182
		return null;
184
	}
183
	}
185
184
186
	/**
185
	/**
186
	 * <!-- begin-user-doc -->
187
	 * <!-- end-user-doc -->
188
	 * @generated
189
	 */
190
	private final int value;
191
192
	/**
193
	 * <!-- begin-user-doc -->
194
	 * <!-- end-user-doc -->
195
	 * @generated
196
	 */
197
	private final String name;
198
199
	/**
200
	 * <!-- begin-user-doc -->
201
	 * <!-- end-user-doc -->
202
	 * @generated
203
	 */
204
	private final String literal;
205
206
	/**
187
	 * Only this class can construct instances.
207
	 * Only this class can construct instances.
188
	 * <!-- begin-user-doc -->
208
	 * <!-- begin-user-doc -->
189
	 * <!-- end-user-doc -->
209
	 * <!-- end-user-doc -->
190
	 * @generated
210
	 * @generated
191
	 */
211
	 */
192
	private MessageDestinationUsageType(int value, String name, String literal) {
212
	private MessageDestinationUsageType(int value, String name, String literal) {
193
		super(value, name, literal);
213
		this.value = value;
214
		this.name = name;
215
		this.literal = literal;
194
	}
216
	}
195
217
196
} //MessageDestinationUsageType
218
	/**
219
	 * <!-- begin-user-doc -->
220
	 * <!-- end-user-doc -->
221
	 * @generated
222
	 */
223
	public int getValue() {
224
	  return value;
225
	}
226
227
	/**
228
	 * <!-- begin-user-doc -->
229
	 * <!-- end-user-doc -->
230
	 * @generated
231
	 */
232
	public String getName() {
233
	  return name;
234
	}
235
236
	/**
237
	 * <!-- begin-user-doc -->
238
	 * <!-- end-user-doc -->
239
	 * @generated
240
	 */
241
	public String getLiteral() {
242
	  return literal;
243
	}
244
245
	/**
246
	 * Returns the literal value of the enumerator, which is its string representation.
247
	 * <!-- begin-user-doc -->
248
	 * <!-- end-user-doc -->
249
	 * @generated
250
	 */
251
	@Override
252
	public String toString() {
253
		return literal;
254
	}
255
}
(-)jee-models/org/eclipse/jst/javaee/core/Listener.java (-12 / +14 lines)
Lines 20-28 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The listenerType indicates the deployment properties for a web
23
 *         The listenerType indicates the deployment properties for a web
24
 * 	application listener bean.
24
 *         application listener bean.
25
 * 
25
 *         
26
 *         @since Java EE 5
26
 *       
27
 *       
27
 * <!-- end-model-doc -->
28
 * <!-- end-model-doc -->
28
 *
29
 *
Lines 55-61 Link Here
55
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_Descriptions()
56
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_Descriptions()
56
	 * @generated
57
	 * @generated
57
	 */
58
	 */
58
	List getDescriptions();
59
	List<Description> getDescriptions();
59
60
60
	/**
61
	/**
61
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
62
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
Lines 70-76 Link Here
70
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_DisplayNames()
71
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_DisplayNames()
71
	 * @generated
72
	 * @generated
72
	 */
73
	 */
73
	List getDisplayNames();
74
	List<DisplayName> getDisplayNames();
74
75
75
	/**
76
	/**
76
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
77
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
Lines 85-91 Link Here
85
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_Icons()
86
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_Icons()
86
	 * @generated
87
	 * @generated
87
	 */
88
	 */
88
	List getIcons();
89
	List<Icon> getIcons();
89
90
90
	/**
91
	/**
91
	 * Returns the value of the '<em><b>Listener Class</b></em>' attribute.
92
	 * Returns the value of the '<em><b>Listener Class</b></em>' attribute.
Lines 94-105 Link Here
94
	 * <!-- begin-model-doc -->
95
	 * <!-- begin-model-doc -->
95
	 * 
96
	 * 
96
	 * 
97
	 * 
97
	 * 	    The listener-class element declares a class in the
98
	 *             The listener-class element declares a class in the
98
	 * 	    application must be registered as a web
99
	 *             application must be registered as a web
99
	 * 	    application listener bean. The value is the fully
100
	 *             application listener bean. The value is the fully
100
	 * 	    qualified classname of the listener class.
101
	 *             qualified classname of the listener class.
101
	 * 
102
	 *             
102
	 * 	  
103
	 *             @since Java EE 5
104
	 *           
103
	 * <!-- end-model-doc -->
105
	 * <!-- end-model-doc -->
104
	 * @return the value of the '<em>Listener Class</em>' attribute.
106
	 * @return the value of the '<em>Listener Class</em>' attribute.
105
	 * @see #setListenerClass(String)
107
	 * @see #setListenerClass(String)
(-)jee-models/org/eclipse/jst/javaee/core/ParamValue.java (-12 / +15 lines)
Lines 20-28 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	This type is a general type that can be used to declare
23
 *         This type is a general type that can be used to declare
24
 * 	parameter/value lists.
24
 *         parameter/value lists.
25
 * 
25
 *         
26
 *         @since Java EE 5
26
 *       
27
 *       
27
 * <!-- end-model-doc -->
28
 * <!-- end-model-doc -->
28
 *
29
 *
Lines 54-60 Link Here
54
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getParamValue_Descriptions()
55
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getParamValue_Descriptions()
55
	 * @generated
56
	 * @generated
56
	 */
57
	 */
57
	List getDescriptions();
58
	List<Description> getDescriptions();
58
59
59
	/**
60
	/**
60
	 * Returns the value of the '<em><b>Param Name</b></em>' attribute.
61
	 * Returns the value of the '<em><b>Param Name</b></em>' attribute.
Lines 63-72 Link Here
63
	 * <!-- begin-model-doc -->
64
	 * <!-- begin-model-doc -->
64
	 * 
65
	 * 
65
	 * 
66
	 * 
66
	 * 	    The param-name element contains the name of a
67
	 *             The param-name element contains the name of a
67
	 * 	    parameter.
68
	 *             parameter.
68
	 * 
69
	 *             
69
	 * 	  
70
	 *             @since Java EE 5
71
	 *           
70
	 * <!-- end-model-doc -->
72
	 * <!-- end-model-doc -->
71
	 * @return the value of the '<em>Param Name</em>' attribute.
73
	 * @return the value of the '<em>Param Name</em>' attribute.
72
	 * @see #setParamName(String)
74
	 * @see #setParamName(String)
Lines 92-101 Link Here
92
	 * <!-- begin-model-doc -->
94
	 * <!-- begin-model-doc -->
93
	 * 
95
	 * 
94
	 * 
96
	 * 
95
	 * 	    The param-value element contains the value of a
97
	 *             The param-value element contains the value of a
96
	 * 	    parameter.
98
	 *             parameter.
97
	 * 
99
	 *             
98
	 * 	  
100
	 *             @since Java EE 5
101
	 *           
99
	 * <!-- end-model-doc -->
102
	 * <!-- end-model-doc -->
100
	 * @return the value of the '<em>Param Value</em>' attribute.
103
	 * @return the value of the '<em>Param Value</em>' attribute.
101
	 * @see #setParamValue(String)
104
	 * @see #setParamValue(String)
(-)jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java (-71 / +102 lines)
Lines 19-57 Link Here
19
 *
19
 *
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 	
22
 * <![CDATA[[
23
 * 
23
 *         The persistence-context-ref element contains a declaration
24
 * 	  The persistence-context-ref element contains a declaration
24
 *         of Deployment Component's reference to a persistence context
25
 * 	  of Deployment Component's reference to a persistence context
25
 *         associated within a Deployment Component's
26
 * 	  associated within a Deployment Component's
26
 *         environment. It consists of:
27
 * 	  environment. It consists of:
27
 *         
28
 * 
28
 *         - an optional description
29
 * 		  - an optional description
29
 *         - the persistence context reference name
30
 * 		  - the persistence context reference name
30
 *         - an optional persistence unit name.  If not specified,
31
 * 		  - an optional persistence unit name.  If not specified,
31
 *         the default persistence unit is assumed.
32
 *                     the default persistence unit is assumed.
32
 *         - an optional specification as to whether
33
 * 		  - an optional specification as to whether
33
 *         the persistence context type is Transaction or
34
 * 		    the persistence context type is Transaction or
34
 *         Extended.  If not specified, Transaction is assumed.
35
 * 		    Extended.  If not specified, Transaction is assumed.
35
 *         - an optional list of persistence properties
36
 *                   - an optional list of persistence properties
36
 *         - optional injection targets
37
 * 		  - optional injection targets
37
 *         
38
 * 
38
 *         Examples:
39
 * 	  Examples:
39
 *         
40
 * 
40
 *         <persistence-context-ref>
41
 *             &lt;persistence-context-ref&gt;
41
 *         <persistence-context-ref-name>myPersistenceContext
42
 *               &lt;persistence-context-ref-name&gt;myPersistenceContext
42
 *         </persistence-context-ref-name>
43
 *               &lt;/persistence-context-ref-name&gt;
43
 *         </persistence-context-ref>
44
 *             &lt;/persistence-context-ref&gt;
44
 *         
45
 * 
45
 *         <persistence-context-ref>
46
 *             &lt;persistence-context-ref&gt;
46
 *         <persistence-context-ref-name>myPersistenceContext
47
 *               &lt;persistence-context-ref-name&gt;myPersistenceContext
47
 *         </persistence-context-ref-name>
48
 *                 &lt;/persistence-context-ref-name&gt;
48
 *         <persistence-unit-name>PersistenceUnit1
49
 *               &lt;persistence-unit-name&gt;PersistenceUnit1
49
 *         </persistence-unit-name>
50
 *                 &lt;/persistence-unit-name&gt;
50
 *         <persistence-context-type>Extended</persistence-context-type>
51
 *               &lt;persistence-context-type&gt;Extended&lt;/persistence-context-type&gt;
51
 *         </persistence-context-ref>
52
 *             &lt;/persistence-context-ref&gt;
52
 *         
53
 * 
53
 * ]]>
54
 * 	  
54
 *         @since Java EE 5
55
 *       
55
 *       
56
 * <!-- end-model-doc -->
56
 * <!-- end-model-doc -->
57
 *
57
 *
Lines 65-70 Link Here
65
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceProperties <em>Persistence Properties</em>}</li>
65
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceProperties <em>Persistence Properties</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getMappedName <em>Mapped Name</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getMappedName <em>Mapped Name</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getInjectionTargets <em>Injection Targets</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getInjectionTargets <em>Injection Targets</em>}</li>
68
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getLookupName <em>Lookup Name</em>}</li>
68
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId <em>Id</em>}</li>
69
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId <em>Id</em>}</li>
69
 * </ul>
70
 * </ul>
70
 * </p>
71
 * </p>
Lines 87-93 Link Here
87
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_Descriptions()
88
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_Descriptions()
88
	 * @generated
89
	 * @generated
89
	 */
90
	 */
90
	List getDescriptions();
91
	List<Description> getDescriptions();
91
92
92
	/**
93
	/**
93
	 * Returns the value of the '<em><b>Persistence Context Ref Name</b></em>' attribute.
94
	 * Returns the value of the '<em><b>Persistence Context Ref Name</b></em>' attribute.
Lines 96-108 Link Here
96
	 * <!-- begin-model-doc -->
97
	 * <!-- begin-model-doc -->
97
	 * 
98
	 * 
98
	 * 
99
	 * 
99
	 * 	    The persistence-context-ref-name element specifies
100
	 *             The persistence-context-ref-name element specifies
100
	 * 	    the name of a persistence context reference; its
101
	 *             the name of a persistence context reference; its
101
	 * 	    value is the environment entry name used in
102
	 *             value is the environment entry name used in
102
	 * 	    Deployment Component code.  The name is a JNDI name
103
	 *             Deployment Component code.  The name is a JNDI name
103
	 * 	    relative to the java:comp/env context.
104
	 *             relative to the java:comp/env context.
104
	 * 
105
	 *             
105
	 * 	  
106
	 *             @since Java EE 5
107
	 *           
106
	 * <!-- end-model-doc -->
108
	 * <!-- end-model-doc -->
107
	 * @return the value of the '<em>Persistence Context Ref Name</em>' attribute.
109
	 * @return the value of the '<em>Persistence Context Ref Name</em>' attribute.
108
	 * @see #setPersistenceContextRefName(String)
110
	 * @see #setPersistenceContextRefName(String)
Lines 131-147 Link Here
131
	 *             The Application Assembler(or BeanProvider) may use the
133
	 *             The Application Assembler(or BeanProvider) may use the
132
	 *             following syntax to avoid the need to rename persistence
134
	 *             following syntax to avoid the need to rename persistence
133
	 *             units to have unique names within a Java EE application.
135
	 *             units to have unique names within a Java EE application.
134
	 * 
136
	 *             
135
	 *             The Application Assembler specifies the pathname of the
137
	 *             The Application Assembler specifies the pathname of the
136
	 *             root of the persistence.xml file for the referenced
138
	 *             root of the persistence.xml file for the referenced
137
	 *             persistence unit and appends the name of the persistence
139
	 *             persistence unit and appends the name of the persistence
138
	 *             unit separated from the pathname by #. The pathname is
140
	 *             unit separated from the pathname by #. The pathname is
139
	 *             relative to the referencing application component jar file.
141
	 *             relative to the referencing application component jar file. 
140
	 *             In this manner, multiple persistence units with the same
142
	 *             In this manner, multiple persistence units with the same
141
	 *             persistence unit name may be uniquely identified when the
143
	 *             persistence unit name may be uniquely identified when the 
142
	 *             Application Assembler cannot change persistence unit names.
144
	 *             Application Assembler cannot change persistence unit names.
143
	 * 
145
	 *             
144
	 * 	  
146
	 *             @since Java EE 5
147
	 *           
145
	 * <!-- end-model-doc -->
148
	 * <!-- end-model-doc -->
146
	 * @return the value of the '<em>Persistence Unit Name</em>' attribute.
149
	 * @return the value of the '<em>Persistence Unit Name</em>' attribute.
147
	 * @see #setPersistenceUnitName(String)
150
	 * @see #setPersistenceUnitName(String)
Lines 162-168 Link Here
162
165
163
	/**
166
	/**
164
	 * Returns the value of the '<em><b>Persistence Context Type</b></em>' attribute.
167
	 * Returns the value of the '<em><b>Persistence Context Type</b></em>' attribute.
165
	 * The default value is <code>"Transaction"</code>.
166
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.PersistenceContextType}.
168
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.PersistenceContextType}.
167
	 * <!-- begin-user-doc -->
169
	 * <!-- begin-user-doc -->
168
	 * <p>
170
	 * <p>
Lines 227-244 Link Here
227
	 *             Used to specify properties for the container or persistence
229
	 *             Used to specify properties for the container or persistence
228
	 *             provider.  Vendor-specific properties may be included in
230
	 *             provider.  Vendor-specific properties may be included in
229
	 *             the set of properties.  Properties that are not recognized
231
	 *             the set of properties.  Properties that are not recognized
230
	 *             by a vendor must be ignored.  Entries that make use of the
232
	 *             by a vendor must be ignored.  Entries that make use of the 
231
	 *             namespace javax.persistence and its subnamespaces must not
233
	 *             namespace javax.persistence and its subnamespaces must not
232
	 *             be used for vendor-specific properties.  The namespace
234
	 *             be used for vendor-specific properties.  The namespace
233
	 *             javax.persistence is reserved for use by the specification.
235
	 *             javax.persistence is reserved for use by the specification.
234
	 * 
236
	 *             
235
	 * 	  
237
	 *             @since Java EE 5
238
	 *           
236
	 * <!-- end-model-doc -->
239
	 * <!-- end-model-doc -->
237
	 * @return the value of the '<em>Persistence Properties</em>' containment reference list.
240
	 * @return the value of the '<em>Persistence Properties</em>' containment reference list.
238
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_PersistenceProperties()
241
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_PersistenceProperties()
239
	 * @generated
242
	 * @generated
240
	 */
243
	 */
241
	List getPersistenceProperties();
244
	List<PropertyType> getPersistenceProperties();
242
245
243
	/**
246
	/**
244
	 * Returns the value of the '<em><b>Mapped Name</b></em>' attribute.
247
	 * Returns the value of the '<em><b>Mapped Name</b></em>' attribute.
Lines 246-271 Link Here
246
	 * <!-- end-user-doc -->
249
	 * <!-- end-user-doc -->
247
	 * <!-- begin-model-doc -->
250
	 * <!-- begin-model-doc -->
248
	 * 
251
	 * 
249
	 * 	    
250
	 * 
251
	 * 	      A product specific name that this resource should be
252
	 * 	      mapped to.  The name of this resource, as defined by the
253
	 * 	      resource's name element or defaulted, is a name that is
254
	 * 	      local to the application component using the resource.
255
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
256
	 * 	      application servers provide a way to map these local
257
	 * 	      names to names of resources known to the application
258
	 * 	      server.  This mapped name is often a global JNDI name,
259
	 * 	      but may be a name of any form.
260
	 * 
261
	 * 	      Application servers are not required to support any
262
	 * 	      particular form or type of mapped name, nor the ability
263
	 * 	      to use mapped names.  The mapped name is
264
	 * 	      product-dependent and often installation-dependent.  No
265
	 * 	      use of a mapped name is portable.
266
	 * 
252
	 * 
267
	 * 	      
253
	 *             A product specific name that this resource should be
268
	 * 	  
254
	 *             mapped to.  The name of this resource, as defined by the
255
	 *             resource's name element or defaulted, is a name that is
256
	 *             local to the application component using the resource.
257
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
258
	 *             application servers provide a way to map these local
259
	 *             names to names of resources known to the application
260
	 *             server.  This mapped name is often a global JNDI name,
261
	 *             but may be a name of any form.
262
	 *             
263
	 *             Application servers are not required to support any
264
	 *             particular form or type of mapped name, nor the ability
265
	 *             to use mapped names.  The mapped name is
266
	 *             product-dependent and often installation-dependent.  No
267
	 *             use of a mapped name is portable.
268
	 *             
269
	 *             @since Java EE 5
270
	 *           
269
	 * <!-- end-model-doc -->
271
	 * <!-- end-model-doc -->
270
	 * @return the value of the '<em>Mapped Name</em>' attribute.
272
	 * @return the value of the '<em>Mapped Name</em>' attribute.
271
	 * @see #setMappedName(String)
273
	 * @see #setMappedName(String)
Lines 297-303 Link Here
297
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_InjectionTargets()
299
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_InjectionTargets()
298
	 * @generated
300
	 * @generated
299
	 */
301
	 */
300
	List getInjectionTargets();
302
	List<InjectionTarget> getInjectionTargets();
303
304
	/**
305
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
306
	 * <!-- begin-user-doc -->
307
	 * <!-- end-user-doc -->
308
	 * <!-- begin-model-doc -->
309
	 * 
310
	 * 
311
	 *             The JNDI name to be looked up to resolve a resource reference.
312
	 *             
313
	 *             @since Java EE 6
314
	 *           
315
	 * <!-- end-model-doc -->
316
	 * @return the value of the '<em>Lookup Name</em>' attribute.
317
	 * @see #setLookupName(String)
318
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_LookupName()
319
	 * @generated
320
	 */
321
	String getLookupName();
322
323
	/**
324
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getLookupName <em>Lookup Name</em>}' attribute.
325
	 * <!-- begin-user-doc -->
326
	 * <!-- end-user-doc -->
327
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
328
	 * @see #getLookupName()
329
	 * @generated
330
	 */
331
	void setLookupName(String value);
301
332
302
	/**
333
	/**
303
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
334
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/ResSharingScopeType.java (-36 / +96 lines)
Lines 14-20 Link Here
14
import java.util.Collections;
14
import java.util.Collections;
15
import java.util.List;
15
import java.util.List;
16
16
17
import org.eclipse.emf.common.util.AbstractEnumerator;
17
import org.eclipse.emf.common.util.Enumerator;
18
18
19
/**
19
/**
20
 * <!-- begin-user-doc -->
20
 * <!-- begin-user-doc -->
Lines 24-45 Link Here
24
 * <!-- begin-model-doc -->
24
 * <!-- begin-model-doc -->
25
 * 
25
 * 
26
 * 
26
 * 
27
 * 	The res-sharing-scope type specifies whether connections
27
 *         The res-sharing-scope type specifies whether connections
28
 * 	obtained through the given resource manager connection
28
 *         obtained through the given resource manager connection
29
 * 	factory reference can be shared. The value, if specified,
29
 *         factory reference can be shared. The value, if specified,
30
 * 	must be one of the two following:
30
 *         must be one of the two following:
31
 * 
31
 *         
32
 * 	    Shareable
32
 *         Shareable
33
 * 	    Unshareable
33
 *         Unshareable
34
 * 
34
 *         
35
 * 	The default value is Shareable.
35
 *         The default value is Shareable.
36
 * 
36
 *         
37
 *         @since Java EE 5
37
 *       
38
 *       
38
 * <!-- end-model-doc -->
39
 * <!-- end-model-doc -->
39
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResSharingScopeType()
40
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResSharingScopeType()
40
 * @generated
41
 * @generated
41
 */
42
 */
42
public final class ResSharingScopeType extends AbstractEnumerator {
43
public enum ResSharingScopeType implements Enumerator
44
{
45
	/**
46
	 * The '<em><b>Shareable</b></em>' literal object.
47
	 * <!-- begin-user-doc -->
48
	 * <!-- end-user-doc -->
49
	 * @see #SHAREABLE
50
	 * @generated
51
	 * @ordered
52
	 */
53
	SHAREABLE_LITERAL(0, "Shareable", "Shareable"), //$NON-NLS-1$ //$NON-NLS-2$
54
	/**
55
	 * The '<em><b>Unshareable</b></em>' literal object.
56
	 * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
58
	 * @see #UNSHAREABLE
59
	 * @generated
60
	 * @ordered
61
	 */
62
	UNSHAREABLE_LITERAL(1, "Unshareable", "Unshareable"); //$NON-NLS-1$ //$NON-NLS-2$
43
	/**
63
	/**
44
	 * The '<em><b>Shareable</b></em>' literal value.
64
	 * The '<em><b>Shareable</b></em>' literal value.
45
	 * <!-- begin-user-doc -->
65
	 * <!-- begin-user-doc -->
Lines 69-94 Link Here
69
	public static final int UNSHAREABLE = 1;
89
	public static final int UNSHAREABLE = 1;
70
90
71
	/**
91
	/**
72
	 * The '<em><b>Shareable</b></em>' literal object.
73
	 * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
75
	 * @see #SHAREABLE
76
	 * @generated
77
	 * @ordered
78
	 */
79
	public static final ResSharingScopeType SHAREABLE_LITERAL = new ResSharingScopeType(SHAREABLE, "Shareable", "Shareable"); //$NON-NLS-1$ //$NON-NLS-2$
80
81
	/**
82
	 * The '<em><b>Unshareable</b></em>' literal object.
83
	 * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
85
	 * @see #UNSHAREABLE
86
	 * @generated
87
	 * @ordered
88
	 */
89
	public static final ResSharingScopeType UNSHAREABLE_LITERAL = new ResSharingScopeType(UNSHAREABLE, "Unshareable", "Unshareable"); //$NON-NLS-1$ //$NON-NLS-2$
90
91
	/**
92
	 * An array of all the '<em><b>Res Sharing Scope Type</b></em>' enumerators.
92
	 * An array of all the '<em><b>Res Sharing Scope Type</b></em>' enumerators.
93
	 * <!-- begin-user-doc -->
93
	 * <!-- begin-user-doc -->
94
	 * <!-- end-user-doc -->
94
	 * <!-- end-user-doc -->
Lines 106-112 Link Here
106
	 * <!-- end-user-doc -->
106
	 * <!-- end-user-doc -->
107
	 * @generated
107
	 * @generated
108
	 */
108
	 */
109
	public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
109
	public static final List<ResSharingScopeType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
110
110
111
	/**
111
	/**
112
	 * Returns the '<em><b>Res Sharing Scope Type</b></em>' literal with the specified literal value.
112
	 * Returns the '<em><b>Res Sharing Scope Type</b></em>' literal with the specified literal value.
Lines 151-167 Link Here
151
			case SHAREABLE: return SHAREABLE_LITERAL;
151
			case SHAREABLE: return SHAREABLE_LITERAL;
152
			case UNSHAREABLE: return UNSHAREABLE_LITERAL;
152
			case UNSHAREABLE: return UNSHAREABLE_LITERAL;
153
		}
153
		}
154
		return null;	
154
		return null;
155
	}
155
	}
156
156
157
	/**
157
	/**
158
	 * <!-- begin-user-doc -->
159
	 * <!-- end-user-doc -->
160
	 * @generated
161
	 */
162
	private final int value;
163
164
	/**
165
	 * <!-- begin-user-doc -->
166
	 * <!-- end-user-doc -->
167
	 * @generated
168
	 */
169
	private final String name;
170
171
	/**
172
	 * <!-- begin-user-doc -->
173
	 * <!-- end-user-doc -->
174
	 * @generated
175
	 */
176
	private final String literal;
177
178
	/**
158
	 * Only this class can construct instances.
179
	 * Only this class can construct instances.
159
	 * <!-- begin-user-doc -->
180
	 * <!-- begin-user-doc -->
160
	 * <!-- end-user-doc -->
181
	 * <!-- end-user-doc -->
161
	 * @generated
182
	 * @generated
162
	 */
183
	 */
163
	private ResSharingScopeType(int value, String name, String literal) {
184
	private ResSharingScopeType(int value, String name, String literal) {
164
		super(value, name, literal);
185
		this.value = value;
186
		this.name = name;
187
		this.literal = literal;
188
	}
189
190
	/**
191
	 * <!-- begin-user-doc -->
192
	 * <!-- end-user-doc -->
193
	 * @generated
194
	 */
195
	public int getValue() {
196
	  return value;
165
	}
197
	}
166
198
167
} //ResSharingScopeType
199
	/**
200
	 * <!-- begin-user-doc -->
201
	 * <!-- end-user-doc -->
202
	 * @generated
203
	 */
204
	public String getName() {
205
	  return name;
206
	}
207
208
	/**
209
	 * <!-- begin-user-doc -->
210
	 * <!-- end-user-doc -->
211
	 * @generated
212
	 */
213
	public String getLiteral() {
214
	  return literal;
215
	}
216
217
	/**
218
	 * Returns the literal value of the enumerator, which is its string representation.
219
	 * <!-- begin-user-doc -->
220
	 * <!-- end-user-doc -->
221
	 * @generated
222
	 */
223
	@Override
224
	public String toString() {
225
		return literal;
226
	}
227
}
(-)jee-models/org/eclipse/jst/javaee/core/ResAuthType.java (-38 / +98 lines)
Lines 14-20 Link Here
14
import java.util.Collections;
14
import java.util.Collections;
15
import java.util.List;
15
import java.util.List;
16
16
17
import org.eclipse.emf.common.util.AbstractEnumerator;
17
import org.eclipse.emf.common.util.Enumerator;
18
18
19
/**
19
/**
20
 * <!-- begin-user-doc -->
20
 * <!-- begin-user-doc -->
Lines 24-47 Link Here
24
 * <!-- begin-model-doc -->
24
 * <!-- begin-model-doc -->
25
 * 
25
 * 
26
 * 
26
 * 
27
 * 	The res-authType specifies whether the Deployment Component
27
 *         The res-authType specifies whether the Deployment Component
28
 * 	code signs on programmatically to the resource manager, or
28
 *         code signs on programmatically to the resource manager, or
29
 * 	whether the Container will sign on to the resource manager
29
 *         whether the Container will sign on to the resource manager
30
 * 	on behalf of the Deployment Component. In the latter case,
30
 *         on behalf of the Deployment Component. In the latter case,
31
 * 	the Container uses information that is supplied by the
31
 *         the Container uses information that is supplied by the
32
 * 	Deployer.
32
 *         Deployer.
33
 * 
33
 *         
34
 * 	The value must be one of the two following:
34
 *         The value must be one of the two following:
35
 * 
35
 *         
36
 * 	    Application
36
 *         Application
37
 * 	    Container
37
 *         Container
38
 * 
38
 *         
39
 *         @since Java EE 5
39
 *       
40
 *       
40
 * <!-- end-model-doc -->
41
 * <!-- end-model-doc -->
41
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResAuthType()
42
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResAuthType()
42
 * @generated
43
 * @generated
43
 */
44
 */
44
public final class ResAuthType extends AbstractEnumerator {
45
public enum ResAuthType implements Enumerator
46
{
47
	/**
48
	 * The '<em><b>Application</b></em>' literal object.
49
	 * <!-- begin-user-doc -->
50
	 * <!-- end-user-doc -->
51
	 * @see #APPLICATION
52
	 * @generated
53
	 * @ordered
54
	 */
55
	APPLICATION_LITERAL(0, "Application", "Application"), //$NON-NLS-1$ //$NON-NLS-2$
56
	/**
57
	 * The '<em><b>Container</b></em>' literal object.
58
	 * <!-- begin-user-doc -->
59
	 * <!-- end-user-doc -->
60
	 * @see #CONTAINER
61
	 * @generated
62
	 * @ordered
63
	 */
64
	CONTAINER_LITERAL(1, "Container", "Container"); //$NON-NLS-1$ //$NON-NLS-2$
45
	/**
65
	/**
46
	 * The '<em><b>Application</b></em>' literal value.
66
	 * The '<em><b>Application</b></em>' literal value.
47
	 * <!-- begin-user-doc -->
67
	 * <!-- begin-user-doc -->
Lines 71-96 Link Here
71
	public static final int CONTAINER = 1;
91
	public static final int CONTAINER = 1;
72
92
73
	/**
93
	/**
74
	 * The '<em><b>Application</b></em>' literal object.
75
	 * <!-- begin-user-doc -->
76
	 * <!-- end-user-doc -->
77
	 * @see #APPLICATION
78
	 * @generated
79
	 * @ordered
80
	 */
81
	public static final ResAuthType APPLICATION_LITERAL = new ResAuthType(APPLICATION, "Application", "Application"); //$NON-NLS-1$ //$NON-NLS-2$
82
83
	/**
84
	 * The '<em><b>Container</b></em>' literal object.
85
	 * <!-- begin-user-doc -->
86
	 * <!-- end-user-doc -->
87
	 * @see #CONTAINER
88
	 * @generated
89
	 * @ordered
90
	 */
91
	public static final ResAuthType CONTAINER_LITERAL = new ResAuthType(CONTAINER, "Container", "Container"); //$NON-NLS-1$ //$NON-NLS-2$
92
93
	/**
94
	 * An array of all the '<em><b>Res Auth Type</b></em>' enumerators.
94
	 * An array of all the '<em><b>Res Auth Type</b></em>' enumerators.
95
	 * <!-- begin-user-doc -->
95
	 * <!-- begin-user-doc -->
96
	 * <!-- end-user-doc -->
96
	 * <!-- end-user-doc -->
Lines 108-114 Link Here
108
	 * <!-- end-user-doc -->
108
	 * <!-- end-user-doc -->
109
	 * @generated
109
	 * @generated
110
	 */
110
	 */
111
	public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
111
	public static final List<ResAuthType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
112
112
113
	/**
113
	/**
114
	 * Returns the '<em><b>Res Auth Type</b></em>' literal with the specified literal value.
114
	 * Returns the '<em><b>Res Auth Type</b></em>' literal with the specified literal value.
Lines 153-169 Link Here
153
			case APPLICATION: return APPLICATION_LITERAL;
153
			case APPLICATION: return APPLICATION_LITERAL;
154
			case CONTAINER: return CONTAINER_LITERAL;
154
			case CONTAINER: return CONTAINER_LITERAL;
155
		}
155
		}
156
		return null;	
156
		return null;
157
	}
157
	}
158
158
159
	/**
159
	/**
160
	 * <!-- begin-user-doc -->
161
	 * <!-- end-user-doc -->
162
	 * @generated
163
	 */
164
	private final int value;
165
166
	/**
167
	 * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
169
	 * @generated
170
	 */
171
	private final String name;
172
173
	/**
174
	 * <!-- begin-user-doc -->
175
	 * <!-- end-user-doc -->
176
	 * @generated
177
	 */
178
	private final String literal;
179
180
	/**
160
	 * Only this class can construct instances.
181
	 * Only this class can construct instances.
161
	 * <!-- begin-user-doc -->
182
	 * <!-- begin-user-doc -->
162
	 * <!-- end-user-doc -->
183
	 * <!-- end-user-doc -->
163
	 * @generated
184
	 * @generated
164
	 */
185
	 */
165
	private ResAuthType(int value, String name, String literal) {
186
	private ResAuthType(int value, String name, String literal) {
166
		super(value, name, literal);
187
		this.value = value;
188
		this.name = name;
189
		this.literal = literal;
190
	}
191
192
	/**
193
	 * <!-- begin-user-doc -->
194
	 * <!-- end-user-doc -->
195
	 * @generated
196
	 */
197
	public int getValue() {
198
	  return value;
167
	}
199
	}
168
200
169
} //ResAuthType
201
	/**
202
	 * <!-- begin-user-doc -->
203
	 * <!-- end-user-doc -->
204
	 * @generated
205
	 */
206
	public String getName() {
207
	  return name;
208
	}
209
210
	/**
211
	 * <!-- begin-user-doc -->
212
	 * <!-- end-user-doc -->
213
	 * @generated
214
	 */
215
	public String getLiteral() {
216
	  return literal;
217
	}
218
219
	/**
220
	 * Returns the literal value of the enumerator, which is its string representation.
221
	 * <!-- begin-user-doc -->
222
	 * <!-- end-user-doc -->
223
	 * @generated
224
	 */
225
	@Override
226
	public String toString() {
227
		return literal;
228
	}
229
}
(-)jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java (-61 / +92 lines)
Lines 19-52 Link Here
19
 *
19
 *
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 	
22
 * <![CDATA[[
23
 * 
23
 *         The persistence-unit-ref element contains a declaration
24
 * 	  The persistence-unit-ref element contains a declaration
24
 *         of Deployment Component's reference to a persistence unit
25
 * 	  of Deployment Component's reference to a persistence unit
25
 *         associated within a Deployment Component's
26
 * 	  associated within a Deployment Component's
26
 *         environment. It consists of:
27
 * 	  environment. It consists of:
27
 *         
28
 * 
28
 *         - an optional description
29
 * 		  - an optional description
29
 *         - the persistence unit reference name
30
 * 		  - the persistence unit reference name
30
 *         - an optional persistence unit name.  If not specified,
31
 * 		  - an optional persistence unit name.  If not specified,
31
 *         the default persistence unit is assumed.
32
 *                     the default persistence unit is assumed.
32
 *         - optional injection targets
33
 * 		  - optional injection targets
33
 *         
34
 * 
34
 *         Examples:
35
 * 	  Examples:
35
 *         
36
 * 
36
 *         <persistence-unit-ref>
37
 *             &lt;persistence-unit-ref&gt;
37
 *         <persistence-unit-ref-name>myPersistenceUnit
38
 *               &lt;persistence-unit-ref-name&gt;myPersistenceUnit
38
 *         </persistence-unit-ref-name>
39
 *               &lt;/persistence-unit-ref-name&gt;
39
 *         </persistence-unit-ref>
40
 *             &lt;/persistence-unit-ref&gt;
40
 *         
41
 * 
41
 *         <persistence-unit-ref>
42
 *             &lt;persistence-unit-ref&gt;
42
 *         <persistence-unit-ref-name>myPersistenceUnit
43
 *               &lt;persistence-unit-ref-name&gt;myPersistenceUnit
43
 *         </persistence-unit-ref-name>
44
 *                 &lt;/persistence-unit-ref-name&gt;
44
 *         <persistence-unit-name>PersistenceUnit1
45
 *               &lt;persistence-unit-name&gt;PersistenceUnit1
45
 *         </persistence-unit-name>
46
 *                 &lt;/persistence-unit-name&gt;
46
 *         </persistence-unit-ref>
47
 *             &lt;/persistence-unit-ref&gt;
47
 *         
48
 * 
48
 * ]]>
49
 * 	  
49
 *         @since Java EE 5
50
 *       
50
 *       
51
 * <!-- end-model-doc -->
51
 * <!-- end-model-doc -->
52
 *
52
 *
Lines 58-63 Link Here
58
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitName <em>Persistence Unit Name</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitName <em>Persistence Unit Name</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getMappedName <em>Mapped Name</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getMappedName <em>Mapped Name</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getInjectionTargets <em>Injection Targets</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getInjectionTargets <em>Injection Targets</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getLookupName <em>Lookup Name</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId <em>Id</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId <em>Id</em>}</li>
62
 * </ul>
63
 * </ul>
63
 * </p>
64
 * </p>
Lines 80-86 Link Here
80
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_Descriptions()
81
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_Descriptions()
81
	 * @generated
82
	 * @generated
82
	 */
83
	 */
83
	List getDescriptions();
84
	List<Description> getDescriptions();
84
85
85
	/**
86
	/**
86
	 * Returns the value of the '<em><b>Persistence Unit Ref Name</b></em>' attribute.
87
	 * Returns the value of the '<em><b>Persistence Unit Ref Name</b></em>' attribute.
Lines 89-101 Link Here
89
	 * <!-- begin-model-doc -->
90
	 * <!-- begin-model-doc -->
90
	 * 
91
	 * 
91
	 * 
92
	 * 
92
	 * 	    The persistence-unit-ref-name element specifies
93
	 *             The persistence-unit-ref-name element specifies
93
	 * 	    the name of a persistence unit reference; its
94
	 *             the name of a persistence unit reference; its
94
	 * 	    value is the environment entry name used in
95
	 *             value is the environment entry name used in
95
	 * 	    Deployment Component code.  The name is a JNDI name
96
	 *             Deployment Component code.  The name is a JNDI name
96
	 * 	    relative to the java:comp/env context.
97
	 *             relative to the java:comp/env context.
97
	 * 
98
	 *             
98
	 * 	  
99
	 *             @since Java EE 5
100
	 *           
99
	 * <!-- end-model-doc -->
101
	 * <!-- end-model-doc -->
100
	 * @return the value of the '<em>Persistence Unit Ref Name</em>' attribute.
102
	 * @return the value of the '<em>Persistence Unit Ref Name</em>' attribute.
101
	 * @see #setPersistenceUnitRefName(String)
103
	 * @see #setPersistenceUnitRefName(String)
Lines 124-140 Link Here
124
	 *             The Application Assembler(or BeanProvider) may use the
126
	 *             The Application Assembler(or BeanProvider) may use the
125
	 *             following syntax to avoid the need to rename persistence
127
	 *             following syntax to avoid the need to rename persistence
126
	 *             units to have unique names within a Java EE application.
128
	 *             units to have unique names within a Java EE application.
127
	 * 
129
	 *             
128
	 *             The Application Assembler specifies the pathname of the
130
	 *             The Application Assembler specifies the pathname of the
129
	 *             root of the persistence.xml file for the referenced
131
	 *             root of the persistence.xml file for the referenced
130
	 *             persistence unit and appends the name of the persistence
132
	 *             persistence unit and appends the name of the persistence
131
	 *             unit separated from the pathname by #. The pathname is
133
	 *             unit separated from the pathname by #. The pathname is
132
	 *             relative to the referencing application component jar file.
134
	 *             relative to the referencing application component jar file. 
133
	 *             In this manner, multiple persistence units with the same
135
	 *             In this manner, multiple persistence units with the same
134
	 *             persistence unit name may be uniquely identified when the
136
	 *             persistence unit name may be uniquely identified when the 
135
	 *             Application Assembler cannot change persistence unit names.
137
	 *             Application Assembler cannot change persistence unit names.
136
	 * 
138
	 *             
137
	 * 	  
139
	 *             @since Java EE 5
140
	 *           
138
	 * <!-- end-model-doc -->
141
	 * <!-- end-model-doc -->
139
	 * @return the value of the '<em>Persistence Unit Name</em>' attribute.
142
	 * @return the value of the '<em>Persistence Unit Name</em>' attribute.
140
	 * @see #setPersistenceUnitName(String)
143
	 * @see #setPersistenceUnitName(String)
Lines 159-184 Link Here
159
	 * <!-- end-user-doc -->
162
	 * <!-- end-user-doc -->
160
	 * <!-- begin-model-doc -->
163
	 * <!-- begin-model-doc -->
161
	 * 
164
	 * 
162
	 * 	    
163
	 * 
165
	 * 
164
	 * 	      A product specific name that this resource should be
166
	 *             A product specific name that this resource should be
165
	 * 	      mapped to.  The name of this resource, as defined by the
167
	 *             mapped to.  The name of this resource, as defined by the
166
	 * 	      resource's name element or defaulted, is a name that is
168
	 *             resource's name element or defaulted, is a name that is
167
	 * 	      local to the application component using the resource.
169
	 *             local to the application component using the resource.
168
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
170
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
169
	 * 	      application servers provide a way to map these local
171
	 *             application servers provide a way to map these local
170
	 * 	      names to names of resources known to the application
172
	 *             names to names of resources known to the application
171
	 * 	      server.  This mapped name is often a global JNDI name,
173
	 *             server.  This mapped name is often a global JNDI name,
172
	 * 	      but may be a name of any form.
174
	 *             but may be a name of any form.
173
	 * 
175
	 *             
174
	 * 	      Application servers are not required to support any
176
	 *             Application servers are not required to support any
175
	 * 	      particular form or type of mapped name, nor the ability
177
	 *             particular form or type of mapped name, nor the ability
176
	 * 	      to use mapped names.  The mapped name is
178
	 *             to use mapped names.  The mapped name is
177
	 * 	      product-dependent and often installation-dependent.  No
179
	 *             product-dependent and often installation-dependent.  No
178
	 * 	      use of a mapped name is portable.
180
	 *             use of a mapped name is portable.
179
	 * 
181
	 *             
180
	 * 	      
182
	 *             @since Java EE 5
181
	 * 	  
183
	 *           
182
	 * <!-- end-model-doc -->
184
	 * <!-- end-model-doc -->
183
	 * @return the value of the '<em>Mapped Name</em>' attribute.
185
	 * @return the value of the '<em>Mapped Name</em>' attribute.
184
	 * @see #setMappedName(String)
186
	 * @see #setMappedName(String)
Lines 210-216 Link Here
210
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_InjectionTargets()
212
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_InjectionTargets()
211
	 * @generated
213
	 * @generated
212
	 */
214
	 */
213
	List getInjectionTargets();
215
	List<InjectionTarget> getInjectionTargets();
216
217
	/**
218
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
219
	 * <!-- begin-user-doc -->
220
	 * <!-- end-user-doc -->
221
	 * <!-- begin-model-doc -->
222
	 * 
223
	 * 
224
	 *             The JNDI name to be looked up to resolve a resource reference.
225
	 *             
226
	 *             @since Java EE 6
227
	 *           
228
	 * <!-- end-model-doc -->
229
	 * @return the value of the '<em>Lookup Name</em>' attribute.
230
	 * @see #setLookupName(String)
231
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_LookupName()
232
	 * @generated
233
	 */
234
	String getLookupName();
235
236
	/**
237
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getLookupName <em>Lookup Name</em>}' attribute.
238
	 * <!-- begin-user-doc -->
239
	 * <!-- end-user-doc -->
240
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
241
	 * @see #getLookupName()
242
	 * @generated
243
	 */
244
	void setLookupName(String value);
214
245
215
	/**
246
	/**
216
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
247
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/EjbRefType.java (-35 / +95 lines)
Lines 14-20 Link Here
14
import java.util.Collections;
14
import java.util.Collections;
15
import java.util.List;
15
import java.util.List;
16
16
17
import org.eclipse.emf.common.util.AbstractEnumerator;
17
import org.eclipse.emf.common.util.Enumerator;
18
18
19
/**
19
/**
20
 * <!-- begin-user-doc -->
20
 * <!-- begin-user-doc -->
Lines 24-44 Link Here
24
 * <!-- begin-model-doc -->
24
 * <!-- begin-model-doc -->
25
 * 
25
 * 
26
 * 
26
 * 
27
 * 	The ejb-ref-typeType contains the expected type of the
27
 *         The ejb-ref-typeType contains the expected type of the
28
 * 	referenced enterprise bean.
28
 *         referenced enterprise bean.
29
 * 
29
 *         
30
 * 	The ejb-ref-type designates a value
30
 *         The ejb-ref-type designates a value
31
 * 	that must be one of the following:
31
 *         that must be one of the following:
32
 * 
32
 *         
33
 * 	    Entity
33
 *         Entity
34
 * 	    Session
34
 *         Session
35
 * 
35
 *         
36
 *         @since Java EE 5
36
 *       
37
 *       
37
 * <!-- end-model-doc -->
38
 * <!-- end-model-doc -->
38
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRefType()
39
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRefType()
39
 * @generated
40
 * @generated
40
 */
41
 */
41
public final class EjbRefType extends AbstractEnumerator {
42
public enum EjbRefType implements Enumerator
43
{
44
	/**
45
	 * The '<em><b>Entity</b></em>' literal object.
46
	 * <!-- begin-user-doc -->
47
	 * <!-- end-user-doc -->
48
	 * @see #ENTITY
49
	 * @generated
50
	 * @ordered
51
	 */
52
	ENTITY_LITERAL(0, "Entity", "Entity"), //$NON-NLS-1$ //$NON-NLS-2$
53
	/**
54
	 * The '<em><b>Session</b></em>' literal object.
55
	 * <!-- begin-user-doc -->
56
	 * <!-- end-user-doc -->
57
	 * @see #SESSION
58
	 * @generated
59
	 * @ordered
60
	 */
61
	SESSION_LITERAL(1, "Session", "Session"); //$NON-NLS-1$ //$NON-NLS-2$
42
	/**
62
	/**
43
	 * The '<em><b>Entity</b></em>' literal value.
63
	 * The '<em><b>Entity</b></em>' literal value.
44
	 * <!-- begin-user-doc -->
64
	 * <!-- begin-user-doc -->
Lines 68-93 Link Here
68
	public static final int SESSION = 1;
88
	public static final int SESSION = 1;
69
89
70
	/**
90
	/**
71
	 * The '<em><b>Entity</b></em>' literal object.
72
	 * <!-- begin-user-doc -->
73
	 * <!-- end-user-doc -->
74
	 * @see #ENTITY
75
	 * @generated
76
	 * @ordered
77
	 */
78
	public static final EjbRefType ENTITY_LITERAL = new EjbRefType(ENTITY, "Entity", "Entity"); //$NON-NLS-1$ //$NON-NLS-2$
79
80
	/**
81
	 * The '<em><b>Session</b></em>' literal object.
82
	 * <!-- begin-user-doc -->
83
	 * <!-- end-user-doc -->
84
	 * @see #SESSION
85
	 * @generated
86
	 * @ordered
87
	 */
88
	public static final EjbRefType SESSION_LITERAL = new EjbRefType(SESSION, "Session", "Session"); //$NON-NLS-1$ //$NON-NLS-2$
89
90
	/**
91
	 * An array of all the '<em><b>Ejb Ref Type</b></em>' enumerators.
91
	 * An array of all the '<em><b>Ejb Ref Type</b></em>' enumerators.
92
	 * <!-- begin-user-doc -->
92
	 * <!-- begin-user-doc -->
93
	 * <!-- end-user-doc -->
93
	 * <!-- end-user-doc -->
Lines 105-111 Link Here
105
	 * <!-- end-user-doc -->
105
	 * <!-- end-user-doc -->
106
	 * @generated
106
	 * @generated
107
	 */
107
	 */
108
	public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
108
	public static final List<EjbRefType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
109
109
110
	/**
110
	/**
111
	 * Returns the '<em><b>Ejb Ref Type</b></em>' literal with the specified literal value.
111
	 * Returns the '<em><b>Ejb Ref Type</b></em>' literal with the specified literal value.
Lines 150-166 Link Here
150
			case ENTITY: return ENTITY_LITERAL;
150
			case ENTITY: return ENTITY_LITERAL;
151
			case SESSION: return SESSION_LITERAL;
151
			case SESSION: return SESSION_LITERAL;
152
		}
152
		}
153
		return null;	
153
		return null;
154
	}
154
	}
155
155
156
	/**
156
	/**
157
	 * <!-- begin-user-doc -->
158
	 * <!-- end-user-doc -->
159
	 * @generated
160
	 */
161
	private final int value;
162
163
	/**
164
	 * <!-- begin-user-doc -->
165
	 * <!-- end-user-doc -->
166
	 * @generated
167
	 */
168
	private final String name;
169
170
	/**
171
	 * <!-- begin-user-doc -->
172
	 * <!-- end-user-doc -->
173
	 * @generated
174
	 */
175
	private final String literal;
176
177
	/**
157
	 * Only this class can construct instances.
178
	 * Only this class can construct instances.
158
	 * <!-- begin-user-doc -->
179
	 * <!-- begin-user-doc -->
159
	 * <!-- end-user-doc -->
180
	 * <!-- end-user-doc -->
160
	 * @generated
181
	 * @generated
161
	 */
182
	 */
162
	private EjbRefType(int value, String name, String literal) {
183
	private EjbRefType(int value, String name, String literal) {
163
		super(value, name, literal);
184
		this.value = value;
185
		this.name = name;
186
		this.literal = literal;
187
	}
188
189
	/**
190
	 * <!-- begin-user-doc -->
191
	 * <!-- end-user-doc -->
192
	 * @generated
193
	 */
194
	public int getValue() {
195
	  return value;
164
	}
196
	}
165
197
166
} //EjbRefType
198
	/**
199
	 * <!-- begin-user-doc -->
200
	 * <!-- end-user-doc -->
201
	 * @generated
202
	 */
203
	public String getName() {
204
	  return name;
205
	}
206
207
	/**
208
	 * <!-- begin-user-doc -->
209
	 * <!-- end-user-doc -->
210
	 * @generated
211
	 */
212
	public String getLiteral() {
213
	  return literal;
214
	}
215
216
	/**
217
	 * Returns the literal value of the enumerator, which is its string representation.
218
	 * <!-- begin-user-doc -->
219
	 * <!-- end-user-doc -->
220
	 * @generated
221
	 */
222
	@Override
223
	public String toString() {
224
		return literal;
225
	}
226
}
(-)jee-models/org/eclipse/jst/javaee/core/PropertyType.java (-2 / +3 lines)
Lines 19-26 Link Here
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 
21
 * 
22
 * 	Specifies a name/value pair.
22
 *         Specifies a name/value pair.
23
 * 
23
 *         
24
 *         @since Java EE 5
24
 *       
25
 *       
25
 * <!-- end-model-doc -->
26
 * <!-- end-model-doc -->
26
 *
27
 *
(-)jee-models/org/eclipse/jst/javaee/core/LifecycleCallback.java (-6 / +7 lines)
Lines 19-35 Link Here
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 
21
 * 
22
 * 	The lifecycle-callback type specifies a method on a
22
 *         The lifecycle-callback type specifies a method on a
23
 * 	class to be called when a lifecycle event occurs.
23
 *         class to be called when a lifecycle event occurs.
24
 * 	Note that each class may have only one lifecycle callback
24
 *         Note that each class may have only one lifecycle callback
25
 *         method for any given event and that the method may not
25
 *         method for any given event and that the method may not
26
 * 	be overloaded.
26
 *         be overloaded.
27
 * 
27
 *         
28
 *         If the lifefycle-callback-class element is missing then
28
 *         If the lifefycle-callback-class element is missing then
29
 *         the class defining the callback is assumed to be the
29
 *         the class defining the callback is assumed to be the
30
 *         component class in scope at the place in the descriptor
30
 *         component class in scope at the place in the descriptor
31
 *         in which the callback definition appears.
31
 *         in which the callback definition appears.
32
 * 
32
 *         
33
 *         @since Java EE 5
33
 *       
34
 *       
34
 * <!-- end-model-doc -->
35
 * <!-- end-model-doc -->
35
 *
36
 *
(-)jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChains.java (-4 / +5 lines)
Lines 20-28 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 *       The handler-chains element defines the handlerchains associated with this
23
 *         The handler-chains element defines the handlerchains associated with this
24
 *       service or service endpoint.
24
 *         service or service endpoint.
25
 * 
25
 *         
26
 *         @since Java EE 5, Web Services Client 1.2
26
 *       
27
 *       
27
 * <!-- end-model-doc -->
28
 * <!-- end-model-doc -->
28
 *
29
 *
Lines 52-58 Link Here
52
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChains_HandlerChains()
53
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChains_HandlerChains()
53
	 * @generated
54
	 * @generated
54
	 */
55
	 */
55
	List getHandlerChains();
56
	List<ServiceRefHandlerChain> getHandlerChains();
56
57
57
	/**
58
	/**
58
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
59
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/ServiceRef.java (-95 / +143 lines)
Lines 11-16 Link Here
11
package org.eclipse.jst.javaee.core;
11
package org.eclipse.jst.javaee.core;
12
12
13
import java.util.List;
13
import java.util.List;
14
import javax.xml.namespace.QName;
14
15
15
/**
16
/**
16
 * <!-- begin-user-doc -->
17
 * <!-- begin-user-doc -->
Lines 20-33 Link Here
20
 * <!-- begin-model-doc -->
21
 * <!-- begin-model-doc -->
21
 * 
22
 * 
22
 * 
23
 * 
23
 * 	The service-ref element declares a reference to a Web
24
 *         The service-ref element declares a reference to a Web
24
 * 	service. It contains optional description, display name and
25
 *         service. It contains optional description, display name and
25
 * 	icons, a declaration of the required Service interface,
26
 *         icons, a declaration of the required Service interface,
26
 * 	an optional WSDL document location, an optional set
27
 *         an optional WSDL document location, an optional set
27
 * 	of JAX-RPC mappings, an optional QName for the service element,
28
 *         of JAX-RPC mappings, an optional QName for the service element,
28
 * 	an optional set of Service Endpoint Interfaces to be resolved
29
 *         an optional set of Service Endpoint Interfaces to be resolved 
29
 * 	by the container to a WSDL port, and an optional set of handlers.
30
 *         by the container to a WSDL port, and an optional set of handlers.
30
 * 
31
 *         
32
 *         @since Java EE 5, Web Services Client 1.2
31
 *       
33
 *       
32
 * <!-- end-model-doc -->
34
 * <!-- end-model-doc -->
33
 *
35
 *
Lines 48-53 Link Here
48
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getHandlerChains <em>Handler Chains</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getHandlerChains <em>Handler Chains</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getMappedName <em>Mapped Name</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getMappedName <em>Mapped Name</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getInjectionTargets <em>Injection Targets</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getInjectionTargets <em>Injection Targets</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getLookupName <em>Lookup Name</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getId <em>Id</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getId <em>Id</em>}</li>
52
 * </ul>
55
 * </ul>
53
 * </p>
56
 * </p>
Lines 70-76 Link Here
70
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Descriptions()
73
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Descriptions()
71
	 * @generated
74
	 * @generated
72
	 */
75
	 */
73
	List getDescriptions();
76
	List<Description> getDescriptions();
74
77
75
	/**
78
	/**
76
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
79
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
Lines 85-91 Link Here
85
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_DisplayNames()
88
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_DisplayNames()
86
	 * @generated
89
	 * @generated
87
	 */
90
	 */
88
	List getDisplayNames();
91
	List<DisplayName> getDisplayNames();
89
92
90
	/**
93
	/**
91
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
94
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
Lines 100-106 Link Here
100
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Icons()
103
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Icons()
101
	 * @generated
104
	 * @generated
102
	 */
105
	 */
103
	List getIcons();
106
	List<Icon> getIcons();
104
107
105
	/**
108
	/**
106
	 * Returns the value of the '<em><b>Service Ref Name</b></em>' attribute.
109
	 * Returns the value of the '<em><b>Service Ref Name</b></em>' attribute.
Lines 109-120 Link Here
109
	 * <!-- begin-model-doc -->
112
	 * <!-- begin-model-doc -->
110
	 * 
113
	 * 
111
	 * 
114
	 * 
112
	 * 	    The service-ref-name element declares logical name that the
115
	 *             The service-ref-name element declares logical name that the
113
	 * 	    components in the module use to look up the Web service. It
116
	 *             components in the module use to look up the Web service. It 
114
	 * 	    is recommended that all service reference names start with
117
	 *             is recommended that all service reference names start with 
115
	 * 	    "service/".
118
	 *             "service/".
116
	 * 
119
	 *             
117
	 * 	  
120
	 *             @since Java EE 5, Web Services Client 1.2
121
	 *           
118
	 * <!-- end-model-doc -->
122
	 * <!-- end-model-doc -->
119
	 * @return the value of the '<em>Service Ref Name</em>' attribute.
123
	 * @return the value of the '<em>Service Ref Name</em>' attribute.
120
	 * @see #setServiceRefName(String)
124
	 * @see #setServiceRefName(String)
Lines 140-151 Link Here
140
	 * <!-- begin-model-doc -->
144
	 * <!-- begin-model-doc -->
141
	 * 
145
	 * 
142
	 * 
146
	 * 
143
	 * 	    The service-interface element declares the fully qualified class
147
	 *             The service-interface element declares the fully qualified class
144
	 * 	    name of the JAX-RPC Service interface the client depends on.
148
	 *             name of the JAX-RPC Service interface the client depends on. 
145
	 * 	    In most cases the value will be javax.xml.rpc.Service.  A JAX-RPC
149
	 *             In most cases the value will be javax.xml.rpc.Service.  A JAX-RPC
146
	 * 	    generated Service Interface class may also be specified.
150
	 *             generated Service Interface class may also be specified.
147
	 * 
151
	 *             
148
	 * 	  
152
	 *             @since Java EE 5, Web Services Client 1.2
153
	 *           
149
	 * <!-- end-model-doc -->
154
	 * <!-- end-model-doc -->
150
	 * @return the value of the '<em>Service Interface</em>' attribute.
155
	 * @return the value of the '<em>Service Interface</em>' attribute.
151
	 * @see #setServiceInterface(String)
156
	 * @see #setServiceInterface(String)
Lines 171-188 Link Here
171
	 * <!-- begin-model-doc -->
176
	 * <!-- begin-model-doc -->
172
	 * 
177
	 * 
173
	 * 
178
	 * 
174
	 * 	    The service-ref-type element declares the type of the service-ref
179
	 *             The service-ref-type element declares the type of the service-ref 
175
	 * 	    element that is injected or returned when a JNDI lookup is done.
180
	 *             element that is injected or returned when a JNDI lookup is done.
176
	 * 	    This must be either a fully qualified name of Service class or
181
	 *             This must be either a fully qualified name of Service class or 
177
	 * 	    the fully qualified name of service endpoint interface class.
182
	 *             the fully qualified name of service endpoint interface class. 
178
	 * 	    This is only used with JAX-WS runtime where the corresponding
183
	 *             This is only used with JAX-WS runtime where the corresponding 
179
	 * 	    @WebServiceRef annotation can be used to denote both a Service
184
	 *             @WebServiceRef annotation can be used to denote both a Service
180
	 * 	    or a Port.
185
	 *             or a Port.
181
	 * 
186
	 *             
182
	 * 	    If this is not specified, then the type of service-ref element
187
	 *             If this is not specified, then the type of service-ref element 
183
	 * 	    that is injected or returned when a JNDI lookup is done is
188
	 *             that is injected or returned when a JNDI lookup is done is 
184
	 * 	    always a Service interface/class.
189
	 *             always a Service interface/class.
185
	 * 	  
190
	 *             
191
	 *             @since Java EE 5, Web Services Client 1.2
192
	 *           
186
	 * <!-- end-model-doc -->
193
	 * <!-- end-model-doc -->
187
	 * @return the value of the '<em>Service Ref Type</em>' attribute.
194
	 * @return the value of the '<em>Service Ref Type</em>' attribute.
188
	 * @see #setServiceRefType(String)
195
	 * @see #setServiceRefType(String)
Lines 208-217 Link Here
208
	 * <!-- begin-model-doc -->
215
	 * <!-- begin-model-doc -->
209
	 * 
216
	 * 
210
	 * 
217
	 * 
211
	 * 	    The wsdl-file element contains the URI location of a WSDL
218
	 *             The wsdl-file element contains the URI location of a WSDL
212
	 * 	    file. The location is relative to the root of the module.
219
	 *             file. The location is relative to the root of the module.
213
	 * 
220
	 *             
214
	 * 	  
221
	 *             @since Java EE 5, Web Services Client 1.2
222
	 *           
215
	 * <!-- end-model-doc -->
223
	 * <!-- end-model-doc -->
216
	 * @return the value of the '<em>Wsdl File</em>' attribute.
224
	 * @return the value of the '<em>Wsdl File</em>' attribute.
217
	 * @see #setWsdlFile(String)
225
	 * @see #setWsdlFile(String)
Lines 237-250 Link Here
237
	 * <!-- begin-model-doc -->
245
	 * <!-- begin-model-doc -->
238
	 * 
246
	 * 
239
	 * 
247
	 * 
240
	 * 	    The jaxrpc-mapping-file element contains the name of a file that
248
	 *             The jaxrpc-mapping-file element contains the name of a file that
241
	 * 	    describes the JAX-RPC mapping between the Java interaces used by
249
	 *             describes the JAX-RPC mapping between the Java interaces used by
242
	 * 	    the application and the WSDL description in the wsdl-file.  The
250
	 *             the application and the WSDL description in the wsdl-file.  The 
243
	 * 	    file name is a relative path within the module file.
251
	 *             file name is a relative path within the module file.
244
	 * 
252
	 *             
245
	 * 	    This is not required when JAX-WS based runtime is used.
253
	 *             This is not required when JAX-WS based runtime is used.
246
	 * 
254
	 *             
247
	 * 	  
255
	 *             @since Java EE 5, Web Services Client 1.2
256
	 *           
248
	 * <!-- end-model-doc -->
257
	 * <!-- end-model-doc -->
249
	 * @return the value of the '<em>Jaxrpc Mapping File</em>' attribute.
258
	 * @return the value of the '<em>Jaxrpc Mapping File</em>' attribute.
250
	 * @see #setJaxrpcMappingFile(String)
259
	 * @see #setJaxrpcMappingFile(String)
Lines 270-287 Link Here
270
	 * <!-- begin-model-doc -->
279
	 * <!-- begin-model-doc -->
271
	 * 
280
	 * 
272
	 * 
281
	 * 
273
	 * 	    The service-qname element declares the specific WSDL service
282
	 *             The service-qname element declares the specific WSDL service
274
	 * 	    element that is being refered to.  It is not specified if no
283
	 *             element that is being refered to.  It is not specified if no
275
	 * 	    wsdl-file is declared.
284
	 *             wsdl-file is declared.
276
	 * 
285
	 *             
277
	 * 	  
286
	 *             @since Java EE 5, Web Services Client 1.2
287
	 *           
278
	 * <!-- end-model-doc -->
288
	 * <!-- end-model-doc -->
279
	 * @return the value of the '<em>Service Qname</em>' attribute.
289
	 * @return the value of the '<em>Service Qname</em>' attribute.
280
	 * @see #setServiceQname(Object)
290
	 * @see #setServiceQname(QName)
281
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_ServiceQname()
291
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_ServiceQname()
282
	 * @generated
292
	 * @generated
283
	 */
293
	 */
284
	Object getServiceQname();
294
	QName getServiceQname();
285
295
286
	/**
296
	/**
287
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceQname <em>Service Qname</em>}' attribute.
297
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceQname <em>Service Qname</em>}' attribute.
Lines 291-297 Link Here
291
	 * @see #getServiceQname()
301
	 * @see #getServiceQname()
292
	 * @generated
302
	 * @generated
293
	 */
303
	 */
294
	void setServiceQname(Object value);
304
	void setServiceQname(QName value);
295
305
296
	/**
306
	/**
297
	 * Returns the value of the '<em><b>Port Component Refs</b></em>' containment reference list.
307
	 * Returns the value of the '<em><b>Port Component Refs</b></em>' containment reference list.
Lines 301-319 Link Here
301
	 * <!-- begin-model-doc -->
311
	 * <!-- begin-model-doc -->
302
	 * 
312
	 * 
303
	 * 
313
	 * 
304
	 * 	    The port-component-ref element declares a client dependency
314
	 *             The port-component-ref element declares a client dependency
305
	 * 	    on the container for resolving a Service Endpoint Interface
315
	 *             on the container for resolving a Service Endpoint Interface
306
	 * 	    to a WSDL port. It optionally associates the Service Endpoint
316
	 *             to a WSDL port. It optionally associates the Service Endpoint
307
	 * 	    Interface with a particular port-component. This is only used
317
	 *             Interface with a particular port-component. This is only used
308
	 * 	    by the container for a Service.getPort(Class) method call.
318
	 *             by the container for a Service.getPort(Class) method call.
309
	 * 
319
	 *             
310
	 * 	  
320
	 *             @since Java EE 5, Web Services Client 1.2
321
	 *           
311
	 * <!-- end-model-doc -->
322
	 * <!-- end-model-doc -->
312
	 * @return the value of the '<em>Port Component Refs</em>' containment reference list.
323
	 * @return the value of the '<em>Port Component Refs</em>' containment reference list.
313
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_PortComponentRefs()
324
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_PortComponentRefs()
314
	 * @generated
325
	 * @generated
315
	 */
326
	 */
316
	List getPortComponentRefs();
327
	List<PortComponentRef> getPortComponentRefs();
317
328
318
	/**
329
	/**
319
	 * Returns the value of the '<em><b>Handlers</b></em>' containment reference list.
330
	 * Returns the value of the '<em><b>Handlers</b></em>' containment reference list.
Lines 323-343 Link Here
323
	 * <!-- begin-model-doc -->
334
	 * <!-- begin-model-doc -->
324
	 * 
335
	 * 
325
	 * 
336
	 * 
326
	 * 		Declares the handler for a port-component. Handlers can
337
	 *               	Declares the handler for a port-component. Handlers can
327
	 * 		access the init-param name/value pairs using the
338
	 *               	access the init-param name/value pairs using the
328
	 * 		HandlerInfo interface. If port-name is not specified, the
339
	 *               	HandlerInfo interface. If port-name is not specified, the
329
	 * 		handler is assumed to be associated with all ports of the
340
	 *               	handler is assumed to be associated with all ports of the
330
	 * 		service.
341
	 *               	service.
331
	 * 
342
	 *               
332
	 * 		To be used with JAX-RPC based runtime only.
343
	 *               	To be used with JAX-RPC based runtime only.
333
	 * 
344
	 *               
334
	 * 	      
345
	 *               	@since Java EE 5, Web Services Client 1.2
346
	 *             
335
	 * <!-- end-model-doc -->
347
	 * <!-- end-model-doc -->
336
	 * @return the value of the '<em>Handlers</em>' containment reference list.
348
	 * @return the value of the '<em>Handlers</em>' containment reference list.
337
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Handlers()
349
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Handlers()
338
	 * @generated
350
	 * @generated
339
	 */
351
	 */
340
	List getHandlers();
352
	List<ServiceRefHandler> getHandlers();
341
353
342
	/**
354
	/**
343
	 * Returns the value of the '<em><b>Handler Chains</b></em>' containment reference.
355
	 * Returns the value of the '<em><b>Handler Chains</b></em>' containment reference.
Lines 345-352 Link Here
345
	 * <!-- end-user-doc -->
357
	 * <!-- end-user-doc -->
346
	 * <!-- begin-model-doc -->
358
	 * <!-- begin-model-doc -->
347
	 * 
359
	 * 
348
	 * 		 To be used with JAX-WS based runtime only.
360
	 * 
349
	 * 	      
361
	 *               	 To be used with JAX-WS based runtime only.
362
	 *               
363
	 *               	 @since Java EE 5, Web Services Client 1.2
364
	 *             
350
	 * <!-- end-model-doc -->
365
	 * <!-- end-model-doc -->
351
	 * @return the value of the '<em>Handler Chains</em>' containment reference.
366
	 * @return the value of the '<em>Handler Chains</em>' containment reference.
352
	 * @see #setHandlerChains(ServiceRefHandlerChains)
367
	 * @see #setHandlerChains(ServiceRefHandlerChains)
Lines 371-396 Link Here
371
	 * <!-- end-user-doc -->
386
	 * <!-- end-user-doc -->
372
	 * <!-- begin-model-doc -->
387
	 * <!-- begin-model-doc -->
373
	 * 
388
	 * 
374
	 * 	    
375
	 * 
376
	 * 	      A product specific name that this resource should be
377
	 * 	      mapped to.  The name of this resource, as defined by the
378
	 * 	      resource's name element or defaulted, is a name that is
379
	 * 	      local to the application component using the resource.
380
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
381
	 * 	      application servers provide a way to map these local
382
	 * 	      names to names of resources known to the application
383
	 * 	      server.  This mapped name is often a global JNDI name,
384
	 * 	      but may be a name of any form.
385
	 * 
386
	 * 	      Application servers are not required to support any
387
	 * 	      particular form or type of mapped name, nor the ability
388
	 * 	      to use mapped names.  The mapped name is
389
	 * 	      product-dependent and often installation-dependent.  No
390
	 * 	      use of a mapped name is portable.
391
	 * 
389
	 * 
392
	 * 	      
390
	 *             A product specific name that this resource should be
393
	 * 	  
391
	 *             mapped to.  The name of this resource, as defined by the
392
	 *             resource's name element or defaulted, is a name that is
393
	 *             local to the application component using the resource.
394
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
395
	 *             application servers provide a way to map these local
396
	 *             names to names of resources known to the application
397
	 *             server.  This mapped name is often a global JNDI name,
398
	 *             but may be a name of any form.
399
	 *             
400
	 *             Application servers are not required to support any
401
	 *             particular form or type of mapped name, nor the ability
402
	 *             to use mapped names.  The mapped name is
403
	 *             product-dependent and often installation-dependent.  No
404
	 *             use of a mapped name is portable.
405
	 *             
406
	 *             @since Java EE 5
407
	 *           
394
	 * <!-- end-model-doc -->
408
	 * <!-- end-model-doc -->
395
	 * @return the value of the '<em>Mapped Name</em>' attribute.
409
	 * @return the value of the '<em>Mapped Name</em>' attribute.
396
	 * @see #setMappedName(String)
410
	 * @see #setMappedName(String)
Lines 422-428 Link Here
422
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_InjectionTargets()
436
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_InjectionTargets()
423
	 * @generated
437
	 * @generated
424
	 */
438
	 */
425
	List getInjectionTargets();
439
	List<InjectionTarget> getInjectionTargets();
440
441
	/**
442
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
443
	 * <!-- begin-user-doc -->
444
	 * <!-- end-user-doc -->
445
	 * <!-- begin-model-doc -->
446
	 * 
447
	 * 
448
	 *             The JNDI name to be looked up to resolve a resource reference.
449
	 *             
450
	 *             @since Java EE 6
451
	 *           
452
	 * <!-- end-model-doc -->
453
	 * @return the value of the '<em>Lookup Name</em>' attribute.
454
	 * @see #setLookupName(String)
455
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_LookupName()
456
	 * @generated
457
	 */
458
	String getLookupName();
459
460
	/**
461
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getLookupName <em>Lookup Name</em>}' attribute.
462
	 * <!-- begin-user-doc -->
463
	 * <!-- end-user-doc -->
464
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
465
	 * @see #getLookupName()
466
	 * @generated
467
	 */
468
	void setLookupName(String value);
426
469
427
	/**
470
	/**
428
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
471
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
Lines 449-452 Link Here
449
	 */
492
	 */
450
	void setId(String value);
493
	void setId(String value);
451
494
495
	/**
496
	 * This method is provided for API compliance with the older Java EE 5 models
497
	 * @param newServiceQname
498
	 */
499
	void setServiceQname(Object newServiceQname);
452
} // ServiceRef
500
} // ServiceRef
(-)jee-models/org/eclipse/jst/javaee/core/DisplayName.java (-24 / +47 lines)
Lines 18-39 Link Here
18
 *
18
 *
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 	
21
 * <![CDATA[[
22
 * 
22
 *         The display-name type contains a short name that is intended
23
 * 	  The display-name type contains a short name that is intended
23
 *         to be displayed by tools. It is used by display-name
24
 * 	  to be displayed by tools. It is used by display-name
24
 *         elements.  The display name need not be unique.
25
 * 	  elements.  The display name need not be unique.
25
 *         
26
 * 
26
 *         Example: 
27
 * 	  Example:
27
 *         
28
 * 
28
 *         ...
29
 * 	  ...
29
 *         <display-name xml:lang="en">
30
 * 	     &lt;display-name xml:lang="en"&gt;
30
 *         Employee Self Service
31
 * 	       Employee Self Service
31
 *         </display-name>
32
 * 	     &lt;/display-name&gt;
32
 *         
33
 * 
33
 *         The value of the xml:lang attribute is "en" (English) by default. 
34
 * 	  The value of the xml:lang attribute is "en" (English) by default.
34
 *         
35
 * 
35
 * ]]>
36
 * 	  
36
 *         @since Java EE 5
37
 *       
37
 *       
38
 * <!-- end-model-doc -->
38
 * <!-- end-model-doc -->
39
 *
39
 *
Lines 80-94 Link Here
80
	 * <!-- begin-user-doc -->
80
	 * <!-- begin-user-doc -->
81
	 * <!-- end-user-doc -->
81
	 * <!-- end-user-doc -->
82
	 * <!-- begin-model-doc -->
82
	 * <!-- begin-model-doc -->
83
	 * Attempting to install the relevant ISO 2- and 3-letter
84
	 *          codes as the enumerated possible values is probably never
85
	 *          going to be a realistic possibility.  See
86
	 *          RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
87
	 *          at http://www.iana.org/assignments/lang-tag-apps.htm for
88
	 *          further information.
89
	 * 
83
	 * 
90
	 *          The union allows for the 'un-declaration' of xml:lang with
84
	 *     <div xmlns="http://www.w3.org/1999/xhtml">
91
	 *          the empty string.
85
	 *      
86
	 *       <h3>lang (as an attribute name)</h3>
87
	 *       <p>
88
	 *        denotes an attribute whose value
89
	 *        is a language code for the natural language of the content of
90
	 *        any element; its value is inherited.  This name is reserved
91
	 *        by virtue of its definition in the XML specification.</p>
92
	 *      
93
	 *     </div>
94
	 *     <div xmlns="http://www.w3.org/1999/xhtml">
95
	 *      <h4>Notes</h4>
96
	 *      <p>
97
	 *       Attempting to install the relevant ISO 2- and 3-letter
98
	 *       codes as the enumerated possible values is probably never
99
	 *       going to be a realistic possibility.  
100
	 *      </p>
101
	 *      <p>
102
	 *       See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
103
	 *        http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
104
	 *       and the IANA language subtag registry at
105
	 *       <a href="http://www.iana.org/assignments/language-subtag-registry">
106
	 *        http://www.iana.org/assignments/language-subtag-registry</a>
107
	 *       for further information.
108
	 *      </p>
109
	 *      <p>
110
	 *       The union allows for the 'un-declaration' of xml:lang with
111
	 *       the empty string.
112
	 *      </p>
113
	 *     </div>
114
	 *    
92
	 * <!-- end-model-doc -->
115
	 * <!-- end-model-doc -->
93
	 * @return the value of the '<em>Lang</em>' attribute.
116
	 * @return the value of the '<em>Lang</em>' attribute.
94
	 * @see #setLang(String)
117
	 * @see #setLang(String)
(-)jee-models/org/eclipse/jst/javaee/core/SecurityRoleRef.java (-21 / +24 lines)
Lines 20-33 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The security-role-refType contains the declaration of a
23
 *         The security-role-refType contains the declaration of a
24
 * 	security role reference in a component's or a
24
 *         security role reference in a component's or a
25
 * 	Deployment Component's code. The declaration consists of an
25
 *         Deployment Component's code. The declaration consists of an
26
 * 	optional description, the security role name used in the
26
 *         optional description, the security role name used in the
27
 * 	code, and an optional link to a security role. If the
27
 *         code, and an optional link to a security role. If the
28
 * 	security role is not specified, the Deployer must choose an
28
 *         security role is not specified, the Deployer must choose an
29
 * 	appropriate security role.
29
 *         appropriate security role.
30
 * 
30
 *         
31
 *         @since Java EE 5
31
 *       
32
 *       
32
 * <!-- end-model-doc -->
33
 * <!-- end-model-doc -->
33
 *
34
 *
Lines 59-65 Link Here
59
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRoleRef_Descriptions()
60
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRoleRef_Descriptions()
60
	 * @generated
61
	 * @generated
61
	 */
62
	 */
62
	List getDescriptions();
63
	List<Description> getDescriptions();
63
64
64
	/**
65
	/**
65
	 * Returns the value of the '<em><b>Role Name</b></em>' attribute.
66
	 * Returns the value of the '<em><b>Role Name</b></em>' attribute.
Lines 68-79 Link Here
68
	 * <!-- begin-model-doc -->
69
	 * <!-- begin-model-doc -->
69
	 * 
70
	 * 
70
	 * 
71
	 * 
71
	 * 	    The value of the role-name element must be the String used
72
	 *             The value of the role-name element must be the String used
72
	 * 	    as the parameter to the
73
	 *             as the parameter to the 
73
	 * 	    EJBContext.isCallerInRole(String roleName) method or the
74
	 *             EJBContext.isCallerInRole(String roleName) method or the
74
	 * 	    HttpServletRequest.isUserInRole(String role) method.
75
	 *             HttpServletRequest.isUserInRole(String role) method.
75
	 * 
76
	 *             
76
	 * 	  
77
	 *             @since Java EE 5
78
	 *           
77
	 * <!-- end-model-doc -->
79
	 * <!-- end-model-doc -->
78
	 * @return the value of the '<em>Role Name</em>' attribute.
80
	 * @return the value of the '<em>Role Name</em>' attribute.
79
	 * @see #setRoleName(String)
81
	 * @see #setRoleName(String)
Lines 99-110 Link Here
99
	 * <!-- begin-model-doc -->
101
	 * <!-- begin-model-doc -->
100
	 * 
102
	 * 
101
	 * 
103
	 * 
102
	 * 	    The role-link element is a reference to a defined
104
	 *             The role-link element is a reference to a defined
103
	 * 	    security role. The role-link element must contain
105
	 *             security role. The role-link element must contain
104
	 * 	    the name of one of the security roles defined in the
106
	 *             the name of one of the security roles defined in the
105
	 * 	    security-role elements.
107
	 *             security-role elements.
106
	 * 
108
	 *             
107
	 * 	  
109
	 *             @since Java EE 5
110
	 *           
108
	 * <!-- end-model-doc -->
111
	 * <!-- end-model-doc -->
109
	 * @return the value of the '<em>Role Link</em>' attribute.
112
	 * @return the value of the '<em>Role Link</em>' attribute.
110
	 * @see #setRoleLink(String)
113
	 * @see #setRoleLink(String)
(-)jee-models/org/eclipse/jst/javaee/core/RunAs.java (-5 / +6 lines)
Lines 20-29 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The run-asType specifies the run-as identity to be
23
 *         The run-asType specifies the run-as identity to be
24
 * 	used for the execution of a component. It contains an
24
 *         used for the execution of a component. It contains an 
25
 * 	optional description, and the name of a security role.
25
 *         optional description, and the name of a security role.
26
 * 
26
 *         
27
 *         @since Java EE 5
27
 *       
28
 *       
28
 * <!-- end-model-doc -->
29
 * <!-- end-model-doc -->
29
 *
30
 *
Lines 54-60 Link Here
54
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRunAs_Descriptions()
55
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRunAs_Descriptions()
55
	 * @generated
56
	 * @generated
56
	 */
57
	 */
57
	List getDescriptions();
58
	List<Description> getDescriptions();
58
59
59
	/**
60
	/**
60
	 * Returns the value of the '<em><b>Role Name</b></em>' attribute.
61
	 * Returns the value of the '<em><b>Role Name</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java (-68 / +97 lines)
Lines 19-61 Link Here
19
 *
19
 *
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 	
22
 * <![CDATA[[
23
 * 
23
 *         The message-destination-ref element contains a declaration
24
 * 	  The message-destination-ref element contains a declaration
24
 *         of Deployment Component's reference to a message destination
25
 * 	  of Deployment Component's reference to a message destination
25
 *         associated with a resource in Deployment Component's
26
 * 	  associated with a resource in Deployment Component's
26
 *         environment. It consists of:
27
 * 	  environment. It consists of:
27
 *         
28
 * 
28
 *         - an optional description
29
 * 		  - an optional description
29
 *         - the message destination reference name
30
 * 		  - the message destination reference name
30
 *         - an optional message destination type
31
 * 		  - an optional message destination type
31
 *         - an optional specification as to whether
32
 * 		  - an optional specification as to whether
32
 *         the destination is used for 
33
 * 		    the destination is used for
33
 *         consuming or producing messages, or both.
34
 * 		    consuming or producing messages, or both.
34
 *         if not specified, "both" is assumed.
35
 * 		    if not specified, "both" is assumed.
35
 *         - an optional link to the message destination
36
 * 		  - an optional link to the message destination
36
 *         - optional injection targets
37
 * 		  - optional injection targets
37
 *         
38
 * 
38
 *         The message destination type must be supplied unless an
39
 * 	  The message destination type must be supplied unless an
39
 *         injection target is specified, in which case the type
40
 * 	  injection target is specified, in which case the type
40
 *         of the target is used.  If both are specified, the type
41
 * 	  of the target is used.  If both are specified, the type
41
 *         must be assignment compatible with the type of the injection
42
 * 	  must be assignment compatible with the type of the injection
42
 *         target.
43
 * 	  target.
43
 *         
44
 * 
44
 *         Examples:
45
 * 	  Examples:
45
 *         
46
 * 
46
 *         <message-destination-ref>
47
 * 	  &lt;message-destination-ref&gt;
47
 *         <message-destination-ref-name>jms/StockQueue
48
 * 		  &lt;message-destination-ref-name&gt;jms/StockQueue
48
 *         </message-destination-ref-name>
49
 * 		  &lt;/message-destination-ref-name&gt;
49
 *         <message-destination-type>javax.jms.Queue
50
 * 		  &lt;message-destination-type&gt;javax.jms.Queue
50
 *         </message-destination-type>
51
 * 		  &lt;/message-destination-type&gt;
51
 *         <message-destination-usage>Consumes
52
 * 		  &lt;message-destination-usage&gt;Consumes
52
 *         </message-destination-usage>
53
 * 		  &lt;/message-destination-usage&gt;
53
 *         <message-destination-link>CorporateStocks
54
 * 		  &lt;message-destination-link&gt;CorporateStocks
54
 *         </message-destination-link>
55
 * 		  &lt;/message-destination-link&gt;
55
 *         </message-destination-ref>
56
 * 	  &lt;/message-destination-ref&gt;
56
 *         
57
 * 
57
 * ]]>
58
 * 	  
58
 *         @since Java EE 5
59
 *       
59
 *       
60
 * <!-- end-model-doc -->
60
 * <!-- end-model-doc -->
61
 *
61
 *
Lines 69-74 Link Here
69
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationLink <em>Message Destination Link</em>}</li>
69
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationLink <em>Message Destination Link</em>}</li>
70
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMappedName <em>Mapped Name</em>}</li>
70
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMappedName <em>Mapped Name</em>}</li>
71
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getInjectionTargets <em>Injection Targets</em>}</li>
71
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getInjectionTargets <em>Injection Targets</em>}</li>
72
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName <em>Lookup Name</em>}</li>
72
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getId <em>Id</em>}</li>
73
 *   <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getId <em>Id</em>}</li>
73
 * </ul>
74
 * </ul>
74
 * </p>
75
 * </p>
Lines 91-97 Link Here
91
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_Descriptions()
92
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_Descriptions()
92
	 * @generated
93
	 * @generated
93
	 */
94
	 */
94
	List getDescriptions();
95
	List<Description> getDescriptions();
95
96
96
	/**
97
	/**
97
	 * Returns the value of the '<em><b>Message Destination Ref Name</b></em>' attribute.
98
	 * Returns the value of the '<em><b>Message Destination Ref Name</b></em>' attribute.
Lines 100-114 Link Here
100
	 * <!-- begin-model-doc -->
101
	 * <!-- begin-model-doc -->
101
	 * 
102
	 * 
102
	 * 
103
	 * 
103
	 * 	    The message-destination-ref-name element specifies
104
	 *             The message-destination-ref-name element specifies
104
	 * 	    the name of a message destination reference; its
105
	 *             the name of a message destination reference; its
105
	 * 	    value is the environment entry name used in
106
	 *             value is the environment entry name used in
106
	 * 	    Deployment Component code.  The name is a JNDI name
107
	 *             Deployment Component code.  The name is a JNDI name
107
	 * 	    relative to the java:comp/env context and must be
108
	 *             relative to the java:comp/env context and must be
108
	 * 	    unique within an ejb-jar (for enterprise beans) or a
109
	 *             unique within an ejb-jar (for enterprise beans) or a
109
	 * 	    Deployment File (for others).
110
	 *             Deployment File (for others).
110
	 * 
111
	 *             
111
	 * 	  
112
	 *             @since Java EE 5
113
	 *           
112
	 * <!-- end-model-doc -->
114
	 * <!-- end-model-doc -->
113
	 * @return the value of the '<em>Message Destination Ref Name</em>' attribute.
115
	 * @return the value of the '<em>Message Destination Ref Name</em>' attribute.
114
	 * @see #setMessageDestinationRefName(String)
116
	 * @see #setMessageDestinationRefName(String)
Lines 154-160 Link Here
154
156
155
	/**
157
	/**
156
	 * Returns the value of the '<em><b>Message Destination Usage</b></em>' attribute.
158
	 * Returns the value of the '<em><b>Message Destination Usage</b></em>' attribute.
157
	 * The default value is <code>"Consumes"</code>.
158
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.MessageDestinationUsageType}.
159
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.MessageDestinationUsageType}.
159
	 * <!-- begin-user-doc -->
160
	 * <!-- begin-user-doc -->
160
	 * <p>
161
	 * <p>
Lines 239-264 Link Here
239
	 * <!-- end-user-doc -->
240
	 * <!-- end-user-doc -->
240
	 * <!-- begin-model-doc -->
241
	 * <!-- begin-model-doc -->
241
	 * 
242
	 * 
242
	 * 	    
243
	 * 
244
	 * 	      A product specific name that this resource should be
245
	 * 	      mapped to.  The name of this resource, as defined by the
246
	 * 	      resource's name element or defaulted, is a name that is
247
	 * 	      local to the application component using the resource.
248
	 * 	      (It's a name in the JNDI java:comp/env namespace.)  Many
249
	 * 	      application servers provide a way to map these local
250
	 * 	      names to names of resources known to the application
251
	 * 	      server.  This mapped name is often a global JNDI name,
252
	 * 	      but may be a name of any form.
253
	 * 
254
	 * 	      Application servers are not required to support any
255
	 * 	      particular form or type of mapped name, nor the ability
256
	 * 	      to use mapped names.  The mapped name is
257
	 * 	      product-dependent and often installation-dependent.  No
258
	 * 	      use of a mapped name is portable.
259
	 * 
243
	 * 
260
	 * 	      
244
	 *             A product specific name that this resource should be
261
	 * 	  
245
	 *             mapped to.  The name of this resource, as defined by the
246
	 *             resource's name element or defaulted, is a name that is
247
	 *             local to the application component using the resource.
248
	 *             (It's a name in the JNDI java:comp/env namespace.)  Many
249
	 *             application servers provide a way to map these local
250
	 *             names to names of resources known to the application
251
	 *             server.  This mapped name is often a global JNDI name,
252
	 *             but may be a name of any form.
253
	 *             
254
	 *             Application servers are not required to support any
255
	 *             particular form or type of mapped name, nor the ability
256
	 *             to use mapped names.  The mapped name is
257
	 *             product-dependent and often installation-dependent.  No
258
	 *             use of a mapped name is portable.
259
	 *             
260
	 *             @since Java EE 5
261
	 *           
262
	 * <!-- end-model-doc -->
262
	 * <!-- end-model-doc -->
263
	 * @return the value of the '<em>Mapped Name</em>' attribute.
263
	 * @return the value of the '<em>Mapped Name</em>' attribute.
264
	 * @see #setMappedName(String)
264
	 * @see #setMappedName(String)
Lines 290-296 Link Here
290
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_InjectionTargets()
290
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_InjectionTargets()
291
	 * @generated
291
	 * @generated
292
	 */
292
	 */
293
	List getInjectionTargets();
293
	List<InjectionTarget> getInjectionTargets();
294
295
	/**
296
	 * Returns the value of the '<em><b>Lookup Name</b></em>' attribute.
297
	 * <!-- begin-user-doc -->
298
	 * <!-- end-user-doc -->
299
	 * <!-- begin-model-doc -->
300
	 * 
301
	 * 
302
	 *             The JNDI name to be looked up to resolve a resource reference.
303
	 *             
304
	 *             @since Java EE 6
305
	 *           
306
	 * <!-- end-model-doc -->
307
	 * @return the value of the '<em>Lookup Name</em>' attribute.
308
	 * @see #setLookupName(String)
309
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_LookupName()
310
	 * @generated
311
	 */
312
	String getLookupName();
313
314
	/**
315
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName <em>Lookup Name</em>}' attribute.
316
	 * <!-- begin-user-doc -->
317
	 * <!-- end-user-doc -->
318
	 * @param value the new value of the '<em>Lookup Name</em>' attribute.
319
	 * @see #getLookupName()
320
	 * @generated
321
	 */
322
	void setLookupName(String value);
294
323
295
	/**
324
	/**
296
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
325
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/ServiceRefHandler.java (-35 / +53 lines)
Lines 11-16 Link Here
11
package org.eclipse.jst.javaee.core;
11
package org.eclipse.jst.javaee.core;
12
12
13
import java.util.List;
13
import java.util.List;
14
import javax.xml.namespace.QName;
14
15
15
/**
16
/**
16
 * <!-- begin-user-doc -->
17
 * <!-- begin-user-doc -->
Lines 20-32 Link Here
20
 * <!-- begin-model-doc -->
21
 * <!-- begin-model-doc -->
21
 * 
22
 * 
22
 * 
23
 * 
23
 * 	Declares the handler for a port-component. Handlers can access the
24
 *         Declares the handler for a port-component, service-ref. Handlers can
24
 * 	init-param name/value pairs using the HandlerInfo interface. If
25
 *         access the init-param name/value pairs using the HandlerInfo interface.
25
 * 	port-name is not specified, the handler is assumed to be associated
26
 *         
26
 * 	with all ports of the service.
27
 *         Used in: port-component, service-ref
27
 * 
28
 *         
28
 * 	Used in: service-ref
29
 *         @since Java EE 5, Web Services Client 1.2
29
 * 
30
 *       
30
 *       
31
 * <!-- end-model-doc -->
31
 * <!-- end-model-doc -->
32
 *
32
 *
Lines 64-70 Link Here
64
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_Descriptions()
64
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_Descriptions()
65
	 * @generated
65
	 * @generated
66
	 */
66
	 */
67
	List getDescriptions();
67
	List<Description> getDescriptions();
68
68
69
	/**
69
	/**
70
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
70
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
Lines 79-85 Link Here
79
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_DisplayNames()
79
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_DisplayNames()
80
	 * @generated
80
	 * @generated
81
	 */
81
	 */
82
	List getDisplayNames();
82
	List<DisplayName> getDisplayNames();
83
83
84
	/**
84
	/**
85
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
85
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
Lines 94-100 Link Here
94
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_Icons()
94
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_Icons()
95
	 * @generated
95
	 * @generated
96
	 */
96
	 */
97
	List getIcons();
97
	List<Icon> getIcons();
98
98
99
	/**
99
	/**
100
	 * Returns the value of the '<em><b>Handler Name</b></em>' attribute.
100
	 * Returns the value of the '<em><b>Handler Name</b></em>' attribute.
Lines 103-112 Link Here
103
	 * <!-- begin-model-doc -->
103
	 * <!-- begin-model-doc -->
104
	 * 
104
	 * 
105
	 * 
105
	 * 
106
	 * 	    Defines the name of the handler. The name must be unique
106
	 *             Defines the name of the handler. The name must be unique within the
107
	 * 	    within the module.
107
	 *             module.
108
	 * 
108
	 *             
109
	 * 	  
109
	 *             @since Java EE 5, Web Services Client 1.2
110
	 *           
110
	 * <!-- end-model-doc -->
111
	 * <!-- end-model-doc -->
111
	 * @return the value of the '<em>Handler Name</em>' attribute.
112
	 * @return the value of the '<em>Handler Name</em>' attribute.
112
	 * @see #setHandlerName(String)
113
	 * @see #setHandlerName(String)
Lines 132-141 Link Here
132
	 * <!-- begin-model-doc -->
133
	 * <!-- begin-model-doc -->
133
	 * 
134
	 * 
134
	 * 
135
	 * 
135
	 * 	    Defines a fully qualified class name for the handler
136
	 *             Defines a fully qualified class name for the handler implementation.
136
	 * 	    implementation.
137
	 *             
137
	 * 
138
	 *             @since Java EE 5, Web Services Client 1.2
138
	 * 	  
139
	 *           
139
	 * <!-- end-model-doc -->
140
	 * <!-- end-model-doc -->
140
	 * @return the value of the '<em>Handler Class</em>' attribute.
141
	 * @return the value of the '<em>Handler Class</em>' attribute.
141
	 * @see #setHandlerClass(String)
142
	 * @see #setHandlerClass(String)
Lines 163-192 Link Here
163
	 * there really should be more of a description here...
164
	 * there really should be more of a description here...
164
	 * </p>
165
	 * </p>
165
	 * <!-- end-user-doc -->
166
	 * <!-- end-user-doc -->
167
	 * <!-- begin-model-doc -->
168
	 * 
169
	 * 
170
	 *             Not to be specified for JAX-WS runtime
171
	 *             
172
	 *             @since Java EE 5, Web Services Client 1.2
173
	 *           
174
	 * <!-- end-model-doc -->
166
	 * @return the value of the '<em>Init Params</em>' containment reference list.
175
	 * @return the value of the '<em>Init Params</em>' containment reference list.
167
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_InitParams()
176
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_InitParams()
168
	 * @generated
177
	 * @generated
169
	 */
178
	 */
170
	List getInitParams();
179
	List<ParamValue> getInitParams();
171
180
172
	/**
181
	/**
173
	 * Returns the value of the '<em><b>Soap Headers</b></em>' attribute list.
182
	 * Returns the value of the '<em><b>Soap Headers</b></em>' attribute list.
174
	 * The list contents are of type {@link java.lang.Object}.
183
	 * The list contents are of type {@link javax.xml.namespace.QName}.
175
	 * <!-- begin-user-doc -->
184
	 * <!-- begin-user-doc -->
176
	 * <!-- end-user-doc -->
185
	 * <!-- end-user-doc -->
177
	 * <!-- begin-model-doc -->
186
	 * <!-- begin-model-doc -->
178
	 * 
187
	 * 
179
	 * 
188
	 * 
180
	 * 	    Defines the QName of a SOAP header that will be processed
189
	 *             Defines the QName of a SOAP header that will be processed by the
181
	 * 	    by the handler.
190
	 *             handler.
182
	 * 
191
	 *             
183
	 * 	  
192
	 *             Not to be specified for JAX-WS runtime
193
	 *             
194
	 *             @since Java EE 5, Web Services Client 1.2
195
	 *           
184
	 * <!-- end-model-doc -->
196
	 * <!-- end-model-doc -->
185
	 * @return the value of the '<em>Soap Headers</em>' attribute list.
197
	 * @return the value of the '<em>Soap Headers</em>' attribute list.
186
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_SoapHeaders()
198
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_SoapHeaders()
187
	 * @generated
199
	 * @generated
188
	 */
200
	 */
189
	List getSoapHeaders();
201
	List<QName> getSoapHeaders();
190
202
191
	/**
203
	/**
192
	 * Returns the value of the '<em><b>Soap Roles</b></em>' attribute list.
204
	 * Returns the value of the '<em><b>Soap Roles</b></em>' attribute list.
Lines 196-211 Link Here
196
	 * <!-- begin-model-doc -->
208
	 * <!-- begin-model-doc -->
197
	 * 
209
	 * 
198
	 * 
210
	 * 
199
	 * 	    The soap-role element contains a SOAP actor definition that
211
	 *             The soap-role element contains a SOAP actor definition that the
200
	 * 	    the Handler will play as a role.
212
	 *             Handler will play as a role.
201
	 * 
213
	 *             
202
	 * 	  
214
	 *             @since Java EE 5, Web Services Client 1.2
215
	 *           
203
	 * <!-- end-model-doc -->
216
	 * <!-- end-model-doc -->
204
	 * @return the value of the '<em>Soap Roles</em>' attribute list.
217
	 * @return the value of the '<em>Soap Roles</em>' attribute list.
205
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_SoapRoles()
218
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_SoapRoles()
206
	 * @generated
219
	 * @generated
207
	 */
220
	 */
208
	List getSoapRoles();
221
	List<String> getSoapRoles();
209
222
210
	/**
223
	/**
211
	 * Returns the value of the '<em><b>Port Names</b></em>' attribute list.
224
	 * Returns the value of the '<em><b>Port Names</b></em>' attribute list.
Lines 215-230 Link Here
215
	 * <!-- begin-model-doc -->
228
	 * <!-- begin-model-doc -->
216
	 * 
229
	 * 
217
	 * 
230
	 * 
218
	 * 	    The port-name element defines the WSDL port-name that a
231
	 *             The port-name element defines the WSDL port-name that a
219
	 * 	    handler should be associated with.
232
	 *             handler should be associated with. If port-name is not
220
	 * 
233
	 *             specified, the handler is assumed to be associated with
221
	 * 	  
234
	 *             all ports of the service.
235
	 *             
236
	 *             Not to be specified for JAX-WS runtime
237
	 *             
238
	 *             @since Java EE 5, Web Services Client 1.2
239
	 *           
222
	 * <!-- end-model-doc -->
240
	 * <!-- end-model-doc -->
223
	 * @return the value of the '<em>Port Names</em>' attribute list.
241
	 * @return the value of the '<em>Port Names</em>' attribute list.
224
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_PortNames()
242
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_PortNames()
225
	 * @generated
243
	 * @generated
226
	 */
244
	 */
227
	List getPortNames();
245
	List<String> getPortNames();
228
246
229
	/**
247
	/**
230
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
248
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/core/Description.java (-21 / +45 lines)
Lines 19-37 Link Here
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 
21
 * 
22
 * 	The description type is used by a description element to
22
 *         The description type is used by a description element to
23
 * 	provide text describing the parent element.  The elements
23
 *         provide text describing the parent element.  The elements
24
 * 	that use this type should include any information that the
24
 *         that use this type should include any information that the
25
 * 	Deployment Component's Deployment File file producer wants
25
 *         Deployment Component's Deployment File file producer wants
26
 * 	to provide to the consumer of the Deployment Component's
26
 *         to provide to the consumer of the Deployment Component's
27
 * 	Deployment File (i.e., to the Deployer). Typically, the
27
 *         Deployment File (i.e., to the Deployer). Typically, the
28
 * 	tools used by such a Deployment File consumer will display
28
 *         tools used by such a Deployment File consumer will display
29
 * 	the description when processing the parent element that
29
 *         the description when processing the parent element that
30
 * 	contains the description.
30
 *         contains the description.
31
 * 
31
 *         
32
 * 	The lang attribute defines the language that the
32
 *         The lang attribute defines the language that the
33
 * 	description is provided in. The default value is "en" (English).
33
 *         description is provided in. The default value is "en" (English). 
34
 * 
34
 *         
35
 *         @since Java EE 5
35
 *       
36
 *       
36
 * <!-- end-model-doc -->
37
 * <!-- end-model-doc -->
37
 *
38
 *
Lines 78-92 Link Here
78
	 * <!-- begin-user-doc -->
79
	 * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
80
	 * <!-- end-user-doc -->
80
	 * <!-- begin-model-doc -->
81
	 * <!-- begin-model-doc -->
81
	 * Attempting to install the relevant ISO 2- and 3-letter
82
	 *          codes as the enumerated possible values is probably never
83
	 *          going to be a realistic possibility.  See
84
	 *          RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
85
	 *          at http://www.iana.org/assignments/lang-tag-apps.htm for
86
	 *          further information.
87
	 * 
82
	 * 
88
	 *          The union allows for the 'un-declaration' of xml:lang with
83
	 *     <div xmlns="http://www.w3.org/1999/xhtml">
89
	 *          the empty string.
84
	 *      
85
	 *       <h3>lang (as an attribute name)</h3>
86
	 *       <p>
87
	 *        denotes an attribute whose value
88
	 *        is a language code for the natural language of the content of
89
	 *        any element; its value is inherited.  This name is reserved
90
	 *        by virtue of its definition in the XML specification.</p>
91
	 *      
92
	 *     </div>
93
	 *     <div xmlns="http://www.w3.org/1999/xhtml">
94
	 *      <h4>Notes</h4>
95
	 *      <p>
96
	 *       Attempting to install the relevant ISO 2- and 3-letter
97
	 *       codes as the enumerated possible values is probably never
98
	 *       going to be a realistic possibility.  
99
	 *      </p>
100
	 *      <p>
101
	 *       See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
102
	 *        http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
103
	 *       and the IANA language subtag registry at
104
	 *       <a href="http://www.iana.org/assignments/language-subtag-registry">
105
	 *        http://www.iana.org/assignments/language-subtag-registry</a>
106
	 *       for further information.
107
	 *      </p>
108
	 *      <p>
109
	 *       The union allows for the 'un-declaration' of xml:lang with
110
	 *       the empty string.
111
	 *      </p>
112
	 *     </div>
113
	 *    
90
	 * <!-- end-model-doc -->
114
	 * <!-- end-model-doc -->
91
	 * @return the value of the '<em>Lang</em>' attribute.
115
	 * @return the value of the '<em>Lang</em>' attribute.
92
	 * @see #setLang(String)
116
	 * @see #setLang(String)
(-)jee-models/org/eclipse/jst/javaee/core/UrlPatternType.java (-8 / +9 lines)
Lines 19-32 Link Here
19
 * <!-- begin-model-doc -->
19
 * <!-- begin-model-doc -->
20
 * 
20
 * 
21
 * 
21
 * 
22
 * 	The url-patternType contains the url pattern of the mapping.
22
 *         The url-patternType contains the url pattern of the mapping.
23
 * 	It must follow the rules specified in Section 11.2 of the
23
 *         It must follow the rules specified in Section 11.2 of the
24
 * 	Servlet API Specification. This pattern is assumed to be in
24
 *         Servlet API Specification. This pattern is assumed to be in
25
 * 	URL-decoded form and must not contain CR(#xD) or LF(#xA).
25
 *         URL-decoded form and must not contain CR(#xD) or LF(#xA).
26
 * 	If it contains those characters, the container must inform
26
 *         If it contains those characters, the container must inform
27
 * 	the developer with a descriptive error message.
27
 *         the developer with a descriptive error message.
28
 * 	The container must preserve all characters including whitespaces.
28
 *         The container must preserve all characters including whitespaces.
29
 * 
29
 *         
30
 *         @since Java EE 5
30
 *       
31
 *       
31
 * <!-- end-model-doc -->
32
 * <!-- end-model-doc -->
32
 *
33
 *
(-)jee-models/org/eclipse/jst/javaee/application/internal/metadata/ApplicationPackage.java (-238 / +580 lines)
Lines 29-294 Link Here
29
 * <!-- end-user-doc -->
29
 * <!-- end-user-doc -->
30
 * <!-- begin-model-doc -->
30
 * <!-- begin-model-doc -->
31
 * 
31
 * 
32
 *       @(#)application_5.xsds	1.17 08/05/05
33
 *     
34
 * 
35
 * 
36
 *       Copyright 2003-2006 Sun Microsystems, Inc.
37
 *       4150 Network Circle
38
 *       Santa Clara, California 95054
39
 *       U.S.A
40
 *       All rights reserved.
41
 * 
42
 *       Sun Microsystems, Inc. has intellectual property rights
43
 *       relating to technology described in this document. In
44
 *       particular, and without limitation, these intellectual
45
 *       property rights may include one or more of the U.S. patents
46
 *       listed at http://www.sun.com/patents and one or more
47
 *       additional patents or pending patent applications in the
48
 *       U.S. and other countries.
49
 * 
50
 *       This document and the technology which it describes are
51
 *       distributed under licenses restricting their use, copying,
52
 *       distribution, and decompilation. No part of this document
53
 *       may be reproduced in any form by any means without prior
54
 *       written authorization of Sun and its licensors, if any.
55
 * 
56
 *       Third-party software, including font technology, is
57
 *       copyrighted and licensed from Sun suppliers.
58
 * 
59
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
60
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
61
 *       Cup logo are trademarks or registered trademarks of Sun
62
 *       Microsystems, Inc. in the U.S. and other countries.
63
 * 
64
 *       Federal Acquisitions: Commercial Software - Government Users
65
 *       Subject to Standard License Terms and Conditions.
66
 * 
32
 * 
33
 *       $Id: application_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
34
 *       
67
 *     
35
 *     
68
 * 
36
 * 
37
 * <![CDATA[[
38
 *       This is the XML Schema for the application 6 deployment
39
 *       descriptor.  The deployment descriptor must be named
40
 *       "META-INF/application.xml" in the application's ear file.
41
 *       All application deployment descriptors must indicate
42
 *       the application schema by using the Java EE namespace:
69
 *       
43
 *       
70
 * 
44
 *       http://java.sun.com/xml/ns/javaee
71
 * 	This is the XML Schema for the application 5 deployment
45
 *       
72
 * 	descriptor.  The deployment descriptor must be named
46
 *       and indicate the version of the schema by
73
 * 	"META-INF/application.xml" in the application's ear file.
47
 *       using the version element as shown below:
74
 * 	All application deployment descriptors must indicate
48
 *       
75
 * 	the application schema by using the Java EE namespace:
49
 *       <application xmlns="http://java.sun.com/xml/ns/javaee"
76
 * 
50
 *       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
77
 * 	http://java.sun.com/xml/ns/javaee
51
 *       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
78
 * 
52
 *       	http://java.sun.com/xml/ns/javaee/application_6.xsd"
79
 * 	and indicate the version of the schema by
53
 *       version="6">
80
 * 	using the version element as shown below:
54
 *       ...
81
 * 
55
 *       </application>
82
 * 	    &lt;application xmlns="http://java.sun.com/xml/ns/javaee"
56
 *       
83
 * 	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
57
 *       The instance documents may indicate the published version of
84
 * 	      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
58
 *       the schema using the xsi:schemaLocation attribute for Java EE
85
 * 		http://java.sun.com/xml/ns/javaee/application_5.xsd"
59
 *       namespace with the following location:
86
 * 	      version="5"&gt;
60
 *       
87
 * 	      ...
61
 *       http://java.sun.com/xml/ns/javaee/application_6.xsd
88
 * 	    &lt;/application&gt;
62
 *       
89
 * 
63
 * ]]>
90
 * 	The instance documents may indicate the published version of
91
 * 	the schema using the xsi:schemaLocation attribute for Java EE
92
 * 	namespace with the following location:
93
 * 
94
 * 	http://java.sun.com/xml/ns/javaee/application_5.xsd
95
 * 
96
 * 	
97
 *     
64
 *     
98
 * 
65
 * 
99
 * 
66
 * 
100
 *       The following conventions apply to all Java EE
67
 *       The following conventions apply to all Java EE
101
 *       deployment descriptor elements unless indicated otherwise.
68
 *       deployment descriptor elements unless indicated otherwise.
102
 * 
69
 *       
103
 *       - In elements that specify a pathname to a file within the
70
 *       - In elements that specify a pathname to a file within the
104
 * 	same JAR file, relative filenames (i.e., those not
71
 *       same JAR file, relative filenames (i.e., those not
105
 * 	starting with "/") are considered relative to the root of
72
 *       starting with "/") are considered relative to the root of
106
 * 	the JAR file's namespace.  Absolute filenames (i.e., those
73
 *       the JAR file's namespace.  Absolute filenames (i.e., those
107
 * 	starting with "/") also specify names in the root of the
74
 *       starting with "/") also specify names in the root of the
108
 * 	JAR file's namespace.  In general, relative names are
75
 *       JAR file's namespace.  In general, relative names are
109
 * 	preferred.  The exception is .war files where absolute
76
 *       preferred.  The exception is .war files where absolute
110
 * 	names are preferred for consistency with the Servlet API.
77
 *       names are preferred for consistency with the Servlet API.
111
 * 
78
 *       
112
 *     
113
 * 
114
 *       @(#)javaee_5.xsds	1.65 06/02/17
115
 *     
79
 *     
116
 * 
80
 * 
117
 * 
81
 * 
118
 *       Copyright 2003-2006 Sun Microsystems, Inc.
82
 *       $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
119
 *       4150 Network Circle
83
 *       
120
 *       Santa Clara, California 95054
121
 *       U.S.A
122
 *       All rights reserved.
123
 * 
124
 *       Sun Microsystems, Inc. has intellectual property rights
125
 *       relating to technology described in this document. In
126
 *       particular, and without limitation, these intellectual
127
 *       property rights may include one or more of the U.S. patents
128
 *       listed at http://www.sun.com/patents and one or more
129
 *       additional patents or pending patent applications in the
130
 *       U.S. and other countries.
131
 * 
132
 *       This document and the technology which it describes are
133
 *       distributed under licenses restricting their use, copying,
134
 *       distribution, and decompilation. No part of this document
135
 *       may be reproduced in any form by any means without prior
136
 *       written authorization of Sun and its licensors, if any.
137
 * 
138
 *       Third-party software, including font technology, is
139
 *       copyrighted and licensed from Sun suppliers.
140
 * 
141
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
142
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
143
 *       Cup logo are trademarks or registered trademarks of Sun
144
 *       Microsystems, Inc. in the U.S. and other countries.
145
 * 
146
 *       Federal Acquisitions: Commercial Software - Government Users
147
 *       Subject to Standard License Terms and Conditions.
148
 * 
149
 *     
84
 *     
150
 * 
85
 * 
151
 * 
86
 * 
152
 * The following definitions that appear in the common
87
 *       The following definitions that appear in the common
153
 * shareable schema(s) of J2EE deployment descriptors should be
88
 *       shareable schema(s) of Java EE deployment descriptors should be
154
 * interpreted with respect to the context they are included:
89
 *       interpreted with respect to the context they are included:
155
 * 
90
 *       
156
 * Deployment Component may indicate one of the following:
91
 *       Deployment Component may indicate one of the following:
157
 *     j2ee application;
92
 *       java ee application;
158
 *     application client;
93
 *       application client;
159
 *     web application;
94
 *       web application;
160
 *     enterprise bean;
95
 *       enterprise bean;
161
 *     resource adapter;
96
 *       resource adapter; 
162
 * 
97
 *       
163
 * Deployment File may indicate one of the following:
98
 *       Deployment File may indicate one of the following:
164
 *     ear file;
99
 *       ear file;
165
 *     war file;
100
 *       war file;
166
 *     jar file;
101
 *       jar file;
167
 *     rar file;
102
 *       rar file;
168
 * 
103
 *       
169
 * 
170
 * 
171
 *       @(#)javaee_web_services_client_1_2.xsds	1.19 02/13/06
172
 *     
104
 *     
173
 * 
105
 * 
174
 * 
106
 * 
175
 *       Copyright 2003-2006 Sun Microsystems, Inc.
107
 *       $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
176
 *       4150 Network Circle
108
 *       
177
 *       Santa Clara, California 95054
178
 *       U.S.A
179
 *       All rights reserved.
180
 * 
181
 *       Sun Microsystems, Inc. has intellectual property rights
182
 *       relating to technology described in this document. In
183
 *       particular, and without limitation, these intellectual
184
 *       property rights may include one or more of the U.S. patents
185
 *       listed at http://www.sun.com/patents and one or more
186
 *       additional patents or pending patent applications in the
187
 *       U.S. and other countries.
188
 * 
189
 *       This document and the technology which it describes are
190
 *       distributed under licenses restricting their use, copying,
191
 *       distribution, and decompilation. No part of this document
192
 *       may be reproduced in any form by any means without prior
193
 *       written authorization of Sun and its licensors, if any.
194
 * 
195
 *       Third-party software, including font technology, is
196
 *       copyrighted and licensed from Sun suppliers.
197
 * 
198
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
199
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
200
 *       Cup logo are trademarks or registered trademarks of Sun
201
 *       Microsystems, Inc. in the U.S. and other countries.
202
 * 
203
 *       Federal Acquisitions: Commercial Software - Government Users
204
 *       Subject to Standard License Terms and Conditions.
205
 * 
206
 *     
109
 *     
207
 * 
110
 * 
208
 * 
111
 * 
209
 *       (C) Copyright International Business Machines Corporation 2002
112
 *       (C) Copyright International Business Machines Corporation 2002
210
 * 
113
 *       
211
 *     
114
 *     
212
 * 
115
 * 
213
 *    See http://www.w3.org/XML/1998/namespace.html and
116
 *    <div xmlns="http://www.w3.org/1999/xhtml">
214
 *    http://www.w3.org/TR/REC-xml for information about this namespace.
117
 *     <h1>About the XML namespace</h1>
215
 * 
216
 *     This schema document describes the XML namespace, in a form
217
 *     suitable for import by other schema documents.  
218
 * 
219
 *     Note that local names in this namespace are intended to be defined
220
 *     only by the World Wide Web Consortium or its subgroups.  The
221
 *     following names are currently defined in this namespace and should
222
 *     not be used with conflicting semantics by any Working Group,
223
 *     specification, or document instance:
224
 * 
225
 *     base (as an attribute name): denotes an attribute whose value
226
 *          provides a URI to be used as the base for interpreting any
227
 *          relative URIs in the scope of the element on which it
228
 *          appears; its value is inherited.  This name is reserved
229
 *          by virtue of its definition in the XML Base specification.
230
 * 
231
 *     id   (as an attribute name): denotes an attribute whose value
232
 *          should be interpreted as if declared to be of type ID.
233
 *          The xml:id specification is not yet a W3C Recommendation,
234
 *          but this attribute is included here to facilitate experimentation
235
 *          with the mechanisms it proposes.  Note that it is _not_ included
236
 *          in the specialAttrs attribute group.
237
 * 
118
 * 
238
 *     lang (as an attribute name): denotes an attribute whose value
119
 *     <div class="bodytext">
239
 *          is a language code for the natural language of the content of
120
 *      <p>
240
 *          any element; its value is inherited.  This name is reserved
121
 *       This schema document describes the XML namespace, in a form
241
 *          by virtue of its definition in the XML specification.
122
 *       suitable for import by other schema documents.
123
 *      </p>
124
 *      <p>
125
 *       See <a href="http://www.w3.org/XML/1998/namespace.html">
126
 *       http://www.w3.org/XML/1998/namespace.html</a> and
127
 *       <a href="http://www.w3.org/TR/REC-xml">
128
 *       http://www.w3.org/TR/REC-xml</a> for information 
129
 *       about this namespace.
130
 *      </p>
131
 *      <p>
132
 *       Note that local names in this namespace are intended to be
133
 *       defined only by the World Wide Web Consortium or its subgroups.
134
 *       The names currently defined in this namespace are listed below.
135
 *       They should not be used with conflicting semantics by any Working
136
 *       Group, specification, or document instance.
137
 *      </p>
138
 *      <p>   
139
 *       See further below in this document for more information about <a href="#usage">how to refer to this schema document from your own
140
 *       XSD schema documents</a> and about <a href="#nsversioning">the
141
 *       namespace-versioning policy governing this schema document</a>.
142
 *      </p>
143
 *     </div>
144
 *    </div>
242
 *   
145
 *   
243
 *     space (as an attribute name): denotes an attribute whose
244
 *          value is a keyword indicating what whitespace processing
245
 *          discipline is intended for the content of the element; its
246
 *          value is inherited.  This name is reserved by virtue of its
247
 *          definition in the XML specification.
248
 * 
146
 * 
249
 *     Father (in any context at all): denotes Jon Bosak, the chair of 
147
 *    <div xmlns="http://www.w3.org/1999/xhtml">
250
 *          the original XML Working Group.  This name is reserved by 
148
 *    
251
 *          the following decision of the W3C XML Plenary and 
149
 *     <h3>Father (in any context at all)</h3> 
252
 *          XML Coordination groups:
150
 * 
253
 * 
151
 *     <div class="bodytext">
254
 *              In appreciation for his vision, leadership and dedication
152
 *      <p>
255
 *              the W3C XML Plenary on this 10th day of February, 2000
153
 *       denotes Jon Bosak, the chair of 
256
 *              reserves for Jon Bosak in perpetuity the XML name
154
 *       the original XML Working Group.  This name is reserved by 
257
 *              xml:Father
155
 *       the following decision of the W3C XML Plenary and 
156
 *       XML Coordination groups:
157
 *      </p>
158
 *      <blockquote>
159
 *        <p>
160
 * 	In appreciation for his vision, leadership and
161
 * 	dedication the W3C XML Plenary on this 10th day of
162
 * 	February, 2000, reserves for Jon Bosak in perpetuity
163
 * 	the XML name "xml:Father".
164
 *        </p>
165
 *      </blockquote>
166
 *     </div>
167
 *    </div>
258
 *   
168
 *   
259
 * This schema defines attributes and an attribute group
260
 *         suitable for use by
261
 *         schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
262
 *         attributes on elements they define.
263
 * 
264
 *         To enable this, such a schema must import this schema
265
 *         for the XML namespace, e.g. as follows:
266
 *         &lt;schema . . .&gt;
267
 *          . . .
268
 *          &lt;import namespace="http://www.w3.org/XML/1998/namespace"
269
 *                     schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
270
 * 
169
 * 
271
 *         Subsequently, qualified reference to any of the attributes
170
 *    <div id="usage" xml:id="usage" xmlns="http://www.w3.org/1999/xhtml">
272
 *         or the group defined below will have the desired effect, e.g.
171
 *     <h2>
172
 *       <a name="usage">About this schema document</a>
173
 *     </h2>
174
 * 
175
 *     <div class="bodytext">
176
 *      <p>
177
 *       This schema defines attributes and an attribute group suitable
178
 *       for use by schemas wishing to allow <code>xml:base</code>,
179
 *       <code>xml:lang</code>, <code>xml:space</code> or
180
 *       <code>xml:id</code> attributes on elements they define.
181
 *      </p>
182
 *      <p>
183
 *       To enable this, such a schema must import this schema for
184
 *       the XML namespace, e.g. as follows:
185
 *      </p>
186
 *      <pre>
187
 *           &lt;schema . . .&gt;
188
 *            . . .
189
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
190
 *                       schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
191
 *      </pre>
192
 *      <p>
193
 *       or
194
 *      </p>
195
 *      <pre>
196
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
197
 *                       schemaLocation="http://www.w3.org/2009/01/xml.xsd"/&gt;
198
 *      </pre>
199
 *      <p>
200
 *       Subsequently, qualified reference to any of the attributes or the
201
 *       group defined below will have the desired effect, e.g.
202
 *      </p>
203
 *      <pre>
204
 *           &lt;type . . .&gt;
205
 *            . . .
206
 *            &lt;attributeGroup ref="xml:specialAttrs"/&gt;
207
 *      </pre>
208
 *      <p>
209
 *       will define a type which will schema-validate an instance element
210
 *       with any of those attributes.
211
 *      </p>
212
 *     </div>
213
 *    </div>
214
 *   
273
 * 
215
 * 
274
 *         &lt;type . . .&gt;
216
 *    <div id="nsversioning" xml:id="nsversioning" xmlns="http://www.w3.org/1999/xhtml">
275
 *          . . .
217
 *     <h2>
276
 *          &lt;attributeGroup ref="xml:specialAttrs"/&gt;
218
 *       <a name="nsversioning">Versioning policy for this schema document</a>
277
 *  
219
 *     </h2>
278
 *          will define a type which will schema-validate an instance
220
 *     <div class="bodytext">
279
 *          element with any of those attributes
221
 *      <p>
280
 * In keeping with the XML Schema WG's standard versioning
222
 *       In keeping with the XML Schema WG's standard versioning
281
 *    policy, this schema document will persist at
223
 *       policy, this schema document will persist at
282
 *    http://www.w3.org/2005/08/xml.xsd.
224
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
283
 *    At the date of issue it can also be found at
225
 *        http://www.w3.org/2009/01/xml.xsd</a>.
284
 *    http://www.w3.org/2001/xml.xsd.
226
 *      </p>
285
 *    The schema document at that URI may however change in the future,
227
 *      <p>
286
 *    in order to remain compatible with the latest version of XML Schema
228
 *       At the date of issue it can also be found at
287
 *    itself, or with the XML namespace itself.  In other words, if the XML
229
 *       <a href="http://www.w3.org/2001/xml.xsd">
288
 *    Schema or XML namespaces change, the version of this document at
230
 *        http://www.w3.org/2001/xml.xsd</a>.
289
 *    http://www.w3.org/2001/xml.xsd will change
231
 *      </p>
290
 *    accordingly; the version at
232
 *      <p>
291
 *    http://www.w3.org/2005/08/xml.xsd will not change.
233
 *       The schema document at that URI may however change in the future,
234
 *       in order to remain compatible with the latest version of XML
235
 *       Schema itself, or with the XML namespace itself.  In other words,
236
 *       if the XML Schema or XML namespaces change, the version of this
237
 *       document at <a href="http://www.w3.org/2001/xml.xsd">
238
 *        http://www.w3.org/2001/xml.xsd 
239
 *       </a> 
240
 *       will change accordingly; the version at 
241
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
242
 *        http://www.w3.org/2009/01/xml.xsd 
243
 *       </a> 
244
 *       will not change.
245
 *      </p>
246
 *      <p>
247
 *       Previous dated (and unchanging) versions of this schema 
248
 *       document are at:
249
 *      </p>
250
 *      <ul>
251
 *       <li>
252
 *           <a href="http://www.w3.org/2009/01/xml.xsd">
253
 * 	http://www.w3.org/2009/01/xml.xsd</a>
254
 *         </li>
255
 *       <li>
256
 *           <a href="http://www.w3.org/2007/08/xml.xsd">
257
 * 	http://www.w3.org/2007/08/xml.xsd</a>
258
 *         </li>
259
 *       <li>
260
 *           <a href="http://www.w3.org/2004/10/xml.xsd">
261
 * 	http://www.w3.org/2004/10/xml.xsd</a>
262
 *         </li>
263
 *       <li>
264
 *           <a href="http://www.w3.org/2001/03/xml.xsd">
265
 * 	http://www.w3.org/2001/03/xml.xsd</a>
266
 *         </li>
267
 *      </ul>
268
 *     </div>
269
 *    </div>
292
 *   
270
 *   
293
 * <!-- end-model-doc -->
271
 * <!-- end-model-doc -->
294
 * @see org.eclipse.jst.javaee.application.ApplicationFactory
272
 * @see org.eclipse.jst.javaee.application.ApplicationFactory
Lines 337-349 Link Here
337
	int APPLICATION = 0;
315
	int APPLICATION = 0;
338
316
339
	/**
317
	/**
318
	 * The feature id for the '<em><b>Application Name</b></em>' attribute.
319
	 * <!-- begin-user-doc -->
320
	 * <!-- end-user-doc -->
321
	 * @generated
322
	 * @ordered
323
	 */
324
	int APPLICATION__APPLICATION_NAME = 0;
325
326
	/**
340
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
327
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
341
	 * <!-- begin-user-doc -->
328
	 * <!-- begin-user-doc -->
342
	 * <!-- end-user-doc -->
329
	 * <!-- end-user-doc -->
343
	 * @generated
330
	 * @generated
344
	 * @ordered
331
	 * @ordered
345
	 */
332
	 */
346
	int APPLICATION__DESCRIPTIONS = 0;
333
	int APPLICATION__DESCRIPTIONS = 1;
347
334
348
	/**
335
	/**
349
	 * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
336
	 * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
Lines 352-358 Link Here
352
	 * @generated
339
	 * @generated
353
	 * @ordered
340
	 * @ordered
354
	 */
341
	 */
355
	int APPLICATION__DISPLAY_NAMES = 1;
342
	int APPLICATION__DISPLAY_NAMES = 2;
356
343
357
	/**
344
	/**
358
	 * The feature id for the '<em><b>Icons</b></em>' containment reference list.
345
	 * The feature id for the '<em><b>Icons</b></em>' containment reference list.
Lines 361-367 Link Here
361
	 * @generated
348
	 * @generated
362
	 * @ordered
349
	 * @ordered
363
	 */
350
	 */
364
	int APPLICATION__ICONS = 2;
351
	int APPLICATION__ICONS = 3;
352
353
	/**
354
	 * The feature id for the '<em><b>Initialize In Order</b></em>' attribute.
355
	 * <!-- begin-user-doc -->
356
	 * <!-- end-user-doc -->
357
	 * @generated
358
	 * @ordered
359
	 */
360
	int APPLICATION__INITIALIZE_IN_ORDER = 4;
365
361
366
	/**
362
	/**
367
	 * The feature id for the '<em><b>Modules</b></em>' containment reference list.
363
	 * The feature id for the '<em><b>Modules</b></em>' containment reference list.
Lines 370-376 Link Here
370
	 * @generated
366
	 * @generated
371
	 * @ordered
367
	 * @ordered
372
	 */
368
	 */
373
	int APPLICATION__MODULES = 3;
369
	int APPLICATION__MODULES = 5;
374
370
375
	/**
371
	/**
376
	 * The feature id for the '<em><b>Security Roles</b></em>' containment reference list.
372
	 * The feature id for the '<em><b>Security Roles</b></em>' containment reference list.
Lines 379-385 Link Here
379
	 * @generated
375
	 * @generated
380
	 * @ordered
376
	 * @ordered
381
	 */
377
	 */
382
	int APPLICATION__SECURITY_ROLES = 4;
378
	int APPLICATION__SECURITY_ROLES = 6;
383
379
384
	/**
380
	/**
385
	 * The feature id for the '<em><b>Library Directory</b></em>' attribute.
381
	 * The feature id for the '<em><b>Library Directory</b></em>' attribute.
Lines 388-394 Link Here
388
	 * @generated
384
	 * @generated
389
	 * @ordered
385
	 * @ordered
390
	 */
386
	 */
391
	int APPLICATION__LIBRARY_DIRECTORY = 5;
387
	int APPLICATION__LIBRARY_DIRECTORY = 7;
388
389
	/**
390
	 * The feature id for the '<em><b>Env Entry</b></em>' containment reference list.
391
	 * <!-- begin-user-doc -->
392
	 * <!-- end-user-doc -->
393
	 * @generated
394
	 * @ordered
395
	 */
396
	int APPLICATION__ENV_ENTRY = 8;
397
398
	/**
399
	 * The feature id for the '<em><b>Ejb Ref</b></em>' containment reference list.
400
	 * <!-- begin-user-doc -->
401
	 * <!-- end-user-doc -->
402
	 * @generated
403
	 * @ordered
404
	 */
405
	int APPLICATION__EJB_REF = 9;
406
407
	/**
408
	 * The feature id for the '<em><b>Ejb Local Ref</b></em>' containment reference list.
409
	 * <!-- begin-user-doc -->
410
	 * <!-- end-user-doc -->
411
	 * @generated
412
	 * @ordered
413
	 */
414
	int APPLICATION__EJB_LOCAL_REF = 10;
415
416
	/**
417
	 * The feature id for the '<em><b>Service Refs</b></em>' containment reference list.
418
	 * <!-- begin-user-doc -->
419
	 * <!-- end-user-doc -->
420
	 * @generated
421
	 * @ordered
422
	 */
423
	int APPLICATION__SERVICE_REFS = 11;
424
425
	/**
426
	 * The feature id for the '<em><b>Resource Ref</b></em>' containment reference list.
427
	 * <!-- begin-user-doc -->
428
	 * <!-- end-user-doc -->
429
	 * @generated
430
	 * @ordered
431
	 */
432
	int APPLICATION__RESOURCE_REF = 12;
433
434
	/**
435
	 * The feature id for the '<em><b>Resource Env Ref</b></em>' containment reference list.
436
	 * <!-- begin-user-doc -->
437
	 * <!-- end-user-doc -->
438
	 * @generated
439
	 * @ordered
440
	 */
441
	int APPLICATION__RESOURCE_ENV_REF = 13;
442
443
	/**
444
	 * The feature id for the '<em><b>Message Destination Ref</b></em>' containment reference list.
445
	 * <!-- begin-user-doc -->
446
	 * <!-- end-user-doc -->
447
	 * @generated
448
	 * @ordered
449
	 */
450
	int APPLICATION__MESSAGE_DESTINATION_REF = 14;
451
452
	/**
453
	 * The feature id for the '<em><b>Persistence Context Ref</b></em>' containment reference list.
454
	 * <!-- begin-user-doc -->
455
	 * <!-- end-user-doc -->
456
	 * @generated
457
	 * @ordered
458
	 */
459
	int APPLICATION__PERSISTENCE_CONTEXT_REF = 15;
460
461
	/**
462
	 * The feature id for the '<em><b>Persistence Unit Ref</b></em>' containment reference list.
463
	 * <!-- begin-user-doc -->
464
	 * <!-- end-user-doc -->
465
	 * @generated
466
	 * @ordered
467
	 */
468
	int APPLICATION__PERSISTENCE_UNIT_REF = 16;
469
470
	/**
471
	 * The feature id for the '<em><b>Message Destination</b></em>' containment reference list.
472
	 * <!-- begin-user-doc -->
473
	 * <!-- end-user-doc -->
474
	 * @generated
475
	 * @ordered
476
	 */
477
	int APPLICATION__MESSAGE_DESTINATION = 17;
478
479
	/**
480
	 * The feature id for the '<em><b>Data Source</b></em>' containment reference list.
481
	 * <!-- begin-user-doc -->
482
	 * <!-- end-user-doc -->
483
	 * @generated
484
	 * @ordered
485
	 */
486
	int APPLICATION__DATA_SOURCE = 18;
392
487
393
	/**
488
	/**
394
	 * The feature id for the '<em><b>Id</b></em>' attribute.
489
	 * The feature id for the '<em><b>Id</b></em>' attribute.
Lines 397-403 Link Here
397
	 * @generated
492
	 * @generated
398
	 * @ordered
493
	 * @ordered
399
	 */
494
	 */
400
	int APPLICATION__ID = 6;
495
	int APPLICATION__ID = 19;
401
496
402
	/**
497
	/**
403
	 * The feature id for the '<em><b>Version</b></em>' attribute.
498
	 * The feature id for the '<em><b>Version</b></em>' attribute.
Lines 406-412 Link Here
406
	 * @generated
501
	 * @generated
407
	 * @ordered
502
	 * @ordered
408
	 */
503
	 */
409
	int APPLICATION__VERSION = 7;
504
	int APPLICATION__VERSION = 20;
410
505
411
	/**
506
	/**
412
	 * The number of structural features of the '<em>Application</em>' class.
507
	 * The number of structural features of the '<em>Application</em>' class.
Lines 415-421 Link Here
415
	 * @generated
510
	 * @generated
416
	 * @ordered
511
	 * @ordered
417
	 */
512
	 */
418
	int APPLICATION_FEATURE_COUNT = 8;
513
	int APPLICATION_FEATURE_COUNT = 21;
419
514
420
	/**
515
	/**
421
	 * The meta object id for the '{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationDeploymentDescriptorImpl <em>Deployment Descriptor</em>}' class.
516
	 * The meta object id for the '{@link org.eclipse.jst.javaee.application.internal.impl.ApplicationDeploymentDescriptorImpl <em>Deployment Descriptor</em>}' class.
Lines 603-608 Link Here
603
	EClass getApplication();
698
	EClass getApplication();
604
699
605
	/**
700
	/**
701
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.application.Application#getApplicationName <em>Application Name</em>}'.
702
	 * <!-- begin-user-doc -->
703
	 * <!-- end-user-doc -->
704
	 * @return the meta object for the attribute '<em>Application Name</em>'.
705
	 * @see org.eclipse.jst.javaee.application.Application#getApplicationName()
706
	 * @see #getApplication()
707
	 * @generated
708
	 */
709
	EAttribute getApplication_ApplicationName();
710
711
	/**
606
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getDescriptions <em>Descriptions</em>}'.
712
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getDescriptions <em>Descriptions</em>}'.
607
	 * <!-- begin-user-doc -->
713
	 * <!-- begin-user-doc -->
608
	 * <!-- end-user-doc -->
714
	 * <!-- end-user-doc -->
Lines 636-641 Link Here
636
	EReference getApplication_Icons();
742
	EReference getApplication_Icons();
637
743
638
	/**
744
	/**
745
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.application.Application#getInitializeInOrder <em>Initialize In Order</em>}'.
746
	 * <!-- begin-user-doc -->
747
	 * <!-- end-user-doc -->
748
	 * @return the meta object for the attribute '<em>Initialize In Order</em>'.
749
	 * @see org.eclipse.jst.javaee.application.Application#getInitializeInOrder()
750
	 * @see #getApplication()
751
	 * @generated
752
	 */
753
	EAttribute getApplication_InitializeInOrder();
754
755
	/**
639
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getModules <em>Modules</em>}'.
756
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getModules <em>Modules</em>}'.
640
	 * <!-- begin-user-doc -->
757
	 * <!-- begin-user-doc -->
641
	 * <!-- end-user-doc -->
758
	 * <!-- end-user-doc -->
Lines 669-674 Link Here
669
	EAttribute getApplication_LibraryDirectory();
786
	EAttribute getApplication_LibraryDirectory();
670
787
671
	/**
788
	/**
789
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getEnvEntry <em>Env Entry</em>}'.
790
	 * <!-- begin-user-doc -->
791
	 * <!-- end-user-doc -->
792
	 * @return the meta object for the containment reference list '<em>Env Entry</em>'.
793
	 * @see org.eclipse.jst.javaee.application.Application#getEnvEntry()
794
	 * @see #getApplication()
795
	 * @generated
796
	 */
797
	EReference getApplication_EnvEntry();
798
799
	/**
800
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getEjbRef <em>Ejb Ref</em>}'.
801
	 * <!-- begin-user-doc -->
802
	 * <!-- end-user-doc -->
803
	 * @return the meta object for the containment reference list '<em>Ejb Ref</em>'.
804
	 * @see org.eclipse.jst.javaee.application.Application#getEjbRef()
805
	 * @see #getApplication()
806
	 * @generated
807
	 */
808
	EReference getApplication_EjbRef();
809
810
	/**
811
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getEjbLocalRef <em>Ejb Local Ref</em>}'.
812
	 * <!-- begin-user-doc -->
813
	 * <!-- end-user-doc -->
814
	 * @return the meta object for the containment reference list '<em>Ejb Local Ref</em>'.
815
	 * @see org.eclipse.jst.javaee.application.Application#getEjbLocalRef()
816
	 * @see #getApplication()
817
	 * @generated
818
	 */
819
	EReference getApplication_EjbLocalRef();
820
821
	/**
822
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getServiceRefs <em>Service Refs</em>}'.
823
	 * <!-- begin-user-doc -->
824
	 * <!-- end-user-doc -->
825
	 * @return the meta object for the containment reference list '<em>Service Refs</em>'.
826
	 * @see org.eclipse.jst.javaee.application.Application#getServiceRefs()
827
	 * @see #getApplication()
828
	 * @generated
829
	 */
830
	EReference getApplication_ServiceRefs();
831
832
	/**
833
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getResourceRef <em>Resource Ref</em>}'.
834
	 * <!-- begin-user-doc -->
835
	 * <!-- end-user-doc -->
836
	 * @return the meta object for the containment reference list '<em>Resource Ref</em>'.
837
	 * @see org.eclipse.jst.javaee.application.Application#getResourceRef()
838
	 * @see #getApplication()
839
	 * @generated
840
	 */
841
	EReference getApplication_ResourceRef();
842
843
	/**
844
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getResourceEnvRef <em>Resource Env Ref</em>}'.
845
	 * <!-- begin-user-doc -->
846
	 * <!-- end-user-doc -->
847
	 * @return the meta object for the containment reference list '<em>Resource Env Ref</em>'.
848
	 * @see org.eclipse.jst.javaee.application.Application#getResourceEnvRef()
849
	 * @see #getApplication()
850
	 * @generated
851
	 */
852
	EReference getApplication_ResourceEnvRef();
853
854
	/**
855
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getMessageDestinationRef <em>Message Destination Ref</em>}'.
856
	 * <!-- begin-user-doc -->
857
	 * <!-- end-user-doc -->
858
	 * @return the meta object for the containment reference list '<em>Message Destination Ref</em>'.
859
	 * @see org.eclipse.jst.javaee.application.Application#getMessageDestinationRef()
860
	 * @see #getApplication()
861
	 * @generated
862
	 */
863
	EReference getApplication_MessageDestinationRef();
864
865
	/**
866
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getPersistenceContextRef <em>Persistence Context Ref</em>}'.
867
	 * <!-- begin-user-doc -->
868
	 * <!-- end-user-doc -->
869
	 * @return the meta object for the containment reference list '<em>Persistence Context Ref</em>'.
870
	 * @see org.eclipse.jst.javaee.application.Application#getPersistenceContextRef()
871
	 * @see #getApplication()
872
	 * @generated
873
	 */
874
	EReference getApplication_PersistenceContextRef();
875
876
	/**
877
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getPersistenceUnitRef <em>Persistence Unit Ref</em>}'.
878
	 * <!-- begin-user-doc -->
879
	 * <!-- end-user-doc -->
880
	 * @return the meta object for the containment reference list '<em>Persistence Unit Ref</em>'.
881
	 * @see org.eclipse.jst.javaee.application.Application#getPersistenceUnitRef()
882
	 * @see #getApplication()
883
	 * @generated
884
	 */
885
	EReference getApplication_PersistenceUnitRef();
886
887
	/**
888
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getMessageDestination <em>Message Destination</em>}'.
889
	 * <!-- begin-user-doc -->
890
	 * <!-- end-user-doc -->
891
	 * @return the meta object for the containment reference list '<em>Message Destination</em>'.
892
	 * @see org.eclipse.jst.javaee.application.Application#getMessageDestination()
893
	 * @see #getApplication()
894
	 * @generated
895
	 */
896
	EReference getApplication_MessageDestination();
897
898
	/**
899
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.application.Application#getDataSource <em>Data Source</em>}'.
900
	 * <!-- begin-user-doc -->
901
	 * <!-- end-user-doc -->
902
	 * @return the meta object for the containment reference list '<em>Data Source</em>'.
903
	 * @see org.eclipse.jst.javaee.application.Application#getDataSource()
904
	 * @see #getApplication()
905
	 * @generated
906
	 */
907
	EReference getApplication_DataSource();
908
909
	/**
672
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.application.Application#getId <em>Id</em>}'.
910
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.application.Application#getId <em>Id</em>}'.
673
	 * <!-- begin-user-doc -->
911
	 * <!-- begin-user-doc -->
674
	 * <!-- end-user-doc -->
912
	 * <!-- end-user-doc -->
Lines 896-901 Link Here
896
		EClass APPLICATION = eINSTANCE.getApplication();
1134
		EClass APPLICATION = eINSTANCE.getApplication();
897
1135
898
		/**
1136
		/**
1137
		 * The meta object literal for the '<em><b>Application Name</b></em>' attribute feature.
1138
		 * <!-- begin-user-doc -->
1139
		 * <!-- end-user-doc -->
1140
		 * @generated
1141
		 */
1142
		EAttribute APPLICATION__APPLICATION_NAME = eINSTANCE.getApplication_ApplicationName();
1143
1144
		/**
899
		 * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature.
1145
		 * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature.
900
		 * <!-- begin-user-doc -->
1146
		 * <!-- begin-user-doc -->
901
		 * <!-- end-user-doc -->
1147
		 * <!-- end-user-doc -->
Lines 920-925 Link Here
920
		EReference APPLICATION__ICONS = eINSTANCE.getApplication_Icons();
1166
		EReference APPLICATION__ICONS = eINSTANCE.getApplication_Icons();
921
1167
922
		/**
1168
		/**
1169
		 * The meta object literal for the '<em><b>Initialize In Order</b></em>' attribute feature.
1170
		 * <!-- begin-user-doc -->
1171
		 * <!-- end-user-doc -->
1172
		 * @generated
1173
		 */
1174
		EAttribute APPLICATION__INITIALIZE_IN_ORDER = eINSTANCE.getApplication_InitializeInOrder();
1175
1176
		/**
923
		 * The meta object literal for the '<em><b>Modules</b></em>' containment reference list feature.
1177
		 * The meta object literal for the '<em><b>Modules</b></em>' containment reference list feature.
924
		 * <!-- begin-user-doc -->
1178
		 * <!-- begin-user-doc -->
925
		 * <!-- end-user-doc -->
1179
		 * <!-- end-user-doc -->
Lines 944-949 Link Here
944
		EAttribute APPLICATION__LIBRARY_DIRECTORY = eINSTANCE.getApplication_LibraryDirectory();
1198
		EAttribute APPLICATION__LIBRARY_DIRECTORY = eINSTANCE.getApplication_LibraryDirectory();
945
1199
946
		/**
1200
		/**
1201
		 * The meta object literal for the '<em><b>Env Entry</b></em>' containment reference list feature.
1202
		 * <!-- begin-user-doc -->
1203
		 * <!-- end-user-doc -->
1204
		 * @generated
1205
		 */
1206
		EReference APPLICATION__ENV_ENTRY = eINSTANCE.getApplication_EnvEntry();
1207
1208
		/**
1209
		 * The meta object literal for the '<em><b>Ejb Ref</b></em>' containment reference list feature.
1210
		 * <!-- begin-user-doc -->
1211
		 * <!-- end-user-doc -->
1212
		 * @generated
1213
		 */
1214
		EReference APPLICATION__EJB_REF = eINSTANCE.getApplication_EjbRef();
1215
1216
		/**
1217
		 * The meta object literal for the '<em><b>Ejb Local Ref</b></em>' containment reference list feature.
1218
		 * <!-- begin-user-doc -->
1219
		 * <!-- end-user-doc -->
1220
		 * @generated
1221
		 */
1222
		EReference APPLICATION__EJB_LOCAL_REF = eINSTANCE.getApplication_EjbLocalRef();
1223
1224
		/**
1225
		 * The meta object literal for the '<em><b>Service Refs</b></em>' containment reference list feature.
1226
		 * <!-- begin-user-doc -->
1227
		 * <!-- end-user-doc -->
1228
		 * @generated
1229
		 */
1230
		EReference APPLICATION__SERVICE_REFS = eINSTANCE.getApplication_ServiceRefs();
1231
1232
		/**
1233
		 * The meta object literal for the '<em><b>Resource Ref</b></em>' containment reference list feature.
1234
		 * <!-- begin-user-doc -->
1235
		 * <!-- end-user-doc -->
1236
		 * @generated
1237
		 */
1238
		EReference APPLICATION__RESOURCE_REF = eINSTANCE.getApplication_ResourceRef();
1239
1240
		/**
1241
		 * The meta object literal for the '<em><b>Resource Env Ref</b></em>' containment reference list feature.
1242
		 * <!-- begin-user-doc -->
1243
		 * <!-- end-user-doc -->
1244
		 * @generated
1245
		 */
1246
		EReference APPLICATION__RESOURCE_ENV_REF = eINSTANCE.getApplication_ResourceEnvRef();
1247
1248
		/**
1249
		 * The meta object literal for the '<em><b>Message Destination Ref</b></em>' containment reference list feature.
1250
		 * <!-- begin-user-doc -->
1251
		 * <!-- end-user-doc -->
1252
		 * @generated
1253
		 */
1254
		EReference APPLICATION__MESSAGE_DESTINATION_REF = eINSTANCE.getApplication_MessageDestinationRef();
1255
1256
		/**
1257
		 * The meta object literal for the '<em><b>Persistence Context Ref</b></em>' containment reference list feature.
1258
		 * <!-- begin-user-doc -->
1259
		 * <!-- end-user-doc -->
1260
		 * @generated
1261
		 */
1262
		EReference APPLICATION__PERSISTENCE_CONTEXT_REF = eINSTANCE.getApplication_PersistenceContextRef();
1263
1264
		/**
1265
		 * The meta object literal for the '<em><b>Persistence Unit Ref</b></em>' containment reference list feature.
1266
		 * <!-- begin-user-doc -->
1267
		 * <!-- end-user-doc -->
1268
		 * @generated
1269
		 */
1270
		EReference APPLICATION__PERSISTENCE_UNIT_REF = eINSTANCE.getApplication_PersistenceUnitRef();
1271
1272
		/**
1273
		 * The meta object literal for the '<em><b>Message Destination</b></em>' containment reference list feature.
1274
		 * <!-- begin-user-doc -->
1275
		 * <!-- end-user-doc -->
1276
		 * @generated
1277
		 */
1278
		EReference APPLICATION__MESSAGE_DESTINATION = eINSTANCE.getApplication_MessageDestination();
1279
1280
		/**
1281
		 * The meta object literal for the '<em><b>Data Source</b></em>' containment reference list feature.
1282
		 * <!-- begin-user-doc -->
1283
		 * <!-- end-user-doc -->
1284
		 * @generated
1285
		 */
1286
		EReference APPLICATION__DATA_SOURCE = eINSTANCE.getApplication_DataSource();
1287
1288
		/**
947
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
1289
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
948
		 * <!-- begin-user-doc -->
1290
		 * <!-- begin-user-doc -->
949
		 * <!-- end-user-doc -->
1291
		 * <!-- end-user-doc -->
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java (-37 / +105 lines)
Lines 13-18 Link Here
13
import java.util.Collection;
13
import java.util.Collection;
14
import java.util.List;
14
import java.util.List;
15
15
16
import javax.xml.namespace.QName;
16
import org.eclipse.emf.common.notify.Notification;
17
import org.eclipse.emf.common.notify.Notification;
17
import org.eclipse.emf.common.notify.NotificationChain;
18
import org.eclipse.emf.common.notify.NotificationChain;
18
19
Lines 59-64 Link Here
59
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getHandlerChains <em>Handler Chains</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getHandlerChains <em>Handler Chains</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getMappedName <em>Mapped Name</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getMappedName <em>Mapped Name</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
63
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getLookupName <em>Lookup Name</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getId <em>Id</em>}</li>
64
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getId <em>Id</em>}</li>
63
 * </ul>
65
 * </ul>
64
 * </p>
66
 * </p>
Lines 74-80 Link Here
74
	 * @generated
76
	 * @generated
75
	 * @ordered
77
	 * @ordered
76
	 */
78
	 */
77
	protected EList descriptions = null;
79
	protected EList<Description> descriptions;
78
80
79
	/**
81
	/**
80
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
82
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
Lines 84-90 Link Here
84
	 * @generated
86
	 * @generated
85
	 * @ordered
87
	 * @ordered
86
	 */
88
	 */
87
	protected EList displayNames = null;
89
	protected EList<DisplayName> displayNames;
88
90
89
	/**
91
	/**
90
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
92
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
Lines 94-100 Link Here
94
	 * @generated
96
	 * @generated
95
	 * @ordered
97
	 * @ordered
96
	 */
98
	 */
97
	protected EList icons = null;
99
	protected EList<Icon> icons;
98
100
99
	/**
101
	/**
100
	 * The default value of the '{@link #getServiceRefName() <em>Service Ref Name</em>}' attribute.
102
	 * The default value of the '{@link #getServiceRefName() <em>Service Ref Name</em>}' attribute.
Lines 204-210 Link Here
204
	 * @generated
206
	 * @generated
205
	 * @ordered
207
	 * @ordered
206
	 */
208
	 */
207
	protected static final Object SERVICE_QNAME_EDEFAULT = null;
209
	protected static final QName SERVICE_QNAME_EDEFAULT = null;
208
210
209
	/**
211
	/**
210
	 * The cached value of the '{@link #getServiceQname() <em>Service Qname</em>}' attribute.
212
	 * The cached value of the '{@link #getServiceQname() <em>Service Qname</em>}' attribute.
Lines 214-220 Link Here
214
	 * @generated
216
	 * @generated
215
	 * @ordered
217
	 * @ordered
216
	 */
218
	 */
217
	protected Object serviceQname = SERVICE_QNAME_EDEFAULT;
219
	protected QName serviceQname = SERVICE_QNAME_EDEFAULT;
218
220
219
	/**
221
	/**
220
	 * The cached value of the '{@link #getPortComponentRefs() <em>Port Component Refs</em>}' containment reference list.
222
	 * The cached value of the '{@link #getPortComponentRefs() <em>Port Component Refs</em>}' containment reference list.
Lines 224-230 Link Here
224
	 * @generated
226
	 * @generated
225
	 * @ordered
227
	 * @ordered
226
	 */
228
	 */
227
	protected EList portComponentRefs = null;
229
	protected EList<PortComponentRef> portComponentRefs;
228
230
229
	/**
231
	/**
230
	 * The cached value of the '{@link #getHandlers() <em>Handlers</em>}' containment reference list.
232
	 * The cached value of the '{@link #getHandlers() <em>Handlers</em>}' containment reference list.
Lines 234-240 Link Here
234
	 * @generated
236
	 * @generated
235
	 * @ordered
237
	 * @ordered
236
	 */
238
	 */
237
	protected EList handlers = null;
239
	protected EList<ServiceRefHandler> handlers;
238
240
239
	/**
241
	/**
240
	 * The cached value of the '{@link #getHandlerChains() <em>Handler Chains</em>}' containment reference.
242
	 * The cached value of the '{@link #getHandlerChains() <em>Handler Chains</em>}' containment reference.
Lines 244-250 Link Here
244
	 * @generated
246
	 * @generated
245
	 * @ordered
247
	 * @ordered
246
	 */
248
	 */
247
	protected ServiceRefHandlerChains handlerChains = null;
249
	protected ServiceRefHandlerChains handlerChains;
248
250
249
	/**
251
	/**
250
	 * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute.
252
	 * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute.
Lines 274-280 Link Here
274
	 * @generated
276
	 * @generated
275
	 * @ordered
277
	 * @ordered
276
	 */
278
	 */
277
	protected EList injectionTargets = null;
279
	protected EList<InjectionTarget> injectionTargets;
280
281
	/**
282
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
283
	 * <!-- begin-user-doc -->
284
	 * <!-- end-user-doc -->
285
	 * @see #getLookupName()
286
	 * @generated
287
	 * @ordered
288
	 */
289
	protected static final String LOOKUP_NAME_EDEFAULT = null;
290
291
	/**
292
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
293
	 * <!-- begin-user-doc -->
294
	 * <!-- end-user-doc -->
295
	 * @see #getLookupName()
296
	 * @generated
297
	 * @ordered
298
	 */
299
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
278
300
279
	/**
301
	/**
280
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
302
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 320-328 Link Here
320
	 * <!-- end-user-doc -->
342
	 * <!-- end-user-doc -->
321
	 * @generated
343
	 * @generated
322
	 */
344
	 */
323
	public List getDescriptions() {
345
	public List<Description> getDescriptions() {
324
		if (descriptions == null) {
346
		if (descriptions == null) {
325
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.SERVICE_REF__DESCRIPTIONS);
347
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SERVICE_REF__DESCRIPTIONS);
326
		}
348
		}
327
		return descriptions;
349
		return descriptions;
328
	}
350
	}
Lines 332-340 Link Here
332
	 * <!-- end-user-doc -->
354
	 * <!-- end-user-doc -->
333
	 * @generated
355
	 * @generated
334
	 */
356
	 */
335
	public List getDisplayNames() {
357
	public List<DisplayName> getDisplayNames() {
336
		if (displayNames == null) {
358
		if (displayNames == null) {
337
			displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.SERVICE_REF__DISPLAY_NAMES);
359
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.SERVICE_REF__DISPLAY_NAMES);
338
		}
360
		}
339
		return displayNames;
361
		return displayNames;
340
	}
362
	}
Lines 344-352 Link Here
344
	 * <!-- end-user-doc -->
366
	 * <!-- end-user-doc -->
345
	 * @generated
367
	 * @generated
346
	 */
368
	 */
347
	public List getIcons() {
369
	public List<Icon> getIcons() {
348
		if (icons == null) {
370
		if (icons == null) {
349
			icons = new EObjectContainmentEList(Icon.class, this, JavaeePackage.SERVICE_REF__ICONS);
371
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.SERVICE_REF__ICONS);
350
		}
372
		}
351
		return icons;
373
		return icons;
352
	}
374
	}
Lines 461-467 Link Here
461
	 * <!-- end-user-doc -->
483
	 * <!-- end-user-doc -->
462
	 * @generated
484
	 * @generated
463
	 */
485
	 */
464
	public Object getServiceQname() {
486
	public QName getServiceQname() {
465
		return serviceQname;
487
		return serviceQname;
466
	}
488
	}
467
489
Lines 470-477 Link Here
470
	 * <!-- end-user-doc -->
492
	 * <!-- end-user-doc -->
471
	 * @generated
493
	 * @generated
472
	 */
494
	 */
473
	public void setServiceQname(Object newServiceQname) {
495
	public void setServiceQname(QName newServiceQname) {
474
		Object oldServiceQname = serviceQname;
496
		QName oldServiceQname = serviceQname;
475
		serviceQname = newServiceQname;
497
		serviceQname = newServiceQname;
476
		if (eNotificationRequired())
498
		if (eNotificationRequired())
477
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__SERVICE_QNAME, oldServiceQname, serviceQname));
499
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__SERVICE_QNAME, oldServiceQname, serviceQname));
Lines 482-490 Link Here
482
	 * <!-- end-user-doc -->
504
	 * <!-- end-user-doc -->
483
	 * @generated
505
	 * @generated
484
	 */
506
	 */
485
	public List getPortComponentRefs() {
507
	public List<PortComponentRef> getPortComponentRefs() {
486
		if (portComponentRefs == null) {
508
		if (portComponentRefs == null) {
487
			portComponentRefs = new EObjectContainmentEList(PortComponentRef.class, this, JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS);
509
			portComponentRefs = new EObjectContainmentEList<PortComponentRef>(PortComponentRef.class, this, JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS);
488
		}
510
		}
489
		return portComponentRefs;
511
		return portComponentRefs;
490
	}
512
	}
Lines 494-502 Link Here
494
	 * <!-- end-user-doc -->
516
	 * <!-- end-user-doc -->
495
	 * @generated
517
	 * @generated
496
	 */
518
	 */
497
	public List getHandlers() {
519
	public List<ServiceRefHandler> getHandlers() {
498
		if (handlers == null) {
520
		if (handlers == null) {
499
			handlers = new EObjectContainmentEList(ServiceRefHandler.class, this, JavaeePackage.SERVICE_REF__HANDLERS);
521
			handlers = new EObjectContainmentEList<ServiceRefHandler>(ServiceRefHandler.class, this, JavaeePackage.SERVICE_REF__HANDLERS);
500
		}
522
		}
501
		return handlers;
523
		return handlers;
502
	}
524
	}
Lines 570-578 Link Here
570
	 * <!-- end-user-doc -->
592
	 * <!-- end-user-doc -->
571
	 * @generated
593
	 * @generated
572
	 */
594
	 */
573
	public List getInjectionTargets() {
595
	public List<InjectionTarget> getInjectionTargets() {
574
		if (injectionTargets == null) {
596
		if (injectionTargets == null) {
575
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.SERVICE_REF__INJECTION_TARGETS);
597
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.SERVICE_REF__INJECTION_TARGETS);
576
		}
598
		}
577
		return injectionTargets;
599
		return injectionTargets;
578
	}
600
	}
Lines 582-587 Link Here
582
	 * <!-- end-user-doc -->
604
	 * <!-- end-user-doc -->
583
	 * @generated
605
	 * @generated
584
	 */
606
	 */
607
	public String getLookupName() {
608
		return lookupName;
609
	}
610
611
	/**
612
	 * <!-- begin-user-doc -->
613
	 * <!-- end-user-doc -->
614
	 * @generated
615
	 */
616
	public void setLookupName(String newLookupName) {
617
		String oldLookupName = lookupName;
618
		lookupName = newLookupName;
619
		if (eNotificationRequired())
620
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__LOOKUP_NAME, oldLookupName, lookupName));
621
	}
622
623
	/**
624
	 * <!-- begin-user-doc -->
625
	 * <!-- end-user-doc -->
626
	 * @generated
627
	 */
585
	public String getId() {
628
	public String getId() {
586
		return id;
629
		return id;
587
	}
630
	}
Lines 607-625 Link Here
607
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
650
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
608
		switch (featureID) {
651
		switch (featureID) {
609
			case JavaeePackage.SERVICE_REF__DESCRIPTIONS:
652
			case JavaeePackage.SERVICE_REF__DESCRIPTIONS:
610
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
653
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
611
			case JavaeePackage.SERVICE_REF__DISPLAY_NAMES:
654
			case JavaeePackage.SERVICE_REF__DISPLAY_NAMES:
612
				return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
655
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
613
			case JavaeePackage.SERVICE_REF__ICONS:
656
			case JavaeePackage.SERVICE_REF__ICONS:
614
				return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
657
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
615
			case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS:
658
			case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS:
616
				return ((InternalEList)getPortComponentRefs()).basicRemove(otherEnd, msgs);
659
				return ((InternalEList<?>)getPortComponentRefs()).basicRemove(otherEnd, msgs);
617
			case JavaeePackage.SERVICE_REF__HANDLERS:
660
			case JavaeePackage.SERVICE_REF__HANDLERS:
618
				return ((InternalEList)getHandlers()).basicRemove(otherEnd, msgs);
661
				return ((InternalEList<?>)getHandlers()).basicRemove(otherEnd, msgs);
619
			case JavaeePackage.SERVICE_REF__HANDLER_CHAINS:
662
			case JavaeePackage.SERVICE_REF__HANDLER_CHAINS:
620
				return basicSetHandlerChains(null, msgs);
663
				return basicSetHandlerChains(null, msgs);
621
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
664
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
622
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
665
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
623
		}
666
		}
624
		return super.eInverseRemove(otherEnd, featureID, msgs);
667
		return super.eInverseRemove(otherEnd, featureID, msgs);
625
	}
668
	}
Lines 660-665 Link Here
660
				return getMappedName();
703
				return getMappedName();
661
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
704
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
662
				return getInjectionTargets();
705
				return getInjectionTargets();
706
			case JavaeePackage.SERVICE_REF__LOOKUP_NAME:
707
				return getLookupName();
663
			case JavaeePackage.SERVICE_REF__ID:
708
			case JavaeePackage.SERVICE_REF__ID:
664
				return getId();
709
				return getId();
665
		}
710
		}
Lines 671-690 Link Here
671
	 * <!-- end-user-doc -->
716
	 * <!-- end-user-doc -->
672
	 * @generated
717
	 * @generated
673
	 */
718
	 */
719
	@SuppressWarnings("unchecked")
674
	@Override
720
	@Override
675
	public void eSet(int featureID, Object newValue) {
721
	public void eSet(int featureID, Object newValue) {
676
		switch (featureID) {
722
		switch (featureID) {
677
			case JavaeePackage.SERVICE_REF__DESCRIPTIONS:
723
			case JavaeePackage.SERVICE_REF__DESCRIPTIONS:
678
				getDescriptions().clear();
724
				getDescriptions().clear();
679
				getDescriptions().addAll((Collection)newValue);
725
				getDescriptions().addAll((Collection<? extends Description>)newValue);
680
				return;
726
				return;
681
			case JavaeePackage.SERVICE_REF__DISPLAY_NAMES:
727
			case JavaeePackage.SERVICE_REF__DISPLAY_NAMES:
682
				getDisplayNames().clear();
728
				getDisplayNames().clear();
683
				getDisplayNames().addAll((Collection)newValue);
729
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
684
				return;
730
				return;
685
			case JavaeePackage.SERVICE_REF__ICONS:
731
			case JavaeePackage.SERVICE_REF__ICONS:
686
				getIcons().clear();
732
				getIcons().clear();
687
				getIcons().addAll((Collection)newValue);
733
				getIcons().addAll((Collection<? extends Icon>)newValue);
688
				return;
734
				return;
689
			case JavaeePackage.SERVICE_REF__SERVICE_REF_NAME:
735
			case JavaeePackage.SERVICE_REF__SERVICE_REF_NAME:
690
				setServiceRefName((String)newValue);
736
				setServiceRefName((String)newValue);
Lines 702-716 Link Here
702
				setJaxrpcMappingFile((String)newValue);
748
				setJaxrpcMappingFile((String)newValue);
703
				return;
749
				return;
704
			case JavaeePackage.SERVICE_REF__SERVICE_QNAME:
750
			case JavaeePackage.SERVICE_REF__SERVICE_QNAME:
705
				setServiceQname(newValue);
751
				setServiceQname((QName)newValue);
706
				return;
752
				return;
707
			case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS:
753
			case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS:
708
				getPortComponentRefs().clear();
754
				getPortComponentRefs().clear();
709
				getPortComponentRefs().addAll((Collection)newValue);
755
				getPortComponentRefs().addAll((Collection<? extends PortComponentRef>)newValue);
710
				return;
756
				return;
711
			case JavaeePackage.SERVICE_REF__HANDLERS:
757
			case JavaeePackage.SERVICE_REF__HANDLERS:
712
				getHandlers().clear();
758
				getHandlers().clear();
713
				getHandlers().addAll((Collection)newValue);
759
				getHandlers().addAll((Collection<? extends ServiceRefHandler>)newValue);
714
				return;
760
				return;
715
			case JavaeePackage.SERVICE_REF__HANDLER_CHAINS:
761
			case JavaeePackage.SERVICE_REF__HANDLER_CHAINS:
716
				setHandlerChains((ServiceRefHandlerChains)newValue);
762
				setHandlerChains((ServiceRefHandlerChains)newValue);
Lines 720-726 Link Here
720
				return;
766
				return;
721
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
767
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
722
				getInjectionTargets().clear();
768
				getInjectionTargets().clear();
723
				getInjectionTargets().addAll((Collection)newValue);
769
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
770
				return;
771
			case JavaeePackage.SERVICE_REF__LOOKUP_NAME:
772
				setLookupName((String)newValue);
724
				return;
773
				return;
725
			case JavaeePackage.SERVICE_REF__ID:
774
			case JavaeePackage.SERVICE_REF__ID:
726
				setId((String)newValue);
775
				setId((String)newValue);
Lines 779-784 Link Here
779
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
828
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
780
				getInjectionTargets().clear();
829
				getInjectionTargets().clear();
781
				return;
830
				return;
831
			case JavaeePackage.SERVICE_REF__LOOKUP_NAME:
832
				setLookupName(LOOKUP_NAME_EDEFAULT);
833
				return;
782
			case JavaeePackage.SERVICE_REF__ID:
834
			case JavaeePackage.SERVICE_REF__ID:
783
				setId(ID_EDEFAULT);
835
				setId(ID_EDEFAULT);
784
				return;
836
				return;
Lines 822-827 Link Here
822
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
874
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
823
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
875
			case JavaeePackage.SERVICE_REF__INJECTION_TARGETS:
824
				return injectionTargets != null && !injectionTargets.isEmpty();
876
				return injectionTargets != null && !injectionTargets.isEmpty();
877
			case JavaeePackage.SERVICE_REF__LOOKUP_NAME:
878
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
825
			case JavaeePackage.SERVICE_REF__ID:
879
			case JavaeePackage.SERVICE_REF__ID:
826
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
880
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
827
		}
881
		}
Lines 852-861 Link Here
852
		result.append(serviceQname);
906
		result.append(serviceQname);
853
		result.append(", mappedName: "); //$NON-NLS-1$
907
		result.append(", mappedName: "); //$NON-NLS-1$
854
		result.append(mappedName);
908
		result.append(mappedName);
909
		result.append(", lookupName: "); //$NON-NLS-1$
910
		result.append(lookupName);
855
		result.append(", id: "); //$NON-NLS-1$
911
		result.append(", id: "); //$NON-NLS-1$
856
		result.append(id);
912
		result.append(id);
857
		result.append(')');
913
		result.append(')');
858
		return result.toString();
914
		return result.toString();
859
	}
915
	}
860
916
917
	public void setServiceQname(Object newServiceQname) {
918
		if (newServiceQname instanceof QName)
919
		{
920
			setServiceQname((QName)newServiceQname);
921
		}
922
		else
923
		{
924
			QName newQName = QName.valueOf(newServiceQname.toString());
925
			setServiceQname(newQName);
926
		}
927
	}
928
861
} //ServiceRefImpl
929
} //ServiceRefImpl
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainsImpl.java (-5 / +6 lines)
Lines 55-61 Link Here
55
	 * @generated
55
	 * @generated
56
	 * @ordered
56
	 * @ordered
57
	 */
57
	 */
58
	protected EList handlerChains = null;
58
	protected EList<ServiceRefHandlerChain> handlerChains;
59
59
60
	/**
60
	/**
61
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
61
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 101-109 Link Here
101
	 * <!-- end-user-doc -->
101
	 * <!-- end-user-doc -->
102
	 * @generated
102
	 * @generated
103
	 */
103
	 */
104
	public List getHandlerChains() {
104
	public List<ServiceRefHandlerChain> getHandlerChains() {
105
		if (handlerChains == null) {
105
		if (handlerChains == null) {
106
			handlerChains = new EObjectContainmentEList(ServiceRefHandlerChain.class, this, JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS);
106
			handlerChains = new EObjectContainmentEList<ServiceRefHandlerChain>(ServiceRefHandlerChain.class, this, JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS);
107
		}
107
		}
108
		return handlerChains;
108
		return handlerChains;
109
	}
109
	}
Lines 138-144 Link Here
138
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
138
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
139
		switch (featureID) {
139
		switch (featureID) {
140
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS:
140
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS:
141
				return ((InternalEList)getHandlerChains()).basicRemove(otherEnd, msgs);
141
				return ((InternalEList<?>)getHandlerChains()).basicRemove(otherEnd, msgs);
142
		}
142
		}
143
		return super.eInverseRemove(otherEnd, featureID, msgs);
143
		return super.eInverseRemove(otherEnd, featureID, msgs);
144
	}
144
	}
Lines 164-175 Link Here
164
	 * <!-- end-user-doc -->
164
	 * <!-- end-user-doc -->
165
	 * @generated
165
	 * @generated
166
	 */
166
	 */
167
	@SuppressWarnings("unchecked")
167
	@Override
168
	@Override
168
	public void eSet(int featureID, Object newValue) {
169
	public void eSet(int featureID, Object newValue) {
169
		switch (featureID) {
170
		switch (featureID) {
170
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS:
171
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS:
171
				getHandlerChains().clear();
172
				getHandlerChains().clear();
172
				getHandlerChains().addAll((Collection)newValue);
173
				getHandlerChains().addAll((Collection<? extends ServiceRefHandlerChain>)newValue);
173
				return;
174
				return;
174
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID:
175
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID:
175
				setId((String)newValue);
176
				setId((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleRefImpl.java (-5 / +6 lines)
Lines 57-63 Link Here
57
	 * @generated
57
	 * @generated
58
	 * @ordered
58
	 * @ordered
59
	 */
59
	 */
60
	protected EList descriptions = null;
60
	protected EList<Description> descriptions;
61
61
62
	/**
62
	/**
63
	 * The default value of the '{@link #getRoleName() <em>Role Name</em>}' attribute.
63
	 * The default value of the '{@link #getRoleName() <em>Role Name</em>}' attribute.
Lines 143-151 Link Here
143
	 * <!-- end-user-doc -->
143
	 * <!-- end-user-doc -->
144
	 * @generated
144
	 * @generated
145
	 */
145
	 */
146
	public List getDescriptions() {
146
	public List<Description> getDescriptions() {
147
		if (descriptions == null) {
147
		if (descriptions == null) {
148
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS);
148
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS);
149
		}
149
		}
150
		return descriptions;
150
		return descriptions;
151
	}
151
	}
Lines 222-228 Link Here
222
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
222
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
223
		switch (featureID) {
223
		switch (featureID) {
224
			case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS:
224
			case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS:
225
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
225
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
226
		}
226
		}
227
		return super.eInverseRemove(otherEnd, featureID, msgs);
227
		return super.eInverseRemove(otherEnd, featureID, msgs);
228
	}
228
	}
Lines 252-263 Link Here
252
	 * <!-- end-user-doc -->
252
	 * <!-- end-user-doc -->
253
	 * @generated
253
	 * @generated
254
	 */
254
	 */
255
	@SuppressWarnings("unchecked")
255
	@Override
256
	@Override
256
	public void eSet(int featureID, Object newValue) {
257
	public void eSet(int featureID, Object newValue) {
257
		switch (featureID) {
258
		switch (featureID) {
258
			case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS:
259
			case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS:
259
				getDescriptions().clear();
260
				getDescriptions().clear();
260
				getDescriptions().addAll((Collection)newValue);
261
				getDescriptions().addAll((Collection<? extends Description>)newValue);
261
				return;
262
				return;
262
			case JavaeePackage.SECURITY_ROLE_REF__ROLE_NAME:
263
			case JavaeePackage.SECURITY_ROLE_REF__ROLE_NAME:
263
				setRoleName((String)newValue);
264
				setRoleName((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/RunAsImpl.java (-5 / +6 lines)
Lines 56-62 Link Here
56
	 * @generated
56
	 * @generated
57
	 * @ordered
57
	 * @ordered
58
	 */
58
	 */
59
	protected EList descriptions = null;
59
	protected EList<Description> descriptions;
60
60
61
	/**
61
	/**
62
	 * The default value of the '{@link #getRoleName() <em>Role Name</em>}' attribute.
62
	 * The default value of the '{@link #getRoleName() <em>Role Name</em>}' attribute.
Lines 122-130 Link Here
122
	 * <!-- end-user-doc -->
122
	 * <!-- end-user-doc -->
123
	 * @generated
123
	 * @generated
124
	 */
124
	 */
125
	public List getDescriptions() {
125
	public List<Description> getDescriptions() {
126
		if (descriptions == null) {
126
		if (descriptions == null) {
127
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.RUN_AS__DESCRIPTIONS);
127
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.RUN_AS__DESCRIPTIONS);
128
		}
128
		}
129
		return descriptions;
129
		return descriptions;
130
	}
130
	}
Lines 180-186 Link Here
180
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
180
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
181
		switch (featureID) {
181
		switch (featureID) {
182
			case JavaeePackage.RUN_AS__DESCRIPTIONS:
182
			case JavaeePackage.RUN_AS__DESCRIPTIONS:
183
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
183
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
184
		}
184
		}
185
		return super.eInverseRemove(otherEnd, featureID, msgs);
185
		return super.eInverseRemove(otherEnd, featureID, msgs);
186
	}
186
	}
Lines 208-219 Link Here
208
	 * <!-- end-user-doc -->
208
	 * <!-- end-user-doc -->
209
	 * @generated
209
	 * @generated
210
	 */
210
	 */
211
	@SuppressWarnings("unchecked")
211
	@Override
212
	@Override
212
	public void eSet(int featureID, Object newValue) {
213
	public void eSet(int featureID, Object newValue) {
213
		switch (featureID) {
214
		switch (featureID) {
214
			case JavaeePackage.RUN_AS__DESCRIPTIONS:
215
			case JavaeePackage.RUN_AS__DESCRIPTIONS:
215
				getDescriptions().clear();
216
				getDescriptions().clear();
216
				getDescriptions().addAll((Collection)newValue);
217
				getDescriptions().addAll((Collection<? extends Description>)newValue);
217
				return;
218
				return;
218
			case JavaeePackage.RUN_AS__ROLE_NAME:
219
			case JavaeePackage.RUN_AS__ROLE_NAME:
219
				setRoleName((String)newValue);
220
				setRoleName((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationRefImpl.java (-11 / +66 lines)
Lines 48-53 Link Here
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMessageDestinationLink <em>Message Destination Link</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMessageDestinationLink <em>Message Destination Link</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMappedName <em>Mapped Name</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMappedName <em>Mapped Name</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getLookupName <em>Lookup Name</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getId <em>Id</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getId <em>Id</em>}</li>
52
 * </ul>
53
 * </ul>
53
 * </p>
54
 * </p>
Lines 63-69 Link Here
63
	 * @generated
64
	 * @generated
64
	 * @ordered
65
	 * @ordered
65
	 */
66
	 */
66
	protected EList descriptions = null;
67
	protected EList<Description> descriptions;
67
68
68
	/**
69
	/**
69
	 * The default value of the '{@link #getMessageDestinationRefName() <em>Message Destination Ref Name</em>}' attribute.
70
	 * The default value of the '{@link #getMessageDestinationRefName() <em>Message Destination Ref Name</em>}' attribute.
Lines 132-138 Link Here
132
	 * @generated
133
	 * @generated
133
	 * @ordered
134
	 * @ordered
134
	 */
135
	 */
135
	protected boolean messageDestinationUsageESet = false;
136
	protected boolean messageDestinationUsageESet;
136
137
137
	/**
138
	/**
138
	 * The default value of the '{@link #getMessageDestinationLink() <em>Message Destination Link</em>}' attribute.
139
	 * The default value of the '{@link #getMessageDestinationLink() <em>Message Destination Link</em>}' attribute.
Lines 182-188 Link Here
182
	 * @generated
183
	 * @generated
183
	 * @ordered
184
	 * @ordered
184
	 */
185
	 */
185
	protected EList injectionTargets = null;
186
	protected EList<InjectionTarget> injectionTargets;
187
188
	/**
189
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
190
	 * <!-- begin-user-doc -->
191
	 * <!-- end-user-doc -->
192
	 * @see #getLookupName()
193
	 * @generated
194
	 * @ordered
195
	 */
196
	protected static final String LOOKUP_NAME_EDEFAULT = null;
197
198
	/**
199
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
200
	 * <!-- begin-user-doc -->
201
	 * <!-- end-user-doc -->
202
	 * @see #getLookupName()
203
	 * @generated
204
	 * @ordered
205
	 */
206
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
186
207
187
	/**
208
	/**
188
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
209
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 228-236 Link Here
228
	 * <!-- end-user-doc -->
249
	 * <!-- end-user-doc -->
229
	 * @generated
250
	 * @generated
230
	 */
251
	 */
231
	public List getDescriptions() {
252
	public List<Description> getDescriptions() {
232
		if (descriptions == null) {
253
		if (descriptions == null) {
233
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS);
254
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS);
234
		}
255
		}
235
		return descriptions;
256
		return descriptions;
236
	}
257
	}
Lines 370-378 Link Here
370
	 * <!-- end-user-doc -->
391
	 * <!-- end-user-doc -->
371
	 * @generated
392
	 * @generated
372
	 */
393
	 */
373
	public List getInjectionTargets() {
394
	public List<InjectionTarget> getInjectionTargets() {
374
		if (injectionTargets == null) {
395
		if (injectionTargets == null) {
375
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS);
396
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS);
376
		}
397
		}
377
		return injectionTargets;
398
		return injectionTargets;
378
	}
399
	}
Lines 382-387 Link Here
382
	 * <!-- end-user-doc -->
403
	 * <!-- end-user-doc -->
383
	 * @generated
404
	 * @generated
384
	 */
405
	 */
406
	public String getLookupName() {
407
		return lookupName;
408
	}
409
410
	/**
411
	 * <!-- begin-user-doc -->
412
	 * <!-- end-user-doc -->
413
	 * @generated
414
	 */
415
	public void setLookupName(String newLookupName) {
416
		String oldLookupName = lookupName;
417
		lookupName = newLookupName;
418
		if (eNotificationRequired())
419
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME, oldLookupName, lookupName));
420
	}
421
422
	/**
423
	 * <!-- begin-user-doc -->
424
	 * <!-- end-user-doc -->
425
	 * @generated
426
	 */
385
	public String getId() {
427
	public String getId() {
386
		return id;
428
		return id;
387
	}
429
	}
Lines 407-415 Link Here
407
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
449
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
408
		switch (featureID) {
450
		switch (featureID) {
409
			case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS:
451
			case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS:
410
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
452
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
411
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
453
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
412
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
454
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
413
		}
455
		}
414
		return super.eInverseRemove(otherEnd, featureID, msgs);
456
		return super.eInverseRemove(otherEnd, featureID, msgs);
415
	}
457
	}
Lines 436-441 Link Here
436
				return getMappedName();
478
				return getMappedName();
437
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
479
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
438
				return getInjectionTargets();
480
				return getInjectionTargets();
481
			case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME:
482
				return getLookupName();
439
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
483
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
440
				return getId();
484
				return getId();
441
		}
485
		}
Lines 447-458 Link Here
447
	 * <!-- end-user-doc -->
491
	 * <!-- end-user-doc -->
448
	 * @generated
492
	 * @generated
449
	 */
493
	 */
494
	@SuppressWarnings("unchecked")
450
	@Override
495
	@Override
451
	public void eSet(int featureID, Object newValue) {
496
	public void eSet(int featureID, Object newValue) {
452
		switch (featureID) {
497
		switch (featureID) {
453
			case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS:
498
			case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS:
454
				getDescriptions().clear();
499
				getDescriptions().clear();
455
				getDescriptions().addAll((Collection)newValue);
500
				getDescriptions().addAll((Collection<? extends Description>)newValue);
456
				return;
501
				return;
457
			case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME:
502
			case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME:
458
				setMessageDestinationRefName((String)newValue);
503
				setMessageDestinationRefName((String)newValue);
Lines 471-477 Link Here
471
				return;
516
				return;
472
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
517
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
473
				getInjectionTargets().clear();
518
				getInjectionTargets().clear();
474
				getInjectionTargets().addAll((Collection)newValue);
519
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
520
				return;
521
			case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME:
522
				setLookupName((String)newValue);
475
				return;
523
				return;
476
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
524
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
477
				setId((String)newValue);
525
				setId((String)newValue);
Lines 509-514 Link Here
509
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
557
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
510
				getInjectionTargets().clear();
558
				getInjectionTargets().clear();
511
				return;
559
				return;
560
			case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME:
561
				setLookupName(LOOKUP_NAME_EDEFAULT);
562
				return;
512
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
563
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
513
				setId(ID_EDEFAULT);
564
				setId(ID_EDEFAULT);
514
				return;
565
				return;
Lines 538-543 Link Here
538
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
589
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
539
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
590
			case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS:
540
				return injectionTargets != null && !injectionTargets.isEmpty();
591
				return injectionTargets != null && !injectionTargets.isEmpty();
592
			case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME:
593
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
541
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
594
			case JavaeePackage.MESSAGE_DESTINATION_REF__ID:
542
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
595
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
543
		}
596
		}
Lines 564-569 Link Here
564
		result.append(messageDestinationLink);
617
		result.append(messageDestinationLink);
565
		result.append(", mappedName: "); //$NON-NLS-1$
618
		result.append(", mappedName: "); //$NON-NLS-1$
566
		result.append(mappedName);
619
		result.append(mappedName);
620
		result.append(", lookupName: "); //$NON-NLS-1$
621
		result.append(lookupName);
567
		result.append(", id: "); //$NON-NLS-1$
622
		result.append(", id: "); //$NON-NLS-1$
568
		result.append(id);
623
		result.append(id);
569
		result.append(')');
624
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerImpl.java (-32 / +34 lines)
Lines 13-18 Link Here
13
import java.util.Collection;
13
import java.util.Collection;
14
import java.util.List;
14
import java.util.List;
15
15
16
import javax.xml.namespace.QName;
16
import org.eclipse.emf.common.notify.Notification;
17
import org.eclipse.emf.common.notify.Notification;
17
import org.eclipse.emf.common.notify.NotificationChain;
18
import org.eclipse.emf.common.notify.NotificationChain;
18
19
Lines 67-73 Link Here
67
	 * @generated
68
	 * @generated
68
	 * @ordered
69
	 * @ordered
69
	 */
70
	 */
70
	protected EList descriptions = null;
71
	protected EList<Description> descriptions;
71
72
72
	/**
73
	/**
73
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
74
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
Lines 77-83 Link Here
77
	 * @generated
78
	 * @generated
78
	 * @ordered
79
	 * @ordered
79
	 */
80
	 */
80
	protected EList displayNames = null;
81
	protected EList<DisplayName> displayNames;
81
82
82
	/**
83
	/**
83
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
84
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
Lines 87-93 Link Here
87
	 * @generated
88
	 * @generated
88
	 * @ordered
89
	 * @ordered
89
	 */
90
	 */
90
	protected EList icons = null;
91
	protected EList<Icon> icons;
91
92
92
	/**
93
	/**
93
	 * The default value of the '{@link #getHandlerName() <em>Handler Name</em>}' attribute.
94
	 * The default value of the '{@link #getHandlerName() <em>Handler Name</em>}' attribute.
Lines 137-143 Link Here
137
	 * @generated
138
	 * @generated
138
	 * @ordered
139
	 * @ordered
139
	 */
140
	 */
140
	protected EList initParams = null;
141
	protected EList<ParamValue> initParams;
141
142
142
	/**
143
	/**
143
	 * The cached value of the '{@link #getSoapHeaders() <em>Soap Headers</em>}' attribute list.
144
	 * The cached value of the '{@link #getSoapHeaders() <em>Soap Headers</em>}' attribute list.
Lines 147-153 Link Here
147
	 * @generated
148
	 * @generated
148
	 * @ordered
149
	 * @ordered
149
	 */
150
	 */
150
	protected EList soapHeaders = null;
151
	protected EList<QName> soapHeaders;
151
152
152
	/**
153
	/**
153
	 * The cached value of the '{@link #getSoapRoles() <em>Soap Roles</em>}' attribute list.
154
	 * The cached value of the '{@link #getSoapRoles() <em>Soap Roles</em>}' attribute list.
Lines 157-163 Link Here
157
	 * @generated
158
	 * @generated
158
	 * @ordered
159
	 * @ordered
159
	 */
160
	 */
160
	protected EList soapRoles = null;
161
	protected EList<String> soapRoles;
161
162
162
	/**
163
	/**
163
	 * The cached value of the '{@link #getPortNames() <em>Port Names</em>}' attribute list.
164
	 * The cached value of the '{@link #getPortNames() <em>Port Names</em>}' attribute list.
Lines 167-173 Link Here
167
	 * @generated
168
	 * @generated
168
	 * @ordered
169
	 * @ordered
169
	 */
170
	 */
170
	protected EList portNames = null;
171
	protected EList<String> portNames;
171
172
172
	/**
173
	/**
173
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
174
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 213-221 Link Here
213
	 * <!-- end-user-doc -->
214
	 * <!-- end-user-doc -->
214
	 * @generated
215
	 * @generated
215
	 */
216
	 */
216
	public List getDescriptions() {
217
	public List<Description> getDescriptions() {
217
		if (descriptions == null) {
218
		if (descriptions == null) {
218
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS);
219
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS);
219
		}
220
		}
220
		return descriptions;
221
		return descriptions;
221
	}
222
	}
Lines 225-233 Link Here
225
	 * <!-- end-user-doc -->
226
	 * <!-- end-user-doc -->
226
	 * @generated
227
	 * @generated
227
	 */
228
	 */
228
	public List getDisplayNames() {
229
	public List<DisplayName> getDisplayNames() {
229
		if (displayNames == null) {
230
		if (displayNames == null) {
230
			displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES);
231
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES);
231
		}
232
		}
232
		return displayNames;
233
		return displayNames;
233
	}
234
	}
Lines 237-245 Link Here
237
	 * <!-- end-user-doc -->
238
	 * <!-- end-user-doc -->
238
	 * @generated
239
	 * @generated
239
	 */
240
	 */
240
	public List getIcons() {
241
	public List<Icon> getIcons() {
241
		if (icons == null) {
242
		if (icons == null) {
242
			icons = new EObjectContainmentEList(Icon.class, this, JavaeePackage.SERVICE_REF_HANDLER__ICONS);
243
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.SERVICE_REF_HANDLER__ICONS);
243
		}
244
		}
244
		return icons;
245
		return icons;
245
	}
246
	}
Lines 291-299 Link Here
291
	 * <!-- end-user-doc -->
292
	 * <!-- end-user-doc -->
292
	 * @generated
293
	 * @generated
293
	 */
294
	 */
294
	public List getInitParams() {
295
	public List<ParamValue> getInitParams() {
295
		if (initParams == null) {
296
		if (initParams == null) {
296
			initParams = new EObjectContainmentEList(ParamValue.class, this, JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS);
297
			initParams = new EObjectContainmentEList<ParamValue>(ParamValue.class, this, JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS);
297
		}
298
		}
298
		return initParams;
299
		return initParams;
299
	}
300
	}
Lines 303-311 Link Here
303
	 * <!-- end-user-doc -->
304
	 * <!-- end-user-doc -->
304
	 * @generated
305
	 * @generated
305
	 */
306
	 */
306
	public List getSoapHeaders() {
307
	public List<QName> getSoapHeaders() {
307
		if (soapHeaders == null) {
308
		if (soapHeaders == null) {
308
			soapHeaders = new EDataTypeEList(Object.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS);
309
			soapHeaders = new EDataTypeEList<QName>(QName.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS);
309
		}
310
		}
310
		return soapHeaders;
311
		return soapHeaders;
311
	}
312
	}
Lines 315-323 Link Here
315
	 * <!-- end-user-doc -->
316
	 * <!-- end-user-doc -->
316
	 * @generated
317
	 * @generated
317
	 */
318
	 */
318
	public List getSoapRoles() {
319
	public List<String> getSoapRoles() {
319
		if (soapRoles == null) {
320
		if (soapRoles == null) {
320
			soapRoles = new EDataTypeEList(String.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES);
321
			soapRoles = new EDataTypeEList<String>(String.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES);
321
		}
322
		}
322
		return soapRoles;
323
		return soapRoles;
323
	}
324
	}
Lines 327-335 Link Here
327
	 * <!-- end-user-doc -->
328
	 * <!-- end-user-doc -->
328
	 * @generated
329
	 * @generated
329
	 */
330
	 */
330
	public List getPortNames() {
331
	public List<String> getPortNames() {
331
		if (portNames == null) {
332
		if (portNames == null) {
332
			portNames = new EDataTypeEList(String.class, this, JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES);
333
			portNames = new EDataTypeEList<String>(String.class, this, JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES);
333
		}
334
		}
334
		return portNames;
335
		return portNames;
335
	}
336
	}
Lines 364-376 Link Here
364
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
365
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
365
		switch (featureID) {
366
		switch (featureID) {
366
			case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS:
367
			case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS:
367
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
368
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
368
			case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES:
369
			case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES:
369
				return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
370
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
370
			case JavaeePackage.SERVICE_REF_HANDLER__ICONS:
371
			case JavaeePackage.SERVICE_REF_HANDLER__ICONS:
371
				return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
372
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
372
			case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS:
373
			case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS:
373
				return ((InternalEList)getInitParams()).basicRemove(otherEnd, msgs);
374
				return ((InternalEList<?>)getInitParams()).basicRemove(otherEnd, msgs);
374
		}
375
		}
375
		return super.eInverseRemove(otherEnd, featureID, msgs);
376
		return super.eInverseRemove(otherEnd, featureID, msgs);
376
	}
377
	}
Lines 412-431 Link Here
412
	 * <!-- end-user-doc -->
413
	 * <!-- end-user-doc -->
413
	 * @generated
414
	 * @generated
414
	 */
415
	 */
416
	@SuppressWarnings("unchecked")
415
	@Override
417
	@Override
416
	public void eSet(int featureID, Object newValue) {
418
	public void eSet(int featureID, Object newValue) {
417
		switch (featureID) {
419
		switch (featureID) {
418
			case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS:
420
			case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS:
419
				getDescriptions().clear();
421
				getDescriptions().clear();
420
				getDescriptions().addAll((Collection)newValue);
422
				getDescriptions().addAll((Collection<? extends Description>)newValue);
421
				return;
423
				return;
422
			case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES:
424
			case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES:
423
				getDisplayNames().clear();
425
				getDisplayNames().clear();
424
				getDisplayNames().addAll((Collection)newValue);
426
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
425
				return;
427
				return;
426
			case JavaeePackage.SERVICE_REF_HANDLER__ICONS:
428
			case JavaeePackage.SERVICE_REF_HANDLER__ICONS:
427
				getIcons().clear();
429
				getIcons().clear();
428
				getIcons().addAll((Collection)newValue);
430
				getIcons().addAll((Collection<? extends Icon>)newValue);
429
				return;
431
				return;
430
			case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_NAME:
432
			case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_NAME:
431
				setHandlerName((String)newValue);
433
				setHandlerName((String)newValue);
Lines 435-453 Link Here
435
				return;
437
				return;
436
			case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS:
438
			case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS:
437
				getInitParams().clear();
439
				getInitParams().clear();
438
				getInitParams().addAll((Collection)newValue);
440
				getInitParams().addAll((Collection<? extends ParamValue>)newValue);
439
				return;
441
				return;
440
			case JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS:
442
			case JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS:
441
				getSoapHeaders().clear();
443
				getSoapHeaders().clear();
442
				getSoapHeaders().addAll((Collection)newValue);
444
				getSoapHeaders().addAll((Collection<? extends QName>)newValue);
443
				return;
445
				return;
444
			case JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES:
446
			case JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES:
445
				getSoapRoles().clear();
447
				getSoapRoles().clear();
446
				getSoapRoles().addAll((Collection)newValue);
448
				getSoapRoles().addAll((Collection<? extends String>)newValue);
447
				return;
449
				return;
448
			case JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES:
450
			case JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES:
449
				getPortNames().clear();
451
				getPortNames().clear();
450
				getPortNames().addAll((Collection)newValue);
452
				getPortNames().addAll((Collection<? extends String>)newValue);
451
				return;
453
				return;
452
			case JavaeePackage.SERVICE_REF_HANDLER__ID:
454
			case JavaeePackage.SERVICE_REF_HANDLER__ID:
453
				setId((String)newValue);
455
				setId((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeeFactoryImpl.java (-122 / +293 lines)
Lines 11-17 Link Here
11
package org.eclipse.jst.javaee.core.internal.impl;
11
package org.eclipse.jst.javaee.core.internal.impl;
12
12
13
import java.util.ArrayList;
13
import java.util.ArrayList;
14
import java.util.Iterator;
15
import java.util.List;
14
import java.util.List;
16
import java.util.StringTokenizer;
15
import java.util.StringTokenizer;
17
16
Lines 77-82 Link Here
77
	@Override
76
	@Override
78
	public EObject create(EClass eClass) {
77
	public EObject create(EClass eClass) {
79
		switch (eClass.getClassifierID()) {
78
		switch (eClass.getClassifierID()) {
79
			case JavaeePackage.ADDRESSING_TYPE: return (EObject)createAddressingType();
80
			case JavaeePackage.DATA_SOURCE_TYPE: return (EObject)createDataSourceType();
80
			case JavaeePackage.DESCRIPTION: return (EObject)createDescription();
81
			case JavaeePackage.DESCRIPTION: return (EObject)createDescription();
81
			case JavaeePackage.DISPLAY_NAME: return (EObject)createDisplayName();
82
			case JavaeePackage.DISPLAY_NAME: return (EObject)createDisplayName();
82
			case JavaeePackage.EJB_LOCAL_REF: return (EObject)createEjbLocalRef();
83
			case JavaeePackage.EJB_LOCAL_REF: return (EObject)createEjbLocalRef();
Lines 96-101 Link Here
96
			case JavaeePackage.PROPERTY_TYPE: return (EObject)createPropertyType();
97
			case JavaeePackage.PROPERTY_TYPE: return (EObject)createPropertyType();
97
			case JavaeePackage.RESOURCE_ENV_REF: return (EObject)createResourceEnvRef();
98
			case JavaeePackage.RESOURCE_ENV_REF: return (EObject)createResourceEnvRef();
98
			case JavaeePackage.RESOURCE_REF: return (EObject)createResourceRef();
99
			case JavaeePackage.RESOURCE_REF: return (EObject)createResourceRef();
100
			case JavaeePackage.RESPECT_BINDING_TYPE: return (EObject)createRespectBindingType();
99
			case JavaeePackage.RUN_AS: return (EObject)createRunAs();
101
			case JavaeePackage.RUN_AS: return (EObject)createRunAs();
100
			case JavaeePackage.SECURITY_ROLE: return (EObject)createSecurityRole();
102
			case JavaeePackage.SECURITY_ROLE: return (EObject)createSecurityRole();
101
			case JavaeePackage.SECURITY_ROLE_REF: return (EObject)createSecurityRoleRef();
103
			case JavaeePackage.SECURITY_ROLE_REF: return (EObject)createSecurityRoleRef();
Lines 117-126 Link Here
117
	@Override
119
	@Override
118
	public Object createFromString(EDataType eDataType, String initialValue) {
120
	public Object createFromString(EDataType eDataType, String initialValue) {
119
		switch (eDataType.getClassifierID()) {
121
		switch (eDataType.getClassifierID()) {
122
			case JavaeePackage.ADDRESSING_RESPONSES_TYPE:
123
				return createAddressingResponsesTypeFromString(eDataType, initialValue);
120
			case JavaeePackage.EJB_REF_TYPE:
124
			case JavaeePackage.EJB_REF_TYPE:
121
				return createEjbRefTypeFromString(eDataType, initialValue);
125
				return createEjbRefTypeFromString(eDataType, initialValue);
122
			case JavaeePackage.ENV_ENTRY_TYPE:
126
			case JavaeePackage.GENERIC_BOOLEAN_TYPE:
123
				return createEnvEntryTypeFromString(eDataType, initialValue);
127
				return createGenericBooleanTypeFromString(eDataType, initialValue);
128
			case JavaeePackage.ISOLATION_LEVEL_TYPE:
129
				return createIsolationLevelTypeFromString(eDataType, initialValue);
124
			case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE:
130
			case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE:
125
				return createMessageDestinationUsageTypeFromString(eDataType, initialValue);
131
				return createMessageDestinationUsageTypeFromString(eDataType, initialValue);
126
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE:
132
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE:
Lines 129-134 Link Here
129
				return createResAuthTypeFromString(eDataType, initialValue);
135
				return createResAuthTypeFromString(eDataType, initialValue);
130
			case JavaeePackage.RES_SHARING_SCOPE_TYPE:
136
			case JavaeePackage.RES_SHARING_SCOPE_TYPE:
131
				return createResSharingScopeTypeFromString(eDataType, initialValue);
137
				return createResSharingScopeTypeFromString(eDataType, initialValue);
138
			case JavaeePackage.ADDRESSING_RESPONSES_TYPE_OBJECT:
139
				return createAddressingResponsesTypeObjectFromString(eDataType, initialValue);
132
			case JavaeePackage.DEWEY_VERSION_TYPE:
140
			case JavaeePackage.DEWEY_VERSION_TYPE:
133
				return createDeweyVersionTypeFromString(eDataType, initialValue);
141
				return createDeweyVersionTypeFromString(eDataType, initialValue);
134
			case JavaeePackage.EJB_LINK:
142
			case JavaeePackage.EJB_LINK:
Lines 137-152 Link Here
137
				return createEjbRefNameTypeFromString(eDataType, initialValue);
145
				return createEjbRefNameTypeFromString(eDataType, initialValue);
138
			case JavaeePackage.EJB_REF_TYPE_OBJECT:
146
			case JavaeePackage.EJB_REF_TYPE_OBJECT:
139
				return createEjbRefTypeObjectFromString(eDataType, initialValue);
147
				return createEjbRefTypeObjectFromString(eDataType, initialValue);
140
			case JavaeePackage.ENV_ENTRY_TYPE_OBJECT:
148
			case JavaeePackage.ENV_ENTRY_TYPE:
141
				return createEnvEntryTypeObjectFromString(eDataType, initialValue);
149
				return createEnvEntryTypeFromString(eDataType, initialValue);
142
			case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE:
150
			case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE:
143
				return createFullyQualifiedClassTypeFromString(eDataType, initialValue);
151
				return createFullyQualifiedClassTypeFromString(eDataType, initialValue);
152
			case JavaeePackage.GENERIC_BOOLEAN_TYPE_OBJECT:
153
				return createGenericBooleanTypeObjectFromString(eDataType, initialValue);
144
			case JavaeePackage.HOME:
154
			case JavaeePackage.HOME:
145
				return createHomeFromString(eDataType, initialValue);
155
				return createHomeFromString(eDataType, initialValue);
156
			case JavaeePackage.ISOLATION_LEVEL_TYPE_OBJECT:
157
				return createIsolationLevelTypeObjectFromString(eDataType, initialValue);
146
			case JavaeePackage.JAVA_IDENTIFIER:
158
			case JavaeePackage.JAVA_IDENTIFIER:
147
				return createJavaIdentifierFromString(eDataType, initialValue);
159
				return createJavaIdentifierFromString(eDataType, initialValue);
148
			case JavaeePackage.JAVA_TYPE:
160
			case JavaeePackage.JAVA_TYPE:
149
				return createJavaTypeFromString(eDataType, initialValue);
161
				return createJavaTypeFromString(eDataType, initialValue);
162
			case JavaeePackage.JDBC_URL_TYPE:
163
				return createJdbcUrlTypeFromString(eDataType, initialValue);
150
			case JavaeePackage.JNDI_NAME:
164
			case JavaeePackage.JNDI_NAME:
151
				return createJNDINameFromString(eDataType, initialValue);
165
				return createJNDINameFromString(eDataType, initialValue);
152
			case JavaeePackage.LOCAL:
166
			case JavaeePackage.LOCAL:
Lines 163-168 Link Here
163
				return createPathTypeFromString(eDataType, initialValue);
177
				return createPathTypeFromString(eDataType, initialValue);
164
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT:
178
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT:
165
				return createPersistenceContextTypeObjectFromString(eDataType, initialValue);
179
				return createPersistenceContextTypeObjectFromString(eDataType, initialValue);
180
			case JavaeePackage.PROTOCOL_BINDING_LIST_TYPE:
181
				return createProtocolBindingListTypeFromString(eDataType, initialValue);
182
			case JavaeePackage.PROTOCOL_BINDING_TYPE:
183
				return createProtocolBindingTypeFromString(eDataType, initialValue);
184
			case JavaeePackage.PROTOCOL_URI_ALIAS_TYPE:
185
				return createProtocolURIAliasTypeFromString(eDataType, initialValue);
186
			case JavaeePackage.QNAME_PATTERN:
187
				return createQnamePatternFromString(eDataType, initialValue);
166
			case JavaeePackage.REMOTE:
188
			case JavaeePackage.REMOTE:
167
				return createRemoteFromString(eDataType, initialValue);
189
				return createRemoteFromString(eDataType, initialValue);
168
			case JavaeePackage.RES_AUTH_TYPE_OBJECT:
190
			case JavaeePackage.RES_AUTH_TYPE_OBJECT:
Lines 171-184 Link Here
171
				return createResSharingScopeTypeObjectFromString(eDataType, initialValue);
193
				return createResSharingScopeTypeObjectFromString(eDataType, initialValue);
172
			case JavaeePackage.ROLE_NAME:
194
			case JavaeePackage.ROLE_NAME:
173
				return createRoleNameFromString(eDataType, initialValue);
195
				return createRoleNameFromString(eDataType, initialValue);
174
			case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE:
175
				return createServiceRefProtocolBindingListTypeFromString(eDataType, initialValue);
176
			case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_TYPE:
177
				return createServiceRefProtocolBindingTypeFromString(eDataType, initialValue);
178
			case JavaeePackage.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE:
179
				return createServiceRefProtocolURIAliasTypeFromString(eDataType, initialValue);
180
			case JavaeePackage.SERVICE_REF_QNAME_PATTERN:
181
				return createServiceRefQnamePatternFromString(eDataType, initialValue);
182
			case JavaeePackage.TRUE_FALSE_TYPE:
196
			case JavaeePackage.TRUE_FALSE_TYPE:
183
				return createTrueFalseTypeFromString(eDataType, initialValue);
197
				return createTrueFalseTypeFromString(eDataType, initialValue);
184
			case JavaeePackage.TRUE_FALSE_TYPE_OBJECT:
198
			case JavaeePackage.TRUE_FALSE_TYPE_OBJECT:
Lines 196-205 Link Here
196
	@Override
210
	@Override
197
	public String convertToString(EDataType eDataType, Object instanceValue) {
211
	public String convertToString(EDataType eDataType, Object instanceValue) {
198
		switch (eDataType.getClassifierID()) {
212
		switch (eDataType.getClassifierID()) {
213
			case JavaeePackage.ADDRESSING_RESPONSES_TYPE:
214
				return convertAddressingResponsesTypeToString(eDataType, instanceValue);
199
			case JavaeePackage.EJB_REF_TYPE:
215
			case JavaeePackage.EJB_REF_TYPE:
200
				return convertEjbRefTypeToString(eDataType, instanceValue);
216
				return convertEjbRefTypeToString(eDataType, instanceValue);
201
			case JavaeePackage.ENV_ENTRY_TYPE:
217
			case JavaeePackage.GENERIC_BOOLEAN_TYPE:
202
				return convertEnvEntryTypeToString(eDataType, instanceValue);
218
				return convertGenericBooleanTypeToString(eDataType, instanceValue);
219
			case JavaeePackage.ISOLATION_LEVEL_TYPE:
220
				return convertIsolationLevelTypeToString(eDataType, instanceValue);
203
			case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE:
221
			case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE:
204
				return convertMessageDestinationUsageTypeToString(eDataType, instanceValue);
222
				return convertMessageDestinationUsageTypeToString(eDataType, instanceValue);
205
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE:
223
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE:
Lines 208-213 Link Here
208
				return convertResAuthTypeToString(eDataType, instanceValue);
226
				return convertResAuthTypeToString(eDataType, instanceValue);
209
			case JavaeePackage.RES_SHARING_SCOPE_TYPE:
227
			case JavaeePackage.RES_SHARING_SCOPE_TYPE:
210
				return convertResSharingScopeTypeToString(eDataType, instanceValue);
228
				return convertResSharingScopeTypeToString(eDataType, instanceValue);
229
			case JavaeePackage.ADDRESSING_RESPONSES_TYPE_OBJECT:
230
				return convertAddressingResponsesTypeObjectToString(eDataType, instanceValue);
211
			case JavaeePackage.DEWEY_VERSION_TYPE:
231
			case JavaeePackage.DEWEY_VERSION_TYPE:
212
				return convertDeweyVersionTypeToString(eDataType, instanceValue);
232
				return convertDeweyVersionTypeToString(eDataType, instanceValue);
213
			case JavaeePackage.EJB_LINK:
233
			case JavaeePackage.EJB_LINK:
Lines 216-231 Link Here
216
				return convertEjbRefNameTypeToString(eDataType, instanceValue);
236
				return convertEjbRefNameTypeToString(eDataType, instanceValue);
217
			case JavaeePackage.EJB_REF_TYPE_OBJECT:
237
			case JavaeePackage.EJB_REF_TYPE_OBJECT:
218
				return convertEjbRefTypeObjectToString(eDataType, instanceValue);
238
				return convertEjbRefTypeObjectToString(eDataType, instanceValue);
219
			case JavaeePackage.ENV_ENTRY_TYPE_OBJECT:
239
			case JavaeePackage.ENV_ENTRY_TYPE:
220
				return convertEnvEntryTypeObjectToString(eDataType, instanceValue);
240
				return convertEnvEntryTypeToString(eDataType, instanceValue);
221
			case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE:
241
			case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE:
222
				return convertFullyQualifiedClassTypeToString(eDataType, instanceValue);
242
				return convertFullyQualifiedClassTypeToString(eDataType, instanceValue);
243
			case JavaeePackage.GENERIC_BOOLEAN_TYPE_OBJECT:
244
				return convertGenericBooleanTypeObjectToString(eDataType, instanceValue);
223
			case JavaeePackage.HOME:
245
			case JavaeePackage.HOME:
224
				return convertHomeToString(eDataType, instanceValue);
246
				return convertHomeToString(eDataType, instanceValue);
247
			case JavaeePackage.ISOLATION_LEVEL_TYPE_OBJECT:
248
				return convertIsolationLevelTypeObjectToString(eDataType, instanceValue);
225
			case JavaeePackage.JAVA_IDENTIFIER:
249
			case JavaeePackage.JAVA_IDENTIFIER:
226
				return convertJavaIdentifierToString(eDataType, instanceValue);
250
				return convertJavaIdentifierToString(eDataType, instanceValue);
227
			case JavaeePackage.JAVA_TYPE:
251
			case JavaeePackage.JAVA_TYPE:
228
				return convertJavaTypeToString(eDataType, instanceValue);
252
				return convertJavaTypeToString(eDataType, instanceValue);
253
			case JavaeePackage.JDBC_URL_TYPE:
254
				return convertJdbcUrlTypeToString(eDataType, instanceValue);
229
			case JavaeePackage.JNDI_NAME:
255
			case JavaeePackage.JNDI_NAME:
230
				return convertJNDINameToString(eDataType, instanceValue);
256
				return convertJNDINameToString(eDataType, instanceValue);
231
			case JavaeePackage.LOCAL:
257
			case JavaeePackage.LOCAL:
Lines 242-247 Link Here
242
				return convertPathTypeToString(eDataType, instanceValue);
268
				return convertPathTypeToString(eDataType, instanceValue);
243
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT:
269
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT:
244
				return convertPersistenceContextTypeObjectToString(eDataType, instanceValue);
270
				return convertPersistenceContextTypeObjectToString(eDataType, instanceValue);
271
			case JavaeePackage.PROTOCOL_BINDING_LIST_TYPE:
272
				return convertProtocolBindingListTypeToString(eDataType, instanceValue);
273
			case JavaeePackage.PROTOCOL_BINDING_TYPE:
274
				return convertProtocolBindingTypeToString(eDataType, instanceValue);
275
			case JavaeePackage.PROTOCOL_URI_ALIAS_TYPE:
276
				return convertProtocolURIAliasTypeToString(eDataType, instanceValue);
277
			case JavaeePackage.QNAME_PATTERN:
278
				return convertQnamePatternToString(eDataType, instanceValue);
245
			case JavaeePackage.REMOTE:
279
			case JavaeePackage.REMOTE:
246
				return convertRemoteToString(eDataType, instanceValue);
280
				return convertRemoteToString(eDataType, instanceValue);
247
			case JavaeePackage.RES_AUTH_TYPE_OBJECT:
281
			case JavaeePackage.RES_AUTH_TYPE_OBJECT:
Lines 250-263 Link Here
250
				return convertResSharingScopeTypeObjectToString(eDataType, instanceValue);
284
				return convertResSharingScopeTypeObjectToString(eDataType, instanceValue);
251
			case JavaeePackage.ROLE_NAME:
285
			case JavaeePackage.ROLE_NAME:
252
				return convertRoleNameToString(eDataType, instanceValue);
286
				return convertRoleNameToString(eDataType, instanceValue);
253
			case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE:
254
				return convertServiceRefProtocolBindingListTypeToString(eDataType, instanceValue);
255
			case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_TYPE:
256
				return convertServiceRefProtocolBindingTypeToString(eDataType, instanceValue);
257
			case JavaeePackage.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE:
258
				return convertServiceRefProtocolURIAliasTypeToString(eDataType, instanceValue);
259
			case JavaeePackage.SERVICE_REF_QNAME_PATTERN:
260
				return convertServiceRefQnamePatternToString(eDataType, instanceValue);
261
			case JavaeePackage.TRUE_FALSE_TYPE:
287
			case JavaeePackage.TRUE_FALSE_TYPE:
262
				return convertTrueFalseTypeToString(eDataType, instanceValue);
288
				return convertTrueFalseTypeToString(eDataType, instanceValue);
263
			case JavaeePackage.TRUE_FALSE_TYPE_OBJECT:
289
			case JavaeePackage.TRUE_FALSE_TYPE_OBJECT:
Lines 272-277 Link Here
272
	 * <!-- end-user-doc -->
298
	 * <!-- end-user-doc -->
273
	 * @generated
299
	 * @generated
274
	 */
300
	 */
301
	public AddressingType createAddressingType() {
302
		AddressingTypeImpl addressingType = new AddressingTypeImpl();
303
		return addressingType;
304
	}
305
306
	/**
307
	 * <!-- begin-user-doc -->
308
	 * <!-- end-user-doc -->
309
	 * @generated
310
	 */
311
	public DataSourceType createDataSourceType() {
312
		DataSourceTypeImpl dataSourceType = new DataSourceTypeImpl();
313
		return dataSourceType;
314
	}
315
316
	/**
317
	 * <!-- begin-user-doc -->
318
	 * <!-- end-user-doc -->
319
	 * @generated
320
	 */
275
	public Description createDescription() {
321
	public Description createDescription() {
276
		DescriptionImpl description = new DescriptionImpl();
322
		DescriptionImpl description = new DescriptionImpl();
277
		return description;
323
		return description;
Lines 462-467 Link Here
462
	 * <!-- end-user-doc -->
508
	 * <!-- end-user-doc -->
463
	 * @generated
509
	 * @generated
464
	 */
510
	 */
511
	public RespectBindingType createRespectBindingType() {
512
		RespectBindingTypeImpl respectBindingType = new RespectBindingTypeImpl();
513
		return respectBindingType;
514
	}
515
516
	/**
517
	 * <!-- begin-user-doc -->
518
	 * <!-- end-user-doc -->
519
	 * @generated
520
	 */
465
	public RunAs createRunAs() {
521
	public RunAs createRunAs() {
466
		RunAsImpl runAs = new RunAsImpl();
522
		RunAsImpl runAs = new RunAsImpl();
467
		return runAs;
523
		return runAs;
Lines 542-547 Link Here
542
	 * <!-- end-user-doc -->
598
	 * <!-- end-user-doc -->
543
	 * @generated
599
	 * @generated
544
	 */
600
	 */
601
	public AddressingResponsesType createAddressingResponsesTypeFromString(EDataType eDataType, String initialValue) {
602
		AddressingResponsesType result = AddressingResponsesType.get(initialValue);
603
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
604
		return result;
605
	}
606
607
	/**
608
	 * <!-- begin-user-doc -->
609
	 * <!-- end-user-doc -->
610
	 * @generated
611
	 */
612
	public String convertAddressingResponsesTypeToString(EDataType eDataType, Object instanceValue) {
613
		return instanceValue == null ? null : instanceValue.toString();
614
	}
615
616
	/**
617
	 * <!-- begin-user-doc -->
618
	 * <!-- end-user-doc -->
619
	 * @generated
620
	 */
545
	public EjbRefType createEjbRefTypeFromString(EDataType eDataType, String initialValue) {
621
	public EjbRefType createEjbRefTypeFromString(EDataType eDataType, String initialValue) {
546
		EjbRefType result = EjbRefType.get(initialValue);
622
		EjbRefType result = EjbRefType.get(initialValue);
547
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
623
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
Lines 562-569 Link Here
562
	 * <!-- end-user-doc -->
638
	 * <!-- end-user-doc -->
563
	 * @generated
639
	 * @generated
564
	 */
640
	 */
565
	public EnvEntryType createEnvEntryTypeFromString(EDataType eDataType, String initialValue) {
641
	public GenericBooleanType createGenericBooleanTypeFromString(EDataType eDataType, String initialValue) {
566
		EnvEntryType result = EnvEntryType.get(initialValue);
642
		GenericBooleanType result = GenericBooleanType.get(initialValue);
567
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
643
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
568
		return result;
644
		return result;
569
	}
645
	}
Lines 573-579 Link Here
573
	 * <!-- end-user-doc -->
649
	 * <!-- end-user-doc -->
574
	 * @generated
650
	 * @generated
575
	 */
651
	 */
576
	public String convertEnvEntryTypeToString(EDataType eDataType, Object instanceValue) {
652
	public String convertGenericBooleanTypeToString(EDataType eDataType, Object instanceValue) {
653
		return instanceValue == null ? null : instanceValue.toString();
654
	}
655
656
	/**
657
	 * <!-- begin-user-doc -->
658
	 * <!-- end-user-doc -->
659
	 * @generated
660
	 */
661
	public IsolationLevelType createIsolationLevelTypeFromString(EDataType eDataType, String initialValue) {
662
		IsolationLevelType result = IsolationLevelType.get(initialValue);
663
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
664
		return result;
665
	}
666
667
	/**
668
	 * <!-- begin-user-doc -->
669
	 * <!-- end-user-doc -->
670
	 * @generated
671
	 */
672
	public String convertIsolationLevelTypeToString(EDataType eDataType, Object instanceValue) {
577
		return instanceValue == null ? null : instanceValue.toString();
673
		return instanceValue == null ? null : instanceValue.toString();
578
	}
674
	}
579
675
Lines 582-587 Link Here
582
	 * <!-- end-user-doc -->
678
	 * <!-- end-user-doc -->
583
	 * @generated
679
	 * @generated
584
	 */
680
	 */
681
	public String createEnvEntryTypeFromString(EDataType eDataType, String initialValue) {
682
		return createFullyQualifiedClassTypeFromString(JavaeePackage.Literals.FULLY_QUALIFIED_CLASS_TYPE, initialValue);
683
	}
684
685
	/**
686
	 * <!-- begin-user-doc -->
687
	 * <!-- end-user-doc -->
688
	 * @generated
689
	 */
690
	public String convertEnvEntryTypeToString(EDataType eDataType, Object instanceValue) {
691
		return convertFullyQualifiedClassTypeToString(JavaeePackage.Literals.FULLY_QUALIFIED_CLASS_TYPE, instanceValue);
692
	}
693
694
	/**
695
	 * <!-- begin-user-doc -->
696
	 * <!-- end-user-doc -->
697
	 * @generated
698
	 */
585
	public MessageDestinationUsageType createMessageDestinationUsageTypeFromString(EDataType eDataType, String initialValue) {
699
	public MessageDestinationUsageType createMessageDestinationUsageTypeFromString(EDataType eDataType, String initialValue) {
586
		MessageDestinationUsageType result = MessageDestinationUsageType.get(initialValue);
700
		MessageDestinationUsageType result = MessageDestinationUsageType.get(initialValue);
587
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
701
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
Lines 662-667 Link Here
662
	 * <!-- end-user-doc -->
776
	 * <!-- end-user-doc -->
663
	 * @generated
777
	 * @generated
664
	 */
778
	 */
779
	public AddressingResponsesType createAddressingResponsesTypeObjectFromString(EDataType eDataType, String initialValue) {
780
		return createAddressingResponsesTypeFromString(JavaeePackage.Literals.ADDRESSING_RESPONSES_TYPE, initialValue);
781
	}
782
783
	/**
784
	 * <!-- begin-user-doc -->
785
	 * <!-- end-user-doc -->
786
	 * @generated
787
	 */
788
	public String convertAddressingResponsesTypeObjectToString(EDataType eDataType, Object instanceValue) {
789
		return convertAddressingResponsesTypeToString(JavaeePackage.Literals.ADDRESSING_RESPONSES_TYPE, instanceValue);
790
	}
791
792
	/**
793
	 * <!-- begin-user-doc -->
794
	 * <!-- end-user-doc -->
795
	 * @generated
796
	 */
665
	public String createDeweyVersionTypeFromString(EDataType eDataType, String initialValue) {
797
	public String createDeweyVersionTypeFromString(EDataType eDataType, String initialValue) {
666
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
798
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
667
	}
799
	}
Lines 734-741 Link Here
734
	 * <!-- end-user-doc -->
866
	 * <!-- end-user-doc -->
735
	 * @generated
867
	 * @generated
736
	 */
868
	 */
737
	public EnvEntryType createEnvEntryTypeObjectFromString(EDataType eDataType, String initialValue) {
869
	public String createFullyQualifiedClassTypeFromString(EDataType eDataType, String initialValue) {
738
		return createEnvEntryTypeFromString(JavaeePackage.Literals.ENV_ENTRY_TYPE, initialValue);
870
		return (String)super.createFromString(eDataType, initialValue);
739
	}
871
	}
740
872
741
	/**
873
	/**
Lines 743-750 Link Here
743
	 * <!-- end-user-doc -->
875
	 * <!-- end-user-doc -->
744
	 * @generated
876
	 * @generated
745
	 */
877
	 */
746
	public String convertEnvEntryTypeObjectToString(EDataType eDataType, Object instanceValue) {
878
	public String convertFullyQualifiedClassTypeToString(EDataType eDataType, Object instanceValue) {
747
		return convertEnvEntryTypeToString(JavaeePackage.Literals.ENV_ENTRY_TYPE, instanceValue);
879
		return super.convertToString(eDataType, instanceValue);
748
	}
880
	}
749
881
750
	/**
882
	/**
Lines 752-759 Link Here
752
	 * <!-- end-user-doc -->
884
	 * <!-- end-user-doc -->
753
	 * @generated
885
	 * @generated
754
	 */
886
	 */
755
	public String createFullyQualifiedClassTypeFromString(EDataType eDataType, String initialValue) {
887
	public GenericBooleanType createGenericBooleanTypeObjectFromString(EDataType eDataType, String initialValue) {
756
		return (String)super.createFromString(eDataType, initialValue);
888
		return createGenericBooleanTypeFromString(JavaeePackage.Literals.GENERIC_BOOLEAN_TYPE, initialValue);
757
	}
889
	}
758
890
759
	/**
891
	/**
Lines 761-768 Link Here
761
	 * <!-- end-user-doc -->
893
	 * <!-- end-user-doc -->
762
	 * @generated
894
	 * @generated
763
	 */
895
	 */
764
	public String convertFullyQualifiedClassTypeToString(EDataType eDataType, Object instanceValue) {
896
	public String convertGenericBooleanTypeObjectToString(EDataType eDataType, Object instanceValue) {
765
		return super.convertToString(eDataType, instanceValue);
897
		return convertGenericBooleanTypeToString(JavaeePackage.Literals.GENERIC_BOOLEAN_TYPE, instanceValue);
766
	}
898
	}
767
899
768
	/**
900
	/**
Lines 788-793 Link Here
788
	 * <!-- end-user-doc -->
920
	 * <!-- end-user-doc -->
789
	 * @generated
921
	 * @generated
790
	 */
922
	 */
923
	public IsolationLevelType createIsolationLevelTypeObjectFromString(EDataType eDataType, String initialValue) {
924
		return createIsolationLevelTypeFromString(JavaeePackage.Literals.ISOLATION_LEVEL_TYPE, initialValue);
925
	}
926
927
	/**
928
	 * <!-- begin-user-doc -->
929
	 * <!-- end-user-doc -->
930
	 * @generated
931
	 */
932
	public String convertIsolationLevelTypeObjectToString(EDataType eDataType, Object instanceValue) {
933
		return convertIsolationLevelTypeToString(JavaeePackage.Literals.ISOLATION_LEVEL_TYPE, instanceValue);
934
	}
935
936
	/**
937
	 * <!-- begin-user-doc -->
938
	 * <!-- end-user-doc -->
939
	 * @generated
940
	 */
791
	public String createJavaIdentifierFromString(EDataType eDataType, String initialValue) {
941
	public String createJavaIdentifierFromString(EDataType eDataType, String initialValue) {
792
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
942
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
793
	}
943
	}
Lines 824-829 Link Here
824
	 * <!-- end-user-doc -->
974
	 * <!-- end-user-doc -->
825
	 * @generated
975
	 * @generated
826
	 */
976
	 */
977
	public String createJdbcUrlTypeFromString(EDataType eDataType, String initialValue) {
978
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
979
	}
980
981
	/**
982
	 * <!-- begin-user-doc -->
983
	 * <!-- end-user-doc -->
984
	 * @generated
985
	 */
986
	public String convertJdbcUrlTypeToString(EDataType eDataType, Object instanceValue) {
987
		return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue);
988
	}
989
990
	/**
991
	 * <!-- begin-user-doc -->
992
	 * <!-- end-user-doc -->
993
	 * @generated
994
	 */
827
	public String createJNDINameFromString(EDataType eDataType, String initialValue) {
995
	public String createJNDINameFromString(EDataType eDataType, String initialValue) {
828
		return (String)super.createFromString(eDataType, initialValue);
996
		return (String)super.createFromString(eDataType, initialValue);
829
	}
997
	}
Lines 968-975 Link Here
968
	 * <!-- end-user-doc -->
1136
	 * <!-- end-user-doc -->
969
	 * @generated
1137
	 * @generated
970
	 */
1138
	 */
971
	public String createRemoteFromString(EDataType eDataType, String initialValue) {
1139
	public List<String> createProtocolBindingListTypeFromString(EDataType eDataType, String initialValue) {
972
		return (String)super.createFromString(eDataType, initialValue);
1140
		if (initialValue == null) return null;
1141
		List<String> result = new ArrayList<String>();
1142
		for (StringTokenizer stringTokenizer = new StringTokenizer(initialValue); stringTokenizer.hasMoreTokens(); ) {
1143
			String item = stringTokenizer.nextToken();
1144
			result.add(createProtocolBindingTypeFromString(JavaeePackage.Literals.PROTOCOL_BINDING_TYPE, item));
1145
		}
1146
		return result;
973
	}
1147
	}
974
1148
975
	/**
1149
	/**
Lines 977-984 Link Here
977
	 * <!-- end-user-doc -->
1151
	 * <!-- end-user-doc -->
978
	 * @generated
1152
	 * @generated
979
	 */
1153
	 */
980
	public String convertRemoteToString(EDataType eDataType, Object instanceValue) {
1154
	public String convertProtocolBindingListTypeToString(EDataType eDataType, Object instanceValue) {
981
		return super.convertToString(eDataType, instanceValue);
1155
		if (instanceValue == null) return null;
1156
		List<?> list = (List<?>)instanceValue;
1157
		if (list.isEmpty()) return ""; //$NON-NLS-1$
1158
		StringBuffer result = new StringBuffer();
1159
		for (Object item : list) {
1160
			result.append(convertProtocolBindingTypeToString(JavaeePackage.Literals.PROTOCOL_BINDING_TYPE, item));
1161
			result.append(' ');
1162
		}
1163
		return result.substring(0, result.length() - 1);
982
	}
1164
	}
983
1165
984
	/**
1166
	/**
Lines 986-993 Link Here
986
	 * <!-- end-user-doc -->
1168
	 * <!-- end-user-doc -->
987
	 * @generated
1169
	 * @generated
988
	 */
1170
	 */
989
	public ResAuthType createResAuthTypeObjectFromString(EDataType eDataType, String initialValue) {
1171
	public String createProtocolBindingTypeFromString(EDataType eDataType, String initialValue) {
990
		return createResAuthTypeFromString(JavaeePackage.Literals.RES_AUTH_TYPE, initialValue);
1172
		if (initialValue == null) return null;
1173
		String result = null;
1174
		RuntimeException exception = null;
1175
		try {
1176
			result = (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.ANY_URI, initialValue);
1177
			if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) {
1178
				return result;
1179
			}
1180
		}
1181
		catch (RuntimeException e) {
1182
			exception = e;
1183
		}
1184
		try {
1185
			result = createProtocolURIAliasTypeFromString(JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE, initialValue);
1186
			if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) {
1187
				return result;
1188
			}
1189
		}
1190
		catch (RuntimeException e) {
1191
			exception = e;
1192
		}
1193
		if (result != null || exception == null) return result;
1194
    
1195
		throw exception;
991
	}
1196
	}
992
1197
993
	/**
1198
	/**
Lines 995-1002 Link Here
995
	 * <!-- end-user-doc -->
1200
	 * <!-- end-user-doc -->
996
	 * @generated
1201
	 * @generated
997
	 */
1202
	 */
998
	public String convertResAuthTypeObjectToString(EDataType eDataType, Object instanceValue) {
1203
	public String convertProtocolBindingTypeToString(EDataType eDataType, Object instanceValue) {
999
		return convertResAuthTypeToString(JavaeePackage.Literals.RES_AUTH_TYPE, instanceValue);
1204
		if (instanceValue == null) return null;
1205
		if (XMLTypePackage.Literals.ANY_URI.isInstance(instanceValue)) {
1206
			try {
1207
				String value = XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.ANY_URI, instanceValue);
1208
				if (value != null) return value;
1209
			}
1210
			catch (Exception e) {
1211
				// Keep trying other member types until all have failed.
1212
			}
1213
		}
1214
		if (JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE.isInstance(instanceValue)) {
1215
			try {
1216
				String value = convertProtocolURIAliasTypeToString(JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE, instanceValue);
1217
				if (value != null) return value;
1218
			}
1219
			catch (Exception e) {
1220
				// Keep trying other member types until all have failed.
1221
			}
1222
		}
1223
		throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+eDataType.getName()); //$NON-NLS-1$ //$NON-NLS-2$
1000
	}
1224
	}
1001
1225
1002
	/**
1226
	/**
Lines 1004-1011 Link Here
1004
	 * <!-- end-user-doc -->
1228
	 * <!-- end-user-doc -->
1005
	 * @generated
1229
	 * @generated
1006
	 */
1230
	 */
1007
	public ResSharingScopeType createResSharingScopeTypeObjectFromString(EDataType eDataType, String initialValue) {
1231
	public String createProtocolURIAliasTypeFromString(EDataType eDataType, String initialValue) {
1008
		return createResSharingScopeTypeFromString(JavaeePackage.Literals.RES_SHARING_SCOPE_TYPE, initialValue);
1232
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
1009
	}
1233
	}
1010
1234
1011
	/**
1235
	/**
Lines 1013-1020 Link Here
1013
	 * <!-- end-user-doc -->
1237
	 * <!-- end-user-doc -->
1014
	 * @generated
1238
	 * @generated
1015
	 */
1239
	 */
1016
	public String convertResSharingScopeTypeObjectToString(EDataType eDataType, Object instanceValue) {
1240
	public String convertProtocolURIAliasTypeToString(EDataType eDataType, Object instanceValue) {
1017
		return convertResSharingScopeTypeToString(JavaeePackage.Literals.RES_SHARING_SCOPE_TYPE, instanceValue);
1241
		return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue);
1018
	}
1242
	}
1019
1243
1020
	/**
1244
	/**
Lines 1022-1029 Link Here
1022
	 * <!-- end-user-doc -->
1246
	 * <!-- end-user-doc -->
1023
	 * @generated
1247
	 * @generated
1024
	 */
1248
	 */
1025
	public String createRoleNameFromString(EDataType eDataType, String initialValue) {
1249
	public String createQnamePatternFromString(EDataType eDataType, String initialValue) {
1026
		return (String)super.createFromString(eDataType, initialValue);
1250
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
1027
	}
1251
	}
1028
1252
1029
	/**
1253
	/**
Lines 1031-1038 Link Here
1031
	 * <!-- end-user-doc -->
1255
	 * <!-- end-user-doc -->
1032
	 * @generated
1256
	 * @generated
1033
	 */
1257
	 */
1034
	public String convertRoleNameToString(EDataType eDataType, Object instanceValue) {
1258
	public String convertQnamePatternToString(EDataType eDataType, Object instanceValue) {
1035
		return super.convertToString(eDataType, instanceValue);
1259
		return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue);
1036
	}
1260
	}
1037
1261
1038
	/**
1262
	/**
Lines 1040-1053 Link Here
1040
	 * <!-- end-user-doc -->
1264
	 * <!-- end-user-doc -->
1041
	 * @generated
1265
	 * @generated
1042
	 */
1266
	 */
1043
	public List createServiceRefProtocolBindingListTypeFromString(EDataType eDataType, String initialValue) {
1267
	public String createRemoteFromString(EDataType eDataType, String initialValue) {
1044
		if (initialValue == null) return null;
1268
		return (String)super.createFromString(eDataType, initialValue);
1045
		List result = new ArrayList();
1046
		for (StringTokenizer stringTokenizer = new StringTokenizer(initialValue); stringTokenizer.hasMoreTokens(); ) {
1047
			String item = stringTokenizer.nextToken();
1048
			result.add(createServiceRefProtocolBindingTypeFromString(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE, item));
1049
		}
1050
		return result;
1051
	}
1269
	}
1052
1270
1053
	/**
1271
	/**
Lines 1055-1070 Link Here
1055
	 * <!-- end-user-doc -->
1273
	 * <!-- end-user-doc -->
1056
	 * @generated
1274
	 * @generated
1057
	 */
1275
	 */
1058
	public String convertServiceRefProtocolBindingListTypeToString(EDataType eDataType, Object instanceValue) {
1276
	public String convertRemoteToString(EDataType eDataType, Object instanceValue) {
1059
		if (instanceValue == null) return null;
1277
		return super.convertToString(eDataType, instanceValue);
1060
		List list = (List)instanceValue;
1061
		if (list.isEmpty()) return ""; //$NON-NLS-1$
1062
		StringBuffer result = new StringBuffer();
1063
		for (Iterator i = list.iterator(); i.hasNext(); ) {
1064
			result.append(convertServiceRefProtocolBindingTypeToString(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE, i.next()));
1065
			result.append(' ');
1066
		}
1067
		return result.substring(0, result.length() - 1);
1068
	}
1278
	}
1069
1279
1070
	/**
1280
	/**
Lines 1072-1102 Link Here
1072
	 * <!-- end-user-doc -->
1282
	 * <!-- end-user-doc -->
1073
	 * @generated
1283
	 * @generated
1074
	 */
1284
	 */
1075
	public String createServiceRefProtocolBindingTypeFromString(EDataType eDataType, String initialValue) {
1285
	public ResAuthType createResAuthTypeObjectFromString(EDataType eDataType, String initialValue) {
1076
		if (initialValue == null) return null;
1286
		return createResAuthTypeFromString(JavaeePackage.Literals.RES_AUTH_TYPE, initialValue);
1077
		String result = null;
1078
		RuntimeException exception = null;
1079
		try {
1080
			result = (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.ANY_URI, initialValue);
1081
			if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) {
1082
				return result;
1083
			}
1084
		}
1085
		catch (RuntimeException e) {
1086
			exception = e;
1087
		}
1088
		try {
1089
			result = createServiceRefProtocolURIAliasTypeFromString(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE, initialValue);
1090
			if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) {
1091
				return result;
1092
			}
1093
		}
1094
		catch (RuntimeException e) {
1095
			exception = e;
1096
		}
1097
		if (result != null || exception == null) return result;
1098
    
1099
		throw exception;
1100
	}
1287
	}
1101
1288
1102
	/**
1289
	/**
Lines 1104-1128 Link Here
1104
	 * <!-- end-user-doc -->
1291
	 * <!-- end-user-doc -->
1105
	 * @generated
1292
	 * @generated
1106
	 */
1293
	 */
1107
	public String convertServiceRefProtocolBindingTypeToString(EDataType eDataType, Object instanceValue) {
1294
	public String convertResAuthTypeObjectToString(EDataType eDataType, Object instanceValue) {
1108
		if (instanceValue == null) return null;
1295
		return convertResAuthTypeToString(JavaeePackage.Literals.RES_AUTH_TYPE, instanceValue);
1109
		if (XMLTypePackage.Literals.ANY_URI.isInstance(instanceValue)) {
1110
			try {
1111
				String value = XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.ANY_URI, instanceValue);
1112
				if (value != null) return value;
1113
			}
1114
			catch (Exception e) {
1115
			}
1116
		}
1117
		if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE.isInstance(instanceValue)) {
1118
			try {
1119
				String value = convertServiceRefProtocolURIAliasTypeToString(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE, instanceValue);
1120
				if (value != null) return value;
1121
			}
1122
			catch (Exception e) {
1123
			}
1124
		}
1125
		throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+eDataType.getName()); //$NON-NLS-1$ //$NON-NLS-2$
1126
	}
1296
	}
1127
1297
1128
	/**
1298
	/**
Lines 1130-1137 Link Here
1130
	 * <!-- end-user-doc -->
1300
	 * <!-- end-user-doc -->
1131
	 * @generated
1301
	 * @generated
1132
	 */
1302
	 */
1133
	public String createServiceRefProtocolURIAliasTypeFromString(EDataType eDataType, String initialValue) {
1303
	public ResSharingScopeType createResSharingScopeTypeObjectFromString(EDataType eDataType, String initialValue) {
1134
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
1304
		return createResSharingScopeTypeFromString(JavaeePackage.Literals.RES_SHARING_SCOPE_TYPE, initialValue);
1135
	}
1305
	}
1136
1306
1137
	/**
1307
	/**
Lines 1139-1146 Link Here
1139
	 * <!-- end-user-doc -->
1309
	 * <!-- end-user-doc -->
1140
	 * @generated
1310
	 * @generated
1141
	 */
1311
	 */
1142
	public String convertServiceRefProtocolURIAliasTypeToString(EDataType eDataType, Object instanceValue) {
1312
	public String convertResSharingScopeTypeObjectToString(EDataType eDataType, Object instanceValue) {
1143
		return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue);
1313
		return convertResSharingScopeTypeToString(JavaeePackage.Literals.RES_SHARING_SCOPE_TYPE, instanceValue);
1144
	}
1314
	}
1145
1315
1146
	/**
1316
	/**
Lines 1148-1155 Link Here
1148
	 * <!-- end-user-doc -->
1318
	 * <!-- end-user-doc -->
1149
	 * @generated
1319
	 * @generated
1150
	 */
1320
	 */
1151
	public String createServiceRefQnamePatternFromString(EDataType eDataType, String initialValue) {
1321
	public String createRoleNameFromString(EDataType eDataType, String initialValue) {
1152
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue);
1322
		return (String)super.createFromString(eDataType, initialValue);
1153
	}
1323
	}
1154
1324
1155
	/**
1325
	/**
Lines 1157-1164 Link Here
1157
	 * <!-- end-user-doc -->
1327
	 * <!-- end-user-doc -->
1158
	 * @generated
1328
	 * @generated
1159
	 */
1329
	 */
1160
	public String convertServiceRefQnamePatternToString(EDataType eDataType, Object instanceValue) {
1330
	public String convertRoleNameToString(EDataType eDataType, Object instanceValue) {
1161
		return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue);
1331
		return super.convertToString(eDataType, instanceValue);
1162
	}
1332
	}
1163
1333
1164
	/**
1334
	/**
Lines 1212-1217 Link Here
1212
	 * @deprecated
1382
	 * @deprecated
1213
	 * @generated
1383
	 * @generated
1214
	 */
1384
	 */
1385
	@Deprecated
1215
	public static JavaeePackage getPackage() {
1386
	public static JavaeePackage getPackage() {
1216
		return JavaeePackage.eINSTANCE;
1387
		return JavaeePackage.eINSTANCE;
1217
	}
1388
	}
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/PortComponentRefImpl.java (-3 / +206 lines)
Lines 10-24 Link Here
10
 *******************************************************************************/
10
 *******************************************************************************/
11
package org.eclipse.jst.javaee.core.internal.impl;
11
package org.eclipse.jst.javaee.core.internal.impl;
12
12
13
import java.math.BigInteger;
13
import org.eclipse.emf.common.notify.Notification;
14
import org.eclipse.emf.common.notify.Notification;
14
15
16
import org.eclipse.emf.common.notify.NotificationChain;
15
import org.eclipse.emf.ecore.EClass;
17
import org.eclipse.emf.ecore.EClass;
16
18
19
import org.eclipse.emf.ecore.InternalEObject;
17
import org.eclipse.emf.ecore.impl.ENotificationImpl;
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
18
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
19
22
23
import org.eclipse.jst.javaee.core.AddressingType;
20
import org.eclipse.jst.javaee.core.PortComponentRef;
24
import org.eclipse.jst.javaee.core.PortComponentRef;
21
25
26
import org.eclipse.jst.javaee.core.RespectBindingType;
22
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
27
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
23
28
24
/**
29
/**
Lines 30-35 Link Here
30
 * <ul>
35
 * <ul>
31
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li>
32
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#isEnableMtom <em>Enable Mtom</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#isEnableMtom <em>Enable Mtom</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getMtomThreshold <em>Mtom Threshold</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getAddressing <em>Addressing</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getRespectBinding <em>Respect Binding</em>}</li>
33
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getPortComponentLink <em>Port Component Link</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getPortComponentLink <em>Port Component Link</em>}</li>
34
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getId <em>Id</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getId <em>Id</em>}</li>
35
 * </ul>
43
 * </ul>
Lines 85-91 Link Here
85
	 * @generated
93
	 * @generated
86
	 * @ordered
94
	 * @ordered
87
	 */
95
	 */
88
	protected boolean enableMtomESet = false;
96
	protected boolean enableMtomESet;
97
98
	/**
99
	 * The default value of the '{@link #getMtomThreshold() <em>Mtom Threshold</em>}' attribute.
100
	 * <!-- begin-user-doc -->
101
	 * <!-- end-user-doc -->
102
	 * @see #getMtomThreshold()
103
	 * @generated
104
	 * @ordered
105
	 */
106
	protected static final BigInteger MTOM_THRESHOLD_EDEFAULT = null;
107
108
	/**
109
	 * The cached value of the '{@link #getMtomThreshold() <em>Mtom Threshold</em>}' attribute.
110
	 * <!-- begin-user-doc -->
111
	 * <!-- end-user-doc -->
112
	 * @see #getMtomThreshold()
113
	 * @generated
114
	 * @ordered
115
	 */
116
	protected BigInteger mtomThreshold = MTOM_THRESHOLD_EDEFAULT;
117
118
	/**
119
	 * The cached value of the '{@link #getAddressing() <em>Addressing</em>}' containment reference.
120
	 * <!-- begin-user-doc -->
121
	 * <!-- end-user-doc -->
122
	 * @see #getAddressing()
123
	 * @generated
124
	 * @ordered
125
	 */
126
	protected AddressingType addressing;
127
128
	/**
129
	 * The cached value of the '{@link #getRespectBinding() <em>Respect Binding</em>}' containment reference.
130
	 * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
132
	 * @see #getRespectBinding()
133
	 * @generated
134
	 * @ordered
135
	 */
136
	protected RespectBindingType respectBinding;
89
137
90
	/**
138
	/**
91
	 * The default value of the '{@link #getPortComponentLink() <em>Port Component Link</em>}' attribute.
139
	 * The default value of the '{@link #getPortComponentLink() <em>Port Component Link</em>}' attribute.
Lines 218-223 Link Here
218
	 * <!-- end-user-doc -->
266
	 * <!-- end-user-doc -->
219
	 * @generated
267
	 * @generated
220
	 */
268
	 */
269
	public BigInteger getMtomThreshold() {
270
		return mtomThreshold;
271
	}
272
273
	/**
274
	 * <!-- begin-user-doc -->
275
	 * <!-- end-user-doc -->
276
	 * @generated
277
	 */
278
	public void setMtomThreshold(BigInteger newMtomThreshold) {
279
		BigInteger oldMtomThreshold = mtomThreshold;
280
		mtomThreshold = newMtomThreshold;
281
		if (eNotificationRequired())
282
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD, oldMtomThreshold, mtomThreshold));
283
	}
284
285
	/**
286
	 * <!-- begin-user-doc -->
287
	 * <!-- end-user-doc -->
288
	 * @generated
289
	 */
290
	public AddressingType getAddressing() {
291
		return addressing;
292
	}
293
294
	/**
295
	 * <!-- begin-user-doc -->
296
	 * <!-- end-user-doc -->
297
	 * @generated
298
	 */
299
	public NotificationChain basicSetAddressing(AddressingType newAddressing, NotificationChain msgs) {
300
		AddressingType oldAddressing = addressing;
301
		addressing = newAddressing;
302
		if (eNotificationRequired()) {
303
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, oldAddressing, newAddressing);
304
			if (msgs == null) msgs = notification; else msgs.add(notification);
305
		}
306
		return msgs;
307
	}
308
309
	/**
310
	 * <!-- begin-user-doc -->
311
	 * <!-- end-user-doc -->
312
	 * @generated
313
	 */
314
	public void setAddressing(AddressingType newAddressing) {
315
		if (newAddressing != addressing) {
316
			NotificationChain msgs = null;
317
			if (addressing != null)
318
				msgs = ((InternalEObject)addressing).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, null, msgs);
319
			if (newAddressing != null)
320
				msgs = ((InternalEObject)newAddressing).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, null, msgs);
321
			msgs = basicSetAddressing(newAddressing, msgs);
322
			if (msgs != null) msgs.dispatch();
323
		}
324
		else if (eNotificationRequired())
325
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, newAddressing, newAddressing));
326
	}
327
328
	/**
329
	 * <!-- begin-user-doc -->
330
	 * <!-- end-user-doc -->
331
	 * @generated
332
	 */
333
	public RespectBindingType getRespectBinding() {
334
		return respectBinding;
335
	}
336
337
	/**
338
	 * <!-- begin-user-doc -->
339
	 * <!-- end-user-doc -->
340
	 * @generated
341
	 */
342
	public NotificationChain basicSetRespectBinding(RespectBindingType newRespectBinding, NotificationChain msgs) {
343
		RespectBindingType oldRespectBinding = respectBinding;
344
		respectBinding = newRespectBinding;
345
		if (eNotificationRequired()) {
346
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, oldRespectBinding, newRespectBinding);
347
			if (msgs == null) msgs = notification; else msgs.add(notification);
348
		}
349
		return msgs;
350
	}
351
352
	/**
353
	 * <!-- begin-user-doc -->
354
	 * <!-- end-user-doc -->
355
	 * @generated
356
	 */
357
	public void setRespectBinding(RespectBindingType newRespectBinding) {
358
		if (newRespectBinding != respectBinding) {
359
			NotificationChain msgs = null;
360
			if (respectBinding != null)
361
				msgs = ((InternalEObject)respectBinding).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, null, msgs);
362
			if (newRespectBinding != null)
363
				msgs = ((InternalEObject)newRespectBinding).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, null, msgs);
364
			msgs = basicSetRespectBinding(newRespectBinding, msgs);
365
			if (msgs != null) msgs.dispatch();
366
		}
367
		else if (eNotificationRequired())
368
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, newRespectBinding, newRespectBinding));
369
	}
370
371
	/**
372
	 * <!-- begin-user-doc -->
373
	 * <!-- end-user-doc -->
374
	 * @generated
375
	 */
221
	public String getPortComponentLink() {
376
	public String getPortComponentLink() {
222
		return portComponentLink;
377
		return portComponentLink;
223
	}
378
	}
Lines 261-272 Link Here
261
	 * @generated
416
	 * @generated
262
	 */
417
	 */
263
	@Override
418
	@Override
419
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
420
		switch (featureID) {
421
			case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING:
422
				return basicSetAddressing(null, msgs);
423
			case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING:
424
				return basicSetRespectBinding(null, msgs);
425
		}
426
		return super.eInverseRemove(otherEnd, featureID, msgs);
427
	}
428
429
	/**
430
	 * <!-- begin-user-doc -->
431
	 * <!-- end-user-doc -->
432
	 * @generated
433
	 */
434
	@Override
264
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
435
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
265
		switch (featureID) {
436
		switch (featureID) {
266
			case JavaeePackage.PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE:
437
			case JavaeePackage.PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE:
267
				return getServiceEndpointInterface();
438
				return getServiceEndpointInterface();
268
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
439
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
269
				return isEnableMtom() ? Boolean.TRUE : Boolean.FALSE;
440
				return isEnableMtom();
441
			case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD:
442
				return getMtomThreshold();
443
			case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING:
444
				return getAddressing();
445
			case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING:
446
				return getRespectBinding();
270
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
447
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
271
				return getPortComponentLink();
448
				return getPortComponentLink();
272
			case JavaeePackage.PORT_COMPONENT_REF__ID:
449
			case JavaeePackage.PORT_COMPONENT_REF__ID:
Lines 287-293 Link Here
287
				setServiceEndpointInterface((String)newValue);
464
				setServiceEndpointInterface((String)newValue);
288
				return;
465
				return;
289
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
466
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
290
				setEnableMtom(((Boolean)newValue).booleanValue());
467
				setEnableMtom((Boolean)newValue);
468
				return;
469
			case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD:
470
				setMtomThreshold((BigInteger)newValue);
471
				return;
472
			case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING:
473
				setAddressing((AddressingType)newValue);
474
				return;
475
			case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING:
476
				setRespectBinding((RespectBindingType)newValue);
291
				return;
477
				return;
292
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
478
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
293
				setPortComponentLink((String)newValue);
479
				setPortComponentLink((String)newValue);
Lines 313-318 Link Here
313
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
499
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
314
				unsetEnableMtom();
500
				unsetEnableMtom();
315
				return;
501
				return;
502
			case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD:
503
				setMtomThreshold(MTOM_THRESHOLD_EDEFAULT);
504
				return;
505
			case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING:
506
				setAddressing((AddressingType)null);
507
				return;
508
			case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING:
509
				setRespectBinding((RespectBindingType)null);
510
				return;
316
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
511
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
317
				setPortComponentLink(PORT_COMPONENT_LINK_EDEFAULT);
512
				setPortComponentLink(PORT_COMPONENT_LINK_EDEFAULT);
318
				return;
513
				return;
Lines 335-340 Link Here
335
				return SERVICE_ENDPOINT_INTERFACE_EDEFAULT == null ? serviceEndpointInterface != null : !SERVICE_ENDPOINT_INTERFACE_EDEFAULT.equals(serviceEndpointInterface);
530
				return SERVICE_ENDPOINT_INTERFACE_EDEFAULT == null ? serviceEndpointInterface != null : !SERVICE_ENDPOINT_INTERFACE_EDEFAULT.equals(serviceEndpointInterface);
336
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
531
			case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM:
337
				return isSetEnableMtom();
532
				return isSetEnableMtom();
533
			case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD:
534
				return MTOM_THRESHOLD_EDEFAULT == null ? mtomThreshold != null : !MTOM_THRESHOLD_EDEFAULT.equals(mtomThreshold);
535
			case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING:
536
				return addressing != null;
537
			case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING:
538
				return respectBinding != null;
338
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
539
			case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK:
339
				return PORT_COMPONENT_LINK_EDEFAULT == null ? portComponentLink != null : !PORT_COMPONENT_LINK_EDEFAULT.equals(portComponentLink);
540
				return PORT_COMPONENT_LINK_EDEFAULT == null ? portComponentLink != null : !PORT_COMPONENT_LINK_EDEFAULT.equals(portComponentLink);
340
			case JavaeePackage.PORT_COMPONENT_REF__ID:
541
			case JavaeePackage.PORT_COMPONENT_REF__ID:
Lines 357-362 Link Here
357
		result.append(serviceEndpointInterface);
558
		result.append(serviceEndpointInterface);
358
		result.append(", enableMtom: "); //$NON-NLS-1$
559
		result.append(", enableMtom: "); //$NON-NLS-1$
359
		if (enableMtomESet) result.append(enableMtom); else result.append("<unset>"); //$NON-NLS-1$
560
		if (enableMtomESet) result.append(enableMtom); else result.append("<unset>"); //$NON-NLS-1$
561
		result.append(", mtomThreshold: "); //$NON-NLS-1$
562
		result.append(mtomThreshold);
360
		result.append(", portComponentLink: "); //$NON-NLS-1$
563
		result.append(", portComponentLink: "); //$NON-NLS-1$
361
		result.append(portComponentLink);
564
		result.append(portComponentLink);
362
		result.append(", id: "); //$NON-NLS-1$
565
		result.append(", id: "); //$NON-NLS-1$
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java (-15 / +16 lines)
Lines 61-67 Link Here
61
	 * @generated
61
	 * @generated
62
	 * @ordered
62
	 * @ordered
63
	 */
63
	 */
64
	protected EList descriptions = null;
64
	protected EList<Description> descriptions;
65
65
66
	/**
66
	/**
67
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
67
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
Lines 71-77 Link Here
71
	 * @generated
71
	 * @generated
72
	 * @ordered
72
	 * @ordered
73
	 */
73
	 */
74
	protected EList displayNames = null;
74
	protected EList<DisplayName> displayNames;
75
75
76
	/**
76
	/**
77
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
77
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
Lines 81-87 Link Here
81
	 * @generated
81
	 * @generated
82
	 * @ordered
82
	 * @ordered
83
	 */
83
	 */
84
	protected EList icons = null;
84
	protected EList<Icon> icons;
85
85
86
	/**
86
	/**
87
	 * The default value of the '{@link #getMessageDestinationName() <em>Message Destination Name</em>}' attribute.
87
	 * The default value of the '{@link #getMessageDestinationName() <em>Message Destination Name</em>}' attribute.
Lines 167-175 Link Here
167
	 * <!-- end-user-doc -->
167
	 * <!-- end-user-doc -->
168
	 * @generated
168
	 * @generated
169
	 */
169
	 */
170
	public List getDescriptions() {
170
	public List<Description> getDescriptions() {
171
		if (descriptions == null) {
171
		if (descriptions == null) {
172
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS);
172
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS);
173
		}
173
		}
174
		return descriptions;
174
		return descriptions;
175
	}
175
	}
Lines 179-187 Link Here
179
	 * <!-- end-user-doc -->
179
	 * <!-- end-user-doc -->
180
	 * @generated
180
	 * @generated
181
	 */
181
	 */
182
	public List getDisplayNames() {
182
	public List<DisplayName> getDisplayNames() {
183
		if (displayNames == null) {
183
		if (displayNames == null) {
184
			displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES);
184
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES);
185
		}
185
		}
186
		return displayNames;
186
		return displayNames;
187
	}
187
	}
Lines 191-199 Link Here
191
	 * <!-- end-user-doc -->
191
	 * <!-- end-user-doc -->
192
	 * @generated
192
	 * @generated
193
	 */
193
	 */
194
	public List getIcons() {
194
	public List<Icon> getIcons() {
195
		if (icons == null) {
195
		if (icons == null) {
196
			icons = new EObjectContainmentEList(Icon.class, this, JavaeePackage.MESSAGE_DESTINATION__ICONS);
196
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.MESSAGE_DESTINATION__ICONS);
197
		}
197
		}
198
		return icons;
198
		return icons;
199
	}
199
	}
Lines 270-280 Link Here
270
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
270
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
271
		switch (featureID) {
271
		switch (featureID) {
272
			case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS:
272
			case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS:
273
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
273
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
274
			case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES:
274
			case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES:
275
				return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
275
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
276
			case JavaeePackage.MESSAGE_DESTINATION__ICONS:
276
			case JavaeePackage.MESSAGE_DESTINATION__ICONS:
277
				return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
277
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
278
		}
278
		}
279
		return super.eInverseRemove(otherEnd, featureID, msgs);
279
		return super.eInverseRemove(otherEnd, featureID, msgs);
280
	}
280
	}
Lines 308-327 Link Here
308
	 * <!-- end-user-doc -->
308
	 * <!-- end-user-doc -->
309
	 * @generated
309
	 * @generated
310
	 */
310
	 */
311
	@SuppressWarnings("unchecked")
311
	@Override
312
	@Override
312
	public void eSet(int featureID, Object newValue) {
313
	public void eSet(int featureID, Object newValue) {
313
		switch (featureID) {
314
		switch (featureID) {
314
			case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS:
315
			case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS:
315
				getDescriptions().clear();
316
				getDescriptions().clear();
316
				getDescriptions().addAll((Collection)newValue);
317
				getDescriptions().addAll((Collection<? extends Description>)newValue);
317
				return;
318
				return;
318
			case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES:
319
			case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES:
319
				getDisplayNames().clear();
320
				getDisplayNames().clear();
320
				getDisplayNames().addAll((Collection)newValue);
321
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
321
				return;
322
				return;
322
			case JavaeePackage.MESSAGE_DESTINATION__ICONS:
323
			case JavaeePackage.MESSAGE_DESTINATION__ICONS:
323
				getIcons().clear();
324
				getIcons().clear();
324
				getIcons().addAll((Collection)newValue);
325
				getIcons().addAll((Collection<? extends Icon>)newValue);
325
				return;
326
				return;
326
			case JavaeePackage.MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME:
327
			case JavaeePackage.MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME:
327
				setMessageDestinationName((String)newValue);
328
				setMessageDestinationName((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleImpl.java (-5 / +6 lines)
Lines 56-62 Link Here
56
	 * @generated
56
	 * @generated
57
	 * @ordered
57
	 * @ordered
58
	 */
58
	 */
59
	protected EList descriptions = null;
59
	protected EList<Description> descriptions;
60
60
61
	/**
61
	/**
62
	 * The default value of the '{@link #getRoleName() <em>Role Name</em>}' attribute.
62
	 * The default value of the '{@link #getRoleName() <em>Role Name</em>}' attribute.
Lines 122-130 Link Here
122
	 * <!-- end-user-doc -->
122
	 * <!-- end-user-doc -->
123
	 * @generated
123
	 * @generated
124
	 */
124
	 */
125
	public List getDescriptions() {
125
	public List<Description> getDescriptions() {
126
		if (descriptions == null) {
126
		if (descriptions == null) {
127
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.SECURITY_ROLE__DESCRIPTIONS);
127
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SECURITY_ROLE__DESCRIPTIONS);
128
		}
128
		}
129
		return descriptions;
129
		return descriptions;
130
	}
130
	}
Lines 180-186 Link Here
180
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
180
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
181
		switch (featureID) {
181
		switch (featureID) {
182
			case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS:
182
			case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS:
183
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
183
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
184
		}
184
		}
185
		return super.eInverseRemove(otherEnd, featureID, msgs);
185
		return super.eInverseRemove(otherEnd, featureID, msgs);
186
	}
186
	}
Lines 208-219 Link Here
208
	 * <!-- end-user-doc -->
208
	 * <!-- end-user-doc -->
209
	 * @generated
209
	 * @generated
210
	 */
210
	 */
211
	@SuppressWarnings("unchecked")
211
	@Override
212
	@Override
212
	public void eSet(int featureID, Object newValue) {
213
	public void eSet(int featureID, Object newValue) {
213
		switch (featureID) {
214
		switch (featureID) {
214
			case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS:
215
			case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS:
215
				getDescriptions().clear();
216
				getDescriptions().clear();
216
				getDescriptions().addAll((Collection)newValue);
217
				getDescriptions().addAll((Collection<? extends Description>)newValue);
217
				return;
218
				return;
218
			case JavaeePackage.SECURITY_ROLE__ROLE_NAME:
219
			case JavaeePackage.SECURITY_ROLE__ROLE_NAME:
219
				setRoleName((String)newValue);
220
				setRoleName((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbRefImpl.java (-11 / +66 lines)
Lines 49-54 Link Here
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getEjbLink <em>Ejb Link</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getEjbLink <em>Ejb Link</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getMappedName <em>Mapped Name</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getMappedName <em>Mapped Name</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getLookupName <em>Lookup Name</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getId <em>Id</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getId <em>Id</em>}</li>
53
 * </ul>
54
 * </ul>
54
 * </p>
55
 * </p>
Lines 64-70 Link Here
64
	 * @generated
65
	 * @generated
65
	 * @ordered
66
	 * @ordered
66
	 */
67
	 */
67
	protected EList descriptions = null;
68
	protected EList<Description> descriptions;
68
69
69
	/**
70
	/**
70
	 * The default value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute.
71
	 * The default value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute.
Lines 113-119 Link Here
113
	 * @generated
114
	 * @generated
114
	 * @ordered
115
	 * @ordered
115
	 */
116
	 */
116
	protected boolean ejbRefTypeESet = false;
117
	protected boolean ejbRefTypeESet;
117
118
118
	/**
119
	/**
119
	 * The default value of the '{@link #getHome() <em>Home</em>}' attribute.
120
	 * The default value of the '{@link #getHome() <em>Home</em>}' attribute.
Lines 203-209 Link Here
203
	 * @generated
204
	 * @generated
204
	 * @ordered
205
	 * @ordered
205
	 */
206
	 */
206
	protected EList injectionTargets = null;
207
	protected EList<InjectionTarget> injectionTargets;
208
209
	/**
210
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
211
	 * <!-- begin-user-doc -->
212
	 * <!-- end-user-doc -->
213
	 * @see #getLookupName()
214
	 * @generated
215
	 * @ordered
216
	 */
217
	protected static final String LOOKUP_NAME_EDEFAULT = null;
218
219
	/**
220
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
221
	 * <!-- begin-user-doc -->
222
	 * <!-- end-user-doc -->
223
	 * @see #getLookupName()
224
	 * @generated
225
	 * @ordered
226
	 */
227
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
207
228
208
	/**
229
	/**
209
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
230
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 249-257 Link Here
249
	 * <!-- end-user-doc -->
270
	 * <!-- end-user-doc -->
250
	 * @generated
271
	 * @generated
251
	 */
272
	 */
252
	public List getDescriptions() {
273
	public List<Description> getDescriptions() {
253
		if (descriptions == null) {
274
		if (descriptions == null) {
254
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.EJB_REF__DESCRIPTIONS);
275
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.EJB_REF__DESCRIPTIONS);
255
		}
276
		}
256
		return descriptions;
277
		return descriptions;
257
	}
278
	}
Lines 412-420 Link Here
412
	 * <!-- end-user-doc -->
433
	 * <!-- end-user-doc -->
413
	 * @generated
434
	 * @generated
414
	 */
435
	 */
415
	public List getInjectionTargets() {
436
	public List<InjectionTarget> getInjectionTargets() {
416
		if (injectionTargets == null) {
437
		if (injectionTargets == null) {
417
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.EJB_REF__INJECTION_TARGETS);
438
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.EJB_REF__INJECTION_TARGETS);
418
		}
439
		}
419
		return injectionTargets;
440
		return injectionTargets;
420
	}
441
	}
Lines 424-429 Link Here
424
	 * <!-- end-user-doc -->
445
	 * <!-- end-user-doc -->
425
	 * @generated
446
	 * @generated
426
	 */
447
	 */
448
	public String getLookupName() {
449
		return lookupName;
450
	}
451
452
	/**
453
	 * <!-- begin-user-doc -->
454
	 * <!-- end-user-doc -->
455
	 * @generated
456
	 */
457
	public void setLookupName(String newLookupName) {
458
		String oldLookupName = lookupName;
459
		lookupName = newLookupName;
460
		if (eNotificationRequired())
461
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__LOOKUP_NAME, oldLookupName, lookupName));
462
	}
463
464
	/**
465
	 * <!-- begin-user-doc -->
466
	 * <!-- end-user-doc -->
467
	 * @generated
468
	 */
427
	public String getId() {
469
	public String getId() {
428
		return id;
470
		return id;
429
	}
471
	}
Lines 449-457 Link Here
449
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
491
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
450
		switch (featureID) {
492
		switch (featureID) {
451
			case JavaeePackage.EJB_REF__DESCRIPTIONS:
493
			case JavaeePackage.EJB_REF__DESCRIPTIONS:
452
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
494
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
453
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
495
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
454
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
496
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
455
		}
497
		}
456
		return super.eInverseRemove(otherEnd, featureID, msgs);
498
		return super.eInverseRemove(otherEnd, featureID, msgs);
457
	}
499
	}
Lines 480-485 Link Here
480
				return getMappedName();
522
				return getMappedName();
481
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
523
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
482
				return getInjectionTargets();
524
				return getInjectionTargets();
525
			case JavaeePackage.EJB_REF__LOOKUP_NAME:
526
				return getLookupName();
483
			case JavaeePackage.EJB_REF__ID:
527
			case JavaeePackage.EJB_REF__ID:
484
				return getId();
528
				return getId();
485
		}
529
		}
Lines 491-502 Link Here
491
	 * <!-- end-user-doc -->
535
	 * <!-- end-user-doc -->
492
	 * @generated
536
	 * @generated
493
	 */
537
	 */
538
	@SuppressWarnings("unchecked")
494
	@Override
539
	@Override
495
	public void eSet(int featureID, Object newValue) {
540
	public void eSet(int featureID, Object newValue) {
496
		switch (featureID) {
541
		switch (featureID) {
497
			case JavaeePackage.EJB_REF__DESCRIPTIONS:
542
			case JavaeePackage.EJB_REF__DESCRIPTIONS:
498
				getDescriptions().clear();
543
				getDescriptions().clear();
499
				getDescriptions().addAll((Collection)newValue);
544
				getDescriptions().addAll((Collection<? extends Description>)newValue);
500
				return;
545
				return;
501
			case JavaeePackage.EJB_REF__EJB_REF_NAME:
546
			case JavaeePackage.EJB_REF__EJB_REF_NAME:
502
				setEjbRefName((String)newValue);
547
				setEjbRefName((String)newValue);
Lines 518-524 Link Here
518
				return;
563
				return;
519
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
564
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
520
				getInjectionTargets().clear();
565
				getInjectionTargets().clear();
521
				getInjectionTargets().addAll((Collection)newValue);
566
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
567
				return;
568
			case JavaeePackage.EJB_REF__LOOKUP_NAME:
569
				setLookupName((String)newValue);
522
				return;
570
				return;
523
			case JavaeePackage.EJB_REF__ID:
571
			case JavaeePackage.EJB_REF__ID:
524
				setId((String)newValue);
572
				setId((String)newValue);
Lines 559-564 Link Here
559
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
607
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
560
				getInjectionTargets().clear();
608
				getInjectionTargets().clear();
561
				return;
609
				return;
610
			case JavaeePackage.EJB_REF__LOOKUP_NAME:
611
				setLookupName(LOOKUP_NAME_EDEFAULT);
612
				return;
562
			case JavaeePackage.EJB_REF__ID:
613
			case JavaeePackage.EJB_REF__ID:
563
				setId(ID_EDEFAULT);
614
				setId(ID_EDEFAULT);
564
				return;
615
				return;
Lines 590-595 Link Here
590
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
641
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
591
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
642
			case JavaeePackage.EJB_REF__INJECTION_TARGETS:
592
				return injectionTargets != null && !injectionTargets.isEmpty();
643
				return injectionTargets != null && !injectionTargets.isEmpty();
644
			case JavaeePackage.EJB_REF__LOOKUP_NAME:
645
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
593
			case JavaeePackage.EJB_REF__ID:
646
			case JavaeePackage.EJB_REF__ID:
594
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
647
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
595
		}
648
		}
Lines 618-623 Link Here
618
		result.append(ejbLink);
671
		result.append(ejbLink);
619
		result.append(", mappedName: "); //$NON-NLS-1$
672
		result.append(", mappedName: "); //$NON-NLS-1$
620
		result.append(mappedName);
673
		result.append(mappedName);
674
		result.append(", lookupName: "); //$NON-NLS-1$
675
		result.append(lookupName);
621
		result.append(", id: "); //$NON-NLS-1$
676
		result.append(", id: "); //$NON-NLS-1$
622
		result.append(id);
677
		result.append(id);
623
		result.append(')');
678
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainImpl.java (-11 / +12 lines)
Lines 98-104 Link Here
98
	 * @generated
98
	 * @generated
99
	 * @ordered
99
	 * @ordered
100
	 */
100
	 */
101
	protected static final List PROTOCOL_BINDINGS_EDEFAULT = null;
101
	protected static final List<String> PROTOCOL_BINDINGS_EDEFAULT = null;
102
102
103
	/**
103
	/**
104
	 * The cached value of the '{@link #getProtocolBindings() <em>Protocol Bindings</em>}' attribute.
104
	 * The cached value of the '{@link #getProtocolBindings() <em>Protocol Bindings</em>}' attribute.
Lines 108-114 Link Here
108
	 * @generated
108
	 * @generated
109
	 * @ordered
109
	 * @ordered
110
	 */
110
	 */
111
	protected List protocolBindings = PROTOCOL_BINDINGS_EDEFAULT;
111
	protected List<String> protocolBindings = PROTOCOL_BINDINGS_EDEFAULT;
112
112
113
	/**
113
	/**
114
	 * The cached value of the '{@link #getHandlers() <em>Handlers</em>}' containment reference list.
114
	 * The cached value of the '{@link #getHandlers() <em>Handlers</em>}' containment reference list.
Lines 118-124 Link Here
118
	 * @generated
118
	 * @generated
119
	 * @ordered
119
	 * @ordered
120
	 */
120
	 */
121
	protected EList handlers = null;
121
	protected EList<ServiceRefHandler> handlers;
122
122
123
	/**
123
	/**
124
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
124
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 206-212 Link Here
206
	 * <!-- end-user-doc -->
206
	 * <!-- end-user-doc -->
207
	 * @generated
207
	 * @generated
208
	 */
208
	 */
209
	public List getProtocolBindings() {
209
	public List<String> getProtocolBindings() {
210
		return protocolBindings;
210
		return protocolBindings;
211
	}
211
	}
212
212
Lines 215-222 Link Here
215
	 * <!-- end-user-doc -->
215
	 * <!-- end-user-doc -->
216
	 * @generated
216
	 * @generated
217
	 */
217
	 */
218
	public void setProtocolBindings(List newProtocolBindings) {
218
	public void setProtocolBindings(List<String> newProtocolBindings) {
219
		List oldProtocolBindings = protocolBindings;
219
		List<String> oldProtocolBindings = protocolBindings;
220
		protocolBindings = newProtocolBindings;
220
		protocolBindings = newProtocolBindings;
221
		if (eNotificationRequired())
221
		if (eNotificationRequired())
222
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS, oldProtocolBindings, protocolBindings));
222
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS, oldProtocolBindings, protocolBindings));
Lines 227-235 Link Here
227
	 * <!-- end-user-doc -->
227
	 * <!-- end-user-doc -->
228
	 * @generated
228
	 * @generated
229
	 */
229
	 */
230
	public List getHandlers() {
230
	public List<ServiceRefHandler> getHandlers() {
231
		if (handlers == null) {
231
		if (handlers == null) {
232
			handlers = new EObjectContainmentEList(ServiceRefHandler.class, this, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS);
232
			handlers = new EObjectContainmentEList<ServiceRefHandler>(ServiceRefHandler.class, this, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS);
233
		}
233
		}
234
		return handlers;
234
		return handlers;
235
	}
235
	}
Lines 264-270 Link Here
264
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
264
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
265
		switch (featureID) {
265
		switch (featureID) {
266
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS:
266
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS:
267
				return ((InternalEList)getHandlers()).basicRemove(otherEnd, msgs);
267
				return ((InternalEList<?>)getHandlers()).basicRemove(otherEnd, msgs);
268
		}
268
		}
269
		return super.eInverseRemove(otherEnd, featureID, msgs);
269
		return super.eInverseRemove(otherEnd, featureID, msgs);
270
	}
270
	}
Lines 296-301 Link Here
296
	 * <!-- end-user-doc -->
296
	 * <!-- end-user-doc -->
297
	 * @generated
297
	 * @generated
298
	 */
298
	 */
299
	@SuppressWarnings("unchecked")
299
	@Override
300
	@Override
300
	public void eSet(int featureID, Object newValue) {
301
	public void eSet(int featureID, Object newValue) {
301
		switch (featureID) {
302
		switch (featureID) {
Lines 306-316 Link Here
306
				setPortNamePattern((String)newValue);
307
				setPortNamePattern((String)newValue);
307
				return;
308
				return;
308
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS:
309
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS:
309
				setProtocolBindings((List)newValue);
310
				setProtocolBindings((List<String>)newValue);
310
				return;
311
				return;
311
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS:
312
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS:
312
				getHandlers().clear();
313
				getHandlers().clear();
313
				getHandlers().addAll((Collection)newValue);
314
				getHandlers().addAll((Collection<? extends ServiceRefHandler>)newValue);
314
				return;
315
				return;
315
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID:
316
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID:
316
				setId((String)newValue);
317
				setId((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceRefImpl.java (-12 / +67 lines)
Lines 49-54 Link Here
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getResSharingScope <em>Res Sharing Scope</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getResSharingScope <em>Res Sharing Scope</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getMappedName <em>Mapped Name</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getMappedName <em>Mapped Name</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getLookupName <em>Lookup Name</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getId <em>Id</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getId <em>Id</em>}</li>
53
 * </ul>
54
 * </ul>
54
 * </p>
55
 * </p>
Lines 64-70 Link Here
64
	 * @generated
65
	 * @generated
65
	 * @ordered
66
	 * @ordered
66
	 */
67
	 */
67
	protected EList descriptions = null;
68
	protected EList<Description> descriptions;
68
69
69
	/**
70
	/**
70
	 * The default value of the '{@link #getResRefName() <em>Res Ref Name</em>}' attribute.
71
	 * The default value of the '{@link #getResRefName() <em>Res Ref Name</em>}' attribute.
Lines 133-139 Link Here
133
	 * @generated
134
	 * @generated
134
	 * @ordered
135
	 * @ordered
135
	 */
136
	 */
136
	protected boolean resAuthESet = false;
137
	protected boolean resAuthESet;
137
138
138
	/**
139
	/**
139
	 * The default value of the '{@link #getResSharingScope() <em>Res Sharing Scope</em>}' attribute.
140
	 * The default value of the '{@link #getResSharingScope() <em>Res Sharing Scope</em>}' attribute.
Lines 162-168 Link Here
162
	 * @generated
163
	 * @generated
163
	 * @ordered
164
	 * @ordered
164
	 */
165
	 */
165
	protected boolean resSharingScopeESet = false;
166
	protected boolean resSharingScopeESet;
166
167
167
	/**
168
	/**
168
	 * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute.
169
	 * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute.
Lines 192-198 Link Here
192
	 * @generated
193
	 * @generated
193
	 * @ordered
194
	 * @ordered
194
	 */
195
	 */
195
	protected EList injectionTargets = null;
196
	protected EList<InjectionTarget> injectionTargets;
197
198
	/**
199
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
200
	 * <!-- begin-user-doc -->
201
	 * <!-- end-user-doc -->
202
	 * @see #getLookupName()
203
	 * @generated
204
	 * @ordered
205
	 */
206
	protected static final String LOOKUP_NAME_EDEFAULT = null;
207
208
	/**
209
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
210
	 * <!-- begin-user-doc -->
211
	 * <!-- end-user-doc -->
212
	 * @see #getLookupName()
213
	 * @generated
214
	 * @ordered
215
	 */
216
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
196
217
197
	/**
218
	/**
198
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
219
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 238-246 Link Here
238
	 * <!-- end-user-doc -->
259
	 * <!-- end-user-doc -->
239
	 * @generated
260
	 * @generated
240
	 */
261
	 */
241
	public List getDescriptions() {
262
	public List<Description> getDescriptions() {
242
		if (descriptions == null) {
263
		if (descriptions == null) {
243
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.RESOURCE_REF__DESCRIPTIONS);
264
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.RESOURCE_REF__DESCRIPTIONS);
244
		}
265
		}
245
		return descriptions;
266
		return descriptions;
246
	}
267
	}
Lines 405-413 Link Here
405
	 * <!-- end-user-doc -->
426
	 * <!-- end-user-doc -->
406
	 * @generated
427
	 * @generated
407
	 */
428
	 */
408
	public List getInjectionTargets() {
429
	public List<InjectionTarget> getInjectionTargets() {
409
		if (injectionTargets == null) {
430
		if (injectionTargets == null) {
410
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.RESOURCE_REF__INJECTION_TARGETS);
431
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.RESOURCE_REF__INJECTION_TARGETS);
411
		}
432
		}
412
		return injectionTargets;
433
		return injectionTargets;
413
	}
434
	}
Lines 417-422 Link Here
417
	 * <!-- end-user-doc -->
438
	 * <!-- end-user-doc -->
418
	 * @generated
439
	 * @generated
419
	 */
440
	 */
441
	public String getLookupName() {
442
		return lookupName;
443
	}
444
445
	/**
446
	 * <!-- begin-user-doc -->
447
	 * <!-- end-user-doc -->
448
	 * @generated
449
	 */
450
	public void setLookupName(String newLookupName) {
451
		String oldLookupName = lookupName;
452
		lookupName = newLookupName;
453
		if (eNotificationRequired())
454
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__LOOKUP_NAME, oldLookupName, lookupName));
455
	}
456
457
	/**
458
	 * <!-- begin-user-doc -->
459
	 * <!-- end-user-doc -->
460
	 * @generated
461
	 */
420
	public String getId() {
462
	public String getId() {
421
		return id;
463
		return id;
422
	}
464
	}
Lines 442-450 Link Here
442
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
484
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
443
		switch (featureID) {
485
		switch (featureID) {
444
			case JavaeePackage.RESOURCE_REF__DESCRIPTIONS:
486
			case JavaeePackage.RESOURCE_REF__DESCRIPTIONS:
445
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
487
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
446
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
488
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
447
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
489
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
448
		}
490
		}
449
		return super.eInverseRemove(otherEnd, featureID, msgs);
491
		return super.eInverseRemove(otherEnd, featureID, msgs);
450
	}
492
	}
Lines 471-476 Link Here
471
				return getMappedName();
513
				return getMappedName();
472
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
514
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
473
				return getInjectionTargets();
515
				return getInjectionTargets();
516
			case JavaeePackage.RESOURCE_REF__LOOKUP_NAME:
517
				return getLookupName();
474
			case JavaeePackage.RESOURCE_REF__ID:
518
			case JavaeePackage.RESOURCE_REF__ID:
475
				return getId();
519
				return getId();
476
		}
520
		}
Lines 482-493 Link Here
482
	 * <!-- end-user-doc -->
526
	 * <!-- end-user-doc -->
483
	 * @generated
527
	 * @generated
484
	 */
528
	 */
529
	@SuppressWarnings("unchecked")
485
	@Override
530
	@Override
486
	public void eSet(int featureID, Object newValue) {
531
	public void eSet(int featureID, Object newValue) {
487
		switch (featureID) {
532
		switch (featureID) {
488
			case JavaeePackage.RESOURCE_REF__DESCRIPTIONS:
533
			case JavaeePackage.RESOURCE_REF__DESCRIPTIONS:
489
				getDescriptions().clear();
534
				getDescriptions().clear();
490
				getDescriptions().addAll((Collection)newValue);
535
				getDescriptions().addAll((Collection<? extends Description>)newValue);
491
				return;
536
				return;
492
			case JavaeePackage.RESOURCE_REF__RES_REF_NAME:
537
			case JavaeePackage.RESOURCE_REF__RES_REF_NAME:
493
				setResRefName((String)newValue);
538
				setResRefName((String)newValue);
Lines 506-512 Link Here
506
				return;
551
				return;
507
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
552
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
508
				getInjectionTargets().clear();
553
				getInjectionTargets().clear();
509
				getInjectionTargets().addAll((Collection)newValue);
554
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
555
				return;
556
			case JavaeePackage.RESOURCE_REF__LOOKUP_NAME:
557
				setLookupName((String)newValue);
510
				return;
558
				return;
511
			case JavaeePackage.RESOURCE_REF__ID:
559
			case JavaeePackage.RESOURCE_REF__ID:
512
				setId((String)newValue);
560
				setId((String)newValue);
Lines 544-549 Link Here
544
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
592
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
545
				getInjectionTargets().clear();
593
				getInjectionTargets().clear();
546
				return;
594
				return;
595
			case JavaeePackage.RESOURCE_REF__LOOKUP_NAME:
596
				setLookupName(LOOKUP_NAME_EDEFAULT);
597
				return;
547
			case JavaeePackage.RESOURCE_REF__ID:
598
			case JavaeePackage.RESOURCE_REF__ID:
548
				setId(ID_EDEFAULT);
599
				setId(ID_EDEFAULT);
549
				return;
600
				return;
Lines 573-578 Link Here
573
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
624
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
574
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
625
			case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS:
575
				return injectionTargets != null && !injectionTargets.isEmpty();
626
				return injectionTargets != null && !injectionTargets.isEmpty();
627
			case JavaeePackage.RESOURCE_REF__LOOKUP_NAME:
628
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
576
			case JavaeePackage.RESOURCE_REF__ID:
629
			case JavaeePackage.RESOURCE_REF__ID:
577
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
630
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
578
		}
631
		}
Lines 599-604 Link Here
599
		if (resSharingScopeESet) result.append(resSharingScope); else result.append("<unset>"); //$NON-NLS-1$
652
		if (resSharingScopeESet) result.append(resSharingScope); else result.append("<unset>"); //$NON-NLS-1$
600
		result.append(", mappedName: "); //$NON-NLS-1$
653
		result.append(", mappedName: "); //$NON-NLS-1$
601
		result.append(mappedName);
654
		result.append(mappedName);
655
		result.append(", lookupName: "); //$NON-NLS-1$
656
		result.append(lookupName);
602
		result.append(", id: "); //$NON-NLS-1$
657
		result.append(", id: "); //$NON-NLS-1$
603
		result.append(id);
658
		result.append(id);
604
		result.append(')');
659
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/EnvEntryImpl.java (-55 / +101 lines)
Lines 47-52 Link Here
47
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getEnvEntryValue <em>Env Entry Value</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getEnvEntryValue <em>Env Entry Value</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getMappedName <em>Mapped Name</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getMappedName <em>Mapped Name</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getInjectionTargets <em>Injection Targets</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getInjectionTargets <em>Injection Targets</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getLookupName <em>Lookup Name</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getId <em>Id</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getId <em>Id</em>}</li>
51
 * </ul>
52
 * </ul>
52
 * </p>
53
 * </p>
Lines 62-68 Link Here
62
	 * @generated
63
	 * @generated
63
	 * @ordered
64
	 * @ordered
64
	 */
65
	 */
65
	protected EList descriptions = null;
66
	protected EList<Description> descriptions;
66
67
67
	/**
68
	/**
68
	 * The default value of the '{@link #getEnvEntryName() <em>Env Entry Name</em>}' attribute.
69
	 * The default value of the '{@link #getEnvEntryName() <em>Env Entry Name</em>}' attribute.
Lines 92-98 Link Here
92
	 * @generated
93
	 * @generated
93
	 * @ordered
94
	 * @ordered
94
	 */
95
	 */
95
	protected static final EnvEntryType ENV_ENTRY_TYPE_EDEFAULT = EnvEntryType.JAVA_LANG_BOOLEAN_LITERAL;
96
	protected static final String ENV_ENTRY_TYPE_EDEFAULT = null;
96
97
97
	/**
98
	/**
98
	 * The cached value of the '{@link #getEnvEntryType() <em>Env Entry Type</em>}' attribute.
99
	 * The cached value of the '{@link #getEnvEntryType() <em>Env Entry Type</em>}' attribute.
Lines 102-117 Link Here
102
	 * @generated
103
	 * @generated
103
	 * @ordered
104
	 * @ordered
104
	 */
105
	 */
105
	protected EnvEntryType envEntryType = ENV_ENTRY_TYPE_EDEFAULT;
106
	protected String envEntryType = ENV_ENTRY_TYPE_EDEFAULT;
106
107
	/**
108
	 * This is true if the Env Entry Type attribute has been set.
109
	 * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
111
	 * @generated
112
	 * @ordered
113
	 */
114
	protected boolean envEntryTypeESet = false;
115
107
116
	/**
108
	/**
117
	 * The default value of the '{@link #getEnvEntryValue() <em>Env Entry Value</em>}' attribute.
109
	 * The default value of the '{@link #getEnvEntryValue() <em>Env Entry Value</em>}' attribute.
Lines 161-167 Link Here
161
	 * @generated
153
	 * @generated
162
	 * @ordered
154
	 * @ordered
163
	 */
155
	 */
164
	protected EList injectionTargets = null;
156
	protected EList<InjectionTarget> injectionTargets;
157
158
	/**
159
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
160
	 * <!-- begin-user-doc -->
161
	 * <!-- end-user-doc -->
162
	 * @see #getLookupName()
163
	 * @generated
164
	 * @ordered
165
	 */
166
	protected static final String LOOKUP_NAME_EDEFAULT = null;
167
168
	/**
169
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
170
	 * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
172
	 * @see #getLookupName()
173
	 * @generated
174
	 * @ordered
175
	 */
176
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
165
177
166
	/**
178
	/**
167
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
179
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 207-215 Link Here
207
	 * <!-- end-user-doc -->
219
	 * <!-- end-user-doc -->
208
	 * @generated
220
	 * @generated
209
	 */
221
	 */
210
	public List getDescriptions() {
222
	public List<Description> getDescriptions() {
211
		if (descriptions == null) {
223
		if (descriptions == null) {
212
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.ENV_ENTRY__DESCRIPTIONS);
224
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.ENV_ENTRY__DESCRIPTIONS);
213
		}
225
		}
214
		return descriptions;
226
		return descriptions;
215
	}
227
	}
Lines 240-246 Link Here
240
	 * <!-- end-user-doc -->
252
	 * <!-- end-user-doc -->
241
	 * @generated
253
	 * @generated
242
	 */
254
	 */
243
	public EnvEntryType getEnvEntryType() {
255
	public String getEnvEntryType() {
244
		return envEntryType;
256
		return envEntryType;
245
	}
257
	}
246
258
Lines 249-284 Link Here
249
	 * <!-- end-user-doc -->
261
	 * <!-- end-user-doc -->
250
	 * @generated
262
	 * @generated
251
	 */
263
	 */
252
	public void setEnvEntryType(EnvEntryType newEnvEntryType) {
264
	public void setEnvEntryType(String newEnvEntryType) {
253
		EnvEntryType oldEnvEntryType = envEntryType;
265
		String oldEnvEntryType = envEntryType;
254
		envEntryType = newEnvEntryType == null ? ENV_ENTRY_TYPE_EDEFAULT : newEnvEntryType;
266
		envEntryType = newEnvEntryType;
255
		boolean oldEnvEntryTypeESet = envEntryTypeESet;
256
		envEntryTypeESet = true;
257
		if (eNotificationRequired())
258
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE, oldEnvEntryType, envEntryType, !oldEnvEntryTypeESet));
259
	}
260
261
	/**
262
	 * <!-- begin-user-doc -->
263
	 * <!-- end-user-doc -->
264
	 * @generated
265
	 */
266
	public void unsetEnvEntryType() {
267
		EnvEntryType oldEnvEntryType = envEntryType;
268
		boolean oldEnvEntryTypeESet = envEntryTypeESet;
269
		envEntryType = ENV_ENTRY_TYPE_EDEFAULT;
270
		envEntryTypeESet = false;
271
		if (eNotificationRequired())
267
		if (eNotificationRequired())
272
			eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE, oldEnvEntryType, ENV_ENTRY_TYPE_EDEFAULT, oldEnvEntryTypeESet));
268
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE, oldEnvEntryType, envEntryType));
273
	}
274
275
	/**
276
	 * <!-- begin-user-doc -->
277
	 * <!-- end-user-doc -->
278
	 * @generated
279
	 */
280
	public boolean isSetEnvEntryType() {
281
		return envEntryTypeESet;
282
	}
269
	}
283
270
284
	/**
271
	/**
Lines 328-336 Link Here
328
	 * <!-- end-user-doc -->
315
	 * <!-- end-user-doc -->
329
	 * @generated
316
	 * @generated
330
	 */
317
	 */
331
	public List getInjectionTargets() {
318
	public List<InjectionTarget> getInjectionTargets() {
332
		if (injectionTargets == null) {
319
		if (injectionTargets == null) {
333
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.ENV_ENTRY__INJECTION_TARGETS);
320
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.ENV_ENTRY__INJECTION_TARGETS);
334
		}
321
		}
335
		return injectionTargets;
322
		return injectionTargets;
336
	}
323
	}
Lines 340-345 Link Here
340
	 * <!-- end-user-doc -->
327
	 * <!-- end-user-doc -->
341
	 * @generated
328
	 * @generated
342
	 */
329
	 */
330
	public String getLookupName() {
331
		return lookupName;
332
	}
333
334
	/**
335
	 * <!-- begin-user-doc -->
336
	 * <!-- end-user-doc -->
337
	 * @generated
338
	 */
339
	public void setLookupName(String newLookupName) {
340
		String oldLookupName = lookupName;
341
		lookupName = newLookupName;
342
		if (eNotificationRequired())
343
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__LOOKUP_NAME, oldLookupName, lookupName));
344
	}
345
346
	/**
347
	 * <!-- begin-user-doc -->
348
	 * <!-- end-user-doc -->
349
	 * @generated
350
	 */
343
	public String getId() {
351
	public String getId() {
344
		return id;
352
		return id;
345
	}
353
	}
Lines 365-373 Link Here
365
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
373
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
366
		switch (featureID) {
374
		switch (featureID) {
367
			case JavaeePackage.ENV_ENTRY__DESCRIPTIONS:
375
			case JavaeePackage.ENV_ENTRY__DESCRIPTIONS:
368
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
376
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
369
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
377
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
370
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
378
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
371
		}
379
		}
372
		return super.eInverseRemove(otherEnd, featureID, msgs);
380
		return super.eInverseRemove(otherEnd, featureID, msgs);
373
	}
381
	}
Lines 392-397 Link Here
392
				return getMappedName();
400
				return getMappedName();
393
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
401
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
394
				return getInjectionTargets();
402
				return getInjectionTargets();
403
			case JavaeePackage.ENV_ENTRY__LOOKUP_NAME:
404
				return getLookupName();
395
			case JavaeePackage.ENV_ENTRY__ID:
405
			case JavaeePackage.ENV_ENTRY__ID:
396
				return getId();
406
				return getId();
397
		}
407
		}
Lines 403-420 Link Here
403
	 * <!-- end-user-doc -->
413
	 * <!-- end-user-doc -->
404
	 * @generated
414
	 * @generated
405
	 */
415
	 */
416
	@SuppressWarnings("unchecked")
406
	@Override
417
	@Override
407
	public void eSet(int featureID, Object newValue) {
418
	public void eSet(int featureID, Object newValue) {
408
		switch (featureID) {
419
		switch (featureID) {
409
			case JavaeePackage.ENV_ENTRY__DESCRIPTIONS:
420
			case JavaeePackage.ENV_ENTRY__DESCRIPTIONS:
410
				getDescriptions().clear();
421
				getDescriptions().clear();
411
				getDescriptions().addAll((Collection)newValue);
422
				getDescriptions().addAll((Collection<? extends Description>)newValue);
412
				return;
423
				return;
413
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME:
424
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME:
414
				setEnvEntryName((String)newValue);
425
				setEnvEntryName((String)newValue);
415
				return;
426
				return;
416
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE:
427
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE:
417
				setEnvEntryType((EnvEntryType)newValue);
428
				setEnvEntryType((String)newValue);
418
				return;
429
				return;
419
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE:
430
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE:
420
				setEnvEntryValue((String)newValue);
431
				setEnvEntryValue((String)newValue);
Lines 424-430 Link Here
424
				return;
435
				return;
425
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
436
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
426
				getInjectionTargets().clear();
437
				getInjectionTargets().clear();
427
				getInjectionTargets().addAll((Collection)newValue);
438
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
439
				return;
440
			case JavaeePackage.ENV_ENTRY__LOOKUP_NAME:
441
				setLookupName((String)newValue);
428
				return;
442
				return;
429
			case JavaeePackage.ENV_ENTRY__ID:
443
			case JavaeePackage.ENV_ENTRY__ID:
430
				setId((String)newValue);
444
				setId((String)newValue);
Lines 448-454 Link Here
448
				setEnvEntryName(ENV_ENTRY_NAME_EDEFAULT);
462
				setEnvEntryName(ENV_ENTRY_NAME_EDEFAULT);
449
				return;
463
				return;
450
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE:
464
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE:
451
				unsetEnvEntryType();
465
				setEnvEntryType(ENV_ENTRY_TYPE_EDEFAULT);
452
				return;
466
				return;
453
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE:
467
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE:
454
				setEnvEntryValue(ENV_ENTRY_VALUE_EDEFAULT);
468
				setEnvEntryValue(ENV_ENTRY_VALUE_EDEFAULT);
Lines 459-464 Link Here
459
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
473
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
460
				getInjectionTargets().clear();
474
				getInjectionTargets().clear();
461
				return;
475
				return;
476
			case JavaeePackage.ENV_ENTRY__LOOKUP_NAME:
477
				setLookupName(LOOKUP_NAME_EDEFAULT);
478
				return;
462
			case JavaeePackage.ENV_ENTRY__ID:
479
			case JavaeePackage.ENV_ENTRY__ID:
463
				setId(ID_EDEFAULT);
480
				setId(ID_EDEFAULT);
464
				return;
481
				return;
Lines 479-491 Link Here
479
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME:
496
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME:
480
				return ENV_ENTRY_NAME_EDEFAULT == null ? envEntryName != null : !ENV_ENTRY_NAME_EDEFAULT.equals(envEntryName);
497
				return ENV_ENTRY_NAME_EDEFAULT == null ? envEntryName != null : !ENV_ENTRY_NAME_EDEFAULT.equals(envEntryName);
481
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE:
498
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE:
482
				return isSetEnvEntryType();
499
				return ENV_ENTRY_TYPE_EDEFAULT == null ? envEntryType != null : !ENV_ENTRY_TYPE_EDEFAULT.equals(envEntryType);
483
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE:
500
			case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE:
484
				return ENV_ENTRY_VALUE_EDEFAULT == null ? envEntryValue != null : !ENV_ENTRY_VALUE_EDEFAULT.equals(envEntryValue);
501
				return ENV_ENTRY_VALUE_EDEFAULT == null ? envEntryValue != null : !ENV_ENTRY_VALUE_EDEFAULT.equals(envEntryValue);
485
			case JavaeePackage.ENV_ENTRY__MAPPED_NAME:
502
			case JavaeePackage.ENV_ENTRY__MAPPED_NAME:
486
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
503
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
487
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
504
			case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS:
488
				return injectionTargets != null && !injectionTargets.isEmpty();
505
				return injectionTargets != null && !injectionTargets.isEmpty();
506
			case JavaeePackage.ENV_ENTRY__LOOKUP_NAME:
507
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
489
			case JavaeePackage.ENV_ENTRY__ID:
508
			case JavaeePackage.ENV_ENTRY__ID:
490
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
509
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
491
		}
510
		}
Lines 505-519 Link Here
505
		result.append(" (envEntryName: "); //$NON-NLS-1$
524
		result.append(" (envEntryName: "); //$NON-NLS-1$
506
		result.append(envEntryName);
525
		result.append(envEntryName);
507
		result.append(", envEntryType: "); //$NON-NLS-1$
526
		result.append(", envEntryType: "); //$NON-NLS-1$
508
		if (envEntryTypeESet) result.append(envEntryType); else result.append("<unset>"); //$NON-NLS-1$
527
		result.append(envEntryType);
509
		result.append(", envEntryValue: "); //$NON-NLS-1$
528
		result.append(", envEntryValue: "); //$NON-NLS-1$
510
		result.append(envEntryValue);
529
		result.append(envEntryValue);
511
		result.append(", mappedName: "); //$NON-NLS-1$
530
		result.append(", mappedName: "); //$NON-NLS-1$
512
		result.append(mappedName);
531
		result.append(mappedName);
532
		result.append(", lookupName: "); //$NON-NLS-1$
533
		result.append(lookupName);
513
		result.append(", id: "); //$NON-NLS-1$
534
		result.append(", id: "); //$NON-NLS-1$
514
		result.append(id);
535
		result.append(id);
515
		result.append(')');
536
		result.append(')');
516
		return result.toString();
537
		return result.toString();
517
	}
538
	}
518
539
540
	/**
541
	 * This is provided for Java EE 5 model equivalence
542
	 * @param newEnvEntryType
543
	 */
544
	public void setEnvEntryType(EnvEntryType newEnvEntryType) {
545
		if (newEnvEntryType != null)
546
		{
547
			setEnvEntryType(newEnvEntryType.getLiteral());
548
		}
549
		else
550
		{
551
			setEnvEntryType((String)null);
552
		}
553
	}
554
555
	public void unsetEnvEntryType()
556
	{
557
		setEnvEntryType((String)null);
558
	}
559
560
	public boolean isSetEnvEntryType()
561
	{
562
		return (envEntryType != null);
563
	}
564
519
} //EnvEntryImpl
565
} //EnvEntryImpl
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbLocalRefImpl.java (-11 / +66 lines)
Lines 49-54 Link Here
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getEjbLink <em>Ejb Link</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getEjbLink <em>Ejb Link</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getMappedName <em>Mapped Name</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getMappedName <em>Mapped Name</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getLookupName <em>Lookup Name</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getId <em>Id</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getId <em>Id</em>}</li>
53
 * </ul>
54
 * </ul>
54
 * </p>
55
 * </p>
Lines 64-70 Link Here
64
	 * @generated
65
	 * @generated
65
	 * @ordered
66
	 * @ordered
66
	 */
67
	 */
67
	protected EList descriptions = null;
68
	protected EList<Description> descriptions;
68
69
69
	/**
70
	/**
70
	 * The default value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute.
71
	 * The default value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute.
Lines 113-119 Link Here
113
	 * @generated
114
	 * @generated
114
	 * @ordered
115
	 * @ordered
115
	 */
116
	 */
116
	protected boolean ejbRefTypeESet = false;
117
	protected boolean ejbRefTypeESet;
117
118
118
	/**
119
	/**
119
	 * The default value of the '{@link #getLocalHome() <em>Local Home</em>}' attribute.
120
	 * The default value of the '{@link #getLocalHome() <em>Local Home</em>}' attribute.
Lines 203-209 Link Here
203
	 * @generated
204
	 * @generated
204
	 * @ordered
205
	 * @ordered
205
	 */
206
	 */
206
	protected EList injectionTargets = null;
207
	protected EList<InjectionTarget> injectionTargets;
208
209
	/**
210
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
211
	 * <!-- begin-user-doc -->
212
	 * <!-- end-user-doc -->
213
	 * @see #getLookupName()
214
	 * @generated
215
	 * @ordered
216
	 */
217
	protected static final String LOOKUP_NAME_EDEFAULT = null;
218
219
	/**
220
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
221
	 * <!-- begin-user-doc -->
222
	 * <!-- end-user-doc -->
223
	 * @see #getLookupName()
224
	 * @generated
225
	 * @ordered
226
	 */
227
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
207
228
208
	/**
229
	/**
209
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
230
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 249-257 Link Here
249
	 * <!-- end-user-doc -->
270
	 * <!-- end-user-doc -->
250
	 * @generated
271
	 * @generated
251
	 */
272
	 */
252
	public List getDescriptions() {
273
	public List<Description> getDescriptions() {
253
		if (descriptions == null) {
274
		if (descriptions == null) {
254
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS);
275
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS);
255
		}
276
		}
256
		return descriptions;
277
		return descriptions;
257
	}
278
	}
Lines 412-420 Link Here
412
	 * <!-- end-user-doc -->
433
	 * <!-- end-user-doc -->
413
	 * @generated
434
	 * @generated
414
	 */
435
	 */
415
	public List getInjectionTargets() {
436
	public List<InjectionTarget> getInjectionTargets() {
416
		if (injectionTargets == null) {
437
		if (injectionTargets == null) {
417
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS);
438
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS);
418
		}
439
		}
419
		return injectionTargets;
440
		return injectionTargets;
420
	}
441
	}
Lines 424-429 Link Here
424
	 * <!-- end-user-doc -->
445
	 * <!-- end-user-doc -->
425
	 * @generated
446
	 * @generated
426
	 */
447
	 */
448
	public String getLookupName() {
449
		return lookupName;
450
	}
451
452
	/**
453
	 * <!-- begin-user-doc -->
454
	 * <!-- end-user-doc -->
455
	 * @generated
456
	 */
457
	public void setLookupName(String newLookupName) {
458
		String oldLookupName = lookupName;
459
		lookupName = newLookupName;
460
		if (eNotificationRequired())
461
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME, oldLookupName, lookupName));
462
	}
463
464
	/**
465
	 * <!-- begin-user-doc -->
466
	 * <!-- end-user-doc -->
467
	 * @generated
468
	 */
427
	public String getId() {
469
	public String getId() {
428
		return id;
470
		return id;
429
	}
471
	}
Lines 449-457 Link Here
449
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
491
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
450
		switch (featureID) {
492
		switch (featureID) {
451
			case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS:
493
			case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS:
452
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
494
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
453
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
495
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
454
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
496
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
455
		}
497
		}
456
		return super.eInverseRemove(otherEnd, featureID, msgs);
498
		return super.eInverseRemove(otherEnd, featureID, msgs);
457
	}
499
	}
Lines 480-485 Link Here
480
				return getMappedName();
522
				return getMappedName();
481
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
523
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
482
				return getInjectionTargets();
524
				return getInjectionTargets();
525
			case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME:
526
				return getLookupName();
483
			case JavaeePackage.EJB_LOCAL_REF__ID:
527
			case JavaeePackage.EJB_LOCAL_REF__ID:
484
				return getId();
528
				return getId();
485
		}
529
		}
Lines 491-502 Link Here
491
	 * <!-- end-user-doc -->
535
	 * <!-- end-user-doc -->
492
	 * @generated
536
	 * @generated
493
	 */
537
	 */
538
	@SuppressWarnings("unchecked")
494
	@Override
539
	@Override
495
	public void eSet(int featureID, Object newValue) {
540
	public void eSet(int featureID, Object newValue) {
496
		switch (featureID) {
541
		switch (featureID) {
497
			case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS:
542
			case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS:
498
				getDescriptions().clear();
543
				getDescriptions().clear();
499
				getDescriptions().addAll((Collection)newValue);
544
				getDescriptions().addAll((Collection<? extends Description>)newValue);
500
				return;
545
				return;
501
			case JavaeePackage.EJB_LOCAL_REF__EJB_REF_NAME:
546
			case JavaeePackage.EJB_LOCAL_REF__EJB_REF_NAME:
502
				setEjbRefName((String)newValue);
547
				setEjbRefName((String)newValue);
Lines 518-524 Link Here
518
				return;
563
				return;
519
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
564
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
520
				getInjectionTargets().clear();
565
				getInjectionTargets().clear();
521
				getInjectionTargets().addAll((Collection)newValue);
566
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
567
				return;
568
			case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME:
569
				setLookupName((String)newValue);
522
				return;
570
				return;
523
			case JavaeePackage.EJB_LOCAL_REF__ID:
571
			case JavaeePackage.EJB_LOCAL_REF__ID:
524
				setId((String)newValue);
572
				setId((String)newValue);
Lines 559-564 Link Here
559
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
607
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
560
				getInjectionTargets().clear();
608
				getInjectionTargets().clear();
561
				return;
609
				return;
610
			case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME:
611
				setLookupName(LOOKUP_NAME_EDEFAULT);
612
				return;
562
			case JavaeePackage.EJB_LOCAL_REF__ID:
613
			case JavaeePackage.EJB_LOCAL_REF__ID:
563
				setId(ID_EDEFAULT);
614
				setId(ID_EDEFAULT);
564
				return;
615
				return;
Lines 590-595 Link Here
590
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
641
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
591
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
642
			case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS:
592
				return injectionTargets != null && !injectionTargets.isEmpty();
643
				return injectionTargets != null && !injectionTargets.isEmpty();
644
			case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME:
645
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
593
			case JavaeePackage.EJB_LOCAL_REF__ID:
646
			case JavaeePackage.EJB_LOCAL_REF__ID:
594
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
647
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
595
		}
648
		}
Lines 618-623 Link Here
618
		result.append(ejbLink);
671
		result.append(ejbLink);
619
		result.append(", mappedName: "); //$NON-NLS-1$
672
		result.append(", mappedName: "); //$NON-NLS-1$
620
		result.append(mappedName);
673
		result.append(mappedName);
674
		result.append(", lookupName: "); //$NON-NLS-1$
675
		result.append(lookupName);
621
		result.append(", id: "); //$NON-NLS-1$
676
		result.append(", id: "); //$NON-NLS-1$
622
		result.append(id);
677
		result.append(id);
623
		result.append(')');
678
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceEnvRefImpl.java (-10 / +65 lines)
Lines 45-50 Link Here
45
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getResourceEnvRefType <em>Resource Env Ref Type</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getResourceEnvRefType <em>Resource Env Ref Type</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getMappedName <em>Mapped Name</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getMappedName <em>Mapped Name</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getLookupName <em>Lookup Name</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getId <em>Id</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getId <em>Id</em>}</li>
49
 * </ul>
50
 * </ul>
50
 * </p>
51
 * </p>
Lines 60-66 Link Here
60
	 * @generated
61
	 * @generated
61
	 * @ordered
62
	 * @ordered
62
	 */
63
	 */
63
	protected EList descriptions = null;
64
	protected EList<Description> descriptions;
64
65
65
	/**
66
	/**
66
	 * The default value of the '{@link #getResourceEnvRefName() <em>Resource Env Ref Name</em>}' attribute.
67
	 * The default value of the '{@link #getResourceEnvRefName() <em>Resource Env Ref Name</em>}' attribute.
Lines 130-136 Link Here
130
	 * @generated
131
	 * @generated
131
	 * @ordered
132
	 * @ordered
132
	 */
133
	 */
133
	protected EList injectionTargets = null;
134
	protected EList<InjectionTarget> injectionTargets;
135
136
	/**
137
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
138
	 * <!-- begin-user-doc -->
139
	 * <!-- end-user-doc -->
140
	 * @see #getLookupName()
141
	 * @generated
142
	 * @ordered
143
	 */
144
	protected static final String LOOKUP_NAME_EDEFAULT = null;
145
146
	/**
147
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
148
	 * <!-- begin-user-doc -->
149
	 * <!-- end-user-doc -->
150
	 * @see #getLookupName()
151
	 * @generated
152
	 * @ordered
153
	 */
154
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
134
155
135
	/**
156
	/**
136
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
157
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 176-184 Link Here
176
	 * <!-- end-user-doc -->
197
	 * <!-- end-user-doc -->
177
	 * @generated
198
	 * @generated
178
	 */
199
	 */
179
	public List getDescriptions() {
200
	public List<Description> getDescriptions() {
180
		if (descriptions == null) {
201
		if (descriptions == null) {
181
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS);
202
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS);
182
		}
203
		}
183
		return descriptions;
204
		return descriptions;
184
	}
205
	}
Lines 251-259 Link Here
251
	 * <!-- end-user-doc -->
272
	 * <!-- end-user-doc -->
252
	 * @generated
273
	 * @generated
253
	 */
274
	 */
254
	public List getInjectionTargets() {
275
	public List<InjectionTarget> getInjectionTargets() {
255
		if (injectionTargets == null) {
276
		if (injectionTargets == null) {
256
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS);
277
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS);
257
		}
278
		}
258
		return injectionTargets;
279
		return injectionTargets;
259
	}
280
	}
Lines 263-268 Link Here
263
	 * <!-- end-user-doc -->
284
	 * <!-- end-user-doc -->
264
	 * @generated
285
	 * @generated
265
	 */
286
	 */
287
	public String getLookupName() {
288
		return lookupName;
289
	}
290
291
	/**
292
	 * <!-- begin-user-doc -->
293
	 * <!-- end-user-doc -->
294
	 * @generated
295
	 */
296
	public void setLookupName(String newLookupName) {
297
		String oldLookupName = lookupName;
298
		lookupName = newLookupName;
299
		if (eNotificationRequired())
300
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME, oldLookupName, lookupName));
301
	}
302
303
	/**
304
	 * <!-- begin-user-doc -->
305
	 * <!-- end-user-doc -->
306
	 * @generated
307
	 */
266
	public String getId() {
308
	public String getId() {
267
		return id;
309
		return id;
268
	}
310
	}
Lines 288-296 Link Here
288
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
330
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
289
		switch (featureID) {
331
		switch (featureID) {
290
			case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS:
332
			case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS:
291
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
333
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
292
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
334
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
293
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
335
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
294
		}
336
		}
295
		return super.eInverseRemove(otherEnd, featureID, msgs);
337
		return super.eInverseRemove(otherEnd, featureID, msgs);
296
	}
338
	}
Lines 313-318 Link Here
313
				return getMappedName();
355
				return getMappedName();
314
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
356
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
315
				return getInjectionTargets();
357
				return getInjectionTargets();
358
			case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME:
359
				return getLookupName();
316
			case JavaeePackage.RESOURCE_ENV_REF__ID:
360
			case JavaeePackage.RESOURCE_ENV_REF__ID:
317
				return getId();
361
				return getId();
318
		}
362
		}
Lines 324-335 Link Here
324
	 * <!-- end-user-doc -->
368
	 * <!-- end-user-doc -->
325
	 * @generated
369
	 * @generated
326
	 */
370
	 */
371
	@SuppressWarnings("unchecked")
327
	@Override
372
	@Override
328
	public void eSet(int featureID, Object newValue) {
373
	public void eSet(int featureID, Object newValue) {
329
		switch (featureID) {
374
		switch (featureID) {
330
			case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS:
375
			case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS:
331
				getDescriptions().clear();
376
				getDescriptions().clear();
332
				getDescriptions().addAll((Collection)newValue);
377
				getDescriptions().addAll((Collection<? extends Description>)newValue);
333
				return;
378
				return;
334
			case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME:
379
			case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME:
335
				setResourceEnvRefName((String)newValue);
380
				setResourceEnvRefName((String)newValue);
Lines 342-348 Link Here
342
				return;
387
				return;
343
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
388
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
344
				getInjectionTargets().clear();
389
				getInjectionTargets().clear();
345
				getInjectionTargets().addAll((Collection)newValue);
390
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
391
				return;
392
			case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME:
393
				setLookupName((String)newValue);
346
				return;
394
				return;
347
			case JavaeePackage.RESOURCE_ENV_REF__ID:
395
			case JavaeePackage.RESOURCE_ENV_REF__ID:
348
				setId((String)newValue);
396
				setId((String)newValue);
Lines 374-379 Link Here
374
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
422
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
375
				getInjectionTargets().clear();
423
				getInjectionTargets().clear();
376
				return;
424
				return;
425
			case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME:
426
				setLookupName(LOOKUP_NAME_EDEFAULT);
427
				return;
377
			case JavaeePackage.RESOURCE_ENV_REF__ID:
428
			case JavaeePackage.RESOURCE_ENV_REF__ID:
378
				setId(ID_EDEFAULT);
429
				setId(ID_EDEFAULT);
379
				return;
430
				return;
Lines 399-404 Link Here
399
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
450
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
400
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
451
			case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS:
401
				return injectionTargets != null && !injectionTargets.isEmpty();
452
				return injectionTargets != null && !injectionTargets.isEmpty();
453
			case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME:
454
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
402
			case JavaeePackage.RESOURCE_ENV_REF__ID:
455
			case JavaeePackage.RESOURCE_ENV_REF__ID:
403
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
456
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
404
		}
457
		}
Lines 421-426 Link Here
421
		result.append(resourceEnvRefType);
474
		result.append(resourceEnvRefType);
422
		result.append(", mappedName: "); //$NON-NLS-1$
475
		result.append(", mappedName: "); //$NON-NLS-1$
423
		result.append(mappedName);
476
		result.append(mappedName);
477
		result.append(", lookupName: "); //$NON-NLS-1$
478
		result.append(lookupName);
424
		result.append(", id: "); //$NON-NLS-1$
479
		result.append(", id: "); //$NON-NLS-1$
425
		result.append(id);
480
		result.append(id);
426
		result.append(')');
481
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ListenerImpl.java (-15 / +16 lines)
Lines 60-66 Link Here
60
	 * @generated
60
	 * @generated
61
	 * @ordered
61
	 * @ordered
62
	 */
62
	 */
63
	protected EList descriptions = null;
63
	protected EList<Description> descriptions;
64
64
65
	/**
65
	/**
66
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
66
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
Lines 70-76 Link Here
70
	 * @generated
70
	 * @generated
71
	 * @ordered
71
	 * @ordered
72
	 */
72
	 */
73
	protected EList displayNames = null;
73
	protected EList<DisplayName> displayNames;
74
74
75
	/**
75
	/**
76
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
76
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
Lines 80-86 Link Here
80
	 * @generated
80
	 * @generated
81
	 * @ordered
81
	 * @ordered
82
	 */
82
	 */
83
	protected EList icons = null;
83
	protected EList<Icon> icons;
84
84
85
	/**
85
	/**
86
	 * The default value of the '{@link #getListenerClass() <em>Listener Class</em>}' attribute.
86
	 * The default value of the '{@link #getListenerClass() <em>Listener Class</em>}' attribute.
Lines 146-154 Link Here
146
	 * <!-- end-user-doc -->
146
	 * <!-- end-user-doc -->
147
	 * @generated
147
	 * @generated
148
	 */
148
	 */
149
	public List getDescriptions() {
149
	public List<Description> getDescriptions() {
150
		if (descriptions == null) {
150
		if (descriptions == null) {
151
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.LISTENER__DESCRIPTIONS);
151
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.LISTENER__DESCRIPTIONS);
152
		}
152
		}
153
		return descriptions;
153
		return descriptions;
154
	}
154
	}
Lines 158-166 Link Here
158
	 * <!-- end-user-doc -->
158
	 * <!-- end-user-doc -->
159
	 * @generated
159
	 * @generated
160
	 */
160
	 */
161
	public List getDisplayNames() {
161
	public List<DisplayName> getDisplayNames() {
162
		if (displayNames == null) {
162
		if (displayNames == null) {
163
			displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.LISTENER__DISPLAY_NAMES);
163
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.LISTENER__DISPLAY_NAMES);
164
		}
164
		}
165
		return displayNames;
165
		return displayNames;
166
	}
166
	}
Lines 170-178 Link Here
170
	 * <!-- end-user-doc -->
170
	 * <!-- end-user-doc -->
171
	 * @generated
171
	 * @generated
172
	 */
172
	 */
173
	public List getIcons() {
173
	public List<Icon> getIcons() {
174
		if (icons == null) {
174
		if (icons == null) {
175
			icons = new EObjectContainmentEList(Icon.class, this, JavaeePackage.LISTENER__ICONS);
175
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.LISTENER__ICONS);
176
		}
176
		}
177
		return icons;
177
		return icons;
178
	}
178
	}
Lines 228-238 Link Here
228
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
228
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
229
		switch (featureID) {
229
		switch (featureID) {
230
			case JavaeePackage.LISTENER__DESCRIPTIONS:
230
			case JavaeePackage.LISTENER__DESCRIPTIONS:
231
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
231
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
232
			case JavaeePackage.LISTENER__DISPLAY_NAMES:
232
			case JavaeePackage.LISTENER__DISPLAY_NAMES:
233
				return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
233
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
234
			case JavaeePackage.LISTENER__ICONS:
234
			case JavaeePackage.LISTENER__ICONS:
235
				return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
235
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
236
		}
236
		}
237
		return super.eInverseRemove(otherEnd, featureID, msgs);
237
		return super.eInverseRemove(otherEnd, featureID, msgs);
238
	}
238
	}
Lines 264-283 Link Here
264
	 * <!-- end-user-doc -->
264
	 * <!-- end-user-doc -->
265
	 * @generated
265
	 * @generated
266
	 */
266
	 */
267
	@SuppressWarnings("unchecked")
267
	@Override
268
	@Override
268
	public void eSet(int featureID, Object newValue) {
269
	public void eSet(int featureID, Object newValue) {
269
		switch (featureID) {
270
		switch (featureID) {
270
			case JavaeePackage.LISTENER__DESCRIPTIONS:
271
			case JavaeePackage.LISTENER__DESCRIPTIONS:
271
				getDescriptions().clear();
272
				getDescriptions().clear();
272
				getDescriptions().addAll((Collection)newValue);
273
				getDescriptions().addAll((Collection<? extends Description>)newValue);
273
				return;
274
				return;
274
			case JavaeePackage.LISTENER__DISPLAY_NAMES:
275
			case JavaeePackage.LISTENER__DISPLAY_NAMES:
275
				getDisplayNames().clear();
276
				getDisplayNames().clear();
276
				getDisplayNames().addAll((Collection)newValue);
277
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
277
				return;
278
				return;
278
			case JavaeePackage.LISTENER__ICONS:
279
			case JavaeePackage.LISTENER__ICONS:
279
				getIcons().clear();
280
				getIcons().clear();
280
				getIcons().addAll((Collection)newValue);
281
				getIcons().addAll((Collection<? extends Icon>)newValue);
281
				return;
282
				return;
282
			case JavaeePackage.LISTENER__LISTENER_CLASS:
283
			case JavaeePackage.LISTENER__LISTENER_CLASS:
283
				setListenerClass((String)newValue);
284
				setListenerClass((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/ParamValueImpl.java (-5 / +6 lines)
Lines 57-63 Link Here
57
	 * @generated
57
	 * @generated
58
	 * @ordered
58
	 * @ordered
59
	 */
59
	 */
60
	protected EList descriptions = null;
60
	protected EList<Description> descriptions;
61
61
62
	/**
62
	/**
63
	 * The default value of the '{@link #getParamName() <em>Param Name</em>}' attribute.
63
	 * The default value of the '{@link #getParamName() <em>Param Name</em>}' attribute.
Lines 143-151 Link Here
143
	 * <!-- end-user-doc -->
143
	 * <!-- end-user-doc -->
144
	 * @generated
144
	 * @generated
145
	 */
145
	 */
146
	public List getDescriptions() {
146
	public List<Description> getDescriptions() {
147
		if (descriptions == null) {
147
		if (descriptions == null) {
148
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.PARAM_VALUE__DESCRIPTIONS);
148
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.PARAM_VALUE__DESCRIPTIONS);
149
		}
149
		}
150
		return descriptions;
150
		return descriptions;
151
	}
151
	}
Lines 222-228 Link Here
222
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
222
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
223
		switch (featureID) {
223
		switch (featureID) {
224
			case JavaeePackage.PARAM_VALUE__DESCRIPTIONS:
224
			case JavaeePackage.PARAM_VALUE__DESCRIPTIONS:
225
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
225
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
226
		}
226
		}
227
		return super.eInverseRemove(otherEnd, featureID, msgs);
227
		return super.eInverseRemove(otherEnd, featureID, msgs);
228
	}
228
	}
Lines 252-263 Link Here
252
	 * <!-- end-user-doc -->
252
	 * <!-- end-user-doc -->
253
	 * @generated
253
	 * @generated
254
	 */
254
	 */
255
	@SuppressWarnings("unchecked")
255
	@Override
256
	@Override
256
	public void eSet(int featureID, Object newValue) {
257
	public void eSet(int featureID, Object newValue) {
257
		switch (featureID) {
258
		switch (featureID) {
258
			case JavaeePackage.PARAM_VALUE__DESCRIPTIONS:
259
			case JavaeePackage.PARAM_VALUE__DESCRIPTIONS:
259
				getDescriptions().clear();
260
				getDescriptions().clear();
260
				getDescriptions().addAll((Collection)newValue);
261
				getDescriptions().addAll((Collection<? extends Description>)newValue);
261
				return;
262
				return;
262
			case JavaeePackage.PARAM_VALUE__PARAM_NAME:
263
			case JavaeePackage.PARAM_VALUE__PARAM_NAME:
263
				setParamName((String)newValue);
264
				setParamName((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java (-224 / +1140 lines)
Lines 34-39 Link Here
34
34
35
import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage;
35
import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage;
36
36
37
import org.eclipse.jst.javaee.core.AddressingResponsesType;
38
import org.eclipse.jst.javaee.core.AddressingType;
39
import org.eclipse.jst.javaee.core.DataSourceType;
37
import org.eclipse.jst.javaee.core.Description;
40
import org.eclipse.jst.javaee.core.Description;
38
import org.eclipse.jst.javaee.core.DisplayName;
41
import org.eclipse.jst.javaee.core.DisplayName;
39
import org.eclipse.jst.javaee.core.EjbLocalRef;
42
import org.eclipse.jst.javaee.core.EjbLocalRef;
Lines 41-49 Link Here
41
import org.eclipse.jst.javaee.core.EjbRefType;
44
import org.eclipse.jst.javaee.core.EjbRefType;
42
import org.eclipse.jst.javaee.core.EmptyType;
45
import org.eclipse.jst.javaee.core.EmptyType;
43
import org.eclipse.jst.javaee.core.EnvEntry;
46
import org.eclipse.jst.javaee.core.EnvEntry;
44
import org.eclipse.jst.javaee.core.EnvEntryType;
47
import org.eclipse.jst.javaee.core.GenericBooleanType;
45
import org.eclipse.jst.javaee.core.Icon;
48
import org.eclipse.jst.javaee.core.Icon;
46
import org.eclipse.jst.javaee.core.InjectionTarget;
49
import org.eclipse.jst.javaee.core.InjectionTarget;
50
import org.eclipse.jst.javaee.core.IsolationLevelType;
47
import org.eclipse.jst.javaee.core.JavaeeFactory;
51
import org.eclipse.jst.javaee.core.JavaeeFactory;
48
import org.eclipse.jst.javaee.core.LifecycleCallback;
52
import org.eclipse.jst.javaee.core.LifecycleCallback;
49
import org.eclipse.jst.javaee.core.Listener;
53
import org.eclipse.jst.javaee.core.Listener;
Lines 60-65 Link Here
60
import org.eclipse.jst.javaee.core.ResSharingScopeType;
64
import org.eclipse.jst.javaee.core.ResSharingScopeType;
61
import org.eclipse.jst.javaee.core.ResourceEnvRef;
65
import org.eclipse.jst.javaee.core.ResourceEnvRef;
62
import org.eclipse.jst.javaee.core.ResourceRef;
66
import org.eclipse.jst.javaee.core.ResourceRef;
67
import org.eclipse.jst.javaee.core.RespectBindingType;
63
import org.eclipse.jst.javaee.core.RunAs;
68
import org.eclipse.jst.javaee.core.RunAs;
64
import org.eclipse.jst.javaee.core.SecurityRole;
69
import org.eclipse.jst.javaee.core.SecurityRole;
65
import org.eclipse.jst.javaee.core.SecurityRoleRef;
70
import org.eclipse.jst.javaee.core.SecurityRoleRef;
Lines 77-82 Link Here
77
82
78
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
83
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
79
84
85
import org.eclipse.jst.javaee.jca.internal.impl.JcaPackageImpl;
86
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
80
import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl;
87
import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl;
81
88
82
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
89
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
Lines 84-89 Link Here
84
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
91
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
85
92
86
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
93
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
94
import org.eclipse.jst.javaee.webapp.internal.impl.WebappPackageImpl;
95
import org.eclipse.jst.javaee.webapp.internal.metadata.WebappPackage;
96
import org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl;
97
import org.eclipse.jst.javaee.webfragment.internal.metadata.WebfragmentPackage;
87
98
88
/**
99
/**
89
 * <!-- begin-user-doc -->
100
 * <!-- begin-user-doc -->
Lines 97-102 Link Here
97
	 * <!-- end-user-doc -->
108
	 * <!-- end-user-doc -->
98
	 * @generated
109
	 * @generated
99
	 */
110
	 */
111
	private EClass addressingTypeEClass = null;
112
113
	/**
114
	 * <!-- begin-user-doc -->
115
	 * <!-- end-user-doc -->
116
	 * @generated
117
	 */
118
	private EClass dataSourceTypeEClass = null;
119
120
	/**
121
	 * <!-- begin-user-doc -->
122
	 * <!-- end-user-doc -->
123
	 * @generated
124
	 */
100
	private EClass descriptionEClass = null;
125
	private EClass descriptionEClass = null;
101
126
102
	/**
127
	/**
Lines 230-235 Link Here
230
	 * <!-- end-user-doc -->
255
	 * <!-- end-user-doc -->
231
	 * @generated
256
	 * @generated
232
	 */
257
	 */
258
	private EClass respectBindingTypeEClass = null;
259
260
	/**
261
	 * <!-- begin-user-doc -->
262
	 * <!-- end-user-doc -->
263
	 * @generated
264
	 */
233
	private EClass runAsEClass = null;
265
	private EClass runAsEClass = null;
234
266
235
	/**
267
	/**
Lines 286-291 Link Here
286
	 * <!-- end-user-doc -->
318
	 * <!-- end-user-doc -->
287
	 * @generated
319
	 * @generated
288
	 */
320
	 */
321
	private EEnum addressingResponsesTypeEEnum = null;
322
323
	/**
324
	 * <!-- begin-user-doc -->
325
	 * <!-- end-user-doc -->
326
	 * @generated
327
	 */
289
	private EEnum ejbRefTypeEEnum = null;
328
	private EEnum ejbRefTypeEEnum = null;
290
329
291
	/**
330
	/**
Lines 293-299 Link Here
293
	 * <!-- end-user-doc -->
332
	 * <!-- end-user-doc -->
294
	 * @generated
333
	 * @generated
295
	 */
334
	 */
296
	private EEnum envEntryTypeEEnum = null;
335
	private EEnum genericBooleanTypeEEnum = null;
336
337
	/**
338
	 * <!-- begin-user-doc -->
339
	 * <!-- end-user-doc -->
340
	 * @generated
341
	 */
342
	private EEnum isolationLevelTypeEEnum = null;
297
343
298
	/**
344
	/**
299
	 * <!-- begin-user-doc -->
345
	 * <!-- begin-user-doc -->
Lines 328-333 Link Here
328
	 * <!-- end-user-doc -->
374
	 * <!-- end-user-doc -->
329
	 * @generated
375
	 * @generated
330
	 */
376
	 */
377
	private EDataType addressingResponsesTypeObjectEDataType = null;
378
379
	/**
380
	 * <!-- begin-user-doc -->
381
	 * <!-- end-user-doc -->
382
	 * @generated
383
	 */
331
	private EDataType deweyVersionTypeEDataType = null;
384
	private EDataType deweyVersionTypeEDataType = null;
332
385
333
	/**
386
	/**
Lines 356-362 Link Here
356
	 * <!-- end-user-doc -->
409
	 * <!-- end-user-doc -->
357
	 * @generated
410
	 * @generated
358
	 */
411
	 */
359
	private EDataType envEntryTypeObjectEDataType = null;
412
	private EDataType envEntryTypeEDataType = null;
360
413
361
	/**
414
	/**
362
	 * <!-- begin-user-doc -->
415
	 * <!-- begin-user-doc -->
Lines 370-375 Link Here
370
	 * <!-- end-user-doc -->
423
	 * <!-- end-user-doc -->
371
	 * @generated
424
	 * @generated
372
	 */
425
	 */
426
	private EDataType genericBooleanTypeObjectEDataType = null;
427
428
	/**
429
	 * <!-- begin-user-doc -->
430
	 * <!-- end-user-doc -->
431
	 * @generated
432
	 */
373
	private EDataType homeEDataType = null;
433
	private EDataType homeEDataType = null;
374
434
375
	/**
435
	/**
Lines 377-382 Link Here
377
	 * <!-- end-user-doc -->
437
	 * <!-- end-user-doc -->
378
	 * @generated
438
	 * @generated
379
	 */
439
	 */
440
	private EDataType isolationLevelTypeObjectEDataType = null;
441
442
	/**
443
	 * <!-- begin-user-doc -->
444
	 * <!-- end-user-doc -->
445
	 * @generated
446
	 */
380
	private EDataType javaIdentifierEDataType = null;
447
	private EDataType javaIdentifierEDataType = null;
381
448
382
	/**
449
	/**
Lines 391-396 Link Here
391
	 * <!-- end-user-doc -->
458
	 * <!-- end-user-doc -->
392
	 * @generated
459
	 * @generated
393
	 */
460
	 */
461
	private EDataType jdbcUrlTypeEDataType = null;
462
463
	/**
464
	 * <!-- begin-user-doc -->
465
	 * <!-- end-user-doc -->
466
	 * @generated
467
	 */
394
	private EDataType jndiNameEDataType = null;
468
	private EDataType jndiNameEDataType = null;
395
469
396
	/**
470
	/**
Lines 447-502 Link Here
447
	 * <!-- end-user-doc -->
521
	 * <!-- end-user-doc -->
448
	 * @generated
522
	 * @generated
449
	 */
523
	 */
450
	private EDataType remoteEDataType = null;
524
	private EDataType protocolBindingListTypeEDataType = null;
451
525
452
	/**
526
	/**
453
	 * <!-- begin-user-doc -->
527
	 * <!-- begin-user-doc -->
454
	 * <!-- end-user-doc -->
528
	 * <!-- end-user-doc -->
455
	 * @generated
529
	 * @generated
456
	 */
530
	 */
457
	private EDataType resAuthTypeObjectEDataType = null;
531
	private EDataType protocolBindingTypeEDataType = null;
458
532
459
	/**
533
	/**
460
	 * <!-- begin-user-doc -->
534
	 * <!-- begin-user-doc -->
461
	 * <!-- end-user-doc -->
535
	 * <!-- end-user-doc -->
462
	 * @generated
536
	 * @generated
463
	 */
537
	 */
464
	private EDataType resSharingScopeTypeObjectEDataType = null;
538
	private EDataType protocolURIAliasTypeEDataType = null;
465
539
466
	/**
540
	/**
467
	 * <!-- begin-user-doc -->
541
	 * <!-- begin-user-doc -->
468
	 * <!-- end-user-doc -->
542
	 * <!-- end-user-doc -->
469
	 * @generated
543
	 * @generated
470
	 */
544
	 */
471
	private EDataType roleNameEDataType = null;
545
	private EDataType qnamePatternEDataType = null;
472
546
473
	/**
547
	/**
474
	 * <!-- begin-user-doc -->
548
	 * <!-- begin-user-doc -->
475
	 * <!-- end-user-doc -->
549
	 * <!-- end-user-doc -->
476
	 * @generated
550
	 * @generated
477
	 */
551
	 */
478
	private EDataType serviceRefProtocolBindingListTypeEDataType = null;
552
	private EDataType remoteEDataType = null;
479
553
480
	/**
554
	/**
481
	 * <!-- begin-user-doc -->
555
	 * <!-- begin-user-doc -->
482
	 * <!-- end-user-doc -->
556
	 * <!-- end-user-doc -->
483
	 * @generated
557
	 * @generated
484
	 */
558
	 */
485
	private EDataType serviceRefProtocolBindingTypeEDataType = null;
559
	private EDataType resAuthTypeObjectEDataType = null;
486
560
487
	/**
561
	/**
488
	 * <!-- begin-user-doc -->
562
	 * <!-- begin-user-doc -->
489
	 * <!-- end-user-doc -->
563
	 * <!-- end-user-doc -->
490
	 * @generated
564
	 * @generated
491
	 */
565
	 */
492
	private EDataType serviceRefProtocolURIAliasTypeEDataType = null;
566
	private EDataType resSharingScopeTypeObjectEDataType = null;
493
567
494
	/**
568
	/**
495
	 * <!-- begin-user-doc -->
569
	 * <!-- begin-user-doc -->
496
	 * <!-- end-user-doc -->
570
	 * <!-- end-user-doc -->
497
	 * @generated
571
	 * @generated
498
	 */
572
	 */
499
	private EDataType serviceRefQnamePatternEDataType = null;
573
	private EDataType roleNameEDataType = null;
500
574
501
	/**
575
	/**
502
	 * <!-- begin-user-doc -->
576
	 * <!-- begin-user-doc -->
Lines 539-558 Link Here
539
	private static boolean isInited = false;
613
	private static boolean isInited = false;
540
614
541
	/**
615
	/**
542
	 * Creates, registers, and initializes the <b>Package</b> for this
616
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
543
	 * model, and for any others upon which it depends.  Simple
617
	 * 
544
	 * dependencies are satisfied by calling this method on all
618
	 * <p>This method is used to initialize {@link JavaeePackage#eINSTANCE} when that field is accessed.
545
	 * dependent packages before doing anything else.  This method drives
619
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
546
	 * initialization for interdependent packages directly, in parallel
547
	 * with this package, itself.
548
	 * <p>Of this package and its interdependencies, all packages which
549
	 * have not yet been registered by their URI values are first created
550
	 * and registered.  The packages are then initialized in two steps:
551
	 * meta-model objects for all of the packages are created before any
552
	 * are initialized, since one package's meta-model objects may refer to
553
	 * those of another.
554
	 * <p>Invocation of this method will not affect any packages that have
555
	 * already been initialized.
556
	 * <!-- begin-user-doc -->
620
	 * <!-- begin-user-doc -->
557
	 * <!-- end-user-doc -->
621
	 * <!-- end-user-doc -->
558
	 * @see #eNS_URI
622
	 * @see #eNS_URI
Lines 564-570 Link Here
564
		if (isInited) return (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
628
		if (isInited) return (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
565
629
566
		// Obtain or create and register package
630
		// Obtain or create and register package
567
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new JavaeePackageImpl());
631
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new JavaeePackageImpl());
568
632
569
		isInited = true;
633
		isInited = true;
570
634
Lines 573-599 Link Here
573
		XMLTypePackage.eINSTANCE.eClass();
637
		XMLTypePackage.eINSTANCE.eClass();
574
638
575
		// Obtain or create and register interdependencies
639
		// Obtain or create and register interdependencies
576
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
577
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
640
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
578
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
579
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE);
641
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE);
642
		JcaPackageImpl theJcaPackage = (JcaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) instanceof JcaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) : JcaPackage.eINSTANCE);
643
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
580
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
644
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
645
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
646
		WebappPackageImpl theWebappPackage = (WebappPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) instanceof WebappPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) : WebappPackage.eINSTANCE);
647
		WebfragmentPackageImpl theWebfragmentPackage = (WebfragmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) instanceof WebfragmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) : WebfragmentPackage.eINSTANCE);
581
648
582
		// Create package meta-data objects
649
		// Create package meta-data objects
583
		theJavaeePackage.createPackageContents();
650
		theJavaeePackage.createPackageContents();
584
		theWebPackage.createPackageContents();
585
		theApplicationPackage.createPackageContents();
651
		theApplicationPackage.createPackageContents();
586
		theEjbPackage.createPackageContents();
587
		theApplicationclientPackage.createPackageContents();
652
		theApplicationclientPackage.createPackageContents();
653
		theJcaPackage.createPackageContents();
654
		theEjbPackage.createPackageContents();
588
		theJspPackage.createPackageContents();
655
		theJspPackage.createPackageContents();
656
		theWebPackage.createPackageContents();
657
		theWebappPackage.createPackageContents();
658
		theWebfragmentPackage.createPackageContents();
589
659
590
		// Initialize created meta-data
660
		// Initialize created meta-data
591
		theJavaeePackage.initializePackageContents();
661
		theJavaeePackage.initializePackageContents();
592
		theWebPackage.initializePackageContents();
593
		theApplicationPackage.initializePackageContents();
662
		theApplicationPackage.initializePackageContents();
594
		theEjbPackage.initializePackageContents();
595
		theApplicationclientPackage.initializePackageContents();
663
		theApplicationclientPackage.initializePackageContents();
664
		theJcaPackage.initializePackageContents();
665
		theEjbPackage.initializePackageContents();
596
		theJspPackage.initializePackageContents();
666
		theJspPackage.initializePackageContents();
667
		theWebPackage.initializePackageContents();
668
		theWebappPackage.initializePackageContents();
669
		theWebfragmentPackage.initializePackageContents();
597
670
598
		// Register package validator
671
		// Register package validator
599
		EValidator.Registry.INSTANCE.put
672
		EValidator.Registry.INSTANCE.put
Lines 607-612 Link Here
607
		// Mark meta-data to indicate it can't be changed
680
		// Mark meta-data to indicate it can't be changed
608
		theJavaeePackage.freeze();
681
		theJavaeePackage.freeze();
609
682
683
  
684
		// Update the registry and return the package
685
		EPackage.Registry.INSTANCE.put(JavaeePackage.eNS_URI, theJavaeePackage);
610
		return theJavaeePackage;
686
		return theJavaeePackage;
611
	}
687
	}
612
688
Lines 615-620 Link Here
615
	 * <!-- end-user-doc -->
691
	 * <!-- end-user-doc -->
616
	 * @generated
692
	 * @generated
617
	 */
693
	 */
694
	public EClass getAddressingType() {
695
		return addressingTypeEClass;
696
	}
697
698
	/**
699
	 * <!-- begin-user-doc -->
700
	 * <!-- end-user-doc -->
701
	 * @generated
702
	 */
703
	public EAttribute getAddressingType_Enabled() {
704
		return (EAttribute)addressingTypeEClass.getEStructuralFeatures().get(0);
705
	}
706
707
	/**
708
	 * <!-- begin-user-doc -->
709
	 * <!-- end-user-doc -->
710
	 * @generated
711
	 */
712
	public EAttribute getAddressingType_Required() {
713
		return (EAttribute)addressingTypeEClass.getEStructuralFeatures().get(1);
714
	}
715
716
	/**
717
	 * <!-- begin-user-doc -->
718
	 * <!-- end-user-doc -->
719
	 * @generated
720
	 */
721
	public EAttribute getAddressingType_Responses() {
722
		return (EAttribute)addressingTypeEClass.getEStructuralFeatures().get(2);
723
	}
724
725
	/**
726
	 * <!-- begin-user-doc -->
727
	 * <!-- end-user-doc -->
728
	 * @generated
729
	 */
730
	public EClass getDataSourceType() {
731
		return dataSourceTypeEClass;
732
	}
733
734
	/**
735
	 * <!-- begin-user-doc -->
736
	 * <!-- end-user-doc -->
737
	 * @generated
738
	 */
739
	public EReference getDataSourceType_Description() {
740
		return (EReference)dataSourceTypeEClass.getEStructuralFeatures().get(0);
741
	}
742
743
	/**
744
	 * <!-- begin-user-doc -->
745
	 * <!-- end-user-doc -->
746
	 * @generated
747
	 */
748
	public EAttribute getDataSourceType_Name() {
749
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(1);
750
	}
751
752
	/**
753
	 * <!-- begin-user-doc -->
754
	 * <!-- end-user-doc -->
755
	 * @generated
756
	 */
757
	public EAttribute getDataSourceType_ClassName() {
758
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(2);
759
	}
760
761
	/**
762
	 * <!-- begin-user-doc -->
763
	 * <!-- end-user-doc -->
764
	 * @generated
765
	 */
766
	public EAttribute getDataSourceType_ServerName() {
767
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(3);
768
	}
769
770
	/**
771
	 * <!-- begin-user-doc -->
772
	 * <!-- end-user-doc -->
773
	 * @generated
774
	 */
775
	public EAttribute getDataSourceType_PortNumber() {
776
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(4);
777
	}
778
779
	/**
780
	 * <!-- begin-user-doc -->
781
	 * <!-- end-user-doc -->
782
	 * @generated
783
	 */
784
	public EAttribute getDataSourceType_DatabaseName() {
785
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(5);
786
	}
787
788
	/**
789
	 * <!-- begin-user-doc -->
790
	 * <!-- end-user-doc -->
791
	 * @generated
792
	 */
793
	public EAttribute getDataSourceType_Url() {
794
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(6);
795
	}
796
797
	/**
798
	 * <!-- begin-user-doc -->
799
	 * <!-- end-user-doc -->
800
	 * @generated
801
	 */
802
	public EAttribute getDataSourceType_User() {
803
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(7);
804
	}
805
806
	/**
807
	 * <!-- begin-user-doc -->
808
	 * <!-- end-user-doc -->
809
	 * @generated
810
	 */
811
	public EAttribute getDataSourceType_Password() {
812
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(8);
813
	}
814
815
	/**
816
	 * <!-- begin-user-doc -->
817
	 * <!-- end-user-doc -->
818
	 * @generated
819
	 */
820
	public EReference getDataSourceType_Property() {
821
		return (EReference)dataSourceTypeEClass.getEStructuralFeatures().get(9);
822
	}
823
824
	/**
825
	 * <!-- begin-user-doc -->
826
	 * <!-- end-user-doc -->
827
	 * @generated
828
	 */
829
	public EAttribute getDataSourceType_LoginTimeout() {
830
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(10);
831
	}
832
833
	/**
834
	 * <!-- begin-user-doc -->
835
	 * <!-- end-user-doc -->
836
	 * @generated
837
	 */
838
	public EAttribute getDataSourceType_Transactional() {
839
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(11);
840
	}
841
842
	/**
843
	 * <!-- begin-user-doc -->
844
	 * <!-- end-user-doc -->
845
	 * @generated
846
	 */
847
	public EAttribute getDataSourceType_IsolationLevel() {
848
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(12);
849
	}
850
851
	/**
852
	 * <!-- begin-user-doc -->
853
	 * <!-- end-user-doc -->
854
	 * @generated
855
	 */
856
	public EAttribute getDataSourceType_InitialPoolSize() {
857
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(13);
858
	}
859
860
	/**
861
	 * <!-- begin-user-doc -->
862
	 * <!-- end-user-doc -->
863
	 * @generated
864
	 */
865
	public EAttribute getDataSourceType_MaxPoolSize() {
866
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(14);
867
	}
868
869
	/**
870
	 * <!-- begin-user-doc -->
871
	 * <!-- end-user-doc -->
872
	 * @generated
873
	 */
874
	public EAttribute getDataSourceType_MinPoolSize() {
875
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(15);
876
	}
877
878
	/**
879
	 * <!-- begin-user-doc -->
880
	 * <!-- end-user-doc -->
881
	 * @generated
882
	 */
883
	public EAttribute getDataSourceType_MaxIdleTime() {
884
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(16);
885
	}
886
887
	/**
888
	 * <!-- begin-user-doc -->
889
	 * <!-- end-user-doc -->
890
	 * @generated
891
	 */
892
	public EAttribute getDataSourceType_MaxStatements() {
893
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(17);
894
	}
895
896
	/**
897
	 * <!-- begin-user-doc -->
898
	 * <!-- end-user-doc -->
899
	 * @generated
900
	 */
901
	public EAttribute getDataSourceType_Id() {
902
		return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(18);
903
	}
904
905
	/**
906
	 * <!-- begin-user-doc -->
907
	 * <!-- end-user-doc -->
908
	 * @generated
909
	 */
618
	public EClass getDescription() {
910
	public EClass getDescription() {
619
		return descriptionEClass;
911
		return descriptionEClass;
620
	}
912
	}
Lines 750-756 Link Here
750
	 * <!-- end-user-doc -->
1042
	 * <!-- end-user-doc -->
751
	 * @generated
1043
	 * @generated
752
	 */
1044
	 */
753
	public EAttribute getEjbLocalRef_Id() {
1045
	public EAttribute getEjbLocalRef_LookupName() {
754
		return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(8);
1046
		return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(8);
755
	}
1047
	}
756
1048
Lines 759-764 Link Here
759
	 * <!-- end-user-doc -->
1051
	 * <!-- end-user-doc -->
760
	 * @generated
1052
	 * @generated
761
	 */
1053
	 */
1054
	public EAttribute getEjbLocalRef_Id() {
1055
		return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(9);
1056
	}
1057
1058
	/**
1059
	 * <!-- begin-user-doc -->
1060
	 * <!-- end-user-doc -->
1061
	 * @generated
1062
	 */
762
	public EClass getEjbRef() {
1063
	public EClass getEjbRef() {
763
		return ejbRefEClass;
1064
		return ejbRefEClass;
764
	}
1065
	}
Lines 840-846 Link Here
840
	 * <!-- end-user-doc -->
1141
	 * <!-- end-user-doc -->
841
	 * @generated
1142
	 * @generated
842
	 */
1143
	 */
843
	public EAttribute getEjbRef_Id() {
1144
	public EAttribute getEjbRef_LookupName() {
844
		return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(8);
1145
		return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(8);
845
	}
1146
	}
846
1147
Lines 849-854 Link Here
849
	 * <!-- end-user-doc -->
1150
	 * <!-- end-user-doc -->
850
	 * @generated
1151
	 * @generated
851
	 */
1152
	 */
1153
	public EAttribute getEjbRef_Id() {
1154
		return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(9);
1155
	}
1156
1157
	/**
1158
	 * <!-- begin-user-doc -->
1159
	 * <!-- end-user-doc -->
1160
	 * @generated
1161
	 */
852
	public EClass getEmptyType() {
1162
	public EClass getEmptyType() {
853
		return emptyTypeEClass;
1163
		return emptyTypeEClass;
854
	}
1164
	}
Lines 930-936 Link Here
930
	 * <!-- end-user-doc -->
1240
	 * <!-- end-user-doc -->
931
	 * @generated
1241
	 * @generated
932
	 */
1242
	 */
933
	public EAttribute getEnvEntry_Id() {
1243
	public EAttribute getEnvEntry_LookupName() {
934
		return (EAttribute)envEntryEClass.getEStructuralFeatures().get(6);
1244
		return (EAttribute)envEntryEClass.getEStructuralFeatures().get(6);
935
	}
1245
	}
936
1246
Lines 939-944 Link Here
939
	 * <!-- end-user-doc -->
1249
	 * <!-- end-user-doc -->
940
	 * @generated
1250
	 * @generated
941
	 */
1251
	 */
1252
	public EAttribute getEnvEntry_Id() {
1253
		return (EAttribute)envEntryEClass.getEStructuralFeatures().get(7);
1254
	}
1255
1256
	/**
1257
	 * <!-- begin-user-doc -->
1258
	 * <!-- end-user-doc -->
1259
	 * @generated
1260
	 */
942
	public EClass getIcon() {
1261
	public EClass getIcon() {
943
		return iconEClass;
1262
		return iconEClass;
944
	}
1263
	}
Lines 1227-1233 Link Here
1227
	 * <!-- end-user-doc -->
1546
	 * <!-- end-user-doc -->
1228
	 * @generated
1547
	 * @generated
1229
	 */
1548
	 */
1230
	public EAttribute getMessageDestinationRef_Id() {
1549
	public EAttribute getMessageDestinationRef_LookupName() {
1231
		return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(7);
1550
		return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(7);
1232
	}
1551
	}
1233
1552
Lines 1236-1241 Link Here
1236
	 * <!-- end-user-doc -->
1555
	 * <!-- end-user-doc -->
1237
	 * @generated
1556
	 * @generated
1238
	 */
1557
	 */
1558
	public EAttribute getMessageDestinationRef_Id() {
1559
		return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(8);
1560
	}
1561
1562
	/**
1563
	 * <!-- begin-user-doc -->
1564
	 * <!-- end-user-doc -->
1565
	 * @generated
1566
	 */
1239
	public EClass getParamValue() {
1567
	public EClass getParamValue() {
1240
		return paramValueEClass;
1568
		return paramValueEClass;
1241
	}
1569
	}
Lines 1353-1359 Link Here
1353
	 * <!-- end-user-doc -->
1681
	 * <!-- end-user-doc -->
1354
	 * @generated
1682
	 * @generated
1355
	 */
1683
	 */
1356
	public EAttribute getPersistenceContextRef_Id() {
1684
	public EAttribute getPersistenceContextRef_LookupName() {
1357
		return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(7);
1685
		return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(7);
1358
	}
1686
	}
1359
1687
Lines 1362-1367 Link Here
1362
	 * <!-- end-user-doc -->
1690
	 * <!-- end-user-doc -->
1363
	 * @generated
1691
	 * @generated
1364
	 */
1692
	 */
1693
	public EAttribute getPersistenceContextRef_Id() {
1694
		return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(8);
1695
	}
1696
1697
	/**
1698
	 * <!-- begin-user-doc -->
1699
	 * <!-- end-user-doc -->
1700
	 * @generated
1701
	 */
1365
	public EClass getPersistenceUnitRef() {
1702
	public EClass getPersistenceUnitRef() {
1366
		return persistenceUnitRefEClass;
1703
		return persistenceUnitRefEClass;
1367
	}
1704
	}
Lines 1416-1422 Link Here
1416
	 * <!-- end-user-doc -->
1753
	 * <!-- end-user-doc -->
1417
	 * @generated
1754
	 * @generated
1418
	 */
1755
	 */
1419
	public EAttribute getPersistenceUnitRef_Id() {
1756
	public EAttribute getPersistenceUnitRef_LookupName() {
1420
		return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(5);
1757
		return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(5);
1421
	}
1758
	}
1422
1759
Lines 1425-1430 Link Here
1425
	 * <!-- end-user-doc -->
1762
	 * <!-- end-user-doc -->
1426
	 * @generated
1763
	 * @generated
1427
	 */
1764
	 */
1765
	public EAttribute getPersistenceUnitRef_Id() {
1766
		return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(6);
1767
	}
1768
1769
	/**
1770
	 * <!-- begin-user-doc -->
1771
	 * <!-- end-user-doc -->
1772
	 * @generated
1773
	 */
1428
	public EClass getPortComponentRef() {
1774
	public EClass getPortComponentRef() {
1429
		return portComponentRefEClass;
1775
		return portComponentRefEClass;
1430
	}
1776
	}
Lines 1452-1458 Link Here
1452
	 * <!-- end-user-doc -->
1798
	 * <!-- end-user-doc -->
1453
	 * @generated
1799
	 * @generated
1454
	 */
1800
	 */
1455
	public EAttribute getPortComponentRef_PortComponentLink() {
1801
	public EAttribute getPortComponentRef_MtomThreshold() {
1456
		return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(2);
1802
		return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(2);
1457
	}
1803
	}
1458
1804
Lines 1461-1468 Link Here
1461
	 * <!-- end-user-doc -->
1807
	 * <!-- end-user-doc -->
1462
	 * @generated
1808
	 * @generated
1463
	 */
1809
	 */
1810
	public EReference getPortComponentRef_Addressing() {
1811
		return (EReference)portComponentRefEClass.getEStructuralFeatures().get(3);
1812
	}
1813
1814
	/**
1815
	 * <!-- begin-user-doc -->
1816
	 * <!-- end-user-doc -->
1817
	 * @generated
1818
	 */
1819
	public EReference getPortComponentRef_RespectBinding() {
1820
		return (EReference)portComponentRefEClass.getEStructuralFeatures().get(4);
1821
	}
1822
1823
	/**
1824
	 * <!-- begin-user-doc -->
1825
	 * <!-- end-user-doc -->
1826
	 * @generated
1827
	 */
1828
	public EAttribute getPortComponentRef_PortComponentLink() {
1829
		return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(5);
1830
	}
1831
1832
	/**
1833
	 * <!-- begin-user-doc -->
1834
	 * <!-- end-user-doc -->
1835
	 * @generated
1836
	 */
1464
	public EAttribute getPortComponentRef_Id() {
1837
	public EAttribute getPortComponentRef_Id() {
1465
		return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(3);
1838
		return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(6);
1466
	}
1839
	}
1467
1840
1468
	/**
1841
	/**
Lines 1560-1566 Link Here
1560
	 * <!-- end-user-doc -->
1933
	 * <!-- end-user-doc -->
1561
	 * @generated
1934
	 * @generated
1562
	 */
1935
	 */
1563
	public EAttribute getResourceEnvRef_Id() {
1936
	public EAttribute getResourceEnvRef_LookupName() {
1564
		return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(5);
1937
		return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(5);
1565
	}
1938
	}
1566
1939
Lines 1569-1574 Link Here
1569
	 * <!-- end-user-doc -->
1942
	 * <!-- end-user-doc -->
1570
	 * @generated
1943
	 * @generated
1571
	 */
1944
	 */
1945
	public EAttribute getResourceEnvRef_Id() {
1946
		return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(6);
1947
	}
1948
1949
	/**
1950
	 * <!-- begin-user-doc -->
1951
	 * <!-- end-user-doc -->
1952
	 * @generated
1953
	 */
1572
	public EClass getResourceRef() {
1954
	public EClass getResourceRef() {
1573
		return resourceRefEClass;
1955
		return resourceRefEClass;
1574
	}
1956
	}
Lines 1641-1647 Link Here
1641
	 * <!-- end-user-doc -->
2023
	 * <!-- end-user-doc -->
1642
	 * @generated
2024
	 * @generated
1643
	 */
2025
	 */
1644
	public EAttribute getResourceRef_Id() {
2026
	public EAttribute getResourceRef_LookupName() {
1645
		return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(7);
2027
		return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(7);
1646
	}
2028
	}
1647
2029
Lines 1650-1655 Link Here
1650
	 * <!-- end-user-doc -->
2032
	 * <!-- end-user-doc -->
1651
	 * @generated
2033
	 * @generated
1652
	 */
2034
	 */
2035
	public EAttribute getResourceRef_Id() {
2036
		return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(8);
2037
	}
2038
2039
	/**
2040
	 * <!-- begin-user-doc -->
2041
	 * <!-- end-user-doc -->
2042
	 * @generated
2043
	 */
2044
	public EClass getRespectBindingType() {
2045
		return respectBindingTypeEClass;
2046
	}
2047
2048
	/**
2049
	 * <!-- begin-user-doc -->
2050
	 * <!-- end-user-doc -->
2051
	 * @generated
2052
	 */
2053
	public EAttribute getRespectBindingType_Enabled() {
2054
		return (EAttribute)respectBindingTypeEClass.getEStructuralFeatures().get(0);
2055
	}
2056
2057
	/**
2058
	 * <!-- begin-user-doc -->
2059
	 * <!-- end-user-doc -->
2060
	 * @generated
2061
	 */
1653
	public EClass getRunAs() {
2062
	public EClass getRunAs() {
1654
		return runAsEClass;
2063
		return runAsEClass;
1655
	}
2064
	}
Lines 1902-1908 Link Here
1902
	 * <!-- end-user-doc -->
2311
	 * <!-- end-user-doc -->
1903
	 * @generated
2312
	 * @generated
1904
	 */
2313
	 */
1905
	public EAttribute getServiceRef_Id() {
2314
	public EAttribute getServiceRef_LookupName() {
1906
		return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(14);
2315
		return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(14);
1907
	}
2316
	}
1908
2317
Lines 1911-1916 Link Here
1911
	 * <!-- end-user-doc -->
2320
	 * <!-- end-user-doc -->
1912
	 * @generated
2321
	 * @generated
1913
	 */
2322
	 */
2323
	public EAttribute getServiceRef_Id() {
2324
		return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(15);
2325
	}
2326
2327
	/**
2328
	 * <!-- begin-user-doc -->
2329
	 * <!-- end-user-doc -->
2330
	 * @generated
2331
	 */
1914
	public EClass getServiceRefHandler() {
2332
	public EClass getServiceRefHandler() {
1915
		return serviceRefHandlerEClass;
2333
		return serviceRefHandlerEClass;
1916
	}
2334
	}
Lines 2109-2114 Link Here
2109
	 * <!-- end-user-doc -->
2527
	 * <!-- end-user-doc -->
2110
	 * @generated
2528
	 * @generated
2111
	 */
2529
	 */
2530
	public EEnum getAddressingResponsesType() {
2531
		return addressingResponsesTypeEEnum;
2532
	}
2533
2534
	/**
2535
	 * <!-- begin-user-doc -->
2536
	 * <!-- end-user-doc -->
2537
	 * @generated
2538
	 */
2112
	public EEnum getEjbRefType() {
2539
	public EEnum getEjbRefType() {
2113
		return ejbRefTypeEEnum;
2540
		return ejbRefTypeEEnum;
2114
	}
2541
	}
Lines 2118-2125 Link Here
2118
	 * <!-- end-user-doc -->
2545
	 * <!-- end-user-doc -->
2119
	 * @generated
2546
	 * @generated
2120
	 */
2547
	 */
2121
	public EEnum getEnvEntryType() {
2548
	public EEnum getGenericBooleanType() {
2122
		return envEntryTypeEEnum;
2549
		return genericBooleanTypeEEnum;
2550
	}
2551
2552
	/**
2553
	 * <!-- begin-user-doc -->
2554
	 * <!-- end-user-doc -->
2555
	 * @generated
2556
	 */
2557
	public EEnum getIsolationLevelType() {
2558
		return isolationLevelTypeEEnum;
2559
	}
2560
2561
	/**
2562
	 * <!-- begin-user-doc -->
2563
	 * <!-- end-user-doc -->
2564
	 * @generated
2565
	 */
2566
	public EDataType getEnvEntryType() {
2567
		return envEntryTypeEDataType;
2123
	}
2568
	}
2124
2569
2125
	/**
2570
	/**
Lines 2163-2168 Link Here
2163
	 * <!-- end-user-doc -->
2608
	 * <!-- end-user-doc -->
2164
	 * @generated
2609
	 * @generated
2165
	 */
2610
	 */
2611
	public EDataType getAddressingResponsesTypeObject() {
2612
		return addressingResponsesTypeObjectEDataType;
2613
	}
2614
2615
	/**
2616
	 * <!-- begin-user-doc -->
2617
	 * <!-- end-user-doc -->
2618
	 * @generated
2619
	 */
2166
	public EDataType getDeweyVersionType() {
2620
	public EDataType getDeweyVersionType() {
2167
		return deweyVersionTypeEDataType;
2621
		return deweyVersionTypeEDataType;
2168
	}
2622
	}
Lines 2199-2206 Link Here
2199
	 * <!-- end-user-doc -->
2653
	 * <!-- end-user-doc -->
2200
	 * @generated
2654
	 * @generated
2201
	 */
2655
	 */
2202
	public EDataType getEnvEntryTypeObject() {
2656
	public EDataType getFullyQualifiedClassType() {
2203
		return envEntryTypeObjectEDataType;
2657
		return fullyQualifiedClassTypeEDataType;
2204
	}
2658
	}
2205
2659
2206
	/**
2660
	/**
Lines 2208-2215 Link Here
2208
	 * <!-- end-user-doc -->
2662
	 * <!-- end-user-doc -->
2209
	 * @generated
2663
	 * @generated
2210
	 */
2664
	 */
2211
	public EDataType getFullyQualifiedClassType() {
2665
	public EDataType getGenericBooleanTypeObject() {
2212
		return fullyQualifiedClassTypeEDataType;
2666
		return genericBooleanTypeObjectEDataType;
2213
	}
2667
	}
2214
2668
2215
	/**
2669
	/**
Lines 2226-2231 Link Here
2226
	 * <!-- end-user-doc -->
2680
	 * <!-- end-user-doc -->
2227
	 * @generated
2681
	 * @generated
2228
	 */
2682
	 */
2683
	public EDataType getIsolationLevelTypeObject() {
2684
		return isolationLevelTypeObjectEDataType;
2685
	}
2686
2687
	/**
2688
	 * <!-- begin-user-doc -->
2689
	 * <!-- end-user-doc -->
2690
	 * @generated
2691
	 */
2229
	public EDataType getJavaIdentifier() {
2692
	public EDataType getJavaIdentifier() {
2230
		return javaIdentifierEDataType;
2693
		return javaIdentifierEDataType;
2231
	}
2694
	}
Lines 2244-2249 Link Here
2244
	 * <!-- end-user-doc -->
2707
	 * <!-- end-user-doc -->
2245
	 * @generated
2708
	 * @generated
2246
	 */
2709
	 */
2710
	public EDataType getJdbcUrlType() {
2711
		return jdbcUrlTypeEDataType;
2712
	}
2713
2714
	/**
2715
	 * <!-- begin-user-doc -->
2716
	 * <!-- end-user-doc -->
2717
	 * @generated
2718
	 */
2247
	public EDataType getJNDIName() {
2719
	public EDataType getJNDIName() {
2248
		return jndiNameEDataType;
2720
		return jndiNameEDataType;
2249
	}
2721
	}
Lines 2316-2323 Link Here
2316
	 * <!-- end-user-doc -->
2788
	 * <!-- end-user-doc -->
2317
	 * @generated
2789
	 * @generated
2318
	 */
2790
	 */
2319
	public EDataType getRemote() {
2791
	public EDataType getProtocolBindingListType() {
2320
		return remoteEDataType;
2792
		return protocolBindingListTypeEDataType;
2321
	}
2793
	}
2322
2794
2323
	/**
2795
	/**
Lines 2325-2332 Link Here
2325
	 * <!-- end-user-doc -->
2797
	 * <!-- end-user-doc -->
2326
	 * @generated
2798
	 * @generated
2327
	 */
2799
	 */
2328
	public EDataType getResAuthTypeObject() {
2800
	public EDataType getProtocolBindingType() {
2329
		return resAuthTypeObjectEDataType;
2801
		return protocolBindingTypeEDataType;
2330
	}
2802
	}
2331
2803
2332
	/**
2804
	/**
Lines 2334-2341 Link Here
2334
	 * <!-- end-user-doc -->
2806
	 * <!-- end-user-doc -->
2335
	 * @generated
2807
	 * @generated
2336
	 */
2808
	 */
2337
	public EDataType getResSharingScopeTypeObject() {
2809
	public EDataType getProtocolURIAliasType() {
2338
		return resSharingScopeTypeObjectEDataType;
2810
		return protocolURIAliasTypeEDataType;
2339
	}
2811
	}
2340
2812
2341
	/**
2813
	/**
Lines 2343-2350 Link Here
2343
	 * <!-- end-user-doc -->
2815
	 * <!-- end-user-doc -->
2344
	 * @generated
2816
	 * @generated
2345
	 */
2817
	 */
2346
	public EDataType getRoleName() {
2818
	public EDataType getQnamePattern() {
2347
		return roleNameEDataType;
2819
		return qnamePatternEDataType;
2348
	}
2820
	}
2349
2821
2350
	/**
2822
	/**
Lines 2352-2359 Link Here
2352
	 * <!-- end-user-doc -->
2824
	 * <!-- end-user-doc -->
2353
	 * @generated
2825
	 * @generated
2354
	 */
2826
	 */
2355
	public EDataType getServiceRefProtocolBindingListType() {
2827
	public EDataType getRemote() {
2356
		return serviceRefProtocolBindingListTypeEDataType;
2828
		return remoteEDataType;
2357
	}
2829
	}
2358
2830
2359
	/**
2831
	/**
Lines 2361-2368 Link Here
2361
	 * <!-- end-user-doc -->
2833
	 * <!-- end-user-doc -->
2362
	 * @generated
2834
	 * @generated
2363
	 */
2835
	 */
2364
	public EDataType getServiceRefProtocolBindingType() {
2836
	public EDataType getResAuthTypeObject() {
2365
		return serviceRefProtocolBindingTypeEDataType;
2837
		return resAuthTypeObjectEDataType;
2366
	}
2838
	}
2367
2839
2368
	/**
2840
	/**
Lines 2370-2377 Link Here
2370
	 * <!-- end-user-doc -->
2842
	 * <!-- end-user-doc -->
2371
	 * @generated
2843
	 * @generated
2372
	 */
2844
	 */
2373
	public EDataType getServiceRefProtocolURIAliasType() {
2845
	public EDataType getResSharingScopeTypeObject() {
2374
		return serviceRefProtocolURIAliasTypeEDataType;
2846
		return resSharingScopeTypeObjectEDataType;
2375
	}
2847
	}
2376
2848
2377
	/**
2849
	/**
Lines 2379-2386 Link Here
2379
	 * <!-- end-user-doc -->
2851
	 * <!-- end-user-doc -->
2380
	 * @generated
2852
	 * @generated
2381
	 */
2853
	 */
2382
	public EDataType getServiceRefQnamePattern() {
2854
	public EDataType getRoleName() {
2383
		return serviceRefQnamePatternEDataType;
2855
		return roleNameEDataType;
2384
	}
2856
	}
2385
2857
2386
	/**
2858
	/**
Lines 2429-2434 Link Here
2429
		isCreated = true;
2901
		isCreated = true;
2430
2902
2431
		// Create classes and their features
2903
		// Create classes and their features
2904
		addressingTypeEClass = createEClass(ADDRESSING_TYPE);
2905
		createEAttribute(addressingTypeEClass, ADDRESSING_TYPE__ENABLED);
2906
		createEAttribute(addressingTypeEClass, ADDRESSING_TYPE__REQUIRED);
2907
		createEAttribute(addressingTypeEClass, ADDRESSING_TYPE__RESPONSES);
2908
2909
		dataSourceTypeEClass = createEClass(DATA_SOURCE_TYPE);
2910
		createEReference(dataSourceTypeEClass, DATA_SOURCE_TYPE__DESCRIPTION);
2911
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__NAME);
2912
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__CLASS_NAME);
2913
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__SERVER_NAME);
2914
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__PORT_NUMBER);
2915
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__DATABASE_NAME);
2916
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__URL);
2917
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__USER);
2918
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__PASSWORD);
2919
		createEReference(dataSourceTypeEClass, DATA_SOURCE_TYPE__PROPERTY);
2920
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__LOGIN_TIMEOUT);
2921
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__TRANSACTIONAL);
2922
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__ISOLATION_LEVEL);
2923
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__INITIAL_POOL_SIZE);
2924
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MAX_POOL_SIZE);
2925
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MIN_POOL_SIZE);
2926
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MAX_IDLE_TIME);
2927
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MAX_STATEMENTS);
2928
		createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__ID);
2929
2432
		descriptionEClass = createEClass(DESCRIPTION);
2930
		descriptionEClass = createEClass(DESCRIPTION);
2433
		createEAttribute(descriptionEClass, DESCRIPTION__VALUE);
2931
		createEAttribute(descriptionEClass, DESCRIPTION__VALUE);
2434
		createEAttribute(descriptionEClass, DESCRIPTION__LANG);
2932
		createEAttribute(descriptionEClass, DESCRIPTION__LANG);
Lines 2446-2451 Link Here
2446
		createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__EJB_LINK);
2944
		createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__EJB_LINK);
2447
		createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__MAPPED_NAME);
2945
		createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__MAPPED_NAME);
2448
		createEReference(ejbLocalRefEClass, EJB_LOCAL_REF__INJECTION_TARGETS);
2946
		createEReference(ejbLocalRefEClass, EJB_LOCAL_REF__INJECTION_TARGETS);
2947
		createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__LOOKUP_NAME);
2449
		createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__ID);
2948
		createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__ID);
2450
2949
2451
		ejbRefEClass = createEClass(EJB_REF);
2950
		ejbRefEClass = createEClass(EJB_REF);
Lines 2457-2462 Link Here
2457
		createEAttribute(ejbRefEClass, EJB_REF__EJB_LINK);
2956
		createEAttribute(ejbRefEClass, EJB_REF__EJB_LINK);
2458
		createEAttribute(ejbRefEClass, EJB_REF__MAPPED_NAME);
2957
		createEAttribute(ejbRefEClass, EJB_REF__MAPPED_NAME);
2459
		createEReference(ejbRefEClass, EJB_REF__INJECTION_TARGETS);
2958
		createEReference(ejbRefEClass, EJB_REF__INJECTION_TARGETS);
2959
		createEAttribute(ejbRefEClass, EJB_REF__LOOKUP_NAME);
2460
		createEAttribute(ejbRefEClass, EJB_REF__ID);
2960
		createEAttribute(ejbRefEClass, EJB_REF__ID);
2461
2961
2462
		emptyTypeEClass = createEClass(EMPTY_TYPE);
2962
		emptyTypeEClass = createEClass(EMPTY_TYPE);
Lines 2469-2474 Link Here
2469
		createEAttribute(envEntryEClass, ENV_ENTRY__ENV_ENTRY_VALUE);
2969
		createEAttribute(envEntryEClass, ENV_ENTRY__ENV_ENTRY_VALUE);
2470
		createEAttribute(envEntryEClass, ENV_ENTRY__MAPPED_NAME);
2970
		createEAttribute(envEntryEClass, ENV_ENTRY__MAPPED_NAME);
2471
		createEReference(envEntryEClass, ENV_ENTRY__INJECTION_TARGETS);
2971
		createEReference(envEntryEClass, ENV_ENTRY__INJECTION_TARGETS);
2972
		createEAttribute(envEntryEClass, ENV_ENTRY__LOOKUP_NAME);
2472
		createEAttribute(envEntryEClass, ENV_ENTRY__ID);
2973
		createEAttribute(envEntryEClass, ENV_ENTRY__ID);
2473
2974
2474
		iconEClass = createEClass(ICON);
2975
		iconEClass = createEClass(ICON);
Lines 2508-2513 Link Here
2508
		createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK);
3009
		createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK);
2509
		createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MAPPED_NAME);
3010
		createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MAPPED_NAME);
2510
		createEReference(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__INJECTION_TARGETS);
3011
		createEReference(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__INJECTION_TARGETS);
3012
		createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__LOOKUP_NAME);
2511
		createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__ID);
3013
		createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__ID);
2512
3014
2513
		paramValueEClass = createEClass(PARAM_VALUE);
3015
		paramValueEClass = createEClass(PARAM_VALUE);
Lines 2524-2529 Link Here
2524
		createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES);
3026
		createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES);
2525
		createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__MAPPED_NAME);
3027
		createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__MAPPED_NAME);
2526
		createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS);
3028
		createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS);
3029
		createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__LOOKUP_NAME);
2527
		createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__ID);
3030
		createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__ID);
2528
3031
2529
		persistenceUnitRefEClass = createEClass(PERSISTENCE_UNIT_REF);
3032
		persistenceUnitRefEClass = createEClass(PERSISTENCE_UNIT_REF);
Lines 2532-2542 Link Here
2532
		createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME);
3035
		createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME);
2533
		createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__MAPPED_NAME);
3036
		createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__MAPPED_NAME);
2534
		createEReference(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__INJECTION_TARGETS);
3037
		createEReference(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__INJECTION_TARGETS);
3038
		createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__LOOKUP_NAME);
2535
		createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__ID);
3039
		createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__ID);
2536
3040
2537
		portComponentRefEClass = createEClass(PORT_COMPONENT_REF);
3041
		portComponentRefEClass = createEClass(PORT_COMPONENT_REF);
2538
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE);
3042
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE);
2539
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__ENABLE_MTOM);
3043
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__ENABLE_MTOM);
3044
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__MTOM_THRESHOLD);
3045
		createEReference(portComponentRefEClass, PORT_COMPONENT_REF__ADDRESSING);
3046
		createEReference(portComponentRefEClass, PORT_COMPONENT_REF__RESPECT_BINDING);
2540
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__PORT_COMPONENT_LINK);
3047
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__PORT_COMPONENT_LINK);
2541
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__ID);
3048
		createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__ID);
2542
3049
Lines 2551-2556 Link Here
2551
		createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE);
3058
		createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE);
2552
		createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__MAPPED_NAME);
3059
		createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__MAPPED_NAME);
2553
		createEReference(resourceEnvRefEClass, RESOURCE_ENV_REF__INJECTION_TARGETS);
3060
		createEReference(resourceEnvRefEClass, RESOURCE_ENV_REF__INJECTION_TARGETS);
3061
		createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__LOOKUP_NAME);
2554
		createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__ID);
3062
		createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__ID);
2555
3063
2556
		resourceRefEClass = createEClass(RESOURCE_REF);
3064
		resourceRefEClass = createEClass(RESOURCE_REF);
Lines 2561-2568 Link Here
2561
		createEAttribute(resourceRefEClass, RESOURCE_REF__RES_SHARING_SCOPE);
3069
		createEAttribute(resourceRefEClass, RESOURCE_REF__RES_SHARING_SCOPE);
2562
		createEAttribute(resourceRefEClass, RESOURCE_REF__MAPPED_NAME);
3070
		createEAttribute(resourceRefEClass, RESOURCE_REF__MAPPED_NAME);
2563
		createEReference(resourceRefEClass, RESOURCE_REF__INJECTION_TARGETS);
3071
		createEReference(resourceRefEClass, RESOURCE_REF__INJECTION_TARGETS);
3072
		createEAttribute(resourceRefEClass, RESOURCE_REF__LOOKUP_NAME);
2564
		createEAttribute(resourceRefEClass, RESOURCE_REF__ID);
3073
		createEAttribute(resourceRefEClass, RESOURCE_REF__ID);
2565
3074
3075
		respectBindingTypeEClass = createEClass(RESPECT_BINDING_TYPE);
3076
		createEAttribute(respectBindingTypeEClass, RESPECT_BINDING_TYPE__ENABLED);
3077
2566
		runAsEClass = createEClass(RUN_AS);
3078
		runAsEClass = createEClass(RUN_AS);
2567
		createEReference(runAsEClass, RUN_AS__DESCRIPTIONS);
3079
		createEReference(runAsEClass, RUN_AS__DESCRIPTIONS);
2568
		createEAttribute(runAsEClass, RUN_AS__ROLE_NAME);
3080
		createEAttribute(runAsEClass, RUN_AS__ROLE_NAME);
Lines 2594-2599 Link Here
2594
		createEReference(serviceRefEClass, SERVICE_REF__HANDLER_CHAINS);
3106
		createEReference(serviceRefEClass, SERVICE_REF__HANDLER_CHAINS);
2595
		createEAttribute(serviceRefEClass, SERVICE_REF__MAPPED_NAME);
3107
		createEAttribute(serviceRefEClass, SERVICE_REF__MAPPED_NAME);
2596
		createEReference(serviceRefEClass, SERVICE_REF__INJECTION_TARGETS);
3108
		createEReference(serviceRefEClass, SERVICE_REF__INJECTION_TARGETS);
3109
		createEAttribute(serviceRefEClass, SERVICE_REF__LOOKUP_NAME);
2597
		createEAttribute(serviceRefEClass, SERVICE_REF__ID);
3110
		createEAttribute(serviceRefEClass, SERVICE_REF__ID);
2598
3111
2599
		serviceRefHandlerEClass = createEClass(SERVICE_REF_HANDLER);
3112
		serviceRefHandlerEClass = createEClass(SERVICE_REF_HANDLER);
Lines 2623-2645 Link Here
2623
		createEAttribute(urlPatternTypeEClass, URL_PATTERN_TYPE__VALUE);
3136
		createEAttribute(urlPatternTypeEClass, URL_PATTERN_TYPE__VALUE);
2624
3137
2625
		// Create enums
3138
		// Create enums
3139
		addressingResponsesTypeEEnum = createEEnum(ADDRESSING_RESPONSES_TYPE);
2626
		ejbRefTypeEEnum = createEEnum(EJB_REF_TYPE);
3140
		ejbRefTypeEEnum = createEEnum(EJB_REF_TYPE);
2627
		envEntryTypeEEnum = createEEnum(ENV_ENTRY_TYPE);
3141
		genericBooleanTypeEEnum = createEEnum(GENERIC_BOOLEAN_TYPE);
3142
		isolationLevelTypeEEnum = createEEnum(ISOLATION_LEVEL_TYPE);
2628
		messageDestinationUsageTypeEEnum = createEEnum(MESSAGE_DESTINATION_USAGE_TYPE);
3143
		messageDestinationUsageTypeEEnum = createEEnum(MESSAGE_DESTINATION_USAGE_TYPE);
2629
		persistenceContextTypeEEnum = createEEnum(PERSISTENCE_CONTEXT_TYPE);
3144
		persistenceContextTypeEEnum = createEEnum(PERSISTENCE_CONTEXT_TYPE);
2630
		resAuthTypeEEnum = createEEnum(RES_AUTH_TYPE);
3145
		resAuthTypeEEnum = createEEnum(RES_AUTH_TYPE);
2631
		resSharingScopeTypeEEnum = createEEnum(RES_SHARING_SCOPE_TYPE);
3146
		resSharingScopeTypeEEnum = createEEnum(RES_SHARING_SCOPE_TYPE);
2632
3147
2633
		// Create data types
3148
		// Create data types
3149
		addressingResponsesTypeObjectEDataType = createEDataType(ADDRESSING_RESPONSES_TYPE_OBJECT);
2634
		deweyVersionTypeEDataType = createEDataType(DEWEY_VERSION_TYPE);
3150
		deweyVersionTypeEDataType = createEDataType(DEWEY_VERSION_TYPE);
2635
		ejbLinkEDataType = createEDataType(EJB_LINK);
3151
		ejbLinkEDataType = createEDataType(EJB_LINK);
2636
		ejbRefNameTypeEDataType = createEDataType(EJB_REF_NAME_TYPE);
3152
		ejbRefNameTypeEDataType = createEDataType(EJB_REF_NAME_TYPE);
2637
		ejbRefTypeObjectEDataType = createEDataType(EJB_REF_TYPE_OBJECT);
3153
		ejbRefTypeObjectEDataType = createEDataType(EJB_REF_TYPE_OBJECT);
2638
		envEntryTypeObjectEDataType = createEDataType(ENV_ENTRY_TYPE_OBJECT);
3154
		envEntryTypeEDataType = createEDataType(ENV_ENTRY_TYPE);
2639
		fullyQualifiedClassTypeEDataType = createEDataType(FULLY_QUALIFIED_CLASS_TYPE);
3155
		fullyQualifiedClassTypeEDataType = createEDataType(FULLY_QUALIFIED_CLASS_TYPE);
3156
		genericBooleanTypeObjectEDataType = createEDataType(GENERIC_BOOLEAN_TYPE_OBJECT);
2640
		homeEDataType = createEDataType(HOME);
3157
		homeEDataType = createEDataType(HOME);
3158
		isolationLevelTypeObjectEDataType = createEDataType(ISOLATION_LEVEL_TYPE_OBJECT);
2641
		javaIdentifierEDataType = createEDataType(JAVA_IDENTIFIER);
3159
		javaIdentifierEDataType = createEDataType(JAVA_IDENTIFIER);
2642
		javaTypeEDataType = createEDataType(JAVA_TYPE);
3160
		javaTypeEDataType = createEDataType(JAVA_TYPE);
3161
		jdbcUrlTypeEDataType = createEDataType(JDBC_URL_TYPE);
2643
		jndiNameEDataType = createEDataType(JNDI_NAME);
3162
		jndiNameEDataType = createEDataType(JNDI_NAME);
2644
		localEDataType = createEDataType(LOCAL);
3163
		localEDataType = createEDataType(LOCAL);
2645
		localHomeEDataType = createEDataType(LOCAL_HOME);
3164
		localHomeEDataType = createEDataType(LOCAL_HOME);
Lines 2648-2661 Link Here
2648
		messageDestinationUsageTypeObjectEDataType = createEDataType(MESSAGE_DESTINATION_USAGE_TYPE_OBJECT);
3167
		messageDestinationUsageTypeObjectEDataType = createEDataType(MESSAGE_DESTINATION_USAGE_TYPE_OBJECT);
2649
		pathTypeEDataType = createEDataType(PATH_TYPE);
3168
		pathTypeEDataType = createEDataType(PATH_TYPE);
2650
		persistenceContextTypeObjectEDataType = createEDataType(PERSISTENCE_CONTEXT_TYPE_OBJECT);
3169
		persistenceContextTypeObjectEDataType = createEDataType(PERSISTENCE_CONTEXT_TYPE_OBJECT);
3170
		protocolBindingListTypeEDataType = createEDataType(PROTOCOL_BINDING_LIST_TYPE);
3171
		protocolBindingTypeEDataType = createEDataType(PROTOCOL_BINDING_TYPE);
3172
		protocolURIAliasTypeEDataType = createEDataType(PROTOCOL_URI_ALIAS_TYPE);
3173
		qnamePatternEDataType = createEDataType(QNAME_PATTERN);
2651
		remoteEDataType = createEDataType(REMOTE);
3174
		remoteEDataType = createEDataType(REMOTE);
2652
		resAuthTypeObjectEDataType = createEDataType(RES_AUTH_TYPE_OBJECT);
3175
		resAuthTypeObjectEDataType = createEDataType(RES_AUTH_TYPE_OBJECT);
2653
		resSharingScopeTypeObjectEDataType = createEDataType(RES_SHARING_SCOPE_TYPE_OBJECT);
3176
		resSharingScopeTypeObjectEDataType = createEDataType(RES_SHARING_SCOPE_TYPE_OBJECT);
2654
		roleNameEDataType = createEDataType(ROLE_NAME);
3177
		roleNameEDataType = createEDataType(ROLE_NAME);
2655
		serviceRefProtocolBindingListTypeEDataType = createEDataType(SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE);
2656
		serviceRefProtocolBindingTypeEDataType = createEDataType(SERVICE_REF_PROTOCOL_BINDING_TYPE);
2657
		serviceRefProtocolURIAliasTypeEDataType = createEDataType(SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE);
2658
		serviceRefQnamePatternEDataType = createEDataType(SERVICE_REF_QNAME_PATTERN);
2659
		trueFalseTypeEDataType = createEDataType(TRUE_FALSE_TYPE);
3178
		trueFalseTypeEDataType = createEDataType(TRUE_FALSE_TYPE);
2660
		trueFalseTypeObjectEDataType = createEDataType(TRUE_FALSE_TYPE_OBJECT);
3179
		trueFalseTypeObjectEDataType = createEDataType(TRUE_FALSE_TYPE_OBJECT);
2661
	}
3180
	}
Lines 2687-2903 Link Here
2687
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
3206
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
2688
		XMLNamespacePackage theXMLNamespacePackage = (XMLNamespacePackage)EPackage.Registry.INSTANCE.getEPackage(XMLNamespacePackage.eNS_URI);
3207
		XMLNamespacePackage theXMLNamespacePackage = (XMLNamespacePackage)EPackage.Registry.INSTANCE.getEPackage(XMLNamespacePackage.eNS_URI);
2689
3208
3209
		// Create type parameters
3210
3211
		// Set bounds for type parameters
3212
2690
		// Add supertypes to classes
3213
		// Add supertypes to classes
2691
3214
2692
		// Initialize classes and features; add operations and parameters
3215
		// Initialize classes and features; add operations and parameters
3216
		initEClass(addressingTypeEClass, AddressingType.class, "AddressingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3217
		initEAttribute(getAddressingType_Enabled(), this.getTrueFalseType(), "enabled", null, 0, 1, AddressingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3218
		initEAttribute(getAddressingType_Required(), this.getTrueFalseType(), "required", null, 0, 1, AddressingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3219
		initEAttribute(getAddressingType_Responses(), this.getAddressingResponsesType(), "responses", null, 0, 1, AddressingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3220
3221
		initEClass(dataSourceTypeEClass, DataSourceType.class, "DataSourceType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3222
		initEReference(getDataSourceType_Description(), this.getDescription(), null, "description", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3223
		initEAttribute(getDataSourceType_Name(), this.getJNDIName(), "name", null, 1, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3224
		initEAttribute(getDataSourceType_ClassName(), this.getFullyQualifiedClassType(), "className", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3225
		initEAttribute(getDataSourceType_ServerName(), theXMLTypePackage.getString(), "serverName", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3226
		initEAttribute(getDataSourceType_PortNumber(), theXMLTypePackage.getInteger(), "portNumber", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3227
		initEAttribute(getDataSourceType_DatabaseName(), theXMLTypePackage.getString(), "databaseName", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3228
		initEAttribute(getDataSourceType_Url(), this.getJdbcUrlType(), "url", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3229
		initEAttribute(getDataSourceType_User(), theXMLTypePackage.getString(), "user", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3230
		initEAttribute(getDataSourceType_Password(), theXMLTypePackage.getString(), "password", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3231
		initEReference(getDataSourceType_Property(), this.getPropertyType(), null, "property", null, 0, -1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3232
		initEAttribute(getDataSourceType_LoginTimeout(), theXMLTypePackage.getInteger(), "loginTimeout", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3233
		initEAttribute(getDataSourceType_Transactional(), theXMLTypePackage.getBoolean(), "transactional", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3234
		initEAttribute(getDataSourceType_IsolationLevel(), this.getIsolationLevelType(), "isolationLevel", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3235
		initEAttribute(getDataSourceType_InitialPoolSize(), theXMLTypePackage.getInteger(), "initialPoolSize", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3236
		initEAttribute(getDataSourceType_MaxPoolSize(), theXMLTypePackage.getInteger(), "maxPoolSize", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3237
		initEAttribute(getDataSourceType_MinPoolSize(), theXMLTypePackage.getInteger(), "minPoolSize", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3238
		initEAttribute(getDataSourceType_MaxIdleTime(), theXMLTypePackage.getInteger(), "maxIdleTime", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3239
		initEAttribute(getDataSourceType_MaxStatements(), theXMLTypePackage.getInteger(), "maxStatements", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3240
		initEAttribute(getDataSourceType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3241
2693
		initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3242
		initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2694
		initEAttribute(getDescription_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3243
		initEAttribute(getDescription_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2695
		initEAttribute(getDescription_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3244
		initEAttribute(getDescription_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2696
3245
2697
		initEClass(displayNameEClass, DisplayName.class, "DisplayName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3246
		initEClass(displayNameEClass, DisplayName.class, "DisplayName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2698
		initEAttribute(getDisplayName_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, DisplayName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3247
		initEAttribute(getDisplayName_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, DisplayName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2699
		initEAttribute(getDisplayName_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, DisplayName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3248
		initEAttribute(getDisplayName_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, DisplayName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2700
3249
2701
		initEClass(ejbLocalRefEClass, EjbLocalRef.class, "EjbLocalRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3250
		initEClass(ejbLocalRefEClass, EjbLocalRef.class, "EjbLocalRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2702
		initEReference(getEjbLocalRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3251
		initEReference(getEjbLocalRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2703
		initEAttribute(getEjbLocalRef_EjbRefName(), this.getEjbRefNameType(), "ejbRefName", null, 1, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3252
		initEAttribute(getEjbLocalRef_EjbRefName(), this.getEjbRefNameType(), "ejbRefName", null, 1, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2704
		initEAttribute(getEjbLocalRef_EjbRefType(), this.getEjbRefType(), "ejbRefType", "Entity", 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
3253
		initEAttribute(getEjbLocalRef_EjbRefType(), this.getEjbRefType(), "ejbRefType", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2705
		initEAttribute(getEjbLocalRef_LocalHome(), this.getLocalHome(), "localHome", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3254
		initEAttribute(getEjbLocalRef_LocalHome(), this.getLocalHome(), "localHome", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2706
		initEAttribute(getEjbLocalRef_Local(), this.getLocal(), "local", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3255
		initEAttribute(getEjbLocalRef_Local(), this.getLocal(), "local", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2707
		initEAttribute(getEjbLocalRef_EjbLink(), this.getEJBLink(), "ejbLink", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3256
		initEAttribute(getEjbLocalRef_EjbLink(), this.getEJBLink(), "ejbLink", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2708
		initEAttribute(getEjbLocalRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3257
		initEAttribute(getEjbLocalRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2709
		initEReference(getEjbLocalRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3258
		initEReference(getEjbLocalRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2710
		initEAttribute(getEjbLocalRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3259
		initEAttribute(getEjbLocalRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3260
		initEAttribute(getEjbLocalRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2711
3261
2712
		initEClass(ejbRefEClass, EjbRef.class, "EjbRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3262
		initEClass(ejbRefEClass, EjbRef.class, "EjbRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2713
		initEReference(getEjbRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3263
		initEReference(getEjbRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2714
		initEAttribute(getEjbRef_EjbRefName(), this.getEjbRefNameType(), "ejbRefName", null, 1, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3264
		initEAttribute(getEjbRef_EjbRefName(), this.getEjbRefNameType(), "ejbRefName", null, 1, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2715
		initEAttribute(getEjbRef_EjbRefType(), this.getEjbRefType(), "ejbRefType", "Entity", 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
3265
		initEAttribute(getEjbRef_EjbRefType(), this.getEjbRefType(), "ejbRefType", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2716
		initEAttribute(getEjbRef_Home(), this.getHome(), "home", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3266
		initEAttribute(getEjbRef_Home(), this.getHome(), "home", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2717
		initEAttribute(getEjbRef_Remote(), this.getRemote(), "remote", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3267
		initEAttribute(getEjbRef_Remote(), this.getRemote(), "remote", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2718
		initEAttribute(getEjbRef_EjbLink(), this.getEJBLink(), "ejbLink", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3268
		initEAttribute(getEjbRef_EjbLink(), this.getEJBLink(), "ejbLink", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2719
		initEAttribute(getEjbRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3269
		initEAttribute(getEjbRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2720
		initEReference(getEjbRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3270
		initEReference(getEjbRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2721
		initEAttribute(getEjbRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3271
		initEAttribute(getEjbRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3272
		initEAttribute(getEjbRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2722
3273
2723
		initEClass(emptyTypeEClass, EmptyType.class, "EmptyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3274
		initEClass(emptyTypeEClass, EmptyType.class, "EmptyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2724
		initEAttribute(getEmptyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EmptyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3275
		initEAttribute(getEmptyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EmptyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2725
3276
2726
		initEClass(envEntryEClass, EnvEntry.class, "EnvEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3277
		initEClass(envEntryEClass, EnvEntry.class, "EnvEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2727
		initEReference(getEnvEntry_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3278
		initEReference(getEnvEntry_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2728
		initEAttribute(getEnvEntry_EnvEntryName(), this.getJNDIName(), "envEntryName", null, 1, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3279
		initEAttribute(getEnvEntry_EnvEntryName(), this.getJNDIName(), "envEntryName", null, 1, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2729
		initEAttribute(getEnvEntry_EnvEntryType(), this.getEnvEntryType(), "envEntryType", "java.lang.Boolean", 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
3280
		initEAttribute(getEnvEntry_EnvEntryType(), this.getEnvEntryType(), "envEntryType", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2730
		initEAttribute(getEnvEntry_EnvEntryValue(), theXMLTypePackage.getString(), "envEntryValue", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3281
		initEAttribute(getEnvEntry_EnvEntryValue(), theXMLTypePackage.getString(), "envEntryValue", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2731
		initEAttribute(getEnvEntry_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3282
		initEAttribute(getEnvEntry_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2732
		initEReference(getEnvEntry_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3283
		initEReference(getEnvEntry_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2733
		initEAttribute(getEnvEntry_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3284
		initEAttribute(getEnvEntry_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3285
		initEAttribute(getEnvEntry_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2734
3286
2735
		initEClass(iconEClass, Icon.class, "Icon", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3287
		initEClass(iconEClass, Icon.class, "Icon", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2736
		initEAttribute(getIcon_SmallIcon(), this.getPathType(), "smallIcon", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3288
		initEAttribute(getIcon_SmallIcon(), this.getPathType(), "smallIcon", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2737
		initEAttribute(getIcon_LargeIcon(), this.getPathType(), "largeIcon", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3289
		initEAttribute(getIcon_LargeIcon(), this.getPathType(), "largeIcon", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2738
		initEAttribute(getIcon_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3290
		initEAttribute(getIcon_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2739
		initEAttribute(getIcon_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3291
		initEAttribute(getIcon_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2740
3292
2741
		initEClass(injectionTargetEClass, InjectionTarget.class, "InjectionTarget", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3293
		initEClass(injectionTargetEClass, InjectionTarget.class, "InjectionTarget", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2742
		initEAttribute(getInjectionTarget_InjectionTargetClass(), this.getFullyQualifiedClassType(), "injectionTargetClass", null, 1, 1, InjectionTarget.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3294
		initEAttribute(getInjectionTarget_InjectionTargetClass(), this.getFullyQualifiedClassType(), "injectionTargetClass", null, 1, 1, InjectionTarget.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2743
		initEAttribute(getInjectionTarget_InjectionTargetName(), this.getJavaIdentifier(), "injectionTargetName", null, 1, 1, InjectionTarget.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3295
		initEAttribute(getInjectionTarget_InjectionTargetName(), this.getJavaIdentifier(), "injectionTargetName", null, 1, 1, InjectionTarget.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2744
3296
2745
		initEClass(lifecycleCallbackEClass, LifecycleCallback.class, "LifecycleCallback", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3297
		initEClass(lifecycleCallbackEClass, LifecycleCallback.class, "LifecycleCallback", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2746
		initEAttribute(getLifecycleCallback_LifecycleCallbackClass(), this.getFullyQualifiedClassType(), "lifecycleCallbackClass", null, 0, 1, LifecycleCallback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3298
		initEAttribute(getLifecycleCallback_LifecycleCallbackClass(), this.getFullyQualifiedClassType(), "lifecycleCallbackClass", null, 0, 1, LifecycleCallback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2747
		initEAttribute(getLifecycleCallback_LifecycleCallbackMethod(), this.getJavaIdentifier(), "lifecycleCallbackMethod", null, 1, 1, LifecycleCallback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3299
		initEAttribute(getLifecycleCallback_LifecycleCallbackMethod(), this.getJavaIdentifier(), "lifecycleCallbackMethod", null, 1, 1, LifecycleCallback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2748
3300
2749
		initEClass(listenerEClass, Listener.class, "Listener", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3301
		initEClass(listenerEClass, Listener.class, "Listener", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2750
		initEReference(getListener_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3302
		initEReference(getListener_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2751
		initEReference(getListener_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3303
		initEReference(getListener_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2752
		initEReference(getListener_Icons(), this.getIcon(), null, "icons", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3304
		initEReference(getListener_Icons(), this.getIcon(), null, "icons", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2753
		initEAttribute(getListener_ListenerClass(), this.getFullyQualifiedClassType(), "listenerClass", null, 1, 1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3305
		initEAttribute(getListener_ListenerClass(), this.getFullyQualifiedClassType(), "listenerClass", null, 1, 1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2754
		initEAttribute(getListener_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3306
		initEAttribute(getListener_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2755
3307
2756
		initEClass(messageDestinationEClass, MessageDestination.class, "MessageDestination", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3308
		initEClass(messageDestinationEClass, MessageDestination.class, "MessageDestination", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2757
		initEReference(getMessageDestination_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3309
		initEReference(getMessageDestination_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2758
		initEReference(getMessageDestination_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3310
		initEReference(getMessageDestination_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2759
		initEReference(getMessageDestination_Icons(), this.getIcon(), null, "icons", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3311
		initEReference(getMessageDestination_Icons(), this.getIcon(), null, "icons", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2760
		initEAttribute(getMessageDestination_MessageDestinationName(), theXMLTypePackage.getToken(), "messageDestinationName", null, 1, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3312
		initEAttribute(getMessageDestination_MessageDestinationName(), theXMLTypePackage.getToken(), "messageDestinationName", null, 1, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2761
		initEAttribute(getMessageDestination_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3313
		initEAttribute(getMessageDestination_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2762
		initEAttribute(getMessageDestination_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3314
		initEAttribute(getMessageDestination_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2763
3315
2764
		initEClass(messageDestinationRefEClass, MessageDestinationRef.class, "MessageDestinationRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3316
		initEClass(messageDestinationRefEClass, MessageDestinationRef.class, "MessageDestinationRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2765
		initEReference(getMessageDestinationRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3317
		initEReference(getMessageDestinationRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2766
		initEAttribute(getMessageDestinationRef_MessageDestinationRefName(), this.getJNDIName(), "messageDestinationRefName", null, 1, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3318
		initEAttribute(getMessageDestinationRef_MessageDestinationRefName(), this.getJNDIName(), "messageDestinationRefName", null, 1, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2767
		initEAttribute(getMessageDestinationRef_MessageDestinationType(), this.getMessageDestinationTypeType(), "messageDestinationType", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3319
		initEAttribute(getMessageDestinationRef_MessageDestinationType(), this.getMessageDestinationTypeType(), "messageDestinationType", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2768
		initEAttribute(getMessageDestinationRef_MessageDestinationUsage(), this.getMessageDestinationUsageType(), "messageDestinationUsage", "Consumes", 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
3320
		initEAttribute(getMessageDestinationRef_MessageDestinationUsage(), this.getMessageDestinationUsageType(), "messageDestinationUsage", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2769
		initEAttribute(getMessageDestinationRef_MessageDestinationLink(), this.getMessageDestinationLink(), "messageDestinationLink", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3321
		initEAttribute(getMessageDestinationRef_MessageDestinationLink(), this.getMessageDestinationLink(), "messageDestinationLink", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2770
		initEAttribute(getMessageDestinationRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3322
		initEAttribute(getMessageDestinationRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2771
		initEReference(getMessageDestinationRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3323
		initEReference(getMessageDestinationRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2772
		initEAttribute(getMessageDestinationRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3324
		initEAttribute(getMessageDestinationRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3325
		initEAttribute(getMessageDestinationRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2773
3326
2774
		initEClass(paramValueEClass, ParamValue.class, "ParamValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3327
		initEClass(paramValueEClass, ParamValue.class, "ParamValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2775
		initEReference(getParamValue_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3328
		initEReference(getParamValue_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2776
		initEAttribute(getParamValue_ParamName(), theXMLTypePackage.getToken(), "paramName", null, 1, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3329
		initEAttribute(getParamValue_ParamName(), theXMLTypePackage.getToken(), "paramName", null, 1, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2777
		initEAttribute(getParamValue_ParamValue(), theXMLTypePackage.getString(), "paramValue", null, 1, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3330
		initEAttribute(getParamValue_ParamValue(), theXMLTypePackage.getString(), "paramValue", null, 1, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2778
		initEAttribute(getParamValue_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3331
		initEAttribute(getParamValue_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2779
3332
2780
		initEClass(persistenceContextRefEClass, PersistenceContextRef.class, "PersistenceContextRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3333
		initEClass(persistenceContextRefEClass, PersistenceContextRef.class, "PersistenceContextRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2781
		initEReference(getPersistenceContextRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3334
		initEReference(getPersistenceContextRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2782
		initEAttribute(getPersistenceContextRef_PersistenceContextRefName(), this.getJNDIName(), "persistenceContextRefName", null, 1, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3335
		initEAttribute(getPersistenceContextRef_PersistenceContextRefName(), this.getJNDIName(), "persistenceContextRefName", null, 1, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2783
		initEAttribute(getPersistenceContextRef_PersistenceUnitName(), theXMLTypePackage.getToken(), "persistenceUnitName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3336
		initEAttribute(getPersistenceContextRef_PersistenceUnitName(), theXMLTypePackage.getToken(), "persistenceUnitName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2784
		initEAttribute(getPersistenceContextRef_PersistenceContextType(), this.getPersistenceContextType(), "persistenceContextType", "Transaction", 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
3337
		initEAttribute(getPersistenceContextRef_PersistenceContextType(), this.getPersistenceContextType(), "persistenceContextType", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2785
		initEReference(getPersistenceContextRef_PersistenceProperties(), this.getPropertyType(), null, "persistenceProperties", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3338
		initEReference(getPersistenceContextRef_PersistenceProperties(), this.getPropertyType(), null, "persistenceProperties", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2786
		initEAttribute(getPersistenceContextRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3339
		initEAttribute(getPersistenceContextRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2787
		initEReference(getPersistenceContextRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3340
		initEReference(getPersistenceContextRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2788
		initEAttribute(getPersistenceContextRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3341
		initEAttribute(getPersistenceContextRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3342
		initEAttribute(getPersistenceContextRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2789
3343
2790
		initEClass(persistenceUnitRefEClass, PersistenceUnitRef.class, "PersistenceUnitRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3344
		initEClass(persistenceUnitRefEClass, PersistenceUnitRef.class, "PersistenceUnitRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2791
		initEReference(getPersistenceUnitRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3345
		initEReference(getPersistenceUnitRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2792
		initEAttribute(getPersistenceUnitRef_PersistenceUnitRefName(), this.getJNDIName(), "persistenceUnitRefName", null, 1, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3346
		initEAttribute(getPersistenceUnitRef_PersistenceUnitRefName(), this.getJNDIName(), "persistenceUnitRefName", null, 1, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2793
		initEAttribute(getPersistenceUnitRef_PersistenceUnitName(), theXMLTypePackage.getToken(), "persistenceUnitName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3347
		initEAttribute(getPersistenceUnitRef_PersistenceUnitName(), theXMLTypePackage.getToken(), "persistenceUnitName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2794
		initEAttribute(getPersistenceUnitRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3348
		initEAttribute(getPersistenceUnitRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2795
		initEReference(getPersistenceUnitRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3349
		initEReference(getPersistenceUnitRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2796
		initEAttribute(getPersistenceUnitRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3350
		initEAttribute(getPersistenceUnitRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3351
		initEAttribute(getPersistenceUnitRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2797
3352
2798
		initEClass(portComponentRefEClass, PortComponentRef.class, "PortComponentRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3353
		initEClass(portComponentRefEClass, PortComponentRef.class, "PortComponentRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2799
		initEAttribute(getPortComponentRef_ServiceEndpointInterface(), this.getFullyQualifiedClassType(), "serviceEndpointInterface", null, 1, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3354
		initEAttribute(getPortComponentRef_ServiceEndpointInterface(), this.getFullyQualifiedClassType(), "serviceEndpointInterface", null, 1, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2800
		initEAttribute(getPortComponentRef_EnableMtom(), this.getTrueFalseType(), "enableMtom", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3355
		initEAttribute(getPortComponentRef_EnableMtom(), this.getTrueFalseType(), "enableMtom", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2801
		initEAttribute(getPortComponentRef_PortComponentLink(), theXMLTypePackage.getToken(), "portComponentLink", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3356
		initEAttribute(getPortComponentRef_MtomThreshold(), theXMLTypePackage.getNonNegativeInteger(), "mtomThreshold", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2802
		initEAttribute(getPortComponentRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3357
		initEReference(getPortComponentRef_Addressing(), this.getAddressingType(), null, "addressing", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3358
		initEReference(getPortComponentRef_RespectBinding(), this.getRespectBindingType(), null, "respectBinding", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3359
		initEAttribute(getPortComponentRef_PortComponentLink(), theXMLTypePackage.getToken(), "portComponentLink", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3360
		initEAttribute(getPortComponentRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2803
3361
2804
		initEClass(propertyTypeEClass, PropertyType.class, "PropertyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3362
		initEClass(propertyTypeEClass, PropertyType.class, "PropertyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2805
		initEAttribute(getPropertyType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3363
		initEAttribute(getPropertyType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2806
		initEAttribute(getPropertyType_Value(), theXMLTypePackage.getString(), "value", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3364
		initEAttribute(getPropertyType_Value(), theXMLTypePackage.getString(), "value", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2807
		initEAttribute(getPropertyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3365
		initEAttribute(getPropertyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2808
3366
2809
		initEClass(resourceEnvRefEClass, ResourceEnvRef.class, "ResourceEnvRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3367
		initEClass(resourceEnvRefEClass, ResourceEnvRef.class, "ResourceEnvRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2810
		initEReference(getResourceEnvRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3368
		initEReference(getResourceEnvRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2811
		initEAttribute(getResourceEnvRef_ResourceEnvRefName(), this.getJNDIName(), "resourceEnvRefName", null, 1, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3369
		initEAttribute(getResourceEnvRef_ResourceEnvRefName(), this.getJNDIName(), "resourceEnvRefName", null, 1, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2812
		initEAttribute(getResourceEnvRef_ResourceEnvRefType(), this.getFullyQualifiedClassType(), "resourceEnvRefType", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3370
		initEAttribute(getResourceEnvRef_ResourceEnvRefType(), this.getFullyQualifiedClassType(), "resourceEnvRefType", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2813
		initEAttribute(getResourceEnvRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3371
		initEAttribute(getResourceEnvRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2814
		initEReference(getResourceEnvRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3372
		initEReference(getResourceEnvRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2815
		initEAttribute(getResourceEnvRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3373
		initEAttribute(getResourceEnvRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3374
		initEAttribute(getResourceEnvRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2816
3375
2817
		initEClass(resourceRefEClass, ResourceRef.class, "ResourceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3376
		initEClass(resourceRefEClass, ResourceRef.class, "ResourceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2818
		initEReference(getResourceRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3377
		initEReference(getResourceRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2819
		initEAttribute(getResourceRef_ResRefName(), this.getJNDIName(), "resRefName", null, 1, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3378
		initEAttribute(getResourceRef_ResRefName(), this.getJNDIName(), "resRefName", null, 1, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2820
		initEAttribute(getResourceRef_ResType(), this.getFullyQualifiedClassType(), "resType", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3379
		initEAttribute(getResourceRef_ResType(), this.getFullyQualifiedClassType(), "resType", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2821
		initEAttribute(getResourceRef_ResAuth(), this.getResAuthType(), "resAuth", "Application", 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
3380
		initEAttribute(getResourceRef_ResAuth(), this.getResAuthType(), "resAuth", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2822
		initEAttribute(getResourceRef_ResSharingScope(), this.getResSharingScopeType(), "resSharingScope", "Shareable", 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
3381
		initEAttribute(getResourceRef_ResSharingScope(), this.getResSharingScopeType(), "resSharingScope", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2823
		initEAttribute(getResourceRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3382
		initEAttribute(getResourceRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2824
		initEReference(getResourceRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3383
		initEReference(getResourceRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2825
		initEAttribute(getResourceRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3384
		initEAttribute(getResourceRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3385
		initEAttribute(getResourceRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3386
3387
		initEClass(respectBindingTypeEClass, RespectBindingType.class, "RespectBindingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3388
		initEAttribute(getRespectBindingType_Enabled(), this.getTrueFalseType(), "enabled", null, 0, 1, RespectBindingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2826
3389
2827
		initEClass(runAsEClass, RunAs.class, "RunAs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3390
		initEClass(runAsEClass, RunAs.class, "RunAs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2828
		initEReference(getRunAs_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3391
		initEReference(getRunAs_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2829
		initEAttribute(getRunAs_RoleName(), this.getRoleName(), "roleName", null, 1, 1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3392
		initEAttribute(getRunAs_RoleName(), this.getRoleName(), "roleName", null, 1, 1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2830
		initEAttribute(getRunAs_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3393
		initEAttribute(getRunAs_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2831
3394
2832
		initEClass(securityRoleEClass, SecurityRole.class, "SecurityRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3395
		initEClass(securityRoleEClass, SecurityRole.class, "SecurityRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2833
		initEReference(getSecurityRole_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3396
		initEReference(getSecurityRole_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2834
		initEAttribute(getSecurityRole_RoleName(), this.getRoleName(), "roleName", null, 1, 1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3397
		initEAttribute(getSecurityRole_RoleName(), this.getRoleName(), "roleName", null, 1, 1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2835
		initEAttribute(getSecurityRole_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3398
		initEAttribute(getSecurityRole_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2836
3399
2837
		initEClass(securityRoleRefEClass, SecurityRoleRef.class, "SecurityRoleRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3400
		initEClass(securityRoleRefEClass, SecurityRoleRef.class, "SecurityRoleRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2838
		initEReference(getSecurityRoleRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3401
		initEReference(getSecurityRoleRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2839
		initEAttribute(getSecurityRoleRef_RoleName(), this.getRoleName(), "roleName", null, 1, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3402
		initEAttribute(getSecurityRoleRef_RoleName(), this.getRoleName(), "roleName", null, 1, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2840
		initEAttribute(getSecurityRoleRef_RoleLink(), this.getRoleName(), "roleLink", null, 0, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3403
		initEAttribute(getSecurityRoleRef_RoleLink(), this.getRoleName(), "roleLink", null, 0, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2841
		initEAttribute(getSecurityRoleRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3404
		initEAttribute(getSecurityRoleRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2842
3405
2843
		initEClass(serviceRefEClass, ServiceRef.class, "ServiceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3406
		initEClass(serviceRefEClass, ServiceRef.class, "ServiceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2844
		initEReference(getServiceRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3407
		initEReference(getServiceRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2845
		initEReference(getServiceRef_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3408
		initEReference(getServiceRef_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2846
		initEReference(getServiceRef_Icons(), this.getIcon(), null, "icons", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3409
		initEReference(getServiceRef_Icons(), this.getIcon(), null, "icons", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2847
		initEAttribute(getServiceRef_ServiceRefName(), this.getJNDIName(), "serviceRefName", null, 1, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3410
		initEAttribute(getServiceRef_ServiceRefName(), this.getJNDIName(), "serviceRefName", null, 1, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2848
		initEAttribute(getServiceRef_ServiceInterface(), this.getFullyQualifiedClassType(), "serviceInterface", null, 1, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3411
		initEAttribute(getServiceRef_ServiceInterface(), this.getFullyQualifiedClassType(), "serviceInterface", null, 1, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2849
		initEAttribute(getServiceRef_ServiceRefType(), this.getFullyQualifiedClassType(), "serviceRefType", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3412
		initEAttribute(getServiceRef_ServiceRefType(), this.getFullyQualifiedClassType(), "serviceRefType", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2850
		initEAttribute(getServiceRef_WsdlFile(), theXMLTypePackage.getAnyURI(), "wsdlFile", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3413
		initEAttribute(getServiceRef_WsdlFile(), theXMLTypePackage.getAnyURI(), "wsdlFile", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2851
		initEAttribute(getServiceRef_JaxrpcMappingFile(), this.getPathType(), "jaxrpcMappingFile", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3414
		initEAttribute(getServiceRef_JaxrpcMappingFile(), this.getPathType(), "jaxrpcMappingFile", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2852
		initEAttribute(getServiceRef_ServiceQname(), theXMLTypePackage.getQName(), "serviceQname", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3415
		initEAttribute(getServiceRef_ServiceQname(), theXMLTypePackage.getQName(), "serviceQname", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2853
		initEReference(getServiceRef_PortComponentRefs(), this.getPortComponentRef(), null, "portComponentRefs", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3416
		initEReference(getServiceRef_PortComponentRefs(), this.getPortComponentRef(), null, "portComponentRefs", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2854
		initEReference(getServiceRef_Handlers(), this.getServiceRefHandler(), null, "handlers", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3417
		initEReference(getServiceRef_Handlers(), this.getServiceRefHandler(), null, "handlers", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2855
		initEReference(getServiceRef_HandlerChains(), this.getServiceRefHandlerChains(), null, "handlerChains", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3418
		initEReference(getServiceRef_HandlerChains(), this.getServiceRefHandlerChains(), null, "handlerChains", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2856
		initEAttribute(getServiceRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3419
		initEAttribute(getServiceRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2857
		initEReference(getServiceRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3420
		initEReference(getServiceRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2858
		initEAttribute(getServiceRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3421
		initEAttribute(getServiceRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3422
		initEAttribute(getServiceRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2859
3423
2860
		initEClass(serviceRefHandlerEClass, ServiceRefHandler.class, "ServiceRefHandler", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3424
		initEClass(serviceRefHandlerEClass, ServiceRefHandler.class, "ServiceRefHandler", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2861
		initEReference(getServiceRefHandler_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3425
		initEReference(getServiceRefHandler_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2862
		initEReference(getServiceRefHandler_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3426
		initEReference(getServiceRefHandler_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2863
		initEReference(getServiceRefHandler_Icons(), this.getIcon(), null, "icons", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3427
		initEReference(getServiceRefHandler_Icons(), this.getIcon(), null, "icons", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2864
		initEAttribute(getServiceRefHandler_HandlerName(), theXMLTypePackage.getToken(), "handlerName", null, 1, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3428
		initEAttribute(getServiceRefHandler_HandlerName(), theXMLTypePackage.getToken(), "handlerName", null, 1, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2865
		initEAttribute(getServiceRefHandler_HandlerClass(), this.getFullyQualifiedClassType(), "handlerClass", null, 1, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3429
		initEAttribute(getServiceRefHandler_HandlerClass(), this.getFullyQualifiedClassType(), "handlerClass", null, 1, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2866
		initEReference(getServiceRefHandler_InitParams(), this.getParamValue(), null, "initParams", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3430
		initEReference(getServiceRefHandler_InitParams(), this.getParamValue(), null, "initParams", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2867
		initEAttribute(getServiceRefHandler_SoapHeaders(), theXMLTypePackage.getQName(), "soapHeaders", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3431
		initEAttribute(getServiceRefHandler_SoapHeaders(), theXMLTypePackage.getQName(), "soapHeaders", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2868
		initEAttribute(getServiceRefHandler_SoapRoles(), theXMLTypePackage.getToken(), "soapRoles", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3432
		initEAttribute(getServiceRefHandler_SoapRoles(), theXMLTypePackage.getToken(), "soapRoles", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2869
		initEAttribute(getServiceRefHandler_PortNames(), theXMLTypePackage.getToken(), "portNames", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3433
		initEAttribute(getServiceRefHandler_PortNames(), theXMLTypePackage.getToken(), "portNames", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2870
		initEAttribute(getServiceRefHandler_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3434
		initEAttribute(getServiceRefHandler_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2871
3435
2872
		initEClass(serviceRefHandlerChainEClass, ServiceRefHandlerChain.class, "ServiceRefHandlerChain", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3436
		initEClass(serviceRefHandlerChainEClass, ServiceRefHandlerChain.class, "ServiceRefHandlerChain", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2873
		initEAttribute(getServiceRefHandlerChain_ServiceNamePattern(), this.getServiceRefQnamePattern(), "serviceNamePattern", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3437
		initEAttribute(getServiceRefHandlerChain_ServiceNamePattern(), this.getQnamePattern(), "serviceNamePattern", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2874
		initEAttribute(getServiceRefHandlerChain_PortNamePattern(), this.getServiceRefQnamePattern(), "portNamePattern", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3438
		initEAttribute(getServiceRefHandlerChain_PortNamePattern(), this.getQnamePattern(), "portNamePattern", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2875
		initEAttribute(getServiceRefHandlerChain_ProtocolBindings(), this.getServiceRefProtocolBindingListType(), "protocolBindings", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3439
		initEAttribute(getServiceRefHandlerChain_ProtocolBindings(), this.getProtocolBindingListType(), "protocolBindings", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2876
		initEReference(getServiceRefHandlerChain_Handlers(), this.getServiceRefHandler(), null, "handlers", null, 1, -1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3440
		initEReference(getServiceRefHandlerChain_Handlers(), this.getServiceRefHandler(), null, "handlers", null, 1, -1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2877
		initEAttribute(getServiceRefHandlerChain_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3441
		initEAttribute(getServiceRefHandlerChain_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2878
3442
2879
		initEClass(serviceRefHandlerChainsEClass, ServiceRefHandlerChains.class, "ServiceRefHandlerChains", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3443
		initEClass(serviceRefHandlerChainsEClass, ServiceRefHandlerChains.class, "ServiceRefHandlerChains", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2880
		initEReference(getServiceRefHandlerChains_HandlerChains(), this.getServiceRefHandlerChain(), null, "handlerChains", null, 0, -1, ServiceRefHandlerChains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3444
		initEReference(getServiceRefHandlerChains_HandlerChains(), this.getServiceRefHandlerChain(), null, "handlerChains", null, 0, -1, ServiceRefHandlerChains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2881
		initEAttribute(getServiceRefHandlerChains_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandlerChains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3445
		initEAttribute(getServiceRefHandlerChains_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandlerChains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2882
3446
2883
		initEClass(urlPatternTypeEClass, UrlPatternType.class, "UrlPatternType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3447
		initEClass(urlPatternTypeEClass, UrlPatternType.class, "UrlPatternType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2884
		initEAttribute(getUrlPatternType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, UrlPatternType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
3448
		initEAttribute(getUrlPatternType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, UrlPatternType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2885
3449
2886
		// Initialize enums and add enum literals
3450
		// Initialize enums and add enum literals
3451
		initEEnum(addressingResponsesTypeEEnum, AddressingResponsesType.class, "AddressingResponsesType"); //$NON-NLS-1$
3452
		addEEnumLiteral(addressingResponsesTypeEEnum, AddressingResponsesType.ANONYMOUS);
3453
		addEEnumLiteral(addressingResponsesTypeEEnum, AddressingResponsesType.NONANONYMOUS);
3454
		addEEnumLiteral(addressingResponsesTypeEEnum, AddressingResponsesType.ALL);
3455
2887
		initEEnum(ejbRefTypeEEnum, EjbRefType.class, "EjbRefType"); //$NON-NLS-1$
3456
		initEEnum(ejbRefTypeEEnum, EjbRefType.class, "EjbRefType"); //$NON-NLS-1$
2888
		addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.ENTITY_LITERAL);
3457
		addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.ENTITY_LITERAL);
2889
		addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.SESSION_LITERAL);
3458
		addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.SESSION_LITERAL);
2890
3459
2891
		initEEnum(envEntryTypeEEnum, EnvEntryType.class, "EnvEntryType"); //$NON-NLS-1$
3460
		initEEnum(genericBooleanTypeEEnum, GenericBooleanType.class, "GenericBooleanType"); //$NON-NLS-1$
2892
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_BOOLEAN_LITERAL);
3461
		addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.TRUE);
2893
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_BYTE_LITERAL);
3462
		addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.FALSE);
2894
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_CHARACTER_LITERAL);
3463
		addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.YES);
2895
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_STRING_LITERAL);
3464
		addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.NO);
2896
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_SHORT_LITERAL);
3465
2897
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_INTEGER_LITERAL);
3466
		initEEnum(isolationLevelTypeEEnum, IsolationLevelType.class, "IsolationLevelType"); //$NON-NLS-1$
2898
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_LONG_LITERAL);
3467
		addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONNONE);
2899
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_FLOAT_LITERAL);
3468
		addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREADUNCOMMITTED);
2900
		addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_DOUBLE_LITERAL);
3469
		addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREADCOMMITTED);
3470
		addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREPEATABLEREAD);
3471
		addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONSERIALIZABLE);
2901
3472
2902
		initEEnum(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.class, "MessageDestinationUsageType"); //$NON-NLS-1$
3473
		initEEnum(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.class, "MessageDestinationUsageType"); //$NON-NLS-1$
2903
		addEEnumLiteral(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.CONSUMES_LITERAL);
3474
		addEEnumLiteral(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.CONSUMES_LITERAL);
Lines 2917-2931 Link Here
2917
		addEEnumLiteral(resSharingScopeTypeEEnum, ResSharingScopeType.UNSHAREABLE_LITERAL);
3488
		addEEnumLiteral(resSharingScopeTypeEEnum, ResSharingScopeType.UNSHAREABLE_LITERAL);
2918
3489
2919
		// Initialize data types
3490
		// Initialize data types
3491
		initEDataType(addressingResponsesTypeObjectEDataType, AddressingResponsesType.class, "AddressingResponsesTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2920
		initEDataType(deweyVersionTypeEDataType, String.class, "DeweyVersionType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3492
		initEDataType(deweyVersionTypeEDataType, String.class, "DeweyVersionType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2921
		initEDataType(ejbLinkEDataType, String.class, "EJBLink", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3493
		initEDataType(ejbLinkEDataType, String.class, "EJBLink", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2922
		initEDataType(ejbRefNameTypeEDataType, String.class, "EjbRefNameType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3494
		initEDataType(ejbRefNameTypeEDataType, String.class, "EjbRefNameType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2923
		initEDataType(ejbRefTypeObjectEDataType, EjbRefType.class, "EjbRefTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3495
		initEDataType(ejbRefTypeObjectEDataType, EjbRefType.class, "EjbRefTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2924
		initEDataType(envEntryTypeObjectEDataType, EnvEntryType.class, "EnvEntryTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3496
		initEDataType(envEntryTypeEDataType, String.class, "EnvEntryType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2925
		initEDataType(fullyQualifiedClassTypeEDataType, String.class, "FullyQualifiedClassType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3497
		initEDataType(fullyQualifiedClassTypeEDataType, String.class, "FullyQualifiedClassType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3498
		initEDataType(genericBooleanTypeObjectEDataType, GenericBooleanType.class, "GenericBooleanTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2926
		initEDataType(homeEDataType, String.class, "Home", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3499
		initEDataType(homeEDataType, String.class, "Home", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3500
		initEDataType(isolationLevelTypeObjectEDataType, IsolationLevelType.class, "IsolationLevelTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2927
		initEDataType(javaIdentifierEDataType, String.class, "JavaIdentifier", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3501
		initEDataType(javaIdentifierEDataType, String.class, "JavaIdentifier", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2928
		initEDataType(javaTypeEDataType, String.class, "JavaType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3502
		initEDataType(javaTypeEDataType, String.class, "JavaType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3503
		initEDataType(jdbcUrlTypeEDataType, String.class, "JdbcUrlType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2929
		initEDataType(jndiNameEDataType, String.class, "JNDIName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3504
		initEDataType(jndiNameEDataType, String.class, "JNDIName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2930
		initEDataType(localEDataType, String.class, "Local", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3505
		initEDataType(localEDataType, String.class, "Local", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2931
		initEDataType(localHomeEDataType, String.class, "LocalHome", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3506
		initEDataType(localHomeEDataType, String.class, "LocalHome", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
Lines 2934-2947 Link Here
2934
		initEDataType(messageDestinationUsageTypeObjectEDataType, MessageDestinationUsageType.class, "MessageDestinationUsageTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3509
		initEDataType(messageDestinationUsageTypeObjectEDataType, MessageDestinationUsageType.class, "MessageDestinationUsageTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2935
		initEDataType(pathTypeEDataType, String.class, "PathType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3510
		initEDataType(pathTypeEDataType, String.class, "PathType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2936
		initEDataType(persistenceContextTypeObjectEDataType, PersistenceContextType.class, "PersistenceContextTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3511
		initEDataType(persistenceContextTypeObjectEDataType, PersistenceContextType.class, "PersistenceContextTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3512
		initEDataType(protocolBindingListTypeEDataType, List.class, "ProtocolBindingListType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3513
		initEDataType(protocolBindingTypeEDataType, String.class, "ProtocolBindingType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3514
		initEDataType(protocolURIAliasTypeEDataType, String.class, "ProtocolURIAliasType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3515
		initEDataType(qnamePatternEDataType, String.class, "QnamePattern", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2937
		initEDataType(remoteEDataType, String.class, "Remote", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3516
		initEDataType(remoteEDataType, String.class, "Remote", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2938
		initEDataType(resAuthTypeObjectEDataType, ResAuthType.class, "ResAuthTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3517
		initEDataType(resAuthTypeObjectEDataType, ResAuthType.class, "ResAuthTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2939
		initEDataType(resSharingScopeTypeObjectEDataType, ResSharingScopeType.class, "ResSharingScopeTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3518
		initEDataType(resSharingScopeTypeObjectEDataType, ResSharingScopeType.class, "ResSharingScopeTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2940
		initEDataType(roleNameEDataType, String.class, "RoleName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3519
		initEDataType(roleNameEDataType, String.class, "RoleName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2941
		initEDataType(serviceRefProtocolBindingListTypeEDataType, List.class, "ServiceRefProtocolBindingListType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2942
		initEDataType(serviceRefProtocolBindingTypeEDataType, String.class, "ServiceRefProtocolBindingType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2943
		initEDataType(serviceRefProtocolURIAliasTypeEDataType, String.class, "ServiceRefProtocolURIAliasType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2944
		initEDataType(serviceRefQnamePatternEDataType, String.class, "ServiceRefQnamePattern", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2945
		initEDataType(trueFalseTypeEDataType, boolean.class, "TrueFalseType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3520
		initEDataType(trueFalseTypeEDataType, boolean.class, "TrueFalseType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2946
		initEDataType(trueFalseTypeObjectEDataType, Boolean.class, "TrueFalseTypeObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
3521
		initEDataType(trueFalseTypeObjectEDataType, Boolean.class, "TrueFalseTypeObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2947
3522
Lines 2962-2967 Link Here
2962
	protected void createExtendedMetaDataAnnotations() {
3537
	protected void createExtendedMetaDataAnnotations() {
2963
		String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$				
3538
		String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$				
2964
		addAnnotation
3539
		addAnnotation
3540
		  (addressingResponsesTypeEEnum, 
3541
		   source, 
3542
		   new String[] {
3543
			 "name", "addressing-responsesType" //$NON-NLS-1$ //$NON-NLS-2$
3544
		   });		
3545
		addAnnotation
3546
		  (addressingResponsesTypeObjectEDataType, 
3547
		   source, 
3548
		   new String[] {
3549
			 "name", "addressing-responsesType:Object", //$NON-NLS-1$ //$NON-NLS-2$
3550
			 "baseType", "addressing-responsesType" //$NON-NLS-1$ //$NON-NLS-2$
3551
		   });			
3552
		addAnnotation
3553
		  (addressingTypeEClass, 
3554
		   source, 
3555
		   new String[] {
3556
			 "name", "addressingType", //$NON-NLS-1$ //$NON-NLS-2$
3557
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
3558
		   });		
3559
		addAnnotation
3560
		  (getAddressingType_Enabled(), 
3561
		   source, 
3562
		   new String[] {
3563
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3564
			 "name", "enabled", //$NON-NLS-1$ //$NON-NLS-2$
3565
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3566
		   });		
3567
		addAnnotation
3568
		  (getAddressingType_Required(), 
3569
		   source, 
3570
		   new String[] {
3571
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3572
			 "name", "required", //$NON-NLS-1$ //$NON-NLS-2$
3573
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3574
		   });		
3575
		addAnnotation
3576
		  (getAddressingType_Responses(), 
3577
		   source, 
3578
		   new String[] {
3579
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3580
			 "name", "responses", //$NON-NLS-1$ //$NON-NLS-2$
3581
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3582
		   });			
3583
		addAnnotation
3584
		  (dataSourceTypeEClass, 
3585
		   source, 
3586
		   new String[] {
3587
			 "name", "data-sourceType", //$NON-NLS-1$ //$NON-NLS-2$
3588
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
3589
		   });			
3590
		addAnnotation
3591
		  (getDataSourceType_Description(), 
3592
		   source, 
3593
		   new String[] {
3594
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3595
			 "name", "description", //$NON-NLS-1$ //$NON-NLS-2$
3596
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3597
		   });			
3598
		addAnnotation
3599
		  (getDataSourceType_Name(), 
3600
		   source, 
3601
		   new String[] {
3602
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3603
			 "name", "name", //$NON-NLS-1$ //$NON-NLS-2$
3604
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3605
		   });			
3606
		addAnnotation
3607
		  (getDataSourceType_ClassName(), 
3608
		   source, 
3609
		   new String[] {
3610
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3611
			 "name", "class-name", //$NON-NLS-1$ //$NON-NLS-2$
3612
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3613
		   });			
3614
		addAnnotation
3615
		  (getDataSourceType_ServerName(), 
3616
		   source, 
3617
		   new String[] {
3618
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3619
			 "name", "server-name", //$NON-NLS-1$ //$NON-NLS-2$
3620
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3621
		   });			
3622
		addAnnotation
3623
		  (getDataSourceType_PortNumber(), 
3624
		   source, 
3625
		   new String[] {
3626
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3627
			 "name", "port-number", //$NON-NLS-1$ //$NON-NLS-2$
3628
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3629
		   });			
3630
		addAnnotation
3631
		  (getDataSourceType_DatabaseName(), 
3632
		   source, 
3633
		   new String[] {
3634
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3635
			 "name", "database-name", //$NON-NLS-1$ //$NON-NLS-2$
3636
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3637
		   });			
3638
		addAnnotation
3639
		  (getDataSourceType_Url(), 
3640
		   source, 
3641
		   new String[] {
3642
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3643
			 "name", "url", //$NON-NLS-1$ //$NON-NLS-2$
3644
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3645
		   });			
3646
		addAnnotation
3647
		  (getDataSourceType_User(), 
3648
		   source, 
3649
		   new String[] {
3650
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3651
			 "name", "user", //$NON-NLS-1$ //$NON-NLS-2$
3652
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3653
		   });			
3654
		addAnnotation
3655
		  (getDataSourceType_Password(), 
3656
		   source, 
3657
		   new String[] {
3658
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3659
			 "name", "password", //$NON-NLS-1$ //$NON-NLS-2$
3660
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3661
		   });			
3662
		addAnnotation
3663
		  (getDataSourceType_Property(), 
3664
		   source, 
3665
		   new String[] {
3666
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3667
			 "name", "property", //$NON-NLS-1$ //$NON-NLS-2$
3668
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3669
		   });			
3670
		addAnnotation
3671
		  (getDataSourceType_LoginTimeout(), 
3672
		   source, 
3673
		   new String[] {
3674
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3675
			 "name", "login-timeout", //$NON-NLS-1$ //$NON-NLS-2$
3676
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3677
		   });			
3678
		addAnnotation
3679
		  (getDataSourceType_Transactional(), 
3680
		   source, 
3681
		   new String[] {
3682
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3683
			 "name", "transactional", //$NON-NLS-1$ //$NON-NLS-2$
3684
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3685
		   });			
3686
		addAnnotation
3687
		  (getDataSourceType_IsolationLevel(), 
3688
		   source, 
3689
		   new String[] {
3690
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3691
			 "name", "isolation-level", //$NON-NLS-1$ //$NON-NLS-2$
3692
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3693
		   });			
3694
		addAnnotation
3695
		  (getDataSourceType_InitialPoolSize(), 
3696
		   source, 
3697
		   new String[] {
3698
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3699
			 "name", "initial-pool-size", //$NON-NLS-1$ //$NON-NLS-2$
3700
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3701
		   });			
3702
		addAnnotation
3703
		  (getDataSourceType_MaxPoolSize(), 
3704
		   source, 
3705
		   new String[] {
3706
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3707
			 "name", "max-pool-size", //$NON-NLS-1$ //$NON-NLS-2$
3708
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3709
		   });			
3710
		addAnnotation
3711
		  (getDataSourceType_MinPoolSize(), 
3712
		   source, 
3713
		   new String[] {
3714
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3715
			 "name", "min-pool-size", //$NON-NLS-1$ //$NON-NLS-2$
3716
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3717
		   });			
3718
		addAnnotation
3719
		  (getDataSourceType_MaxIdleTime(), 
3720
		   source, 
3721
		   new String[] {
3722
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3723
			 "name", "max-idle-time", //$NON-NLS-1$ //$NON-NLS-2$
3724
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3725
		   });			
3726
		addAnnotation
3727
		  (getDataSourceType_MaxStatements(), 
3728
		   source, 
3729
		   new String[] {
3730
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3731
			 "name", "max-statements", //$NON-NLS-1$ //$NON-NLS-2$
3732
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3733
		   });		
3734
		addAnnotation
3735
		  (getDataSourceType_Id(), 
3736
		   source, 
3737
		   new String[] {
3738
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
3739
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
3740
		   });			
3741
		addAnnotation
2965
		  (descriptionEClass, 
3742
		  (descriptionEClass, 
2966
		   source, 
3743
		   source, 
2967
		   new String[] {
3744
		   new String[] {
Lines 3089-3094 Link Here
3089
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3866
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3090
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3867
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3091
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3868
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3869
		   });			
3870
		addAnnotation
3871
		  (getEjbLocalRef_LookupName(), 
3872
		   source, 
3873
		   new String[] {
3874
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3875
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
3876
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3092
		   });		
3877
		   });		
3093
		addAnnotation
3878
		addAnnotation
3094
		  (getEjbLocalRef_Id(), 
3879
		  (getEjbLocalRef_Id(), 
Lines 3167-3172 Link Here
3167
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3952
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3168
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3953
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3169
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3954
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3955
		   });			
3956
		addAnnotation
3957
		  (getEjbRef_LookupName(), 
3958
		   source, 
3959
		   new String[] {
3960
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3961
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
3962
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3170
		   });		
3963
		   });		
3171
		addAnnotation
3964
		addAnnotation
3172
		  (getEjbRef_Id(), 
3965
		  (getEjbRef_Id(), 
Lines 3262-3267 Link Here
3262
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4055
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3263
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
4056
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3264
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4057
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4058
		   });			
4059
		addAnnotation
4060
		  (getEnvEntry_LookupName(), 
4061
		   source, 
4062
		   new String[] {
4063
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4064
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
4065
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3265
		   });		
4066
		   });		
3266
		addAnnotation
4067
		addAnnotation
3267
		  (getEnvEntry_Id(), 
4068
		  (getEnvEntry_Id(), 
Lines 3271-3293 Link Here
3271
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
4072
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
3272
		   });			
4073
		   });			
3273
		addAnnotation
4074
		addAnnotation
3274
		  (envEntryTypeEEnum, 
4075
		  (envEntryTypeEDataType, 
3275
		   source, 
4076
		   source, 
3276
		   new String[] {
4077
		   new String[] {
3277
			 "name", "env-entry-type-valuesType" //$NON-NLS-1$ //$NON-NLS-2$
4078
			 "name", "env-entry-type-valuesType", //$NON-NLS-1$ //$NON-NLS-2$
3278
		   });		
4079
			 "baseType", "fully-qualified-classType" //$NON-NLS-1$ //$NON-NLS-2$
4080
		   });			
3279
		addAnnotation
4081
		addAnnotation
3280
		  (envEntryTypeObjectEDataType, 
4082
		  (fullyQualifiedClassTypeEDataType, 
3281
		   source, 
4083
		   source, 
3282
		   new String[] {
4084
		   new String[] {
3283
			 "name", "env-entry-type-valuesType:Object", //$NON-NLS-1$ //$NON-NLS-2$
4085
			 "name", "fully-qualified-classType" //$NON-NLS-1$ //$NON-NLS-2$
3284
			 "baseType", "env-entry-type-valuesType" //$NON-NLS-1$ //$NON-NLS-2$
3285
		   });			
4086
		   });			
3286
		addAnnotation
4087
		addAnnotation
3287
		  (fullyQualifiedClassTypeEDataType, 
4088
		  (genericBooleanTypeEEnum, 
3288
		   source, 
4089
		   source, 
3289
		   new String[] {
4090
		   new String[] {
3290
			 "name", "fully-qualified-classType" //$NON-NLS-1$ //$NON-NLS-2$
4091
			 "name", "generic-booleanType" //$NON-NLS-1$ //$NON-NLS-2$
4092
		   });		
4093
		addAnnotation
4094
		  (genericBooleanTypeObjectEDataType, 
4095
		   source, 
4096
		   new String[] {
4097
			 "name", "generic-booleanType:Object", //$NON-NLS-1$ //$NON-NLS-2$
4098
			 "baseType", "generic-booleanType" //$NON-NLS-1$ //$NON-NLS-2$
3291
		   });			
4099
		   });			
3292
		addAnnotation
4100
		addAnnotation
3293
		  (homeEDataType, 
4101
		  (homeEDataType, 
Lines 3357-3362 Link Here
3357
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4165
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3358
		   });			
4166
		   });			
3359
		addAnnotation
4167
		addAnnotation
4168
		  (isolationLevelTypeEEnum, 
4169
		   source, 
4170
		   new String[] {
4171
			 "name", "isolation-levelType" //$NON-NLS-1$ //$NON-NLS-2$
4172
		   });		
4173
		addAnnotation
4174
		  (isolationLevelTypeObjectEDataType, 
4175
		   source, 
4176
		   new String[] {
4177
			 "name", "isolation-levelType:Object", //$NON-NLS-1$ //$NON-NLS-2$
4178
			 "baseType", "isolation-levelType" //$NON-NLS-1$ //$NON-NLS-2$
4179
		   });			
4180
		addAnnotation
3360
		  (javaIdentifierEDataType, 
4181
		  (javaIdentifierEDataType, 
3361
		   source, 
4182
		   source, 
3362
		   new String[] {
4183
		   new String[] {
Lines 3373-3378 Link Here
3373
			 "pattern", "[^\\p{Z}]*" //$NON-NLS-1$ //$NON-NLS-2$
4194
			 "pattern", "[^\\p{Z}]*" //$NON-NLS-1$ //$NON-NLS-2$
3374
		   });			
4195
		   });			
3375
		addAnnotation
4196
		addAnnotation
4197
		  (jdbcUrlTypeEDataType, 
4198
		   source, 
4199
		   new String[] {
4200
			 "name", "jdbc-urlType", //$NON-NLS-1$ //$NON-NLS-2$
4201
			 "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$
4202
			 "pattern", "jdbc:(.*):(.*)" //$NON-NLS-1$ //$NON-NLS-2$
4203
		   });			
4204
		addAnnotation
3376
		  (jndiNameEDataType, 
4205
		  (jndiNameEDataType, 
3377
		   source, 
4206
		   source, 
3378
		   new String[] {
4207
		   new String[] {
Lines 3581-3586 Link Here
3581
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4410
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3582
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
4411
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3583
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4412
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4413
		   });			
4414
		addAnnotation
4415
		  (getMessageDestinationRef_LookupName(), 
4416
		   source, 
4417
		   new String[] {
4418
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4419
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
4420
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3584
		   });		
4421
		   });		
3585
		addAnnotation
4422
		addAnnotation
3586
		  (getMessageDestinationRef_Id(), 
4423
		  (getMessageDestinationRef_Id(), 
Lines 3714-3719 Link Here
3714
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4551
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3715
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
4552
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3716
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4553
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4554
		   });			
4555
		addAnnotation
4556
		  (getPersistenceContextRef_LookupName(), 
4557
		   source, 
4558
		   new String[] {
4559
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4560
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
4561
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3717
		   });		
4562
		   });		
3718
		addAnnotation
4563
		addAnnotation
3719
		  (getPersistenceContextRef_Id(), 
4564
		  (getPersistenceContextRef_Id(), 
Lines 3781-3786 Link Here
3781
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4626
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3782
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
4627
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3783
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4628
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4629
		   });			
4630
		addAnnotation
4631
		  (getPersistenceUnitRef_LookupName(), 
4632
		   source, 
4633
		   new String[] {
4634
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4635
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
4636
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3784
		   });		
4637
		   });		
3785
		addAnnotation
4638
		addAnnotation
3786
		  (getPersistenceUnitRef_Id(), 
4639
		  (getPersistenceUnitRef_Id(), 
Lines 3813-3818 Link Here
3813
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4666
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3814
		   });			
4667
		   });			
3815
		addAnnotation
4668
		addAnnotation
4669
		  (getPortComponentRef_MtomThreshold(), 
4670
		   source, 
4671
		   new String[] {
4672
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4673
			 "name", "mtom-threshold", //$NON-NLS-1$ //$NON-NLS-2$
4674
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4675
		   });			
4676
		addAnnotation
4677
		  (getPortComponentRef_Addressing(), 
4678
		   source, 
4679
		   new String[] {
4680
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4681
			 "name", "addressing", //$NON-NLS-1$ //$NON-NLS-2$
4682
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4683
		   });			
4684
		addAnnotation
4685
		  (getPortComponentRef_RespectBinding(), 
4686
		   source, 
4687
		   new String[] {
4688
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4689
			 "name", "respect-binding", //$NON-NLS-1$ //$NON-NLS-2$
4690
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4691
		   });			
4692
		addAnnotation
3816
		  (getPortComponentRef_PortComponentLink(), 
4693
		  (getPortComponentRef_PortComponentLink(), 
3817
		   source, 
4694
		   source, 
3818
		   new String[] {
4695
		   new String[] {
Lines 3858-3863 Link Here
3858
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
4735
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
3859
		   });			
4736
		   });			
3860
		addAnnotation
4737
		addAnnotation
4738
		  (protocolBindingListTypeEDataType, 
4739
		   source, 
4740
		   new String[] {
4741
			 "name", "protocol-bindingListType", //$NON-NLS-1$ //$NON-NLS-2$
4742
			 "itemType", "protocol-bindingType" //$NON-NLS-1$ //$NON-NLS-2$
4743
		   });			
4744
		addAnnotation
4745
		  (protocolBindingTypeEDataType, 
4746
		   source, 
4747
		   new String[] {
4748
			 "name", "protocol-bindingType", //$NON-NLS-1$ //$NON-NLS-2$
4749
			 "memberTypes", "http://www.eclipse.org/emf/2003/XMLType#anyURI protocol-URIAliasType" //$NON-NLS-1$ //$NON-NLS-2$
4750
		   });			
4751
		addAnnotation
4752
		  (protocolURIAliasTypeEDataType, 
4753
		   source, 
4754
		   new String[] {
4755
			 "name", "protocol-URIAliasType", //$NON-NLS-1$ //$NON-NLS-2$
4756
			 "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$
4757
			 "pattern", "##.+" //$NON-NLS-1$ //$NON-NLS-2$
4758
		   });			
4759
		addAnnotation
4760
		  (qnamePatternEDataType, 
4761
		   source, 
4762
		   new String[] {
4763
			 "name", "qname-pattern", //$NON-NLS-1$ //$NON-NLS-2$
4764
			 "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$
4765
			 "pattern", "\\*|([\\i-[:]][\\c-[:]]*:)?[\\i-[:]][\\c-[:]]*\\*?" //$NON-NLS-1$ //$NON-NLS-2$
4766
		   });			
4767
		addAnnotation
3861
		  (remoteEDataType, 
4768
		  (remoteEDataType, 
3862
		   source, 
4769
		   source, 
3863
		   new String[] {
4770
		   new String[] {
Lines 3922-3927 Link Here
3922
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4829
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3923
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
4830
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3924
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4831
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4832
		   });			
4833
		addAnnotation
4834
		  (getResourceEnvRef_LookupName(), 
4835
		   source, 
4836
		   new String[] {
4837
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4838
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
4839
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3925
		   });		
4840
		   });		
3926
		addAnnotation
4841
		addAnnotation
3927
		  (getResourceEnvRef_Id(), 
4842
		  (getResourceEnvRef_Id(), 
Lines 3992-3997 Link Here
3992
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4907
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
3993
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
4908
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
3994
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4909
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4910
		   });			
4911
		addAnnotation
4912
		  (getResourceRef_LookupName(), 
4913
		   source, 
4914
		   new String[] {
4915
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4916
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
4917
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
3995
		   });		
4918
		   });		
3996
		addAnnotation
4919
		addAnnotation
3997
		  (getResourceRef_Id(), 
4920
		  (getResourceRef_Id(), 
Lines 4001-4006 Link Here
4001
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
4924
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
4002
		   });			
4925
		   });			
4003
		addAnnotation
4926
		addAnnotation
4927
		  (respectBindingTypeEClass, 
4928
		   source, 
4929
		   new String[] {
4930
			 "name", "respect-bindingType", //$NON-NLS-1$ //$NON-NLS-2$
4931
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
4932
		   });		
4933
		addAnnotation
4934
		  (getRespectBindingType_Enabled(), 
4935
		   source, 
4936
		   new String[] {
4937
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4938
			 "name", "enabled", //$NON-NLS-1$ //$NON-NLS-2$
4939
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4940
		   });			
4941
		addAnnotation
4004
		  (resSharingScopeTypeEEnum, 
4942
		  (resSharingScopeTypeEEnum, 
4005
		   source, 
4943
		   source, 
4006
		   new String[] {
4944
		   new String[] {
Lines 4235-4240 Link Here
4235
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
5173
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4236
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
5174
			 "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
4237
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
5175
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
5176
		   });			
5177
		addAnnotation
5178
		  (getServiceRef_LookupName(), 
5179
		   source, 
5180
		   new String[] {
5181
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
5182
			 "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
5183
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4238
		   });		
5184
		   });		
4239
		addAnnotation
5185
		addAnnotation
4240
		  (getServiceRef_Id(), 
5186
		  (getServiceRef_Id(), 
Lines 4247-4253 Link Here
4247
		  (serviceRefHandlerEClass, 
5193
		  (serviceRefHandlerEClass, 
4248
		   source, 
5194
		   source, 
4249
		   new String[] {
5195
		   new String[] {
4250
			 "name", "service-ref_handlerType", //$NON-NLS-1$ //$NON-NLS-2$
5196
			 "name", "handlerType", //$NON-NLS-1$ //$NON-NLS-2$
4251
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
5197
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
4252
		   });		
5198
		   });		
4253
		addAnnotation
5199
		addAnnotation
Lines 4289-4295 Link Here
4289
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
5235
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
4290
			 "name", "handler-class", //$NON-NLS-1$ //$NON-NLS-2$
5236
			 "name", "handler-class", //$NON-NLS-1$ //$NON-NLS-2$
4291
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
5237
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
4292
		   });		
5238
		   });			
4293
		addAnnotation
5239
		addAnnotation
4294
		  (getServiceRefHandler_InitParams(), 
5240
		  (getServiceRefHandler_InitParams(), 
4295
		   source, 
5241
		   source, 
Lines 4333-4339 Link Here
4333
		  (serviceRefHandlerChainEClass, 
5279
		  (serviceRefHandlerChainEClass, 
4334
		   source, 
5280
		   source, 
4335
		   new String[] {
5281
		   new String[] {
4336
			 "name", "service-ref_handler-chainType", //$NON-NLS-1$ //$NON-NLS-2$
5282
			 "name", "handler-chainType", //$NON-NLS-1$ //$NON-NLS-2$
4337
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
5283
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
4338
		   });		
5284
		   });		
4339
		addAnnotation
5285
		addAnnotation
Lines 4379-4385 Link Here
4379
		  (serviceRefHandlerChainsEClass, 
5325
		  (serviceRefHandlerChainsEClass, 
4380
		   source, 
5326
		   source, 
4381
		   new String[] {
5327
		   new String[] {
4382
			 "name", "service-ref_handler-chainsType", //$NON-NLS-1$ //$NON-NLS-2$
5328
			 "name", "handler-chainsType", //$NON-NLS-1$ //$NON-NLS-2$
4383
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
5329
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
4384
		   });		
5330
		   });		
4385
		addAnnotation
5331
		addAnnotation
Lines 4398-4433 Link Here
4398
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
5344
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
4399
		   });			
5345
		   });			
4400
		addAnnotation
5346
		addAnnotation
4401
		  (serviceRefProtocolBindingListTypeEDataType, 
4402
		   source, 
4403
		   new String[] {
4404
			 "name", "service-ref_protocol-bindingListType", //$NON-NLS-1$ //$NON-NLS-2$
4405
			 "itemType", "service-ref_protocol-bindingType" //$NON-NLS-1$ //$NON-NLS-2$
4406
		   });			
4407
		addAnnotation
4408
		  (serviceRefProtocolBindingTypeEDataType, 
4409
		   source, 
4410
		   new String[] {
4411
			 "name", "service-ref_protocol-bindingType", //$NON-NLS-1$ //$NON-NLS-2$
4412
			 "memberTypes", "http://www.eclipse.org/emf/2003/XMLType#anyURI service-ref_protocol-URIAliasType" //$NON-NLS-1$ //$NON-NLS-2$
4413
		   });			
4414
		addAnnotation
4415
		  (serviceRefProtocolURIAliasTypeEDataType, 
4416
		   source, 
4417
		   new String[] {
4418
			 "name", "service-ref_protocol-URIAliasType", //$NON-NLS-1$ //$NON-NLS-2$
4419
			 "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$
4420
			 "pattern", "##.+" //$NON-NLS-1$ //$NON-NLS-2$
4421
		   });			
4422
		addAnnotation
4423
		  (serviceRefQnamePatternEDataType, 
4424
		   source, 
4425
		   new String[] {
4426
			 "name", "service-ref_qname-pattern", //$NON-NLS-1$ //$NON-NLS-2$
4427
			 "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$
4428
			 "pattern", "\\*|([\\i-[:]][\\c-[:]]*:)?[\\i-[:]][\\c-[:]]*\\*?" //$NON-NLS-1$ //$NON-NLS-2$
4429
		   });			
4430
		addAnnotation
4431
		  (trueFalseTypeEDataType, 
5347
		  (trueFalseTypeEDataType, 
4432
		   source, 
5348
		   source, 
4433
		   new String[] {
5349
		   new String[] {
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java (-16 / +71 lines)
Lines 49-54 Link Here
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getPersistenceProperties <em>Persistence Properties</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getPersistenceProperties <em>Persistence Properties</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getMappedName <em>Mapped Name</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getMappedName <em>Mapped Name</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getLookupName <em>Lookup Name</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getId <em>Id</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getId <em>Id</em>}</li>
53
 * </ul>
54
 * </ul>
54
 * </p>
55
 * </p>
Lines 64-70 Link Here
64
	 * @generated
65
	 * @generated
65
	 * @ordered
66
	 * @ordered
66
	 */
67
	 */
67
	protected EList descriptions = null;
68
	protected EList<Description> descriptions;
68
69
69
	/**
70
	/**
70
	 * The default value of the '{@link #getPersistenceContextRefName() <em>Persistence Context Ref Name</em>}' attribute.
71
	 * The default value of the '{@link #getPersistenceContextRefName() <em>Persistence Context Ref Name</em>}' attribute.
Lines 133-139 Link Here
133
	 * @generated
134
	 * @generated
134
	 * @ordered
135
	 * @ordered
135
	 */
136
	 */
136
	protected boolean persistenceContextTypeESet = false;
137
	protected boolean persistenceContextTypeESet;
137
138
138
	/**
139
	/**
139
	 * The cached value of the '{@link #getPersistenceProperties() <em>Persistence Properties</em>}' containment reference list.
140
	 * The cached value of the '{@link #getPersistenceProperties() <em>Persistence Properties</em>}' containment reference list.
Lines 143-149 Link Here
143
	 * @generated
144
	 * @generated
144
	 * @ordered
145
	 * @ordered
145
	 */
146
	 */
146
	protected EList persistenceProperties = null;
147
	protected EList<PropertyType> persistenceProperties;
147
148
148
	/**
149
	/**
149
	 * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute.
150
	 * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute.
Lines 173-179 Link Here
173
	 * @generated
174
	 * @generated
174
	 * @ordered
175
	 * @ordered
175
	 */
176
	 */
176
	protected EList injectionTargets = null;
177
	protected EList<InjectionTarget> injectionTargets;
178
179
	/**
180
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
181
	 * <!-- begin-user-doc -->
182
	 * <!-- end-user-doc -->
183
	 * @see #getLookupName()
184
	 * @generated
185
	 * @ordered
186
	 */
187
	protected static final String LOOKUP_NAME_EDEFAULT = null;
188
189
	/**
190
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
191
	 * <!-- begin-user-doc -->
192
	 * <!-- end-user-doc -->
193
	 * @see #getLookupName()
194
	 * @generated
195
	 * @ordered
196
	 */
197
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
177
198
178
	/**
199
	/**
179
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
200
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 219-227 Link Here
219
	 * <!-- end-user-doc -->
240
	 * <!-- end-user-doc -->
220
	 * @generated
241
	 * @generated
221
	 */
242
	 */
222
	public List getDescriptions() {
243
	public List<Description> getDescriptions() {
223
		if (descriptions == null) {
244
		if (descriptions == null) {
224
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS);
245
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS);
225
		}
246
		}
226
		return descriptions;
247
		return descriptions;
227
	}
248
	}
Lines 319-327 Link Here
319
	 * <!-- end-user-doc -->
340
	 * <!-- end-user-doc -->
320
	 * @generated
341
	 * @generated
321
	 */
342
	 */
322
	public List getPersistenceProperties() {
343
	public List<PropertyType> getPersistenceProperties() {
323
		if (persistenceProperties == null) {
344
		if (persistenceProperties == null) {
324
			persistenceProperties = new EObjectContainmentEList(PropertyType.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES);
345
			persistenceProperties = new EObjectContainmentEList<PropertyType>(PropertyType.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES);
325
		}
346
		}
326
		return persistenceProperties;
347
		return persistenceProperties;
327
	}
348
	}
Lines 352-360 Link Here
352
	 * <!-- end-user-doc -->
373
	 * <!-- end-user-doc -->
353
	 * @generated
374
	 * @generated
354
	 */
375
	 */
355
	public List getInjectionTargets() {
376
	public List<InjectionTarget> getInjectionTargets() {
356
		if (injectionTargets == null) {
377
		if (injectionTargets == null) {
357
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS);
378
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS);
358
		}
379
		}
359
		return injectionTargets;
380
		return injectionTargets;
360
	}
381
	}
Lines 364-369 Link Here
364
	 * <!-- end-user-doc -->
385
	 * <!-- end-user-doc -->
365
	 * @generated
386
	 * @generated
366
	 */
387
	 */
388
	public String getLookupName() {
389
		return lookupName;
390
	}
391
392
	/**
393
	 * <!-- begin-user-doc -->
394
	 * <!-- end-user-doc -->
395
	 * @generated
396
	 */
397
	public void setLookupName(String newLookupName) {
398
		String oldLookupName = lookupName;
399
		lookupName = newLookupName;
400
		if (eNotificationRequired())
401
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME, oldLookupName, lookupName));
402
	}
403
404
	/**
405
	 * <!-- begin-user-doc -->
406
	 * <!-- end-user-doc -->
407
	 * @generated
408
	 */
367
	public String getId() {
409
	public String getId() {
368
		return id;
410
		return id;
369
	}
411
	}
Lines 389-399 Link Here
389
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
431
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
390
		switch (featureID) {
432
		switch (featureID) {
391
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS:
433
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS:
392
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
434
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
393
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES:
435
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES:
394
				return ((InternalEList)getPersistenceProperties()).basicRemove(otherEnd, msgs);
436
				return ((InternalEList<?>)getPersistenceProperties()).basicRemove(otherEnd, msgs);
395
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
437
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
396
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
438
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
397
		}
439
		}
398
		return super.eInverseRemove(otherEnd, featureID, msgs);
440
		return super.eInverseRemove(otherEnd, featureID, msgs);
399
	}
441
	}
Lines 420-425 Link Here
420
				return getMappedName();
462
				return getMappedName();
421
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
463
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
422
				return getInjectionTargets();
464
				return getInjectionTargets();
465
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
466
				return getLookupName();
423
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
467
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
424
				return getId();
468
				return getId();
425
		}
469
		}
Lines 431-442 Link Here
431
	 * <!-- end-user-doc -->
475
	 * <!-- end-user-doc -->
432
	 * @generated
476
	 * @generated
433
	 */
477
	 */
478
	@SuppressWarnings("unchecked")
434
	@Override
479
	@Override
435
	public void eSet(int featureID, Object newValue) {
480
	public void eSet(int featureID, Object newValue) {
436
		switch (featureID) {
481
		switch (featureID) {
437
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS:
482
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS:
438
				getDescriptions().clear();
483
				getDescriptions().clear();
439
				getDescriptions().addAll((Collection)newValue);
484
				getDescriptions().addAll((Collection<? extends Description>)newValue);
440
				return;
485
				return;
441
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME:
486
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME:
442
				setPersistenceContextRefName((String)newValue);
487
				setPersistenceContextRefName((String)newValue);
Lines 449-462 Link Here
449
				return;
494
				return;
450
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES:
495
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES:
451
				getPersistenceProperties().clear();
496
				getPersistenceProperties().clear();
452
				getPersistenceProperties().addAll((Collection)newValue);
497
				getPersistenceProperties().addAll((Collection<? extends PropertyType>)newValue);
453
				return;
498
				return;
454
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__MAPPED_NAME:
499
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__MAPPED_NAME:
455
				setMappedName((String)newValue);
500
				setMappedName((String)newValue);
456
				return;
501
				return;
457
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
502
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
458
				getInjectionTargets().clear();
503
				getInjectionTargets().clear();
459
				getInjectionTargets().addAll((Collection)newValue);
504
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
505
				return;
506
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
507
				setLookupName((String)newValue);
460
				return;
508
				return;
461
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
509
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
462
				setId((String)newValue);
510
				setId((String)newValue);
Lines 494-499 Link Here
494
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
542
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
495
				getInjectionTargets().clear();
543
				getInjectionTargets().clear();
496
				return;
544
				return;
545
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
546
				setLookupName(LOOKUP_NAME_EDEFAULT);
547
				return;
497
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
548
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
498
				setId(ID_EDEFAULT);
549
				setId(ID_EDEFAULT);
499
				return;
550
				return;
Lines 523-528 Link Here
523
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
574
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
524
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
575
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
525
				return injectionTargets != null && !injectionTargets.isEmpty();
576
				return injectionTargets != null && !injectionTargets.isEmpty();
577
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
578
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
526
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
579
			case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
527
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
580
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
528
		}
581
		}
Lines 547-552 Link Here
547
		if (persistenceContextTypeESet) result.append(persistenceContextType); else result.append("<unset>"); //$NON-NLS-1$
600
		if (persistenceContextTypeESet) result.append(persistenceContextType); else result.append("<unset>"); //$NON-NLS-1$
548
		result.append(", mappedName: "); //$NON-NLS-1$
601
		result.append(", mappedName: "); //$NON-NLS-1$
549
		result.append(mappedName);
602
		result.append(mappedName);
603
		result.append(", lookupName: "); //$NON-NLS-1$
604
		result.append(lookupName);
550
		result.append(", id: "); //$NON-NLS-1$
605
		result.append(", id: "); //$NON-NLS-1$
551
		result.append(id);
606
		result.append(id);
552
		result.append(')');
607
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java (-10 / +65 lines)
Lines 45-50 Link Here
45
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getPersistenceUnitName <em>Persistence Unit Name</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getPersistenceUnitName <em>Persistence Unit Name</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getMappedName <em>Mapped Name</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getMappedName <em>Mapped Name</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getInjectionTargets <em>Injection Targets</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getLookupName <em>Lookup Name</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getId <em>Id</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getId <em>Id</em>}</li>
49
 * </ul>
50
 * </ul>
50
 * </p>
51
 * </p>
Lines 60-66 Link Here
60
	 * @generated
61
	 * @generated
61
	 * @ordered
62
	 * @ordered
62
	 */
63
	 */
63
	protected EList descriptions = null;
64
	protected EList<Description> descriptions;
64
65
65
	/**
66
	/**
66
	 * The default value of the '{@link #getPersistenceUnitRefName() <em>Persistence Unit Ref Name</em>}' attribute.
67
	 * The default value of the '{@link #getPersistenceUnitRefName() <em>Persistence Unit Ref Name</em>}' attribute.
Lines 130-136 Link Here
130
	 * @generated
131
	 * @generated
131
	 * @ordered
132
	 * @ordered
132
	 */
133
	 */
133
	protected EList injectionTargets = null;
134
	protected EList<InjectionTarget> injectionTargets;
135
136
	/**
137
	 * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
138
	 * <!-- begin-user-doc -->
139
	 * <!-- end-user-doc -->
140
	 * @see #getLookupName()
141
	 * @generated
142
	 * @ordered
143
	 */
144
	protected static final String LOOKUP_NAME_EDEFAULT = null;
145
146
	/**
147
	 * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute.
148
	 * <!-- begin-user-doc -->
149
	 * <!-- end-user-doc -->
150
	 * @see #getLookupName()
151
	 * @generated
152
	 * @ordered
153
	 */
154
	protected String lookupName = LOOKUP_NAME_EDEFAULT;
134
155
135
	/**
156
	/**
136
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
157
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 176-184 Link Here
176
	 * <!-- end-user-doc -->
197
	 * <!-- end-user-doc -->
177
	 * @generated
198
	 * @generated
178
	 */
199
	 */
179
	public List getDescriptions() {
200
	public List<Description> getDescriptions() {
180
		if (descriptions == null) {
201
		if (descriptions == null) {
181
			descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS);
202
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS);
182
		}
203
		}
183
		return descriptions;
204
		return descriptions;
184
	}
205
	}
Lines 251-259 Link Here
251
	 * <!-- end-user-doc -->
272
	 * <!-- end-user-doc -->
252
	 * @generated
273
	 * @generated
253
	 */
274
	 */
254
	public List getInjectionTargets() {
275
	public List<InjectionTarget> getInjectionTargets() {
255
		if (injectionTargets == null) {
276
		if (injectionTargets == null) {
256
			injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS);
277
			injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS);
257
		}
278
		}
258
		return injectionTargets;
279
		return injectionTargets;
259
	}
280
	}
Lines 263-268 Link Here
263
	 * <!-- end-user-doc -->
284
	 * <!-- end-user-doc -->
264
	 * @generated
285
	 * @generated
265
	 */
286
	 */
287
	public String getLookupName() {
288
		return lookupName;
289
	}
290
291
	/**
292
	 * <!-- begin-user-doc -->
293
	 * <!-- end-user-doc -->
294
	 * @generated
295
	 */
296
	public void setLookupName(String newLookupName) {
297
		String oldLookupName = lookupName;
298
		lookupName = newLookupName;
299
		if (eNotificationRequired())
300
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME, oldLookupName, lookupName));
301
	}
302
303
	/**
304
	 * <!-- begin-user-doc -->
305
	 * <!-- end-user-doc -->
306
	 * @generated
307
	 */
266
	public String getId() {
308
	public String getId() {
267
		return id;
309
		return id;
268
	}
310
	}
Lines 288-296 Link Here
288
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
330
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
289
		switch (featureID) {
331
		switch (featureID) {
290
			case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS:
332
			case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS:
291
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
333
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
292
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
334
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
293
				return ((InternalEList)getInjectionTargets()).basicRemove(otherEnd, msgs);
335
				return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs);
294
		}
336
		}
295
		return super.eInverseRemove(otherEnd, featureID, msgs);
337
		return super.eInverseRemove(otherEnd, featureID, msgs);
296
	}
338
	}
Lines 313-318 Link Here
313
				return getMappedName();
355
				return getMappedName();
314
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
356
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
315
				return getInjectionTargets();
357
				return getInjectionTargets();
358
			case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
359
				return getLookupName();
316
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
360
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
317
				return getId();
361
				return getId();
318
		}
362
		}
Lines 324-335 Link Here
324
	 * <!-- end-user-doc -->
368
	 * <!-- end-user-doc -->
325
	 * @generated
369
	 * @generated
326
	 */
370
	 */
371
	@SuppressWarnings("unchecked")
327
	@Override
372
	@Override
328
	public void eSet(int featureID, Object newValue) {
373
	public void eSet(int featureID, Object newValue) {
329
		switch (featureID) {
374
		switch (featureID) {
330
			case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS:
375
			case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS:
331
				getDescriptions().clear();
376
				getDescriptions().clear();
332
				getDescriptions().addAll((Collection)newValue);
377
				getDescriptions().addAll((Collection<? extends Description>)newValue);
333
				return;
378
				return;
334
			case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME:
379
			case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME:
335
				setPersistenceUnitRefName((String)newValue);
380
				setPersistenceUnitRefName((String)newValue);
Lines 342-348 Link Here
342
				return;
387
				return;
343
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
388
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
344
				getInjectionTargets().clear();
389
				getInjectionTargets().clear();
345
				getInjectionTargets().addAll((Collection)newValue);
390
				getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue);
391
				return;
392
			case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
393
				setLookupName((String)newValue);
346
				return;
394
				return;
347
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
395
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
348
				setId((String)newValue);
396
				setId((String)newValue);
Lines 374-379 Link Here
374
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
422
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
375
				getInjectionTargets().clear();
423
				getInjectionTargets().clear();
376
				return;
424
				return;
425
			case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
426
				setLookupName(LOOKUP_NAME_EDEFAULT);
427
				return;
377
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
428
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
378
				setId(ID_EDEFAULT);
429
				setId(ID_EDEFAULT);
379
				return;
430
				return;
Lines 399-404 Link Here
399
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
450
				return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
400
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
451
			case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
401
				return injectionTargets != null && !injectionTargets.isEmpty();
452
				return injectionTargets != null && !injectionTargets.isEmpty();
453
			case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
454
				return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
402
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
455
			case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
403
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
456
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
404
		}
457
		}
Lines 421-426 Link Here
421
		result.append(persistenceUnitName);
474
		result.append(persistenceUnitName);
422
		result.append(", mappedName: "); //$NON-NLS-1$
475
		result.append(", mappedName: "); //$NON-NLS-1$
423
		result.append(mappedName);
476
		result.append(mappedName);
477
		result.append(", lookupName: "); //$NON-NLS-1$
478
		result.append(lookupName);
424
		result.append(", id: "); //$NON-NLS-1$
479
		result.append(", id: "); //$NON-NLS-1$
425
		result.append(id);
480
		result.append(id);
426
		result.append(')');
481
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/application/internal/util/ApplicationSwitch.java (-25 / +25 lines)
Lines 32-38 Link Here
32
 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage
32
 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage
33
 * @generated
33
 * @generated
34
 */
34
 */
35
public class ApplicationSwitch {
35
public class ApplicationSwitch<T> {
36
	/**
36
	/**
37
	 * The cached model package
37
	 * The cached model package
38
	 * <!-- begin-user-doc -->
38
	 * <!-- begin-user-doc -->
Lines 60-66 Link Here
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
61
	 * @generated
61
	 * @generated
62
	 */
62
	 */
63
	public Object doSwitch(EObject theEObject) {
63
	public T doSwitch(EObject theEObject) {
64
		return doSwitch(theEObject.eClass(), theEObject);
64
		return doSwitch(theEObject.eClass(), theEObject);
65
	}
65
	}
66
66
Lines 71-86 Link Here
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
72
	 * @generated
72
	 * @generated
73
	 */
73
	 */
74
	protected Object doSwitch(EClass theEClass, EObject theEObject) {
74
	protected T doSwitch(EClass theEClass, EObject theEObject) {
75
		if (theEClass.eContainer() == modelPackage) {
75
		if (theEClass.eContainer() == modelPackage) {
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
77
		}
77
		}
78
		else {
78
		else {
79
			List eSuperTypes = theEClass.getESuperTypes();
79
			List<EClass> eSuperTypes = theEClass.getESuperTypes();
80
			return
80
			return
81
				eSuperTypes.isEmpty() ?
81
				eSuperTypes.isEmpty() ?
82
					defaultCase(theEObject) :
82
					defaultCase(theEObject) :
83
					doSwitch((EClass)eSuperTypes.get(0), theEObject);
83
					doSwitch(eSuperTypes.get(0), theEObject);
84
		}
84
		}
85
	}
85
	}
86
86
Lines 91-119 Link Here
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
92
	 * @generated
92
	 * @generated
93
	 */
93
	 */
94
	protected Object doSwitch(int classifierID, EObject theEObject) {
94
	protected T doSwitch(int classifierID, EObject theEObject) {
95
		switch (classifierID) {
95
		switch (classifierID) {
96
			case ApplicationPackage.APPLICATION: {
96
			case ApplicationPackage.APPLICATION: {
97
				Application application = (Application)theEObject;
97
				Application application = (Application)theEObject;
98
				Object result = caseApplication(application);
98
				T result = caseApplication(application);
99
				if (result == null) result = defaultCase(theEObject);
99
				if (result == null) result = defaultCase(theEObject);
100
				return result;
100
				return result;
101
			}
101
			}
102
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR: {
102
			case ApplicationPackage.APPLICATION_DEPLOYMENT_DESCRIPTOR: {
103
				ApplicationDeploymentDescriptor applicationDeploymentDescriptor = (ApplicationDeploymentDescriptor)theEObject;
103
				ApplicationDeploymentDescriptor applicationDeploymentDescriptor = (ApplicationDeploymentDescriptor)theEObject;
104
				Object result = caseApplicationDeploymentDescriptor(applicationDeploymentDescriptor);
104
				T result = caseApplicationDeploymentDescriptor(applicationDeploymentDescriptor);
105
				if (result == null) result = defaultCase(theEObject);
105
				if (result == null) result = defaultCase(theEObject);
106
				return result;
106
				return result;
107
			}
107
			}
108
			case ApplicationPackage.MODULE: {
108
			case ApplicationPackage.MODULE: {
109
				Module module = (Module)theEObject;
109
				Module module = (Module)theEObject;
110
				Object result = caseModule(module);
110
				T result = caseModule(module);
111
				if (result == null) result = defaultCase(theEObject);
111
				if (result == null) result = defaultCase(theEObject);
112
				return result;
112
				return result;
113
			}
113
			}
114
			case ApplicationPackage.WEB: {
114
			case ApplicationPackage.WEB: {
115
				Web web = (Web)theEObject;
115
				Web web = (Web)theEObject;
116
				Object result = caseWeb(web);
116
				T result = caseWeb(web);
117
				if (result == null) result = defaultCase(theEObject);
117
				if (result == null) result = defaultCase(theEObject);
118
				return result;
118
				return result;
119
			}
119
			}
Lines 122-198 Link Here
122
	}
122
	}
123
123
124
	/**
124
	/**
125
	 * Returns the result of interpretting the object as an instance of '<em>Application</em>'.
125
	 * Returns the result of interpreting the object as an instance of '<em>Application</em>'.
126
	 * <!-- begin-user-doc -->
126
	 * <!-- begin-user-doc -->
127
	 * This implementation returns null;
127
	 * This implementation returns null;
128
	 * returning a non-null result will terminate the switch.
128
	 * returning a non-null result will terminate the switch.
129
	 * <!-- end-user-doc -->
129
	 * <!-- end-user-doc -->
130
	 * @param object the target of the switch.
130
	 * @param object the target of the switch.
131
	 * @return the result of interpretting the object as an instance of '<em>Application</em>'.
131
	 * @return the result of interpreting the object as an instance of '<em>Application</em>'.
132
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
132
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
133
	 * @generated
133
	 * @generated
134
	 */
134
	 */
135
	public Object caseApplication(Application object) {
135
	public T caseApplication(Application object) {
136
		return null;
136
		return null;
137
	}
137
	}
138
138
139
	/**
139
	/**
140
	 * Returns the result of interpretting the object as an instance of '<em>Deployment Descriptor</em>'.
140
	 * Returns the result of interpreting the object as an instance of '<em>Deployment Descriptor</em>'.
141
	 * <!-- begin-user-doc -->
141
	 * <!-- begin-user-doc -->
142
	 * This implementation returns null;
142
	 * This implementation returns null;
143
	 * returning a non-null result will terminate the switch.
143
	 * returning a non-null result will terminate the switch.
144
	 * <!-- end-user-doc -->
144
	 * <!-- end-user-doc -->
145
	 * @param object the target of the switch.
145
	 * @param object the target of the switch.
146
	 * @return the result of interpretting the object as an instance of '<em>Deployment Descriptor</em>'.
146
	 * @return the result of interpreting the object as an instance of '<em>Deployment Descriptor</em>'.
147
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
147
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
148
	 * @generated
148
	 * @generated
149
	 */
149
	 */
150
	public Object caseApplicationDeploymentDescriptor(ApplicationDeploymentDescriptor object) {
150
	public T caseApplicationDeploymentDescriptor(ApplicationDeploymentDescriptor object) {
151
		return null;
151
		return null;
152
	}
152
	}
153
153
154
	/**
154
	/**
155
	 * Returns the result of interpretting the object as an instance of '<em>Module</em>'.
155
	 * Returns the result of interpreting the object as an instance of '<em>Module</em>'.
156
	 * <!-- begin-user-doc -->
156
	 * <!-- begin-user-doc -->
157
	 * This implementation returns null;
157
	 * This implementation returns null;
158
	 * returning a non-null result will terminate the switch.
158
	 * returning a non-null result will terminate the switch.
159
	 * <!-- end-user-doc -->
159
	 * <!-- end-user-doc -->
160
	 * @param object the target of the switch.
160
	 * @param object the target of the switch.
161
	 * @return the result of interpretting the object as an instance of '<em>Module</em>'.
161
	 * @return the result of interpreting the object as an instance of '<em>Module</em>'.
162
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
162
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
163
	 * @generated
163
	 * @generated
164
	 */
164
	 */
165
	public Object caseModule(Module object) {
165
	public T caseModule(Module object) {
166
		return null;
166
		return null;
167
	}
167
	}
168
168
169
	/**
169
	/**
170
	 * Returns the result of interpretting the object as an instance of '<em>Web</em>'.
170
	 * Returns the result of interpreting the object as an instance of '<em>Web</em>'.
171
	 * <!-- begin-user-doc -->
171
	 * <!-- begin-user-doc -->
172
	 * This implementation returns null;
172
	 * This implementation returns null;
173
	 * returning a non-null result will terminate the switch.
173
	 * returning a non-null result will terminate the switch.
174
	 * <!-- end-user-doc -->
174
	 * <!-- end-user-doc -->
175
	 * @param object the target of the switch.
175
	 * @param object the target of the switch.
176
	 * @return the result of interpretting the object as an instance of '<em>Web</em>'.
176
	 * @return the result of interpreting the object as an instance of '<em>Web</em>'.
177
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
177
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
178
	 * @generated
178
	 * @generated
179
	 */
179
	 */
180
	public Object caseWeb(Web object) {
180
	public T caseWeb(Web object) {
181
		return null;
181
		return null;
182
	}
182
	}
183
183
184
	/**
184
	/**
185
	 * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
185
	 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
186
	 * <!-- begin-user-doc -->
186
	 * <!-- begin-user-doc -->
187
	 * This implementation returns null;
187
	 * This implementation returns null;
188
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
188
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
189
	 * <!-- end-user-doc -->
189
	 * <!-- end-user-doc -->
190
	 * @param object the target of the switch.
190
	 * @param object the target of the switch.
191
	 * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
191
	 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
192
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
192
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
193
	 * @generated
193
	 * @generated
194
	 */
194
	 */
195
	public Object defaultCase(EObject object) {
195
	public T defaultCase(EObject object) {
196
		return null;
196
		return null;
197
	}
197
	}
198
198
(-)jee-models/org/eclipse/jst/javaee/application/internal/util/ApplicationAdapterFactory.java (-9 / +9 lines)
Lines 70-100 Link Here
70
	}
70
	}
71
71
72
	/**
72
	/**
73
	 * The switch the delegates to the <code>createXXX</code> methods.
73
	 * The switch that delegates to the <code>createXXX</code> methods.
74
	 * <!-- begin-user-doc -->
74
	 * <!-- begin-user-doc -->
75
	 * <!-- end-user-doc -->
75
	 * <!-- end-user-doc -->
76
	 * @generated
76
	 * @generated
77
	 */
77
	 */
78
	protected ApplicationSwitch modelSwitch =
78
	protected ApplicationSwitch<Adapter> modelSwitch =
79
		new ApplicationSwitch() {
79
		new ApplicationSwitch<Adapter>() {
80
			@Override
80
			@Override
81
			public Object caseApplication(Application object) {
81
			public Adapter caseApplication(Application object) {
82
				return createApplicationAdapter();
82
				return createApplicationAdapter();
83
			}
83
			}
84
			@Override
84
			@Override
85
			public Object caseApplicationDeploymentDescriptor(ApplicationDeploymentDescriptor object) {
85
			public Adapter caseApplicationDeploymentDescriptor(ApplicationDeploymentDescriptor object) {
86
				return createApplicationDeploymentDescriptorAdapter();
86
				return createApplicationDeploymentDescriptorAdapter();
87
			}
87
			}
88
			@Override
88
			@Override
89
			public Object caseModule(Module object) {
89
			public Adapter caseModule(Module object) {
90
				return createModuleAdapter();
90
				return createModuleAdapter();
91
			}
91
			}
92
			@Override
92
			@Override
93
			public Object caseWeb(Web object) {
93
			public Adapter caseWeb(Web object) {
94
				return createWebAdapter();
94
				return createWebAdapter();
95
			}
95
			}
96
			@Override
96
			@Override
97
			public Object defaultCase(EObject object) {
97
			public Adapter defaultCase(EObject object) {
98
				return createEObjectAdapter();
98
				return createEObjectAdapter();
99
			}
99
			}
100
		};
100
		};
Lines 109-115 Link Here
109
	 */
109
	 */
110
	@Override
110
	@Override
111
	public Adapter createAdapter(Notifier target) {
111
	public Adapter createAdapter(Notifier target) {
112
		return (Adapter)modelSwitch.doSwitch((EObject)target);
112
		return modelSwitch.doSwitch((EObject)target);
113
	}
113
	}
114
114
115
115
(-)jee-models/org/eclipse/jst/javaee/application/internal/util/ApplicationXMLProcessor.java (-1 / +2 lines)
Lines 14-19 Link Here
14
14
15
import org.eclipse.emf.ecore.EPackage;
15
import org.eclipse.emf.ecore.EPackage;
16
16
17
import org.eclipse.emf.ecore.resource.Resource;
17
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
19
19
import org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage;
20
import org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage;
Lines 43-49 Link Here
43
	 * @generated
44
	 * @generated
44
	 */
45
	 */
45
	@Override
46
	@Override
46
	protected Map getRegistrations() {
47
	protected Map<String, Resource.Factory> getRegistrations() {
47
		if (registrations == null) {
48
		if (registrations == null) {
48
			super.getRegistrations();
49
			super.getRegistrations();
49
			registrations.put(XML_EXTENSION, new ApplicationResourceFactoryImpl());
50
			registrations.put(XML_EXTENSION, new ApplicationResourceFactoryImpl());
(-)jee-models/org/eclipse/jst/javaee/application/Module.java (-32 / +37 lines)
Lines 20-31 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The moduleType defines a single Java EE module and contains a
23
 *         The moduleType defines a single Java EE module and contains a
24
 * 	connector, ejb, java, or web element, which indicates the
24
 *         connector, ejb, java, or web element, which indicates the
25
 * 	module type and contains a path to the module file, and an
25
 *         module type and contains a path to the module file, and an
26
 * 	optional alt-dd element, which specifies an optional URI to
26
 *         optional alt-dd element, which specifies an optional URI to
27
 * 	the post-assembly version of the deployment descriptor.
27
 *         the post-assembly version of the deployment descriptor.
28
 * 
28
 *         
29
 *         @since Java EE 5, Application 5
29
 *       
30
 *       
30
 * <!-- end-model-doc -->
31
 * <!-- end-model-doc -->
31
 *
32
 *
Lines 53-63 Link Here
53
	 * <!-- begin-model-doc -->
54
	 * <!-- begin-model-doc -->
54
	 * 
55
	 * 
55
	 * 
56
	 * 
56
	 * 	      The connector element specifies the URI of a
57
	 *               The connector element specifies the URI of a
57
	 * 	      resource adapter archive file, relative to the
58
	 *               resource adapter archive file, relative to the
58
	 * 	      top level of the application package.
59
	 *               top level of the application package.
59
	 * 
60
	 *               
60
	 * 	    
61
	 *               @since Java EE 5, Application 5
62
	 *             
61
	 * <!-- end-model-doc -->
63
	 * <!-- end-model-doc -->
62
	 * @return the value of the '<em>Connector</em>' attribute.
64
	 * @return the value of the '<em>Connector</em>' attribute.
63
	 * @see #setConnector(String)
65
	 * @see #setConnector(String)
Lines 83-93 Link Here
83
	 * <!-- begin-model-doc -->
85
	 * <!-- begin-model-doc -->
84
	 * 
86
	 * 
85
	 * 
87
	 * 
86
	 * 	      The ejb element specifies the URI of an ejb-jar,
88
	 *               The ejb element specifies the URI of an ejb-jar,
87
	 * 	      relative to the top level of the application
89
	 *               relative to the top level of the application
88
	 * 	      package.
90
	 *               package.
89
	 * 
91
	 *               
90
	 * 	    
92
	 *               @since Java EE 5, Application 5
93
	 *             
91
	 * <!-- end-model-doc -->
94
	 * <!-- end-model-doc -->
92
	 * @return the value of the '<em>Ejb</em>' attribute.
95
	 * @return the value of the '<em>Ejb</em>' attribute.
93
	 * @see #setEjb(String)
96
	 * @see #setEjb(String)
Lines 113-123 Link Here
113
	 * <!-- begin-model-doc -->
116
	 * <!-- begin-model-doc -->
114
	 * 
117
	 * 
115
	 * 
118
	 * 
116
	 * 	      The java element specifies the URI of a java
119
	 *               The java element specifies the URI of a java
117
	 * 	      application client module, relative to the top
120
	 *               application client module, relative to the top
118
	 * 	      level of the application package.
121
	 *               level of the application package.
119
	 * 
122
	 *               
120
	 * 	    
123
	 *               @since Java EE 5, Application 5
124
	 *             
121
	 * <!-- end-model-doc -->
125
	 * <!-- end-model-doc -->
122
	 * @return the value of the '<em>Java</em>' attribute.
126
	 * @return the value of the '<em>Java</em>' attribute.
123
	 * @see #setJava(String)
127
	 * @see #setJava(String)
Lines 168-184 Link Here
168
	 * <!-- begin-model-doc -->
172
	 * <!-- begin-model-doc -->
169
	 * 
173
	 * 
170
	 * 
174
	 * 
171
	 * 	    The alt-dd element specifies an optional URI to the
175
	 *             The alt-dd element specifies an optional URI to the
172
	 * 	    post-assembly version of the deployment descriptor
176
	 *             post-assembly version of the deployment descriptor
173
	 * 	    file for a particular Java EE module.  The URI must
177
	 *             file for a particular Java EE module.  The URI must
174
	 * 	    specify the full pathname of the deployment
178
	 *             specify the full pathname of the deployment
175
	 * 	    descriptor file relative to the application's root
179
	 *             descriptor file relative to the application's root
176
	 * 	    directory. If alt-dd is not specified, the deployer
180
	 *             directory. If alt-dd is not specified, the deployer
177
	 * 	    must read the deployment descriptor from the default
181
	 *             must read the deployment descriptor from the default
178
	 * 	    location and file name required by the respective
182
	 *             location and file name required by the respective
179
	 * 	    component specification.
183
	 *             component specification.
180
	 * 
184
	 *             
181
	 * 	  
185
	 *             @since Java EE 5, Application 5
186
	 *           
182
	 * <!-- end-model-doc -->
187
	 * <!-- end-model-doc -->
183
	 * @return the value of the '<em>Alt Dd</em>' attribute.
188
	 * @return the value of the '<em>Alt Dd</em>' attribute.
184
	 * @see #setAltDd(String)
189
	 * @see #setAltDd(String)
(-)jee-models/org/eclipse/jst/javaee/application/ApplicationDeploymentDescriptor.java (-5 / +6 lines)
Lines 65-71 Link Here
65
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplicationDeploymentDescriptor_XMLNSPrefixMap()
65
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplicationDeploymentDescriptor_XMLNSPrefixMap()
66
	 * @generated
66
	 * @generated
67
	 */
67
	 */
68
	Map getXMLNSPrefixMap();
68
	Map<String, String> getXMLNSPrefixMap();
69
69
70
	/**
70
	/**
71
	 * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
71
	 * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
Lines 81-87 Link Here
81
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplicationDeploymentDescriptor_XSISchemaLocation()
81
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplicationDeploymentDescriptor_XSISchemaLocation()
82
	 * @generated
82
	 * @generated
83
	 */
83
	 */
84
	Map getXSISchemaLocation();
84
	Map<String, String> getXSISchemaLocation();
85
85
86
	/**
86
	/**
87
	 * Returns the value of the '<em><b>Application</b></em>' containment reference.
87
	 * Returns the value of the '<em><b>Application</b></em>' containment reference.
Lines 90-98 Link Here
90
	 * <!-- begin-model-doc -->
90
	 * <!-- begin-model-doc -->
91
	 * 
91
	 * 
92
	 * 
92
	 * 
93
	 * 	The application element is the root element of a Java EE
93
	 *         The application element is the root element of a Java EE
94
	 * 	application deployment descriptor.
94
	 *         application deployment descriptor.
95
	 * 
95
	 *         
96
	 *         @since Java EE 5, Application 5
96
	 *       
97
	 *       
97
	 * <!-- end-model-doc -->
98
	 * <!-- end-model-doc -->
98
	 * @return the value of the '<em>Application</em>' containment reference.
99
	 * @return the value of the '<em>Application</em>' containment reference.
(-)jee-models/org/eclipse/jst/javaee/application/Web.java (-12 / +15 lines)
Lines 20-28 Link Here
20
 * <!-- begin-model-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
21
 * 
22
 * 
22
 * 
23
 * 	The webType defines the web-uri and context-root of
23
 *         The webType defines the web-uri and context-root of
24
 * 	a web application module.
24
 *         a web application module.
25
 * 
25
 *         
26
 *         @since Java EE 5, Application 5
26
 *       
27
 *       
27
 * <!-- end-model-doc -->
28
 * <!-- end-model-doc -->
28
 *
29
 *
Lines 47-57 Link Here
47
	 * <!-- begin-model-doc -->
48
	 * <!-- begin-model-doc -->
48
	 * 
49
	 * 
49
	 * 
50
	 * 
50
	 * 	    The web-uri element specifies the URI of a web
51
	 *             The web-uri element specifies the URI of a web
51
	 * 	    application file, relative to the top level of the
52
	 *             application file, relative to the top level of the
52
	 * 	    application package.
53
	 *             application package.
53
	 * 
54
	 *             
54
	 * 	  
55
	 *             @since Java EE 5, Application 5
56
	 *           
55
	 * <!-- end-model-doc -->
57
	 * <!-- end-model-doc -->
56
	 * @return the value of the '<em>Web Uri</em>' attribute.
58
	 * @return the value of the '<em>Web Uri</em>' attribute.
57
	 * @see #setWebUri(String)
59
	 * @see #setWebUri(String)
Lines 77-86 Link Here
77
	 * <!-- begin-model-doc -->
79
	 * <!-- begin-model-doc -->
78
	 * 
80
	 * 
79
	 * 
81
	 * 
80
	 * 	    The context-root element specifies the context root
82
	 *             The context-root element specifies the context root
81
	 * 	    of a web application.
83
	 *             of a web application.
82
	 * 
84
	 *             
83
	 * 	  
85
	 *             @since Java EE 5, Application 5
86
	 *           
84
	 * <!-- end-model-doc -->
87
	 * <!-- end-model-doc -->
85
	 * @return the value of the '<em>Context Root</em>' attribute.
88
	 * @return the value of the '<em>Context Root</em>' attribute.
86
	 * @see #setContextRoot(String)
89
	 * @see #setContextRoot(String)
(-)jee-models/org/eclipse/jst/javaee/application/Application.java (-28 / +328 lines)
Lines 12-18 Link Here
12
12
13
import java.util.List;
13
import java.util.List;
14
14
15
import org.eclipse.jst.javaee.core.DataSourceType;
16
import org.eclipse.jst.javaee.core.Description;
17
import org.eclipse.jst.javaee.core.DisplayName;
18
import org.eclipse.jst.javaee.core.EjbLocalRef;
19
import org.eclipse.jst.javaee.core.EjbRef;
20
import org.eclipse.jst.javaee.core.EnvEntry;
21
import org.eclipse.jst.javaee.core.GenericBooleanType;
22
import org.eclipse.jst.javaee.core.Icon;
15
import org.eclipse.jst.javaee.core.JavaEEObject;
23
import org.eclipse.jst.javaee.core.JavaEEObject;
24
import org.eclipse.jst.javaee.core.MessageDestination;
25
import org.eclipse.jst.javaee.core.MessageDestinationRef;
26
import org.eclipse.jst.javaee.core.PersistenceContextRef;
27
import org.eclipse.jst.javaee.core.PersistenceUnitRef;
28
import org.eclipse.jst.javaee.core.ResourceEnvRef;
29
import org.eclipse.jst.javaee.core.ResourceRef;
30
import org.eclipse.jst.javaee.core.SecurityRole;
31
import org.eclipse.jst.javaee.core.ServiceRef;
16
32
17
/**
33
/**
18
 * <!-- begin-user-doc -->
34
 * <!-- begin-user-doc -->
Lines 22-42 Link Here
22
 * <!-- begin-model-doc -->
38
 * <!-- begin-model-doc -->
23
 * 
39
 * 
24
 * 
40
 * 
25
 * 	The applicationType defines the structure of the
41
 *         The applicationType defines the structure of the
26
 * 	application.
42
 *         application. 
27
 * 
43
 *         
44
 *         @since Java EE 5, Application 5
28
 *       
45
 *       
29
 * <!-- end-model-doc -->
46
 * <!-- end-model-doc -->
30
 *
47
 *
31
 * <p>
48
 * <p>
32
 * The following features are supported:
49
 * The following features are supported:
33
 * <ul>
50
 * <ul>
51
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getApplicationName <em>Application Name</em>}</li>
34
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getDescriptions <em>Descriptions</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getDescriptions <em>Descriptions</em>}</li>
35
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getDisplayNames <em>Display Names</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getDisplayNames <em>Display Names</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getIcons <em>Icons</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getIcons <em>Icons</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getInitializeInOrder <em>Initialize In Order</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getModules <em>Modules</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getModules <em>Modules</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getSecurityRoles <em>Security Roles</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getSecurityRoles <em>Security Roles</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getLibraryDirectory <em>Library Directory</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getLibraryDirectory <em>Library Directory</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getEnvEntry <em>Env Entry</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getEjbRef <em>Ejb Ref</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getEjbLocalRef <em>Ejb Local Ref</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getServiceRefs <em>Service Refs</em>}</li>
63
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getResourceRef <em>Resource Ref</em>}</li>
64
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getResourceEnvRef <em>Resource Env Ref</em>}</li>
65
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getMessageDestinationRef <em>Message Destination Ref</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getPersistenceContextRef <em>Persistence Context Ref</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getPersistenceUnitRef <em>Persistence Unit Ref</em>}</li>
68
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getMessageDestination <em>Message Destination</em>}</li>
69
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getDataSource <em>Data Source</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getId <em>Id</em>}</li>
70
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getId <em>Id</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getVersion <em>Version</em>}</li>
71
 *   <li>{@link org.eclipse.jst.javaee.application.Application#getVersion <em>Version</em>}</li>
42
 * </ul>
72
 * </ul>
Lines 48-53 Link Here
48
 */
78
 */
49
public interface Application extends JavaEEObject {
79
public interface Application extends JavaEEObject {
50
	/**
80
	/**
81
	 * Returns the value of the '<em><b>Application Name</b></em>' attribute.
82
	 * <!-- begin-user-doc -->
83
	 * <!-- end-user-doc -->
84
	 * <!-- begin-model-doc -->
85
	 * 
86
	 *             @since Java EE 6, Application 6
87
	 *           
88
	 * <!-- end-model-doc -->
89
	 * @return the value of the '<em>Application Name</em>' attribute.
90
	 * @see #setApplicationName(String)
91
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_ApplicationName()
92
	 * @generated
93
	 */
94
	String getApplicationName();
95
96
	/**
97
	 * Sets the value of the '{@link org.eclipse.jst.javaee.application.Application#getApplicationName <em>Application Name</em>}' attribute.
98
	 * <!-- begin-user-doc -->
99
	 * <!-- end-user-doc -->
100
	 * @param value the new value of the '<em>Application Name</em>' attribute.
101
	 * @see #getApplicationName()
102
	 * @generated
103
	 */
104
	void setApplicationName(String value);
105
106
	/**
51
	 * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
107
	 * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
52
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
108
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
53
	 * <!-- begin-user-doc -->
109
	 * <!-- begin-user-doc -->
Lines 60-66 Link Here
60
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_Descriptions()
116
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_Descriptions()
61
	 * @generated
117
	 * @generated
62
	 */
118
	 */
63
	List getDescriptions();
119
	List<Description> getDescriptions();
64
120
65
	/**
121
	/**
66
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
122
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
Lines 75-81 Link Here
75
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_DisplayNames()
131
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_DisplayNames()
76
	 * @generated
132
	 * @generated
77
	 */
133
	 */
78
	List getDisplayNames();
134
	List<DisplayName> getDisplayNames();
79
135
80
	/**
136
	/**
81
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
137
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
Lines 90-96 Link Here
90
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_Icons()
146
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_Icons()
91
	 * @generated
147
	 * @generated
92
	 */
148
	 */
93
	List getIcons();
149
	List<Icon> getIcons();
150
151
	/**
152
	 * Returns the value of the '<em><b>Initialize In Order</b></em>' attribute.
153
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.GenericBooleanType}.
154
	 * <!-- begin-user-doc -->
155
	 * <!-- end-user-doc -->
156
	 * <!-- begin-model-doc -->
157
	 * 
158
	 * 
159
	 *             If initialize-in-order is true, modules must be initialized
160
	 *             in the order they're listed in this deployment descriptor.
161
	 *             If not set or set to false, the order of initialization is
162
	 *             unspecified and may be product-dependent.
163
	 *             
164
	 *             @since Java EE 6, Application 6
165
	 *           
166
	 * <!-- end-model-doc -->
167
	 * @return the value of the '<em>Initialize In Order</em>' attribute.
168
	 * @see org.eclipse.jst.javaee.core.GenericBooleanType
169
	 * @see #isSetInitializeInOrder()
170
	 * @see #unsetInitializeInOrder()
171
	 * @see #setInitializeInOrder(GenericBooleanType)
172
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_InitializeInOrder()
173
	 * @generated
174
	 */
175
	GenericBooleanType getInitializeInOrder();
176
177
	/**
178
	 * Sets the value of the '{@link org.eclipse.jst.javaee.application.Application#getInitializeInOrder <em>Initialize In Order</em>}' attribute.
179
	 * <!-- begin-user-doc -->
180
	 * <!-- end-user-doc -->
181
	 * @param value the new value of the '<em>Initialize In Order</em>' attribute.
182
	 * @see org.eclipse.jst.javaee.core.GenericBooleanType
183
	 * @see #isSetInitializeInOrder()
184
	 * @see #unsetInitializeInOrder()
185
	 * @see #getInitializeInOrder()
186
	 * @generated
187
	 */
188
	void setInitializeInOrder(GenericBooleanType value);
189
190
	/**
191
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.application.Application#getInitializeInOrder <em>Initialize In Order</em>}' attribute.
192
	 * <!-- begin-user-doc -->
193
	 * <!-- end-user-doc -->
194
	 * @see #isSetInitializeInOrder()
195
	 * @see #getInitializeInOrder()
196
	 * @see #setInitializeInOrder(GenericBooleanType)
197
	 * @generated
198
	 */
199
	void unsetInitializeInOrder();
200
201
	/**
202
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.application.Application#getInitializeInOrder <em>Initialize In Order</em>}' attribute is set.
203
	 * <!-- begin-user-doc -->
204
	 * <!-- end-user-doc -->
205
	 * @return whether the value of the '<em>Initialize In Order</em>' attribute is set.
206
	 * @see #unsetInitializeInOrder()
207
	 * @see #getInitializeInOrder()
208
	 * @see #setInitializeInOrder(GenericBooleanType)
209
	 * @generated
210
	 */
211
	boolean isSetInitializeInOrder();
94
212
95
	/**
213
	/**
96
	 * Returns the value of the '<em><b>Modules</b></em>' containment reference list.
214
	 * Returns the value of the '<em><b>Modules</b></em>' containment reference list.
Lines 100-117 Link Here
100
	 * <!-- begin-model-doc -->
218
	 * <!-- begin-model-doc -->
101
	 * 
219
	 * 
102
	 * 
220
	 * 
103
	 * 	    The application deployment descriptor must have one
221
	 *             The application deployment descriptor must have one
104
	 * 	    module element for each Java EE module in the
222
	 *             module element for each Java EE module in the
105
	 * 	    application package. A module element is defined
223
	 *             application package. A module element is defined 
106
	 * 	    by moduleType definition.
224
	 *             by moduleType definition. 
107
	 * 
225
	 *             
108
	 * 	  
226
	 *             @since Java EE 5, Application 5
227
	 *           
109
	 * <!-- end-model-doc -->
228
	 * <!-- end-model-doc -->
110
	 * @return the value of the '<em>Modules</em>' containment reference list.
229
	 * @return the value of the '<em>Modules</em>' containment reference list.
111
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_Modules()
230
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_Modules()
112
	 * @generated
231
	 * @generated
113
	 */
232
	 */
114
	List getModules();
233
	List<Module> getModules();
115
234
116
	/**
235
	/**
117
	 * Returns the value of the '<em><b>Security Roles</b></em>' containment reference list.
236
	 * Returns the value of the '<em><b>Security Roles</b></em>' containment reference list.
Lines 122-132 Link Here
122
	 * there really should be more of a description here...
241
	 * there really should be more of a description here...
123
	 * </p>
242
	 * </p>
124
	 * <!-- end-user-doc -->
243
	 * <!-- end-user-doc -->
244
	 * <!-- begin-model-doc -->
245
	 * 
246
	 *             @since Java EE 6, Application 6
247
	 *           
248
	 * <!-- end-model-doc -->
125
	 * @return the value of the '<em>Security Roles</em>' containment reference list.
249
	 * @return the value of the '<em>Security Roles</em>' containment reference list.
126
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_SecurityRoles()
250
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_SecurityRoles()
127
	 * @generated
251
	 * @generated
128
	 */
252
	 */
129
	List getSecurityRoles();
253
	List<SecurityRole> getSecurityRoles();
130
254
131
	/**
255
	/**
132
	 * Returns the value of the '<em><b>Library Directory</b></em>' attribute.
256
	 * Returns the value of the '<em><b>Library Directory</b></em>' attribute.
Lines 135-150 Link Here
135
	 * <!-- begin-model-doc -->
259
	 * <!-- begin-model-doc -->
136
	 * 
260
	 * 
137
	 * 
261
	 * 
138
	 * 	    The library-directory element specifies the pathname
262
	 *             The library-directory element specifies the pathname
139
	 * 	    of a directory within the application package, relative
263
	 *             of a directory within the application package, relative
140
	 * 	    to the top level of the application package.  All files
264
	 *             to the top level of the application package.  All files
141
	 * 	    named "*.jar" in this directory must be made available
265
	 *             named "*.jar" in this directory must be made available
142
	 * 	    in the class path of all components included in this
266
	 *             in the class path of all components included in this
143
	 * 	    application package.  If this element isn't specified,
267
	 *             application package.  If this element isn't specified,
144
	 * 	    the directory named "lib" is searched.  An empty element
268
	 *             the directory named "lib" is searched.  An empty element
145
	 * 	    may be used to disable searching.
269
	 *             may be used to disable searching.
146
	 * 
270
	 *             
147
	 * 	  
271
	 *             @since Java EE 5, Application 5
272
	 *           
148
	 * <!-- end-model-doc -->
273
	 * <!-- end-model-doc -->
149
	 * @return the value of the '<em>Library Directory</em>' attribute.
274
	 * @return the value of the '<em>Library Directory</em>' attribute.
150
	 * @see #setLibraryDirectory(String)
275
	 * @see #setLibraryDirectory(String)
Lines 164-169 Link Here
164
	void setLibraryDirectory(String value);
289
	void setLibraryDirectory(String value);
165
290
166
	/**
291
	/**
292
	 * Returns the value of the '<em><b>Env Entry</b></em>' containment reference list.
293
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.EnvEntry}.
294
	 * <!-- begin-user-doc -->
295
	 * <!-- end-user-doc -->
296
	 * <!-- begin-model-doc -->
297
	 * 
298
	 *             @since Java EE 6, Application 6
299
	 *           
300
	 * <!-- end-model-doc -->
301
	 * @return the value of the '<em>Env Entry</em>' containment reference list.
302
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_EnvEntry()
303
	 * @generated
304
	 */
305
	List<EnvEntry> getEnvEntry();
306
307
	/**
308
	 * Returns the value of the '<em><b>Ejb Ref</b></em>' containment reference list.
309
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.EjbRef}.
310
	 * <!-- begin-user-doc -->
311
	 * <!-- end-user-doc -->
312
	 * <!-- begin-model-doc -->
313
	 * 
314
	 *             @since Java EE 6, Application 6
315
	 *           
316
	 * <!-- end-model-doc -->
317
	 * @return the value of the '<em>Ejb Ref</em>' containment reference list.
318
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_EjbRef()
319
	 * @generated
320
	 */
321
	List<EjbRef> getEjbRef();
322
323
	/**
324
	 * Returns the value of the '<em><b>Ejb Local Ref</b></em>' containment reference list.
325
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.EjbLocalRef}.
326
	 * <!-- begin-user-doc -->
327
	 * <!-- end-user-doc -->
328
	 * <!-- begin-model-doc -->
329
	 * 
330
	 *             @since Java EE 6, Application 6
331
	 *           
332
	 * <!-- end-model-doc -->
333
	 * @return the value of the '<em>Ejb Local Ref</em>' containment reference list.
334
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_EjbLocalRef()
335
	 * @generated
336
	 */
337
	List<EjbLocalRef> getEjbLocalRef();
338
339
	/**
340
	 * Returns the value of the '<em><b>Service Refs</b></em>' containment reference list.
341
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.ServiceRef}.
342
	 * <!-- begin-user-doc -->
343
	 * <p>
344
	 * If the meaning of the '<em>Service Refs</em>' containment reference list isn't clear,
345
	 * there really should be more of a description here...
346
	 * </p>
347
	 * <!-- end-user-doc -->
348
	 * @return the value of the '<em>Service Refs</em>' containment reference list.
349
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_ServiceRefs()
350
	 * @generated
351
	 */
352
	List<ServiceRef> getServiceRefs();
353
354
	/**
355
	 * Returns the value of the '<em><b>Resource Ref</b></em>' containment reference list.
356
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.ResourceRef}.
357
	 * <!-- begin-user-doc -->
358
	 * <!-- end-user-doc -->
359
	 * <!-- begin-model-doc -->
360
	 * 
361
	 *             @since Java EE 6, Application 6
362
	 *           
363
	 * <!-- end-model-doc -->
364
	 * @return the value of the '<em>Resource Ref</em>' containment reference list.
365
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_ResourceRef()
366
	 * @generated
367
	 */
368
	List<ResourceRef> getResourceRef();
369
370
	/**
371
	 * Returns the value of the '<em><b>Resource Env Ref</b></em>' containment reference list.
372
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.ResourceEnvRef}.
373
	 * <!-- begin-user-doc -->
374
	 * <!-- end-user-doc -->
375
	 * <!-- begin-model-doc -->
376
	 * 
377
	 *             @since Java EE 6, Application 6
378
	 *           
379
	 * <!-- end-model-doc -->
380
	 * @return the value of the '<em>Resource Env Ref</em>' containment reference list.
381
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_ResourceEnvRef()
382
	 * @generated
383
	 */
384
	List<ResourceEnvRef> getResourceEnvRef();
385
386
	/**
387
	 * Returns the value of the '<em><b>Message Destination Ref</b></em>' containment reference list.
388
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.MessageDestinationRef}.
389
	 * <!-- begin-user-doc -->
390
	 * <!-- end-user-doc -->
391
	 * <!-- begin-model-doc -->
392
	 * 
393
	 *             @since Java EE 6, Application 6
394
	 *           
395
	 * <!-- end-model-doc -->
396
	 * @return the value of the '<em>Message Destination Ref</em>' containment reference list.
397
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_MessageDestinationRef()
398
	 * @generated
399
	 */
400
	List<MessageDestinationRef> getMessageDestinationRef();
401
402
	/**
403
	 * Returns the value of the '<em><b>Persistence Context Ref</b></em>' containment reference list.
404
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.PersistenceContextRef}.
405
	 * <!-- begin-user-doc -->
406
	 * <!-- end-user-doc -->
407
	 * <!-- begin-model-doc -->
408
	 * 
409
	 *             @since Java EE 6, Application 6
410
	 *           
411
	 * <!-- end-model-doc -->
412
	 * @return the value of the '<em>Persistence Context Ref</em>' containment reference list.
413
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_PersistenceContextRef()
414
	 * @generated
415
	 */
416
	List<PersistenceContextRef> getPersistenceContextRef();
417
418
	/**
419
	 * Returns the value of the '<em><b>Persistence Unit Ref</b></em>' containment reference list.
420
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.PersistenceUnitRef}.
421
	 * <!-- begin-user-doc -->
422
	 * <!-- end-user-doc -->
423
	 * <!-- begin-model-doc -->
424
	 * 
425
	 *             @since Java EE 6, Application 6
426
	 *           
427
	 * <!-- end-model-doc -->
428
	 * @return the value of the '<em>Persistence Unit Ref</em>' containment reference list.
429
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_PersistenceUnitRef()
430
	 * @generated
431
	 */
432
	List<PersistenceUnitRef> getPersistenceUnitRef();
433
434
	/**
435
	 * Returns the value of the '<em><b>Message Destination</b></em>' containment reference list.
436
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.MessageDestination}.
437
	 * <!-- begin-user-doc -->
438
	 * <!-- end-user-doc -->
439
	 * <!-- begin-model-doc -->
440
	 * 
441
	 *             @since Java EE 6, Application 6
442
	 *           
443
	 * <!-- end-model-doc -->
444
	 * @return the value of the '<em>Message Destination</em>' containment reference list.
445
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_MessageDestination()
446
	 * @generated
447
	 */
448
	List<MessageDestination> getMessageDestination();
449
450
	/**
451
	 * Returns the value of the '<em><b>Data Source</b></em>' containment reference list.
452
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.DataSourceType}.
453
	 * <!-- begin-user-doc -->
454
	 * <!-- end-user-doc -->
455
	 * <!-- begin-model-doc -->
456
	 * 
457
	 *             @since Java EE 6, Application 6
458
	 *           
459
	 * <!-- end-model-doc -->
460
	 * @return the value of the '<em>Data Source</em>' containment reference list.
461
	 * @see org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage#getApplication_DataSource()
462
	 * @generated
463
	 */
464
	List<DataSourceType> getDataSource();
465
466
	/**
167
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
467
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
168
	 * <!-- begin-user-doc -->
468
	 * <!-- begin-user-doc -->
169
	 * <p>
469
	 * <p>
Lines 190-204 Link Here
190
490
191
	/**
491
	/**
192
	 * Returns the value of the '<em><b>Version</b></em>' attribute.
492
	 * Returns the value of the '<em><b>Version</b></em>' attribute.
193
	 * The default value is <code>"5"</code>.
493
	 * The default value is <code>"6"</code>.
194
	 * <!-- begin-user-doc -->
494
	 * <!-- begin-user-doc -->
195
	 * <!-- end-user-doc -->
495
	 * <!-- end-user-doc -->
196
	 * <!-- begin-model-doc -->
496
	 * <!-- begin-model-doc -->
197
	 * 
497
	 * 
198
	 * 
498
	 * 
199
	 * 	  The required value for the version is 5.
499
	 *           The required value for the version is 6.
200
	 * 
500
	 *           
201
	 * 	
501
	 *         
202
	 * <!-- end-model-doc -->
502
	 * <!-- end-model-doc -->
203
	 * @return the value of the '<em>Version</em>' attribute.
503
	 * @return the value of the '<em>Version</em>' attribute.
204
	 * @see #isSetVersion()
504
	 * @see #isSetVersion()
(-)jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeSwitch.java (-117 / +180 lines)
Lines 32-38 Link Here
32
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage
32
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage
33
 * @generated
33
 * @generated
34
 */
34
 */
35
public class JavaeeSwitch {
35
public class JavaeeSwitch<T> {
36
	/**
36
	/**
37
	 * The cached model package
37
	 * The cached model package
38
	 * <!-- begin-user-doc -->
38
	 * <!-- begin-user-doc -->
Lines 60-66 Link Here
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
61
	 * @generated
61
	 * @generated
62
	 */
62
	 */
63
	public Object doSwitch(EObject theEObject) {
63
	public T doSwitch(EObject theEObject) {
64
		return doSwitch(theEObject.eClass(), theEObject);
64
		return doSwitch(theEObject.eClass(), theEObject);
65
	}
65
	}
66
66
Lines 71-86 Link Here
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
72
	 * @generated
72
	 * @generated
73
	 */
73
	 */
74
	protected Object doSwitch(EClass theEClass, EObject theEObject) {
74
	protected T doSwitch(EClass theEClass, EObject theEObject) {
75
		if (theEClass.eContainer() == modelPackage) {
75
		if (theEClass.eContainer() == modelPackage) {
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
77
		}
77
		}
78
		else {
78
		else {
79
			List eSuperTypes = theEClass.getESuperTypes();
79
			List<EClass> eSuperTypes = theEClass.getESuperTypes();
80
			return
80
			return
81
				eSuperTypes.isEmpty() ?
81
				eSuperTypes.isEmpty() ?
82
					defaultCase(theEObject) :
82
					defaultCase(theEObject) :
83
					doSwitch((EClass)eSuperTypes.get(0), theEObject);
83
					doSwitch(eSuperTypes.get(0), theEObject);
84
		}
84
		}
85
	}
85
	}
86
86
Lines 91-257 Link Here
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
92
	 * @generated
92
	 * @generated
93
	 */
93
	 */
94
	protected Object doSwitch(int classifierID, EObject theEObject) {
94
	protected T doSwitch(int classifierID, EObject theEObject) {
95
		switch (classifierID) {
95
		switch (classifierID) {
96
			case JavaeePackage.ADDRESSING_TYPE: {
97
				AddressingType addressingType = (AddressingType)theEObject;
98
				T result = caseAddressingType(addressingType);
99
				if (result == null) result = defaultCase(theEObject);
100
				return result;
101
			}
102
			case JavaeePackage.DATA_SOURCE_TYPE: {
103
				DataSourceType dataSourceType = (DataSourceType)theEObject;
104
				T result = caseDataSourceType(dataSourceType);
105
				if (result == null) result = defaultCase(theEObject);
106
				return result;
107
			}
96
			case JavaeePackage.DESCRIPTION: {
108
			case JavaeePackage.DESCRIPTION: {
97
				Description description = (Description)theEObject;
109
				Description description = (Description)theEObject;
98
				Object result = caseDescription(description);
110
				T result = caseDescription(description);
99
				if (result == null) result = defaultCase(theEObject);
111
				if (result == null) result = defaultCase(theEObject);
100
				return result;
112
				return result;
101
			}
113
			}
102
			case JavaeePackage.DISPLAY_NAME: {
114
			case JavaeePackage.DISPLAY_NAME: {
103
				DisplayName displayName = (DisplayName)theEObject;
115
				DisplayName displayName = (DisplayName)theEObject;
104
				Object result = caseDisplayName(displayName);
116
				T result = caseDisplayName(displayName);
105
				if (result == null) result = defaultCase(theEObject);
117
				if (result == null) result = defaultCase(theEObject);
106
				return result;
118
				return result;
107
			}
119
			}
108
			case JavaeePackage.EJB_LOCAL_REF: {
120
			case JavaeePackage.EJB_LOCAL_REF: {
109
				EjbLocalRef ejbLocalRef = (EjbLocalRef)theEObject;
121
				EjbLocalRef ejbLocalRef = (EjbLocalRef)theEObject;
110
				Object result = caseEjbLocalRef(ejbLocalRef);
122
				T result = caseEjbLocalRef(ejbLocalRef);
111
				if (result == null) result = defaultCase(theEObject);
123
				if (result == null) result = defaultCase(theEObject);
112
				return result;
124
				return result;
113
			}
125
			}
114
			case JavaeePackage.EJB_REF: {
126
			case JavaeePackage.EJB_REF: {
115
				EjbRef ejbRef = (EjbRef)theEObject;
127
				EjbRef ejbRef = (EjbRef)theEObject;
116
				Object result = caseEjbRef(ejbRef);
128
				T result = caseEjbRef(ejbRef);
117
				if (result == null) result = defaultCase(theEObject);
129
				if (result == null) result = defaultCase(theEObject);
118
				return result;
130
				return result;
119
			}
131
			}
120
			case JavaeePackage.EMPTY_TYPE: {
132
			case JavaeePackage.EMPTY_TYPE: {
121
				EmptyType emptyType = (EmptyType)theEObject;
133
				EmptyType emptyType = (EmptyType)theEObject;
122
				Object result = caseEmptyType(emptyType);
134
				T result = caseEmptyType(emptyType);
123
				if (result == null) result = defaultCase(theEObject);
135
				if (result == null) result = defaultCase(theEObject);
124
				return result;
136
				return result;
125
			}
137
			}
126
			case JavaeePackage.ENV_ENTRY: {
138
			case JavaeePackage.ENV_ENTRY: {
127
				EnvEntry envEntry = (EnvEntry)theEObject;
139
				EnvEntry envEntry = (EnvEntry)theEObject;
128
				Object result = caseEnvEntry(envEntry);
140
				T result = caseEnvEntry(envEntry);
129
				if (result == null) result = defaultCase(theEObject);
141
				if (result == null) result = defaultCase(theEObject);
130
				return result;
142
				return result;
131
			}
143
			}
132
			case JavaeePackage.ICON: {
144
			case JavaeePackage.ICON: {
133
				Icon icon = (Icon)theEObject;
145
				Icon icon = (Icon)theEObject;
134
				Object result = caseIcon(icon);
146
				T result = caseIcon(icon);
135
				if (result == null) result = defaultCase(theEObject);
147
				if (result == null) result = defaultCase(theEObject);
136
				return result;
148
				return result;
137
			}
149
			}
138
			case JavaeePackage.INJECTION_TARGET: {
150
			case JavaeePackage.INJECTION_TARGET: {
139
				InjectionTarget injectionTarget = (InjectionTarget)theEObject;
151
				InjectionTarget injectionTarget = (InjectionTarget)theEObject;
140
				Object result = caseInjectionTarget(injectionTarget);
152
				T result = caseInjectionTarget(injectionTarget);
141
				if (result == null) result = defaultCase(theEObject);
153
				if (result == null) result = defaultCase(theEObject);
142
				return result;
154
				return result;
143
			}
155
			}
144
			case JavaeePackage.LIFECYCLE_CALLBACK: {
156
			case JavaeePackage.LIFECYCLE_CALLBACK: {
145
				LifecycleCallback lifecycleCallback = (LifecycleCallback)theEObject;
157
				LifecycleCallback lifecycleCallback = (LifecycleCallback)theEObject;
146
				Object result = caseLifecycleCallback(lifecycleCallback);
158
				T result = caseLifecycleCallback(lifecycleCallback);
147
				if (result == null) result = defaultCase(theEObject);
159
				if (result == null) result = defaultCase(theEObject);
148
				return result;
160
				return result;
149
			}
161
			}
150
			case JavaeePackage.LISTENER: {
162
			case JavaeePackage.LISTENER: {
151
				Listener listener = (Listener)theEObject;
163
				Listener listener = (Listener)theEObject;
152
				Object result = caseListener(listener);
164
				T result = caseListener(listener);
153
				if (result == null) result = defaultCase(theEObject);
165
				if (result == null) result = defaultCase(theEObject);
154
				return result;
166
				return result;
155
			}
167
			}
156
			case JavaeePackage.MESSAGE_DESTINATION: {
168
			case JavaeePackage.MESSAGE_DESTINATION: {
157
				MessageDestination messageDestination = (MessageDestination)theEObject;
169
				MessageDestination messageDestination = (MessageDestination)theEObject;
158
				Object result = caseMessageDestination(messageDestination);
170
				T result = caseMessageDestination(messageDestination);
159
				if (result == null) result = defaultCase(theEObject);
171
				if (result == null) result = defaultCase(theEObject);
160
				return result;
172
				return result;
161
			}
173
			}
162
			case JavaeePackage.MESSAGE_DESTINATION_REF: {
174
			case JavaeePackage.MESSAGE_DESTINATION_REF: {
163
				MessageDestinationRef messageDestinationRef = (MessageDestinationRef)theEObject;
175
				MessageDestinationRef messageDestinationRef = (MessageDestinationRef)theEObject;
164
				Object result = caseMessageDestinationRef(messageDestinationRef);
176
				T result = caseMessageDestinationRef(messageDestinationRef);
165
				if (result == null) result = defaultCase(theEObject);
177
				if (result == null) result = defaultCase(theEObject);
166
				return result;
178
				return result;
167
			}
179
			}
168
			case JavaeePackage.PARAM_VALUE: {
180
			case JavaeePackage.PARAM_VALUE: {
169
				ParamValue paramValue = (ParamValue)theEObject;
181
				ParamValue paramValue = (ParamValue)theEObject;
170
				Object result = caseParamValue(paramValue);
182
				T result = caseParamValue(paramValue);
171
				if (result == null) result = defaultCase(theEObject);
183
				if (result == null) result = defaultCase(theEObject);
172
				return result;
184
				return result;
173
			}
185
			}
174
			case JavaeePackage.PERSISTENCE_CONTEXT_REF: {
186
			case JavaeePackage.PERSISTENCE_CONTEXT_REF: {
175
				PersistenceContextRef persistenceContextRef = (PersistenceContextRef)theEObject;
187
				PersistenceContextRef persistenceContextRef = (PersistenceContextRef)theEObject;
176
				Object result = casePersistenceContextRef(persistenceContextRef);
188
				T result = casePersistenceContextRef(persistenceContextRef);
177
				if (result == null) result = defaultCase(theEObject);
189
				if (result == null) result = defaultCase(theEObject);
178
				return result;
190
				return result;
179
			}
191
			}
180
			case JavaeePackage.PERSISTENCE_UNIT_REF: {
192
			case JavaeePackage.PERSISTENCE_UNIT_REF: {
181
				PersistenceUnitRef persistenceUnitRef = (PersistenceUnitRef)theEObject;
193
				PersistenceUnitRef persistenceUnitRef = (PersistenceUnitRef)theEObject;
182
				Object result = casePersistenceUnitRef(persistenceUnitRef);
194
				T result = casePersistenceUnitRef(persistenceUnitRef);
183
				if (result == null) result = defaultCase(theEObject);
195
				if (result == null) result = defaultCase(theEObject);
184
				return result;
196
				return result;
185
			}
197
			}
186
			case JavaeePackage.PORT_COMPONENT_REF: {
198
			case JavaeePackage.PORT_COMPONENT_REF: {
187
				PortComponentRef portComponentRef = (PortComponentRef)theEObject;
199
				PortComponentRef portComponentRef = (PortComponentRef)theEObject;
188
				Object result = casePortComponentRef(portComponentRef);
200
				T result = casePortComponentRef(portComponentRef);
189
				if (result == null) result = defaultCase(theEObject);
201
				if (result == null) result = defaultCase(theEObject);
190
				return result;
202
				return result;
191
			}
203
			}
192
			case JavaeePackage.PROPERTY_TYPE: {
204
			case JavaeePackage.PROPERTY_TYPE: {
193
				PropertyType propertyType = (PropertyType)theEObject;
205
				PropertyType propertyType = (PropertyType)theEObject;
194
				Object result = casePropertyType(propertyType);
206
				T result = casePropertyType(propertyType);
195
				if (result == null) result = defaultCase(theEObject);
207
				if (result == null) result = defaultCase(theEObject);
196
				return result;
208
				return result;
197
			}
209
			}
198
			case JavaeePackage.RESOURCE_ENV_REF: {
210
			case JavaeePackage.RESOURCE_ENV_REF: {
199
				ResourceEnvRef resourceEnvRef = (ResourceEnvRef)theEObject;
211
				ResourceEnvRef resourceEnvRef = (ResourceEnvRef)theEObject;
200
				Object result = caseResourceEnvRef(resourceEnvRef);
212
				T result = caseResourceEnvRef(resourceEnvRef);
201
				if (result == null) result = defaultCase(theEObject);
213
				if (result == null) result = defaultCase(theEObject);
202
				return result;
214
				return result;
203
			}
215
			}
204
			case JavaeePackage.RESOURCE_REF: {
216
			case JavaeePackage.RESOURCE_REF: {
205
				ResourceRef resourceRef = (ResourceRef)theEObject;
217
				ResourceRef resourceRef = (ResourceRef)theEObject;
206
				Object result = caseResourceRef(resourceRef);
218
				T result = caseResourceRef(resourceRef);
219
				if (result == null) result = defaultCase(theEObject);
220
				return result;
221
			}
222
			case JavaeePackage.RESPECT_BINDING_TYPE: {
223
				RespectBindingType respectBindingType = (RespectBindingType)theEObject;
224
				T result = caseRespectBindingType(respectBindingType);
207
				if (result == null) result = defaultCase(theEObject);
225
				if (result == null) result = defaultCase(theEObject);
208
				return result;
226
				return result;
209
			}
227
			}
210
			case JavaeePackage.RUN_AS: {
228
			case JavaeePackage.RUN_AS: {
211
				RunAs runAs = (RunAs)theEObject;
229
				RunAs runAs = (RunAs)theEObject;
212
				Object result = caseRunAs(runAs);
230
				T result = caseRunAs(runAs);
213
				if (result == null) result = defaultCase(theEObject);
231
				if (result == null) result = defaultCase(theEObject);
214
				return result;
232
				return result;
215
			}
233
			}
216
			case JavaeePackage.SECURITY_ROLE: {
234
			case JavaeePackage.SECURITY_ROLE: {
217
				SecurityRole securityRole = (SecurityRole)theEObject;
235
				SecurityRole securityRole = (SecurityRole)theEObject;
218
				Object result = caseSecurityRole(securityRole);
236
				T result = caseSecurityRole(securityRole);
219
				if (result == null) result = defaultCase(theEObject);
237
				if (result == null) result = defaultCase(theEObject);
220
				return result;
238
				return result;
221
			}
239
			}
222
			case JavaeePackage.SECURITY_ROLE_REF: {
240
			case JavaeePackage.SECURITY_ROLE_REF: {
223
				SecurityRoleRef securityRoleRef = (SecurityRoleRef)theEObject;
241
				SecurityRoleRef securityRoleRef = (SecurityRoleRef)theEObject;
224
				Object result = caseSecurityRoleRef(securityRoleRef);
242
				T result = caseSecurityRoleRef(securityRoleRef);
225
				if (result == null) result = defaultCase(theEObject);
243
				if (result == null) result = defaultCase(theEObject);
226
				return result;
244
				return result;
227
			}
245
			}
228
			case JavaeePackage.SERVICE_REF: {
246
			case JavaeePackage.SERVICE_REF: {
229
				ServiceRef serviceRef = (ServiceRef)theEObject;
247
				ServiceRef serviceRef = (ServiceRef)theEObject;
230
				Object result = caseServiceRef(serviceRef);
248
				T result = caseServiceRef(serviceRef);
231
				if (result == null) result = defaultCase(theEObject);
249
				if (result == null) result = defaultCase(theEObject);
232
				return result;
250
				return result;
233
			}
251
			}
234
			case JavaeePackage.SERVICE_REF_HANDLER: {
252
			case JavaeePackage.SERVICE_REF_HANDLER: {
235
				ServiceRefHandler serviceRefHandler = (ServiceRefHandler)theEObject;
253
				ServiceRefHandler serviceRefHandler = (ServiceRefHandler)theEObject;
236
				Object result = caseServiceRefHandler(serviceRefHandler);
254
				T result = caseServiceRefHandler(serviceRefHandler);
237
				if (result == null) result = defaultCase(theEObject);
255
				if (result == null) result = defaultCase(theEObject);
238
				return result;
256
				return result;
239
			}
257
			}
240
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN: {
258
			case JavaeePackage.SERVICE_REF_HANDLER_CHAIN: {
241
				ServiceRefHandlerChain serviceRefHandlerChain = (ServiceRefHandlerChain)theEObject;
259
				ServiceRefHandlerChain serviceRefHandlerChain = (ServiceRefHandlerChain)theEObject;
242
				Object result = caseServiceRefHandlerChain(serviceRefHandlerChain);
260
				T result = caseServiceRefHandlerChain(serviceRefHandlerChain);
243
				if (result == null) result = defaultCase(theEObject);
261
				if (result == null) result = defaultCase(theEObject);
244
				return result;
262
				return result;
245
			}
263
			}
246
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS: {
264
			case JavaeePackage.SERVICE_REF_HANDLER_CHAINS: {
247
				ServiceRefHandlerChains serviceRefHandlerChains = (ServiceRefHandlerChains)theEObject;
265
				ServiceRefHandlerChains serviceRefHandlerChains = (ServiceRefHandlerChains)theEObject;
248
				Object result = caseServiceRefHandlerChains(serviceRefHandlerChains);
266
				T result = caseServiceRefHandlerChains(serviceRefHandlerChains);
249
				if (result == null) result = defaultCase(theEObject);
267
				if (result == null) result = defaultCase(theEObject);
250
				return result;
268
				return result;
251
			}
269
			}
252
			case JavaeePackage.URL_PATTERN_TYPE: {
270
			case JavaeePackage.URL_PATTERN_TYPE: {
253
				UrlPatternType urlPatternType = (UrlPatternType)theEObject;
271
				UrlPatternType urlPatternType = (UrlPatternType)theEObject;
254
				Object result = caseUrlPatternType(urlPatternType);
272
				T result = caseUrlPatternType(urlPatternType);
255
				if (result == null) result = defaultCase(theEObject);
273
				if (result == null) result = defaultCase(theEObject);
256
				return result;
274
				return result;
257
			}
275
			}
Lines 260-681 Link Here
260
	}
278
	}
261
279
262
	/**
280
	/**
263
	 * Returns the result of interpretting the object as an instance of '<em>Description</em>'.
281
	 * Returns the result of interpreting the object as an instance of '<em>Addressing Type</em>'.
282
	 * <!-- begin-user-doc -->
283
	 * This implementation returns null;
284
	 * returning a non-null result will terminate the switch.
285
	 * <!-- end-user-doc -->
286
	 * @param object the target of the switch.
287
	 * @return the result of interpreting the object as an instance of '<em>Addressing Type</em>'.
288
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
289
	 * @generated
290
	 */
291
	public T caseAddressingType(AddressingType object) {
292
		return null;
293
	}
294
295
	/**
296
	 * Returns the result of interpreting the object as an instance of '<em>Data Source Type</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>Data Source Type</em>'.
303
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
304
	 * @generated
305
	 */
306
	public T caseDataSourceType(DataSourceType object) {
307
		return null;
308
	}
309
310
	/**
311
	 * Returns the result of interpreting the object as an instance of '<em>Description</em>'.
312
	 * <!-- begin-user-doc -->
313
	 * This implementation returns null;
314
	 * returning a non-null result will terminate the switch.
315
	 * <!-- end-user-doc -->
316
	 * @param object the target of the switch.
317
	 * @return the result of interpreting the object as an instance of '<em>Description</em>'.
318
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
319
	 * @generated
320
	 */
321
	public T caseDescription(Description object) {
322
		return null;
323
	}
324
325
	/**
326
	 * Returns the result of interpreting the object as an instance of '<em>Display Name</em>'.
264
	 * <!-- begin-user-doc -->
327
	 * <!-- begin-user-doc -->
265
	 * This implementation returns null;
328
	 * This implementation returns null;
266
	 * returning a non-null result will terminate the switch.
329
	 * returning a non-null result will terminate the switch.
267
	 * <!-- end-user-doc -->
330
	 * <!-- end-user-doc -->
268
	 * @param object the target of the switch.
331
	 * @param object the target of the switch.
269
	 * @return the result of interpretting the object as an instance of '<em>Description</em>'.
332
	 * @return the result of interpreting the object as an instance of '<em>Display Name</em>'.
270
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
333
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
271
	 * @generated
334
	 * @generated
272
	 */
335
	 */
273
	public Object caseDescription(Description object) {
336
	public T caseDisplayName(DisplayName object) {
274
		return null;
337
		return null;
275
	}
338
	}
276
339
277
	/**
340
	/**
278
	 * Returns the result of interpretting the object as an instance of '<em>Display Name</em>'.
341
	 * Returns the result of interpreting the object as an instance of '<em>Ejb Local Ref</em>'.
279
	 * <!-- begin-user-doc -->
342
	 * <!-- begin-user-doc -->
280
	 * This implementation returns null;
343
	 * This implementation returns null;
281
	 * returning a non-null result will terminate the switch.
344
	 * returning a non-null result will terminate the switch.
282
	 * <!-- end-user-doc -->
345
	 * <!-- end-user-doc -->
283
	 * @param object the target of the switch.
346
	 * @param object the target of the switch.
284
	 * @return the result of interpretting the object as an instance of '<em>Display Name</em>'.
347
	 * @return the result of interpreting the object as an instance of '<em>Ejb Local Ref</em>'.
285
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
348
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
286
	 * @generated
349
	 * @generated
287
	 */
350
	 */
288
	public Object caseDisplayName(DisplayName object) {
351
	public T caseEjbLocalRef(EjbLocalRef object) {
289
		return null;
352
		return null;
290
	}
353
	}
291
354
292
	/**
355
	/**
293
	 * Returns the result of interpretting the object as an instance of '<em>Ejb Local Ref</em>'.
356
	 * Returns the result of interpreting the object as an instance of '<em>Ejb Ref</em>'.
294
	 * <!-- begin-user-doc -->
357
	 * <!-- begin-user-doc -->
295
	 * This implementation returns null;
358
	 * This implementation returns null;
296
	 * returning a non-null result will terminate the switch.
359
	 * returning a non-null result will terminate the switch.
297
	 * <!-- end-user-doc -->
360
	 * <!-- end-user-doc -->
298
	 * @param object the target of the switch.
361
	 * @param object the target of the switch.
299
	 * @return the result of interpretting the object as an instance of '<em>Ejb Local Ref</em>'.
362
	 * @return the result of interpreting the object as an instance of '<em>Ejb Ref</em>'.
300
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
363
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
301
	 * @generated
364
	 * @generated
302
	 */
365
	 */
303
	public Object caseEjbLocalRef(EjbLocalRef object) {
366
	public T caseEjbRef(EjbRef object) {
304
		return null;
367
		return null;
305
	}
368
	}
306
369
307
	/**
370
	/**
308
	 * Returns the result of interpretting the object as an instance of '<em>Ejb Ref</em>'.
371
	 * Returns the result of interpreting the object as an instance of '<em>Empty Type</em>'.
309
	 * <!-- begin-user-doc -->
372
	 * <!-- begin-user-doc -->
310
	 * This implementation returns null;
373
	 * This implementation returns null;
311
	 * returning a non-null result will terminate the switch.
374
	 * returning a non-null result will terminate the switch.
312
	 * <!-- end-user-doc -->
375
	 * <!-- end-user-doc -->
313
	 * @param object the target of the switch.
376
	 * @param object the target of the switch.
314
	 * @return the result of interpretting the object as an instance of '<em>Ejb Ref</em>'.
377
	 * @return the result of interpreting the object as an instance of '<em>Empty Type</em>'.
315
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
378
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
316
	 * @generated
379
	 * @generated
317
	 */
380
	 */
318
	public Object caseEjbRef(EjbRef object) {
381
	public T caseEmptyType(EmptyType object) {
319
		return null;
382
		return null;
320
	}
383
	}
321
384
322
	/**
385
	/**
323
	 * Returns the result of interpretting the object as an instance of '<em>Empty Type</em>'.
386
	 * Returns the result of interpreting the object as an instance of '<em>Env Entry</em>'.
324
	 * <!-- begin-user-doc -->
387
	 * <!-- begin-user-doc -->
325
	 * This implementation returns null;
388
	 * This implementation returns null;
326
	 * returning a non-null result will terminate the switch.
389
	 * returning a non-null result will terminate the switch.
327
	 * <!-- end-user-doc -->
390
	 * <!-- end-user-doc -->
328
	 * @param object the target of the switch.
391
	 * @param object the target of the switch.
329
	 * @return the result of interpretting the object as an instance of '<em>Empty Type</em>'.
392
	 * @return the result of interpreting the object as an instance of '<em>Env Entry</em>'.
330
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
393
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
331
	 * @generated
394
	 * @generated
332
	 */
395
	 */
333
	public Object caseEmptyType(EmptyType object) {
396
	public T caseEnvEntry(EnvEntry object) {
334
		return null;
397
		return null;
335
	}
398
	}
336
399
337
	/**
400
	/**
338
	 * Returns the result of interpretting the object as an instance of '<em>Env Entry</em>'.
401
	 * Returns the result of interpreting the object as an instance of '<em>Icon</em>'.
339
	 * <!-- begin-user-doc -->
402
	 * <!-- begin-user-doc -->
340
	 * This implementation returns null;
403
	 * This implementation returns null;
341
	 * returning a non-null result will terminate the switch.
404
	 * returning a non-null result will terminate the switch.
342
	 * <!-- end-user-doc -->
405
	 * <!-- end-user-doc -->
343
	 * @param object the target of the switch.
406
	 * @param object the target of the switch.
344
	 * @return the result of interpretting the object as an instance of '<em>Env Entry</em>'.
407
	 * @return the result of interpreting the object as an instance of '<em>Icon</em>'.
345
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
408
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
346
	 * @generated
409
	 * @generated
347
	 */
410
	 */
348
	public Object caseEnvEntry(EnvEntry object) {
411
	public T caseIcon(Icon object) {
349
		return null;
412
		return null;
350
	}
413
	}
351
414
352
	/**
415
	/**
353
	 * Returns the result of interpretting the object as an instance of '<em>Icon</em>'.
416
	 * Returns the result of interpreting the object as an instance of '<em>Injection Target</em>'.
354
	 * <!-- begin-user-doc -->
417
	 * <!-- begin-user-doc -->
355
	 * This implementation returns null;
418
	 * This implementation returns null;
356
	 * returning a non-null result will terminate the switch.
419
	 * returning a non-null result will terminate the switch.
357
	 * <!-- end-user-doc -->
420
	 * <!-- end-user-doc -->
358
	 * @param object the target of the switch.
421
	 * @param object the target of the switch.
359
	 * @return the result of interpretting the object as an instance of '<em>Icon</em>'.
422
	 * @return the result of interpreting the object as an instance of '<em>Injection Target</em>'.
360
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
423
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
361
	 * @generated
424
	 * @generated
362
	 */
425
	 */
363
	public Object caseIcon(Icon object) {
426
	public T caseInjectionTarget(InjectionTarget object) {
364
		return null;
427
		return null;
365
	}
428
	}
366
429
367
	/**
430
	/**
368
	 * Returns the result of interpretting the object as an instance of '<em>Injection Target</em>'.
431
	 * Returns the result of interpreting the object as an instance of '<em>Lifecycle Callback</em>'.
369
	 * <!-- begin-user-doc -->
432
	 * <!-- begin-user-doc -->
370
	 * This implementation returns null;
433
	 * This implementation returns null;
371
	 * returning a non-null result will terminate the switch.
434
	 * returning a non-null result will terminate the switch.
372
	 * <!-- end-user-doc -->
435
	 * <!-- end-user-doc -->
373
	 * @param object the target of the switch.
436
	 * @param object the target of the switch.
374
	 * @return the result of interpretting the object as an instance of '<em>Injection Target</em>'.
437
	 * @return the result of interpreting the object as an instance of '<em>Lifecycle Callback</em>'.
375
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
438
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
376
	 * @generated
439
	 * @generated
377
	 */
440
	 */
378
	public Object caseInjectionTarget(InjectionTarget object) {
441
	public T caseLifecycleCallback(LifecycleCallback object) {
379
		return null;
442
		return null;
380
	}
443
	}
381
444
382
	/**
445
	/**
383
	 * Returns the result of interpretting the object as an instance of '<em>Lifecycle Callback</em>'.
446
	 * Returns the result of interpreting the object as an instance of '<em>Listener</em>'.
384
	 * <!-- begin-user-doc -->
447
	 * <!-- begin-user-doc -->
385
	 * This implementation returns null;
448
	 * This implementation returns null;
386
	 * returning a non-null result will terminate the switch.
449
	 * returning a non-null result will terminate the switch.
387
	 * <!-- end-user-doc -->
450
	 * <!-- end-user-doc -->
388
	 * @param object the target of the switch.
451
	 * @param object the target of the switch.
389
	 * @return the result of interpretting the object as an instance of '<em>Lifecycle Callback</em>'.
452
	 * @return the result of interpreting the object as an instance of '<em>Listener</em>'.
390
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
453
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
391
	 * @generated
454
	 * @generated
392
	 */
455
	 */
393
	public Object caseLifecycleCallback(LifecycleCallback object) {
456
	public T caseListener(Listener object) {
394
		return null;
457
		return null;
395
	}
458
	}
396
459
397
	/**
460
	/**
398
	 * Returns the result of interpretting the object as an instance of '<em>Listener</em>'.
461
	 * Returns the result of interpreting the object as an instance of '<em>Message Destination</em>'.
399
	 * <!-- begin-user-doc -->
462
	 * <!-- begin-user-doc -->
400
	 * This implementation returns null;
463
	 * This implementation returns null;
401
	 * returning a non-null result will terminate the switch.
464
	 * returning a non-null result will terminate the switch.
402
	 * <!-- end-user-doc -->
465
	 * <!-- end-user-doc -->
403
	 * @param object the target of the switch.
466
	 * @param object the target of the switch.
404
	 * @return the result of interpretting the object as an instance of '<em>Listener</em>'.
467
	 * @return the result of interpreting the object as an instance of '<em>Message Destination</em>'.
405
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
468
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
406
	 * @generated
469
	 * @generated
407
	 */
470
	 */
408
	public Object caseListener(Listener object) {
471
	public T caseMessageDestination(MessageDestination object) {
409
		return null;
472
		return null;
410
	}
473
	}
411
474
412
	/**
475
	/**
413
	 * Returns the result of interpretting the object as an instance of '<em>Message Destination</em>'.
476
	 * Returns the result of interpreting the object as an instance of '<em>Message Destination Ref</em>'.
414
	 * <!-- begin-user-doc -->
477
	 * <!-- begin-user-doc -->
415
	 * This implementation returns null;
478
	 * This implementation returns null;
416
	 * returning a non-null result will terminate the switch.
479
	 * returning a non-null result will terminate the switch.
417
	 * <!-- end-user-doc -->
480
	 * <!-- end-user-doc -->
418
	 * @param object the target of the switch.
481
	 * @param object the target of the switch.
419
	 * @return the result of interpretting the object as an instance of '<em>Message Destination</em>'.
482
	 * @return the result of interpreting the object as an instance of '<em>Message Destination Ref</em>'.
420
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
483
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
421
	 * @generated
484
	 * @generated
422
	 */
485
	 */
423
	public Object caseMessageDestination(MessageDestination object) {
486
	public T caseMessageDestinationRef(MessageDestinationRef object) {
424
		return null;
487
		return null;
425
	}
488
	}
426
489
427
	/**
490
	/**
428
	 * Returns the result of interpretting the object as an instance of '<em>Message Destination Ref</em>'.
491
	 * Returns the result of interpreting the object as an instance of '<em>Param Value</em>'.
429
	 * <!-- begin-user-doc -->
492
	 * <!-- begin-user-doc -->
430
	 * This implementation returns null;
493
	 * This implementation returns null;
431
	 * returning a non-null result will terminate the switch.
494
	 * returning a non-null result will terminate the switch.
432
	 * <!-- end-user-doc -->
495
	 * <!-- end-user-doc -->
433
	 * @param object the target of the switch.
496
	 * @param object the target of the switch.
434
	 * @return the result of interpretting the object as an instance of '<em>Message Destination Ref</em>'.
497
	 * @return the result of interpreting the object as an instance of '<em>Param Value</em>'.
435
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
498
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
436
	 * @generated
499
	 * @generated
437
	 */
500
	 */
438
	public Object caseMessageDestinationRef(MessageDestinationRef object) {
501
	public T caseParamValue(ParamValue object) {
439
		return null;
502
		return null;
440
	}
503
	}
441
504
442
	/**
505
	/**
443
	 * Returns the result of interpretting the object as an instance of '<em>Param Value</em>'.
506
	 * Returns the result of interpreting the object as an instance of '<em>Persistence Context Ref</em>'.
444
	 * <!-- begin-user-doc -->
507
	 * <!-- begin-user-doc -->
445
	 * This implementation returns null;
508
	 * This implementation returns null;
446
	 * returning a non-null result will terminate the switch.
509
	 * returning a non-null result will terminate the switch.
447
	 * <!-- end-user-doc -->
510
	 * <!-- end-user-doc -->
448
	 * @param object the target of the switch.
511
	 * @param object the target of the switch.
449
	 * @return the result of interpretting the object as an instance of '<em>Param Value</em>'.
512
	 * @return the result of interpreting the object as an instance of '<em>Persistence Context Ref</em>'.
450
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
513
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
451
	 * @generated
514
	 * @generated
452
	 */
515
	 */
453
	public Object caseParamValue(ParamValue object) {
516
	public T casePersistenceContextRef(PersistenceContextRef object) {
454
		return null;
517
		return null;
455
	}
518
	}
456
519
457
	/**
520
	/**
458
	 * Returns the result of interpretting the object as an instance of '<em>Persistence Context Ref</em>'.
521
	 * Returns the result of interpreting the object as an instance of '<em>Persistence Unit Ref</em>'.
459
	 * <!-- begin-user-doc -->
522
	 * <!-- begin-user-doc -->
460
	 * This implementation returns null;
523
	 * This implementation returns null;
461
	 * returning a non-null result will terminate the switch.
524
	 * returning a non-null result will terminate the switch.
462
	 * <!-- end-user-doc -->
525
	 * <!-- end-user-doc -->
463
	 * @param object the target of the switch.
526
	 * @param object the target of the switch.
464
	 * @return the result of interpretting the object as an instance of '<em>Persistence Context Ref</em>'.
527
	 * @return the result of interpreting the object as an instance of '<em>Persistence Unit Ref</em>'.
465
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
528
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
466
	 * @generated
529
	 * @generated
467
	 */
530
	 */
468
	public Object casePersistenceContextRef(PersistenceContextRef object) {
531
	public T casePersistenceUnitRef(PersistenceUnitRef object) {
469
		return null;
532
		return null;
470
	}
533
	}
471
534
472
	/**
535
	/**
473
	 * Returns the result of interpretting the object as an instance of '<em>Persistence Unit Ref</em>'.
536
	 * Returns the result of interpreting the object as an instance of '<em>Port Component Ref</em>'.
474
	 * <!-- begin-user-doc -->
537
	 * <!-- begin-user-doc -->
475
	 * This implementation returns null;
538
	 * This implementation returns null;
476
	 * returning a non-null result will terminate the switch.
539
	 * returning a non-null result will terminate the switch.
477
	 * <!-- end-user-doc -->
540
	 * <!-- end-user-doc -->
478
	 * @param object the target of the switch.
541
	 * @param object the target of the switch.
479
	 * @return the result of interpretting the object as an instance of '<em>Persistence Unit Ref</em>'.
542
	 * @return the result of interpreting the object as an instance of '<em>Port Component Ref</em>'.
480
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
543
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
481
	 * @generated
544
	 * @generated
482
	 */
545
	 */
483
	public Object casePersistenceUnitRef(PersistenceUnitRef object) {
546
	public T casePortComponentRef(PortComponentRef object) {
484
		return null;
547
		return null;
485
	}
548
	}
486
549
487
	/**
550
	/**
488
	 * Returns the result of interpretting the object as an instance of '<em>Port Component Ref</em>'.
551
	 * Returns the result of interpreting the object as an instance of '<em>Property Type</em>'.
489
	 * <!-- begin-user-doc -->
552
	 * <!-- begin-user-doc -->
490
	 * This implementation returns null;
553
	 * This implementation returns null;
491
	 * returning a non-null result will terminate the switch.
554
	 * returning a non-null result will terminate the switch.
492
	 * <!-- end-user-doc -->
555
	 * <!-- end-user-doc -->
493
	 * @param object the target of the switch.
556
	 * @param object the target of the switch.
494
	 * @return the result of interpretting the object as an instance of '<em>Port Component Ref</em>'.
557
	 * @return the result of interpreting the object as an instance of '<em>Property Type</em>'.
495
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
558
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
496
	 * @generated
559
	 * @generated
497
	 */
560
	 */
498
	public Object casePortComponentRef(PortComponentRef object) {
561
	public T casePropertyType(PropertyType object) {
499
		return null;
562
		return null;
500
	}
563
	}
501
564
502
	/**
565
	/**
503
	 * Returns the result of interpretting the object as an instance of '<em>Property Type</em>'.
566
	 * Returns the result of interpreting the object as an instance of '<em>Resource Env Ref</em>'.
504
	 * <!-- begin-user-doc -->
567
	 * <!-- begin-user-doc -->
505
	 * This implementation returns null;
568
	 * This implementation returns null;
506
	 * returning a non-null result will terminate the switch.
569
	 * returning a non-null result will terminate the switch.
507
	 * <!-- end-user-doc -->
570
	 * <!-- end-user-doc -->
508
	 * @param object the target of the switch.
571
	 * @param object the target of the switch.
509
	 * @return the result of interpretting the object as an instance of '<em>Property Type</em>'.
572
	 * @return the result of interpreting the object as an instance of '<em>Resource Env Ref</em>'.
510
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
573
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
511
	 * @generated
574
	 * @generated
512
	 */
575
	 */
513
	public Object casePropertyType(PropertyType object) {
576
	public T caseResourceEnvRef(ResourceEnvRef object) {
514
		return null;
577
		return null;
515
	}
578
	}
516
579
517
	/**
580
	/**
518
	 * Returns the result of interpretting the object as an instance of '<em>Resource Env Ref</em>'.
581
	 * Returns the result of interpreting the object as an instance of '<em>Resource Ref</em>'.
519
	 * <!-- begin-user-doc -->
582
	 * <!-- begin-user-doc -->
520
	 * This implementation returns null;
583
	 * This implementation returns null;
521
	 * returning a non-null result will terminate the switch.
584
	 * returning a non-null result will terminate the switch.
522
	 * <!-- end-user-doc -->
585
	 * <!-- end-user-doc -->
523
	 * @param object the target of the switch.
586
	 * @param object the target of the switch.
524
	 * @return the result of interpretting the object as an instance of '<em>Resource Env Ref</em>'.
587
	 * @return the result of interpreting the object as an instance of '<em>Resource Ref</em>'.
525
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
588
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
526
	 * @generated
589
	 * @generated
527
	 */
590
	 */
528
	public Object caseResourceEnvRef(ResourceEnvRef object) {
591
	public T caseResourceRef(ResourceRef object) {
529
		return null;
592
		return null;
530
	}
593
	}
531
594
532
	/**
595
	/**
533
	 * Returns the result of interpretting the object as an instance of '<em>Resource Ref</em>'.
596
	 * Returns the result of interpreting the object as an instance of '<em>Respect Binding Type</em>'.
534
	 * <!-- begin-user-doc -->
597
	 * <!-- begin-user-doc -->
535
	 * This implementation returns null;
598
	 * This implementation returns null;
536
	 * returning a non-null result will terminate the switch.
599
	 * returning a non-null result will terminate the switch.
537
	 * <!-- end-user-doc -->
600
	 * <!-- end-user-doc -->
538
	 * @param object the target of the switch.
601
	 * @param object the target of the switch.
539
	 * @return the result of interpretting the object as an instance of '<em>Resource Ref</em>'.
602
	 * @return the result of interpreting the object as an instance of '<em>Respect Binding Type</em>'.
540
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
603
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
541
	 * @generated
604
	 * @generated
542
	 */
605
	 */
543
	public Object caseResourceRef(ResourceRef object) {
606
	public T caseRespectBindingType(RespectBindingType object) {
544
		return null;
607
		return null;
545
	}
608
	}
546
609
547
	/**
610
	/**
548
	 * Returns the result of interpretting the object as an instance of '<em>Run As</em>'.
611
	 * Returns the result of interpreting the object as an instance of '<em>Run As</em>'.
549
	 * <!-- begin-user-doc -->
612
	 * <!-- begin-user-doc -->
550
	 * This implementation returns null;
613
	 * This implementation returns null;
551
	 * returning a non-null result will terminate the switch.
614
	 * returning a non-null result will terminate the switch.
552
	 * <!-- end-user-doc -->
615
	 * <!-- end-user-doc -->
553
	 * @param object the target of the switch.
616
	 * @param object the target of the switch.
554
	 * @return the result of interpretting the object as an instance of '<em>Run As</em>'.
617
	 * @return the result of interpreting the object as an instance of '<em>Run As</em>'.
555
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
618
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
556
	 * @generated
619
	 * @generated
557
	 */
620
	 */
558
	public Object caseRunAs(RunAs object) {
621
	public T caseRunAs(RunAs object) {
559
		return null;
622
		return null;
560
	}
623
	}
561
624
562
	/**
625
	/**
563
	 * Returns the result of interpretting the object as an instance of '<em>Security Role</em>'.
626
	 * Returns the result of interpreting the object as an instance of '<em>Security Role</em>'.
564
	 * <!-- begin-user-doc -->
627
	 * <!-- begin-user-doc -->
565
	 * This implementation returns null;
628
	 * This implementation returns null;
566
	 * returning a non-null result will terminate the switch.
629
	 * returning a non-null result will terminate the switch.
567
	 * <!-- end-user-doc -->
630
	 * <!-- end-user-doc -->
568
	 * @param object the target of the switch.
631
	 * @param object the target of the switch.
569
	 * @return the result of interpretting the object as an instance of '<em>Security Role</em>'.
632
	 * @return the result of interpreting the object as an instance of '<em>Security Role</em>'.
570
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
633
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
571
	 * @generated
634
	 * @generated
572
	 */
635
	 */
573
	public Object caseSecurityRole(SecurityRole object) {
636
	public T caseSecurityRole(SecurityRole object) {
574
		return null;
637
		return null;
575
	}
638
	}
576
639
577
	/**
640
	/**
578
	 * Returns the result of interpretting the object as an instance of '<em>Security Role Ref</em>'.
641
	 * Returns the result of interpreting the object as an instance of '<em>Security Role Ref</em>'.
579
	 * <!-- begin-user-doc -->
642
	 * <!-- begin-user-doc -->
580
	 * This implementation returns null;
643
	 * This implementation returns null;
581
	 * returning a non-null result will terminate the switch.
644
	 * returning a non-null result will terminate the switch.
582
	 * <!-- end-user-doc -->
645
	 * <!-- end-user-doc -->
583
	 * @param object the target of the switch.
646
	 * @param object the target of the switch.
584
	 * @return the result of interpretting the object as an instance of '<em>Security Role Ref</em>'.
647
	 * @return the result of interpreting the object as an instance of '<em>Security Role Ref</em>'.
585
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
648
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
586
	 * @generated
649
	 * @generated
587
	 */
650
	 */
588
	public Object caseSecurityRoleRef(SecurityRoleRef object) {
651
	public T caseSecurityRoleRef(SecurityRoleRef object) {
589
		return null;
652
		return null;
590
	}
653
	}
591
654
592
	/**
655
	/**
593
	 * Returns the result of interpretting the object as an instance of '<em>Service Ref</em>'.
656
	 * Returns the result of interpreting the object as an instance of '<em>Service Ref</em>'.
594
	 * <!-- begin-user-doc -->
657
	 * <!-- begin-user-doc -->
595
	 * This implementation returns null;
658
	 * This implementation returns null;
596
	 * returning a non-null result will terminate the switch.
659
	 * returning a non-null result will terminate the switch.
597
	 * <!-- end-user-doc -->
660
	 * <!-- end-user-doc -->
598
	 * @param object the target of the switch.
661
	 * @param object the target of the switch.
599
	 * @return the result of interpretting the object as an instance of '<em>Service Ref</em>'.
662
	 * @return the result of interpreting the object as an instance of '<em>Service Ref</em>'.
600
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
663
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
601
	 * @generated
664
	 * @generated
602
	 */
665
	 */
603
	public Object caseServiceRef(ServiceRef object) {
666
	public T caseServiceRef(ServiceRef object) {
604
		return null;
667
		return null;
605
	}
668
	}
606
669
607
	/**
670
	/**
608
	 * Returns the result of interpretting the object as an instance of '<em>Service Ref Handler</em>'.
671
	 * Returns the result of interpreting the object as an instance of '<em>Service Ref Handler</em>'.
609
	 * <!-- begin-user-doc -->
672
	 * <!-- begin-user-doc -->
610
	 * This implementation returns null;
673
	 * This implementation returns null;
611
	 * returning a non-null result will terminate the switch.
674
	 * returning a non-null result will terminate the switch.
612
	 * <!-- end-user-doc -->
675
	 * <!-- end-user-doc -->
613
	 * @param object the target of the switch.
676
	 * @param object the target of the switch.
614
	 * @return the result of interpretting the object as an instance of '<em>Service Ref Handler</em>'.
677
	 * @return the result of interpreting the object as an instance of '<em>Service Ref Handler</em>'.
615
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
678
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
616
	 * @generated
679
	 * @generated
617
	 */
680
	 */
618
	public Object caseServiceRefHandler(ServiceRefHandler object) {
681
	public T caseServiceRefHandler(ServiceRefHandler object) {
619
		return null;
682
		return null;
620
	}
683
	}
621
684
622
	/**
685
	/**
623
	 * Returns the result of interpretting the object as an instance of '<em>Service Ref Handler Chain</em>'.
686
	 * Returns the result of interpreting the object as an instance of '<em>Service Ref Handler Chain</em>'.
624
	 * <!-- begin-user-doc -->
687
	 * <!-- begin-user-doc -->
625
	 * This implementation returns null;
688
	 * This implementation returns null;
626
	 * returning a non-null result will terminate the switch.
689
	 * returning a non-null result will terminate the switch.
627
	 * <!-- end-user-doc -->
690
	 * <!-- end-user-doc -->
628
	 * @param object the target of the switch.
691
	 * @param object the target of the switch.
629
	 * @return the result of interpretting the object as an instance of '<em>Service Ref Handler Chain</em>'.
692
	 * @return the result of interpreting the object as an instance of '<em>Service Ref Handler Chain</em>'.
630
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
693
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
631
	 * @generated
694
	 * @generated
632
	 */
695
	 */
633
	public Object caseServiceRefHandlerChain(ServiceRefHandlerChain object) {
696
	public T caseServiceRefHandlerChain(ServiceRefHandlerChain object) {
634
		return null;
697
		return null;
635
	}
698
	}
636
699
637
	/**
700
	/**
638
	 * Returns the result of interpretting the object as an instance of '<em>Service Ref Handler Chains</em>'.
701
	 * Returns the result of interpreting the object as an instance of '<em>Service Ref Handler Chains</em>'.
639
	 * <!-- begin-user-doc -->
702
	 * <!-- begin-user-doc -->
640
	 * This implementation returns null;
703
	 * This implementation returns null;
641
	 * returning a non-null result will terminate the switch.
704
	 * returning a non-null result will terminate the switch.
642
	 * <!-- end-user-doc -->
705
	 * <!-- end-user-doc -->
643
	 * @param object the target of the switch.
706
	 * @param object the target of the switch.
644
	 * @return the result of interpretting the object as an instance of '<em>Service Ref Handler Chains</em>'.
707
	 * @return the result of interpreting the object as an instance of '<em>Service Ref Handler Chains</em>'.
645
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
708
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
646
	 * @generated
709
	 * @generated
647
	 */
710
	 */
648
	public Object caseServiceRefHandlerChains(ServiceRefHandlerChains object) {
711
	public T caseServiceRefHandlerChains(ServiceRefHandlerChains object) {
649
		return null;
712
		return null;
650
	}
713
	}
651
714
652
	/**
715
	/**
653
	 * Returns the result of interpretting the object as an instance of '<em>Url Pattern Type</em>'.
716
	 * Returns the result of interpreting the object as an instance of '<em>Url Pattern Type</em>'.
654
	 * <!-- begin-user-doc -->
717
	 * <!-- begin-user-doc -->
655
	 * This implementation returns null;
718
	 * This implementation returns null;
656
	 * returning a non-null result will terminate the switch.
719
	 * returning a non-null result will terminate the switch.
657
	 * <!-- end-user-doc -->
720
	 * <!-- end-user-doc -->
658
	 * @param object the target of the switch.
721
	 * @param object the target of the switch.
659
	 * @return the result of interpretting the object as an instance of '<em>Url Pattern Type</em>'.
722
	 * @return the result of interpreting the object as an instance of '<em>Url Pattern Type</em>'.
660
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
723
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
661
	 * @generated
724
	 * @generated
662
	 */
725
	 */
663
	public Object caseUrlPatternType(UrlPatternType object) {
726
	public T caseUrlPatternType(UrlPatternType object) {
664
		return null;
727
		return null;
665
	}
728
	}
666
729
667
	/**
730
	/**
668
	 * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
731
	 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
669
	 * <!-- begin-user-doc -->
732
	 * <!-- begin-user-doc -->
670
	 * This implementation returns null;
733
	 * This implementation returns null;
671
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
734
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
672
	 * <!-- end-user-doc -->
735
	 * <!-- end-user-doc -->
673
	 * @param object the target of the switch.
736
	 * @param object the target of the switch.
674
	 * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
737
	 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
675
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
738
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
676
	 * @generated
739
	 * @generated
677
	 */
740
	 */
678
	public Object defaultCase(EObject object) {
741
	public T defaultCase(EObject object) {
679
		return null;
742
		return null;
680
	}
743
	}
681
744
(-)jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeValidator.java (-127 / +264 lines)
Lines 18-23 Link Here
18
import org.eclipse.emf.common.util.Diagnostic;
18
import org.eclipse.emf.common.util.Diagnostic;
19
import org.eclipse.emf.common.util.DiagnosticChain;
19
import org.eclipse.emf.common.util.DiagnosticChain;
20
20
21
import org.eclipse.emf.common.util.ResourceLocator;
21
import org.eclipse.emf.ecore.EObject;
22
import org.eclipse.emf.ecore.EObject;
22
import org.eclipse.emf.ecore.EPackage;
23
import org.eclipse.emf.ecore.EPackage;
23
24
Lines 105-118 Link Here
105
	}
106
	}
106
107
107
	/**
108
	/**
108
	 * Calls <code>validateXXX</code> for the corresonding classifier of the model.
109
	 * Calls <code>validateXXX</code> for the corresponding classifier of the model.
109
	 * <!-- begin-user-doc -->
110
	 * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
111
	 * <!-- end-user-doc -->
111
	 * @generated
112
	 * @generated
112
	 */
113
	 */
113
	@Override
114
	@Override
114
	protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map context) {
115
	protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) {
115
		switch (classifierID) {
116
		switch (classifierID) {
117
			case JavaeePackage.ADDRESSING_TYPE:
118
				return validateAddressingType((AddressingType)value, diagnostics, context);
119
			case JavaeePackage.DATA_SOURCE_TYPE:
120
				return validateDataSourceType((DataSourceType)value, diagnostics, context);
116
			case JavaeePackage.DESCRIPTION:
121
			case JavaeePackage.DESCRIPTION:
117
				return validateDescription((Description)value, diagnostics, context);
122
				return validateDescription((Description)value, diagnostics, context);
118
			case JavaeePackage.DISPLAY_NAME:
123
			case JavaeePackage.DISPLAY_NAME:
Lines 151-156 Link Here
151
				return validateResourceEnvRef((ResourceEnvRef)value, diagnostics, context);
156
				return validateResourceEnvRef((ResourceEnvRef)value, diagnostics, context);
152
			case JavaeePackage.RESOURCE_REF:
157
			case JavaeePackage.RESOURCE_REF:
153
				return validateResourceRef((ResourceRef)value, diagnostics, context);
158
				return validateResourceRef((ResourceRef)value, diagnostics, context);
159
			case JavaeePackage.RESPECT_BINDING_TYPE:
160
				return validateRespectBindingType((RespectBindingType)value, diagnostics, context);
154
			case JavaeePackage.RUN_AS:
161
			case JavaeePackage.RUN_AS:
155
				return validateRunAs((RunAs)value, diagnostics, context);
162
				return validateRunAs((RunAs)value, diagnostics, context);
156
			case JavaeePackage.SECURITY_ROLE:
163
			case JavaeePackage.SECURITY_ROLE:
Lines 167-176 Link Here
167
				return validateServiceRefHandlerChains((ServiceRefHandlerChains)value, diagnostics, context);
174
				return validateServiceRefHandlerChains((ServiceRefHandlerChains)value, diagnostics, context);
168
			case JavaeePackage.URL_PATTERN_TYPE:
175
			case JavaeePackage.URL_PATTERN_TYPE:
169
				return validateUrlPatternType((UrlPatternType)value, diagnostics, context);
176
				return validateUrlPatternType((UrlPatternType)value, diagnostics, context);
177
			case JavaeePackage.ADDRESSING_RESPONSES_TYPE:
178
				return validateAddressingResponsesType((AddressingResponsesType)value, diagnostics, context);
170
			case JavaeePackage.EJB_REF_TYPE:
179
			case JavaeePackage.EJB_REF_TYPE:
171
				return validateEjbRefType((EjbRefType)value, diagnostics, context);
180
				return validateEjbRefType((EjbRefType)value, diagnostics, context);
172
			case JavaeePackage.ENV_ENTRY_TYPE:
181
			case JavaeePackage.GENERIC_BOOLEAN_TYPE:
173
				return validateEnvEntryType((EnvEntryType)value, diagnostics, context);
182
				return validateGenericBooleanType((GenericBooleanType)value, diagnostics, context);
183
			case JavaeePackage.ISOLATION_LEVEL_TYPE:
184
				return validateIsolationLevelType((IsolationLevelType)value, diagnostics, context);
174
			case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE:
185
			case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE:
175
				return validateMessageDestinationUsageType((MessageDestinationUsageType)value, diagnostics, context);
186
				return validateMessageDestinationUsageType((MessageDestinationUsageType)value, diagnostics, context);
176
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE:
187
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE:
Lines 179-184 Link Here
179
				return validateResAuthType((ResAuthType)value, diagnostics, context);
190
				return validateResAuthType((ResAuthType)value, diagnostics, context);
180
			case JavaeePackage.RES_SHARING_SCOPE_TYPE:
191
			case JavaeePackage.RES_SHARING_SCOPE_TYPE:
181
				return validateResSharingScopeType((ResSharingScopeType)value, diagnostics, context);
192
				return validateResSharingScopeType((ResSharingScopeType)value, diagnostics, context);
193
			case JavaeePackage.ADDRESSING_RESPONSES_TYPE_OBJECT:
194
				return validateAddressingResponsesTypeObject((AddressingResponsesType)value, diagnostics, context);
182
			case JavaeePackage.DEWEY_VERSION_TYPE:
195
			case JavaeePackage.DEWEY_VERSION_TYPE:
183
				return validateDeweyVersionType((String)value, diagnostics, context);
196
				return validateDeweyVersionType((String)value, diagnostics, context);
184
			case JavaeePackage.EJB_LINK:
197
			case JavaeePackage.EJB_LINK:
Lines 187-202 Link Here
187
				return validateEjbRefNameType((String)value, diagnostics, context);
200
				return validateEjbRefNameType((String)value, diagnostics, context);
188
			case JavaeePackage.EJB_REF_TYPE_OBJECT:
201
			case JavaeePackage.EJB_REF_TYPE_OBJECT:
189
				return validateEjbRefTypeObject((EjbRefType)value, diagnostics, context);
202
				return validateEjbRefTypeObject((EjbRefType)value, diagnostics, context);
190
			case JavaeePackage.ENV_ENTRY_TYPE_OBJECT:
203
			case JavaeePackage.ENV_ENTRY_TYPE:
191
				return validateEnvEntryTypeObject((EnvEntryType)value, diagnostics, context);
204
				return validateEnvEntryType((String)value, diagnostics, context);
192
			case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE:
205
			case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE:
193
				return validateFullyQualifiedClassType((String)value, diagnostics, context);
206
				return validateFullyQualifiedClassType((String)value, diagnostics, context);
207
			case JavaeePackage.GENERIC_BOOLEAN_TYPE_OBJECT:
208
				return validateGenericBooleanTypeObject((GenericBooleanType)value, diagnostics, context);
194
			case JavaeePackage.HOME:
209
			case JavaeePackage.HOME:
195
				return validateHome((String)value, diagnostics, context);
210
				return validateHome((String)value, diagnostics, context);
211
			case JavaeePackage.ISOLATION_LEVEL_TYPE_OBJECT:
212
				return validateIsolationLevelTypeObject((IsolationLevelType)value, diagnostics, context);
196
			case JavaeePackage.JAVA_IDENTIFIER:
213
			case JavaeePackage.JAVA_IDENTIFIER:
197
				return validateJavaIdentifier((String)value, diagnostics, context);
214
				return validateJavaIdentifier((String)value, diagnostics, context);
198
			case JavaeePackage.JAVA_TYPE:
215
			case JavaeePackage.JAVA_TYPE:
199
				return validateJavaType((String)value, diagnostics, context);
216
				return validateJavaType((String)value, diagnostics, context);
217
			case JavaeePackage.JDBC_URL_TYPE:
218
				return validateJdbcUrlType((String)value, diagnostics, context);
200
			case JavaeePackage.JNDI_NAME:
219
			case JavaeePackage.JNDI_NAME:
201
				return validateJNDIName((String)value, diagnostics, context);
220
				return validateJNDIName((String)value, diagnostics, context);
202
			case JavaeePackage.LOCAL:
221
			case JavaeePackage.LOCAL:
Lines 213-218 Link Here
213
				return validatePathType((String)value, diagnostics, context);
232
				return validatePathType((String)value, diagnostics, context);
214
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT:
233
			case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT:
215
				return validatePersistenceContextTypeObject((PersistenceContextType)value, diagnostics, context);
234
				return validatePersistenceContextTypeObject((PersistenceContextType)value, diagnostics, context);
235
			case JavaeePackage.PROTOCOL_BINDING_LIST_TYPE:
236
				return validateProtocolBindingListType((List<?>)value, diagnostics, context);
237
			case JavaeePackage.PROTOCOL_BINDING_TYPE:
238
				return validateProtocolBindingType((String)value, diagnostics, context);
239
			case JavaeePackage.PROTOCOL_URI_ALIAS_TYPE:
240
				return validateProtocolURIAliasType((String)value, diagnostics, context);
241
			case JavaeePackage.QNAME_PATTERN:
242
				return validateQnamePattern((String)value, diagnostics, context);
216
			case JavaeePackage.REMOTE:
243
			case JavaeePackage.REMOTE:
217
				return validateRemote((String)value, diagnostics, context);
244
				return validateRemote((String)value, diagnostics, context);
218
			case JavaeePackage.RES_AUTH_TYPE_OBJECT:
245
			case JavaeePackage.RES_AUTH_TYPE_OBJECT:
Lines 221-239 Link Here
221
				return validateResSharingScopeTypeObject((ResSharingScopeType)value, diagnostics, context);
248
				return validateResSharingScopeTypeObject((ResSharingScopeType)value, diagnostics, context);
222
			case JavaeePackage.ROLE_NAME:
249
			case JavaeePackage.ROLE_NAME:
223
				return validateRoleName((String)value, diagnostics, context);
250
				return validateRoleName((String)value, diagnostics, context);
224
			case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE:
225
				return validateServiceRefProtocolBindingListType((List)value, diagnostics, context);
226
			case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_TYPE:
227
				return validateServiceRefProtocolBindingType((String)value, diagnostics, context);
228
			case JavaeePackage.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE:
229
				return validateServiceRefProtocolURIAliasType((String)value, diagnostics, context);
230
			case JavaeePackage.SERVICE_REF_QNAME_PATTERN:
231
				return validateServiceRefQnamePattern((String)value, diagnostics, context);
232
			case JavaeePackage.TRUE_FALSE_TYPE:
251
			case JavaeePackage.TRUE_FALSE_TYPE:
233
				return validateTrueFalseType(((Boolean)value).booleanValue(), diagnostics, context);
252
				return validateTrueFalseType((Boolean)value, diagnostics, context);
234
			case JavaeePackage.TRUE_FALSE_TYPE_OBJECT:
253
			case JavaeePackage.TRUE_FALSE_TYPE_OBJECT:
235
				return validateTrueFalseTypeObject((Boolean)value, diagnostics, context);
254
				return validateTrueFalseTypeObject((Boolean)value, diagnostics, context);
236
			default: 
255
			default:
237
				return true;
256
				return true;
238
		}
257
		}
239
	}
258
	}
Lines 243-249 Link Here
243
	 * <!-- end-user-doc -->
262
	 * <!-- end-user-doc -->
244
	 * @generated
263
	 * @generated
245
	 */
264
	 */
246
	public boolean validateDescription(Description description, DiagnosticChain diagnostics, Map context) {
265
	public boolean validateAddressingType(AddressingType addressingType, DiagnosticChain diagnostics, Map<Object, Object> context) {
266
		return validate_EveryDefaultConstraint((EObject)addressingType, diagnostics, context);
267
	}
268
269
	/**
270
	 * <!-- begin-user-doc -->
271
	 * <!-- end-user-doc -->
272
	 * @generated
273
	 */
274
	public boolean validateDataSourceType(DataSourceType dataSourceType, DiagnosticChain diagnostics, Map<Object, Object> context) {
275
		return validate_EveryDefaultConstraint((EObject)dataSourceType, diagnostics, context);
276
	}
277
278
	/**
279
	 * <!-- begin-user-doc -->
280
	 * <!-- end-user-doc -->
281
	 * @generated
282
	 */
283
	public boolean validateDescription(Description description, DiagnosticChain diagnostics, Map<Object, Object> context) {
247
		return validate_EveryDefaultConstraint((EObject)description, diagnostics, context);
284
		return validate_EveryDefaultConstraint((EObject)description, diagnostics, context);
248
	}
285
	}
249
286
Lines 252-258 Link Here
252
	 * <!-- end-user-doc -->
289
	 * <!-- end-user-doc -->
253
	 * @generated
290
	 * @generated
254
	 */
291
	 */
255
	public boolean validateDisplayName(DisplayName displayName, DiagnosticChain diagnostics, Map context) {
292
	public boolean validateDisplayName(DisplayName displayName, DiagnosticChain diagnostics, Map<Object, Object> context) {
256
		return validate_EveryDefaultConstraint((EObject)displayName, diagnostics, context);
293
		return validate_EveryDefaultConstraint((EObject)displayName, diagnostics, context);
257
	}
294
	}
258
295
Lines 261-267 Link Here
261
	 * <!-- end-user-doc -->
298
	 * <!-- end-user-doc -->
262
	 * @generated
299
	 * @generated
263
	 */
300
	 */
264
	public boolean validateEjbLocalRef(EjbLocalRef ejbLocalRef, DiagnosticChain diagnostics, Map context) {
301
	public boolean validateEjbLocalRef(EjbLocalRef ejbLocalRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
265
		return validate_EveryDefaultConstraint((EObject)ejbLocalRef, diagnostics, context);
302
		return validate_EveryDefaultConstraint((EObject)ejbLocalRef, diagnostics, context);
266
	}
303
	}
267
304
Lines 270-276 Link Here
270
	 * <!-- end-user-doc -->
307
	 * <!-- end-user-doc -->
271
	 * @generated
308
	 * @generated
272
	 */
309
	 */
273
	public boolean validateEjbRef(EjbRef ejbRef, DiagnosticChain diagnostics, Map context) {
310
	public boolean validateEjbRef(EjbRef ejbRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
274
		return validate_EveryDefaultConstraint((EObject)ejbRef, diagnostics, context);
311
		return validate_EveryDefaultConstraint((EObject)ejbRef, diagnostics, context);
275
	}
312
	}
276
313
Lines 279-285 Link Here
279
	 * <!-- end-user-doc -->
316
	 * <!-- end-user-doc -->
280
	 * @generated
317
	 * @generated
281
	 */
318
	 */
282
	public boolean validateEmptyType(EmptyType emptyType, DiagnosticChain diagnostics, Map context) {
319
	public boolean validateEmptyType(EmptyType emptyType, DiagnosticChain diagnostics, Map<Object, Object> context) {
283
		return validate_EveryDefaultConstraint((EObject)emptyType, diagnostics, context);
320
		return validate_EveryDefaultConstraint((EObject)emptyType, diagnostics, context);
284
	}
321
	}
285
322
Lines 288-294 Link Here
288
	 * <!-- end-user-doc -->
325
	 * <!-- end-user-doc -->
289
	 * @generated
326
	 * @generated
290
	 */
327
	 */
291
	public boolean validateEnvEntry(EnvEntry envEntry, DiagnosticChain diagnostics, Map context) {
328
	public boolean validateEnvEntry(EnvEntry envEntry, DiagnosticChain diagnostics, Map<Object, Object> context) {
292
		return validate_EveryDefaultConstraint((EObject)envEntry, diagnostics, context);
329
		return validate_EveryDefaultConstraint((EObject)envEntry, diagnostics, context);
293
	}
330
	}
294
331
Lines 297-303 Link Here
297
	 * <!-- end-user-doc -->
334
	 * <!-- end-user-doc -->
298
	 * @generated
335
	 * @generated
299
	 */
336
	 */
300
	public boolean validateIcon(Icon icon, DiagnosticChain diagnostics, Map context) {
337
	public boolean validateIcon(Icon icon, DiagnosticChain diagnostics, Map<Object, Object> context) {
301
		return validate_EveryDefaultConstraint((EObject)icon, diagnostics, context);
338
		return validate_EveryDefaultConstraint((EObject)icon, diagnostics, context);
302
	}
339
	}
303
340
Lines 306-312 Link Here
306
	 * <!-- end-user-doc -->
343
	 * <!-- end-user-doc -->
307
	 * @generated
344
	 * @generated
308
	 */
345
	 */
309
	public boolean validateInjectionTarget(InjectionTarget injectionTarget, DiagnosticChain diagnostics, Map context) {
346
	public boolean validateInjectionTarget(InjectionTarget injectionTarget, DiagnosticChain diagnostics, Map<Object, Object> context) {
310
		return validate_EveryDefaultConstraint((EObject)injectionTarget, diagnostics, context);
347
		return validate_EveryDefaultConstraint((EObject)injectionTarget, diagnostics, context);
311
	}
348
	}
312
349
Lines 315-321 Link Here
315
	 * <!-- end-user-doc -->
352
	 * <!-- end-user-doc -->
316
	 * @generated
353
	 * @generated
317
	 */
354
	 */
318
	public boolean validateLifecycleCallback(LifecycleCallback lifecycleCallback, DiagnosticChain diagnostics, Map context) {
355
	public boolean validateLifecycleCallback(LifecycleCallback lifecycleCallback, DiagnosticChain diagnostics, Map<Object, Object> context) {
319
		return validate_EveryDefaultConstraint((EObject)lifecycleCallback, diagnostics, context);
356
		return validate_EveryDefaultConstraint((EObject)lifecycleCallback, diagnostics, context);
320
	}
357
	}
321
358
Lines 324-330 Link Here
324
	 * <!-- end-user-doc -->
361
	 * <!-- end-user-doc -->
325
	 * @generated
362
	 * @generated
326
	 */
363
	 */
327
	public boolean validateListener(Listener listener, DiagnosticChain diagnostics, Map context) {
364
	public boolean validateListener(Listener listener, DiagnosticChain diagnostics, Map<Object, Object> context) {
328
		return validate_EveryDefaultConstraint((EObject)listener, diagnostics, context);
365
		return validate_EveryDefaultConstraint((EObject)listener, diagnostics, context);
329
	}
366
	}
330
367
Lines 333-339 Link Here
333
	 * <!-- end-user-doc -->
370
	 * <!-- end-user-doc -->
334
	 * @generated
371
	 * @generated
335
	 */
372
	 */
336
	public boolean validateMessageDestination(MessageDestination messageDestination, DiagnosticChain diagnostics, Map context) {
373
	public boolean validateMessageDestination(MessageDestination messageDestination, DiagnosticChain diagnostics, Map<Object, Object> context) {
337
		return validate_EveryDefaultConstraint((EObject)messageDestination, diagnostics, context);
374
		return validate_EveryDefaultConstraint((EObject)messageDestination, diagnostics, context);
338
	}
375
	}
339
376
Lines 342-348 Link Here
342
	 * <!-- end-user-doc -->
379
	 * <!-- end-user-doc -->
343
	 * @generated
380
	 * @generated
344
	 */
381
	 */
345
	public boolean validateMessageDestinationRef(MessageDestinationRef messageDestinationRef, DiagnosticChain diagnostics, Map context) {
382
	public boolean validateMessageDestinationRef(MessageDestinationRef messageDestinationRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
346
		return validate_EveryDefaultConstraint((EObject)messageDestinationRef, diagnostics, context);
383
		return validate_EveryDefaultConstraint((EObject)messageDestinationRef, diagnostics, context);
347
	}
384
	}
348
385
Lines 351-357 Link Here
351
	 * <!-- end-user-doc -->
388
	 * <!-- end-user-doc -->
352
	 * @generated
389
	 * @generated
353
	 */
390
	 */
354
	public boolean validateParamValue(ParamValue paramValue, DiagnosticChain diagnostics, Map context) {
391
	public boolean validateParamValue(ParamValue paramValue, DiagnosticChain diagnostics, Map<Object, Object> context) {
355
		return validate_EveryDefaultConstraint((EObject)paramValue, diagnostics, context);
392
		return validate_EveryDefaultConstraint((EObject)paramValue, diagnostics, context);
356
	}
393
	}
357
394
Lines 360-366 Link Here
360
	 * <!-- end-user-doc -->
397
	 * <!-- end-user-doc -->
361
	 * @generated
398
	 * @generated
362
	 */
399
	 */
363
	public boolean validatePersistenceContextRef(PersistenceContextRef persistenceContextRef, DiagnosticChain diagnostics, Map context) {
400
	public boolean validatePersistenceContextRef(PersistenceContextRef persistenceContextRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
364
		return validate_EveryDefaultConstraint((EObject)persistenceContextRef, diagnostics, context);
401
		return validate_EveryDefaultConstraint((EObject)persistenceContextRef, diagnostics, context);
365
	}
402
	}
366
403
Lines 369-375 Link Here
369
	 * <!-- end-user-doc -->
406
	 * <!-- end-user-doc -->
370
	 * @generated
407
	 * @generated
371
	 */
408
	 */
372
	public boolean validatePersistenceUnitRef(PersistenceUnitRef persistenceUnitRef, DiagnosticChain diagnostics, Map context) {
409
	public boolean validatePersistenceUnitRef(PersistenceUnitRef persistenceUnitRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
373
		return validate_EveryDefaultConstraint((EObject)persistenceUnitRef, diagnostics, context);
410
		return validate_EveryDefaultConstraint((EObject)persistenceUnitRef, diagnostics, context);
374
	}
411
	}
375
412
Lines 378-384 Link Here
378
	 * <!-- end-user-doc -->
415
	 * <!-- end-user-doc -->
379
	 * @generated
416
	 * @generated
380
	 */
417
	 */
381
	public boolean validatePortComponentRef(PortComponentRef portComponentRef, DiagnosticChain diagnostics, Map context) {
418
	public boolean validatePortComponentRef(PortComponentRef portComponentRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
382
		return validate_EveryDefaultConstraint((EObject)portComponentRef, diagnostics, context);
419
		return validate_EveryDefaultConstraint((EObject)portComponentRef, diagnostics, context);
383
	}
420
	}
384
421
Lines 387-393 Link Here
387
	 * <!-- end-user-doc -->
424
	 * <!-- end-user-doc -->
388
	 * @generated
425
	 * @generated
389
	 */
426
	 */
390
	public boolean validatePropertyType(PropertyType propertyType, DiagnosticChain diagnostics, Map context) {
427
	public boolean validatePropertyType(PropertyType propertyType, DiagnosticChain diagnostics, Map<Object, Object> context) {
391
		return validate_EveryDefaultConstraint((EObject)propertyType, diagnostics, context);
428
		return validate_EveryDefaultConstraint((EObject)propertyType, diagnostics, context);
392
	}
429
	}
393
430
Lines 396-402 Link Here
396
	 * <!-- end-user-doc -->
433
	 * <!-- end-user-doc -->
397
	 * @generated
434
	 * @generated
398
	 */
435
	 */
399
	public boolean validateResourceEnvRef(ResourceEnvRef resourceEnvRef, DiagnosticChain diagnostics, Map context) {
436
	public boolean validateResourceEnvRef(ResourceEnvRef resourceEnvRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
400
		return validate_EveryDefaultConstraint((EObject)resourceEnvRef, diagnostics, context);
437
		return validate_EveryDefaultConstraint((EObject)resourceEnvRef, diagnostics, context);
401
	}
438
	}
402
439
Lines 405-411 Link Here
405
	 * <!-- end-user-doc -->
442
	 * <!-- end-user-doc -->
406
	 * @generated
443
	 * @generated
407
	 */
444
	 */
408
	public boolean validateResourceRef(ResourceRef resourceRef, DiagnosticChain diagnostics, Map context) {
445
	public boolean validateResourceRef(ResourceRef resourceRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
409
		return validate_EveryDefaultConstraint((EObject)resourceRef, diagnostics, context);
446
		return validate_EveryDefaultConstraint((EObject)resourceRef, diagnostics, context);
410
	}
447
	}
411
448
Lines 414-420 Link Here
414
	 * <!-- end-user-doc -->
451
	 * <!-- end-user-doc -->
415
	 * @generated
452
	 * @generated
416
	 */
453
	 */
417
	public boolean validateRunAs(RunAs runAs, DiagnosticChain diagnostics, Map context) {
454
	public boolean validateRespectBindingType(RespectBindingType respectBindingType, DiagnosticChain diagnostics, Map<Object, Object> context) {
455
		return validate_EveryDefaultConstraint((EObject)respectBindingType, diagnostics, context);
456
	}
457
458
	/**
459
	 * <!-- begin-user-doc -->
460
	 * <!-- end-user-doc -->
461
	 * @generated
462
	 */
463
	public boolean validateRunAs(RunAs runAs, DiagnosticChain diagnostics, Map<Object, Object> context) {
418
		return validate_EveryDefaultConstraint((EObject)runAs, diagnostics, context);
464
		return validate_EveryDefaultConstraint((EObject)runAs, diagnostics, context);
419
	}
465
	}
420
466
Lines 423-429 Link Here
423
	 * <!-- end-user-doc -->
469
	 * <!-- end-user-doc -->
424
	 * @generated
470
	 * @generated
425
	 */
471
	 */
426
	public boolean validateSecurityRole(SecurityRole securityRole, DiagnosticChain diagnostics, Map context) {
472
	public boolean validateSecurityRole(SecurityRole securityRole, DiagnosticChain diagnostics, Map<Object, Object> context) {
427
		return validate_EveryDefaultConstraint((EObject)securityRole, diagnostics, context);
473
		return validate_EveryDefaultConstraint((EObject)securityRole, diagnostics, context);
428
	}
474
	}
429
475
Lines 432-438 Link Here
432
	 * <!-- end-user-doc -->
478
	 * <!-- end-user-doc -->
433
	 * @generated
479
	 * @generated
434
	 */
480
	 */
435
	public boolean validateSecurityRoleRef(SecurityRoleRef securityRoleRef, DiagnosticChain diagnostics, Map context) {
481
	public boolean validateSecurityRoleRef(SecurityRoleRef securityRoleRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
436
		return validate_EveryDefaultConstraint((EObject)securityRoleRef, diagnostics, context);
482
		return validate_EveryDefaultConstraint((EObject)securityRoleRef, diagnostics, context);
437
	}
483
	}
438
484
Lines 441-447 Link Here
441
	 * <!-- end-user-doc -->
487
	 * <!-- end-user-doc -->
442
	 * @generated
488
	 * @generated
443
	 */
489
	 */
444
	public boolean validateServiceRef(ServiceRef serviceRef, DiagnosticChain diagnostics, Map context) {
490
	public boolean validateServiceRef(ServiceRef serviceRef, DiagnosticChain diagnostics, Map<Object, Object> context) {
445
		return validate_EveryDefaultConstraint((EObject)serviceRef, diagnostics, context);
491
		return validate_EveryDefaultConstraint((EObject)serviceRef, diagnostics, context);
446
	}
492
	}
447
493
Lines 450-456 Link Here
450
	 * <!-- end-user-doc -->
496
	 * <!-- end-user-doc -->
451
	 * @generated
497
	 * @generated
452
	 */
498
	 */
453
	public boolean validateServiceRefHandler(ServiceRefHandler serviceRefHandler, DiagnosticChain diagnostics, Map context) {
499
	public boolean validateServiceRefHandler(ServiceRefHandler serviceRefHandler, DiagnosticChain diagnostics, Map<Object, Object> context) {
454
		return validate_EveryDefaultConstraint((EObject)serviceRefHandler, diagnostics, context);
500
		return validate_EveryDefaultConstraint((EObject)serviceRefHandler, diagnostics, context);
455
	}
501
	}
456
502
Lines 459-465 Link Here
459
	 * <!-- end-user-doc -->
505
	 * <!-- end-user-doc -->
460
	 * @generated
506
	 * @generated
461
	 */
507
	 */
462
	public boolean validateServiceRefHandlerChain(ServiceRefHandlerChain serviceRefHandlerChain, DiagnosticChain diagnostics, Map context) {
508
	public boolean validateServiceRefHandlerChain(ServiceRefHandlerChain serviceRefHandlerChain, DiagnosticChain diagnostics, Map<Object, Object> context) {
463
		return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChain, diagnostics, context);
509
		return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChain, diagnostics, context);
464
	}
510
	}
465
511
Lines 468-474 Link Here
468
	 * <!-- end-user-doc -->
514
	 * <!-- end-user-doc -->
469
	 * @generated
515
	 * @generated
470
	 */
516
	 */
471
	public boolean validateServiceRefHandlerChains(ServiceRefHandlerChains serviceRefHandlerChains, DiagnosticChain diagnostics, Map context) {
517
	public boolean validateServiceRefHandlerChains(ServiceRefHandlerChains serviceRefHandlerChains, DiagnosticChain diagnostics, Map<Object, Object> context) {
472
		return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChains, diagnostics, context);
518
		return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChains, diagnostics, context);
473
	}
519
	}
474
520
Lines 477-483 Link Here
477
	 * <!-- end-user-doc -->
523
	 * <!-- end-user-doc -->
478
	 * @generated
524
	 * @generated
479
	 */
525
	 */
480
	public boolean validateUrlPatternType(UrlPatternType urlPatternType, DiagnosticChain diagnostics, Map context) {
526
	public boolean validateUrlPatternType(UrlPatternType urlPatternType, DiagnosticChain diagnostics, Map<Object, Object> context) {
481
		return validate_EveryDefaultConstraint((EObject)urlPatternType, diagnostics, context);
527
		return validate_EveryDefaultConstraint((EObject)urlPatternType, diagnostics, context);
482
	}
528
	}
483
529
Lines 486-492 Link Here
486
	 * <!-- end-user-doc -->
532
	 * <!-- end-user-doc -->
487
	 * @generated
533
	 * @generated
488
	 */
534
	 */
489
	public boolean validateEjbRefType(EjbRefType ejbRefType, DiagnosticChain diagnostics, Map context) {
535
	public boolean validateAddressingResponsesType(AddressingResponsesType addressingResponsesType, DiagnosticChain diagnostics, Map<Object, Object> context) {
536
		return true;
537
	}
538
539
	/**
540
	 * <!-- begin-user-doc -->
541
	 * <!-- end-user-doc -->
542
	 * @generated
543
	 */
544
	public boolean validateEjbRefType(EjbRefType ejbRefType, DiagnosticChain diagnostics, Map<Object, Object> context) {
545
		return true;
546
	}
547
548
	/**
549
	 * <!-- begin-user-doc -->
550
	 * <!-- end-user-doc -->
551
	 * @generated
552
	 */
553
	public boolean validateGenericBooleanType(GenericBooleanType genericBooleanType, DiagnosticChain diagnostics, Map<Object, Object> context) {
554
		return true;
555
	}
556
557
	/**
558
	 * <!-- begin-user-doc -->
559
	 * <!-- end-user-doc -->
560
	 * @generated
561
	 */
562
	public boolean validateIsolationLevelType(IsolationLevelType isolationLevelType, DiagnosticChain diagnostics, Map<Object, Object> context) {
490
		return true;
563
		return true;
491
	}
564
	}
492
565
Lines 495-501 Link Here
495
	 * <!-- end-user-doc -->
568
	 * <!-- end-user-doc -->
496
	 * @generated
569
	 * @generated
497
	 */
570
	 */
498
	public boolean validateEnvEntryType(EnvEntryType envEntryType, DiagnosticChain diagnostics, Map context) {
571
	public boolean validateMessageDestinationUsageType(MessageDestinationUsageType messageDestinationUsageType, DiagnosticChain diagnostics, Map<Object, Object> context) {
499
		return true;
572
		return true;
500
	}
573
	}
501
574
Lines 504-510 Link Here
504
	 * <!-- end-user-doc -->
577
	 * <!-- end-user-doc -->
505
	 * @generated
578
	 * @generated
506
	 */
579
	 */
507
	public boolean validateMessageDestinationUsageType(MessageDestinationUsageType messageDestinationUsageType, DiagnosticChain diagnostics, Map context) {
580
	public boolean validatePersistenceContextType(PersistenceContextType persistenceContextType, DiagnosticChain diagnostics, Map<Object, Object> context) {
508
		return true;
581
		return true;
509
	}
582
	}
510
583
Lines 513-519 Link Here
513
	 * <!-- end-user-doc -->
586
	 * <!-- end-user-doc -->
514
	 * @generated
587
	 * @generated
515
	 */
588
	 */
516
	public boolean validatePersistenceContextType(PersistenceContextType persistenceContextType, DiagnosticChain diagnostics, Map context) {
589
	public boolean validateResAuthType(ResAuthType resAuthType, DiagnosticChain diagnostics, Map<Object, Object> context) {
517
		return true;
590
		return true;
518
	}
591
	}
519
592
Lines 522-528 Link Here
522
	 * <!-- end-user-doc -->
595
	 * <!-- end-user-doc -->
523
	 * @generated
596
	 * @generated
524
	 */
597
	 */
525
	public boolean validateResAuthType(ResAuthType resAuthType, DiagnosticChain diagnostics, Map context) {
598
	public boolean validateResSharingScopeType(ResSharingScopeType resSharingScopeType, DiagnosticChain diagnostics, Map<Object, Object> context) {
526
		return true;
599
		return true;
527
	}
600
	}
528
601
Lines 531-537 Link Here
531
	 * <!-- end-user-doc -->
604
	 * <!-- end-user-doc -->
532
	 * @generated
605
	 * @generated
533
	 */
606
	 */
534
	public boolean validateResSharingScopeType(ResSharingScopeType resSharingScopeType, DiagnosticChain diagnostics, Map context) {
607
	public boolean validateAddressingResponsesTypeObject(AddressingResponsesType addressingResponsesTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
535
		return true;
608
		return true;
536
	}
609
	}
537
610
Lines 540-546 Link Here
540
	 * <!-- end-user-doc -->
613
	 * <!-- end-user-doc -->
541
	 * @generated
614
	 * @generated
542
	 */
615
	 */
543
	public boolean validateDeweyVersionType(String deweyVersionType, DiagnosticChain diagnostics, Map context) {
616
	public boolean validateDeweyVersionType(String deweyVersionType, DiagnosticChain diagnostics, Map<Object, Object> context) {
544
		boolean result = validateDeweyVersionType_Pattern(deweyVersionType, diagnostics, context);
617
		boolean result = validateDeweyVersionType_Pattern(deweyVersionType, diagnostics, context);
545
		return result;
618
		return result;
546
	}
619
	}
Lines 564-570 Link Here
564
	 * <!-- end-user-doc -->
637
	 * <!-- end-user-doc -->
565
	 * @generated
638
	 * @generated
566
	 */
639
	 */
567
	public boolean validateDeweyVersionType_Pattern(String deweyVersionType, DiagnosticChain diagnostics, Map context) {
640
	public boolean validateDeweyVersionType_Pattern(String deweyVersionType, DiagnosticChain diagnostics, Map<Object, Object> context) {
568
		return validatePattern(JavaeePackage.Literals.DEWEY_VERSION_TYPE, deweyVersionType, DEWEY_VERSION_TYPE__PATTERN__VALUES, diagnostics, context);
641
		return validatePattern(JavaeePackage.Literals.DEWEY_VERSION_TYPE, deweyVersionType, DEWEY_VERSION_TYPE__PATTERN__VALUES, diagnostics, context);
569
	}
642
	}
570
643
Lines 573-579 Link Here
573
	 * <!-- end-user-doc -->
646
	 * <!-- end-user-doc -->
574
	 * @generated
647
	 * @generated
575
	 */
648
	 */
576
	public boolean validateEJBLink(String ejbLink, DiagnosticChain diagnostics, Map context) {
649
	public boolean validateEJBLink(String ejbLink, DiagnosticChain diagnostics, Map<Object, Object> context) {
650
		return true;
651
	}
652
653
	/**
654
	 * <!-- begin-user-doc -->
655
	 * <!-- end-user-doc -->
656
	 * @generated
657
	 */
658
	public boolean validateEjbRefNameType(String ejbRefNameType, DiagnosticChain diagnostics, Map<Object, Object> context) {
659
		return true;
660
	}
661
662
	/**
663
	 * <!-- begin-user-doc -->
664
	 * <!-- end-user-doc -->
665
	 * @generated
666
	 */
667
	public boolean validateEjbRefTypeObject(EjbRefType ejbRefTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
577
		return true;
668
		return true;
578
	}
669
	}
579
670
Lines 582-588 Link Here
582
	 * <!-- end-user-doc -->
673
	 * <!-- end-user-doc -->
583
	 * @generated
674
	 * @generated
584
	 */
675
	 */
585
	public boolean validateEjbRefNameType(String ejbRefNameType, DiagnosticChain diagnostics, Map context) {
676
	public boolean validateEnvEntryType(String envEntryType, DiagnosticChain diagnostics, Map<Object, Object> context) {
586
		return true;
677
		return true;
587
	}
678
	}
588
679
Lines 591-597 Link Here
591
	 * <!-- end-user-doc -->
682
	 * <!-- end-user-doc -->
592
	 * @generated
683
	 * @generated
593
	 */
684
	 */
594
	public boolean validateEjbRefTypeObject(EjbRefType ejbRefTypeObject, DiagnosticChain diagnostics, Map context) {
685
	public boolean validateFullyQualifiedClassType(String fullyQualifiedClassType, DiagnosticChain diagnostics, Map<Object, Object> context) {
595
		return true;
686
		return true;
596
	}
687
	}
597
688
Lines 600-606 Link Here
600
	 * <!-- end-user-doc -->
691
	 * <!-- end-user-doc -->
601
	 * @generated
692
	 * @generated
602
	 */
693
	 */
603
	public boolean validateEnvEntryTypeObject(EnvEntryType envEntryTypeObject, DiagnosticChain diagnostics, Map context) {
694
	public boolean validateGenericBooleanTypeObject(GenericBooleanType genericBooleanTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
604
		return true;
695
		return true;
605
	}
696
	}
606
697
Lines 609-615 Link Here
609
	 * <!-- end-user-doc -->
700
	 * <!-- end-user-doc -->
610
	 * @generated
701
	 * @generated
611
	 */
702
	 */
612
	public boolean validateFullyQualifiedClassType(String fullyQualifiedClassType, DiagnosticChain diagnostics, Map context) {
703
	public boolean validateHome(String home, DiagnosticChain diagnostics, Map<Object, Object> context) {
613
		return true;
704
		return true;
614
	}
705
	}
615
706
Lines 618-624 Link Here
618
	 * <!-- end-user-doc -->
709
	 * <!-- end-user-doc -->
619
	 * @generated
710
	 * @generated
620
	 */
711
	 */
621
	public boolean validateHome(String home, DiagnosticChain diagnostics, Map context) {
712
	public boolean validateIsolationLevelTypeObject(IsolationLevelType isolationLevelTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
622
		return true;
713
		return true;
623
	}
714
	}
624
715
Lines 627-633 Link Here
627
	 * <!-- end-user-doc -->
718
	 * <!-- end-user-doc -->
628
	 * @generated
719
	 * @generated
629
	 */
720
	 */
630
	public boolean validateJavaIdentifier(String javaIdentifier, DiagnosticChain diagnostics, Map context) {
721
	public boolean validateJavaIdentifier(String javaIdentifier, DiagnosticChain diagnostics, Map<Object, Object> context) {
631
		boolean result = validateJavaIdentifier_Pattern(javaIdentifier, diagnostics, context);
722
		boolean result = validateJavaIdentifier_Pattern(javaIdentifier, diagnostics, context);
632
		return result;
723
		return result;
633
	}
724
	}
Lines 651-657 Link Here
651
	 * <!-- end-user-doc -->
742
	 * <!-- end-user-doc -->
652
	 * @generated
743
	 * @generated
653
	 */
744
	 */
654
	public boolean validateJavaIdentifier_Pattern(String javaIdentifier, DiagnosticChain diagnostics, Map context) {
745
	public boolean validateJavaIdentifier_Pattern(String javaIdentifier, DiagnosticChain diagnostics, Map<Object, Object> context) {
655
		return validatePattern(JavaeePackage.Literals.JAVA_IDENTIFIER, javaIdentifier, JAVA_IDENTIFIER__PATTERN__VALUES, diagnostics, context);
746
		return validatePattern(JavaeePackage.Literals.JAVA_IDENTIFIER, javaIdentifier, JAVA_IDENTIFIER__PATTERN__VALUES, diagnostics, context);
656
	}
747
	}
657
748
Lines 660-666 Link Here
660
	 * <!-- end-user-doc -->
751
	 * <!-- end-user-doc -->
661
	 * @generated
752
	 * @generated
662
	 */
753
	 */
663
	public boolean validateJavaType(String javaType, DiagnosticChain diagnostics, Map context) {
754
	public boolean validateJavaType(String javaType, DiagnosticChain diagnostics, Map<Object, Object> context) {
664
		boolean result = validateJavaType_Pattern(javaType, diagnostics, context);
755
		boolean result = validateJavaType_Pattern(javaType, diagnostics, context);
665
		return result;
756
		return result;
666
	}
757
	}
Lines 684-690 Link Here
684
	 * <!-- end-user-doc -->
775
	 * <!-- end-user-doc -->
685
	 * @generated
776
	 * @generated
686
	 */
777
	 */
687
	public boolean validateJavaType_Pattern(String javaType, DiagnosticChain diagnostics, Map context) {
778
	public boolean validateJavaType_Pattern(String javaType, DiagnosticChain diagnostics, Map<Object, Object> context) {
688
		return validatePattern(JavaeePackage.Literals.JAVA_TYPE, javaType, JAVA_TYPE__PATTERN__VALUES, diagnostics, context);
779
		return validatePattern(JavaeePackage.Literals.JAVA_TYPE, javaType, JAVA_TYPE__PATTERN__VALUES, diagnostics, context);
689
	}
780
	}
690
781
Lines 693-727 Link Here
693
	 * <!-- end-user-doc -->
784
	 * <!-- end-user-doc -->
694
	 * @generated
785
	 * @generated
695
	 */
786
	 */
696
	public boolean validateJNDIName(String jndiName, DiagnosticChain diagnostics, Map context) {
787
	public boolean validateJdbcUrlType(String jdbcUrlType, DiagnosticChain diagnostics, Map<Object, Object> context) {
697
		return true;
788
		boolean result = validateJdbcUrlType_Pattern(jdbcUrlType, diagnostics, context);
698
	}
789
		return result;
699
700
	/**
701
	 * <!-- begin-user-doc -->
702
	 * <!-- end-user-doc -->
703
	 * @generated
704
	 */
705
	public boolean validateLocal(String local, DiagnosticChain diagnostics, Map context) {
706
		return true;
707
	}
790
	}
708
791
709
	/**
792
	/**
710
	 * <!-- begin-user-doc -->
793
	 * <!-- begin-user-doc -->
711
	 * <!-- end-user-doc -->
794
	 * <!-- end-user-doc -->
712
	 * @generated
795
	 * @generated
796
	 * @see #validateJdbcUrlType_Pattern
713
	 */
797
	 */
714
	public boolean validateLocalHome(String localHome, DiagnosticChain diagnostics, Map context) {
798
	public static final  PatternMatcher [][] JDBC_URL_TYPE__PATTERN__VALUES =
715
		return true;
799
		new PatternMatcher [][] {
716
	}
800
			new PatternMatcher [] {
801
				XMLTypeUtil.createPatternMatcher("jdbc:(.*):(.*)") //$NON-NLS-1$
802
			}
803
		};
717
804
718
	/**
805
	/**
806
	 * Validates the Pattern constraint of '<em>Jdbc Url Type</em>'.
719
	 * <!-- begin-user-doc -->
807
	 * <!-- begin-user-doc -->
720
	 * <!-- end-user-doc -->
808
	 * <!-- end-user-doc -->
721
	 * @generated
809
	 * @generated
722
	 */
810
	 */
723
	public boolean validateMessageDestinationLink(String messageDestinationLink, DiagnosticChain diagnostics, Map context) {
811
	public boolean validateJdbcUrlType_Pattern(String jdbcUrlType, DiagnosticChain diagnostics, Map<Object, Object> context) {
724
		return true;
812
		return validatePattern(JavaeePackage.Literals.JDBC_URL_TYPE, jdbcUrlType, JDBC_URL_TYPE__PATTERN__VALUES, diagnostics, context);
725
	}
813
	}
726
814
727
	/**
815
	/**
Lines 729-735 Link Here
729
	 * <!-- end-user-doc -->
817
	 * <!-- end-user-doc -->
730
	 * @generated
818
	 * @generated
731
	 */
819
	 */
732
	public boolean validateMessageDestinationTypeType(String messageDestinationTypeType, DiagnosticChain diagnostics, Map context) {
820
	public boolean validateJNDIName(String jndiName, DiagnosticChain diagnostics, Map<Object, Object> context) {
733
		return true;
821
		return true;
734
	}
822
	}
735
823
Lines 738-744 Link Here
738
	 * <!-- end-user-doc -->
826
	 * <!-- end-user-doc -->
739
	 * @generated
827
	 * @generated
740
	 */
828
	 */
741
	public boolean validateMessageDestinationUsageTypeObject(MessageDestinationUsageType messageDestinationUsageTypeObject, DiagnosticChain diagnostics, Map context) {
829
	public boolean validateLocal(String local, DiagnosticChain diagnostics, Map<Object, Object> context) {
742
		return true;
830
		return true;
743
	}
831
	}
744
832
Lines 747-753 Link Here
747
	 * <!-- end-user-doc -->
835
	 * <!-- end-user-doc -->
748
	 * @generated
836
	 * @generated
749
	 */
837
	 */
750
	public boolean validatePathType(String pathType, DiagnosticChain diagnostics, Map context) {
838
	public boolean validateLocalHome(String localHome, DiagnosticChain diagnostics, Map<Object, Object> context) {
751
		return true;
839
		return true;
752
	}
840
	}
753
841
Lines 756-762 Link Here
756
	 * <!-- end-user-doc -->
844
	 * <!-- end-user-doc -->
757
	 * @generated
845
	 * @generated
758
	 */
846
	 */
759
	public boolean validatePersistenceContextTypeObject(PersistenceContextType persistenceContextTypeObject, DiagnosticChain diagnostics, Map context) {
847
	public boolean validateMessageDestinationLink(String messageDestinationLink, DiagnosticChain diagnostics, Map<Object, Object> context) {
760
		return true;
848
		return true;
761
	}
849
	}
762
850
Lines 765-771 Link Here
765
	 * <!-- end-user-doc -->
853
	 * <!-- end-user-doc -->
766
	 * @generated
854
	 * @generated
767
	 */
855
	 */
768
	public boolean validateRemote(String remote, DiagnosticChain diagnostics, Map context) {
856
	public boolean validateMessageDestinationTypeType(String messageDestinationTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) {
769
		return true;
857
		return true;
770
	}
858
	}
771
859
Lines 774-780 Link Here
774
	 * <!-- end-user-doc -->
862
	 * <!-- end-user-doc -->
775
	 * @generated
863
	 * @generated
776
	 */
864
	 */
777
	public boolean validateResAuthTypeObject(ResAuthType resAuthTypeObject, DiagnosticChain diagnostics, Map context) {
865
	public boolean validateMessageDestinationUsageTypeObject(MessageDestinationUsageType messageDestinationUsageTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
778
		return true;
866
		return true;
779
	}
867
	}
780
868
Lines 783-789 Link Here
783
	 * <!-- end-user-doc -->
871
	 * <!-- end-user-doc -->
784
	 * @generated
872
	 * @generated
785
	 */
873
	 */
786
	public boolean validateResSharingScopeTypeObject(ResSharingScopeType resSharingScopeTypeObject, DiagnosticChain diagnostics, Map context) {
874
	public boolean validatePathType(String pathType, DiagnosticChain diagnostics, Map<Object, Object> context) {
787
		return true;
875
		return true;
788
	}
876
	}
789
877
Lines 792-798 Link Here
792
	 * <!-- end-user-doc -->
880
	 * <!-- end-user-doc -->
793
	 * @generated
881
	 * @generated
794
	 */
882
	 */
795
	public boolean validateRoleName(String roleName, DiagnosticChain diagnostics, Map context) {
883
	public boolean validatePersistenceContextTypeObject(PersistenceContextType persistenceContextTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
796
		return true;
884
		return true;
797
	}
885
	}
798
886
Lines 801-827 Link Here
801
	 * <!-- end-user-doc -->
889
	 * <!-- end-user-doc -->
802
	 * @generated
890
	 * @generated
803
	 */
891
	 */
804
	public boolean validateServiceRefProtocolBindingListType(List serviceRefProtocolBindingListType, DiagnosticChain diagnostics, Map context) {
892
	public boolean validateProtocolBindingListType(List<?> protocolBindingListType, DiagnosticChain diagnostics, Map<Object, Object> context) {
805
		boolean result = validateServiceRefProtocolBindingListType_ItemType(serviceRefProtocolBindingListType, diagnostics, context);
893
		boolean result = validateProtocolBindingListType_ItemType(protocolBindingListType, diagnostics, context);
806
		return result;
894
		return result;
807
	}
895
	}
808
896
809
	/**
897
	/**
810
	 * Validates the ItemType constraint of '<em>Service Ref Protocol Binding List Type</em>'.
898
	 * Validates the ItemType constraint of '<em>Protocol Binding List Type</em>'.
811
	 * <!-- begin-user-doc -->
899
	 * <!-- begin-user-doc -->
812
	 * <!-- end-user-doc -->
900
	 * <!-- end-user-doc -->
813
	 * @generated
901
	 * @generated
814
	 */
902
	 */
815
	public boolean validateServiceRefProtocolBindingListType_ItemType(List serviceRefProtocolBindingListType, DiagnosticChain diagnostics, Map context) {
903
	public boolean validateProtocolBindingListType_ItemType(List<?> protocolBindingListType, DiagnosticChain diagnostics, Map<Object, Object> context) {
816
		boolean result = true;
904
		boolean result = true;
817
		for (Iterator i = serviceRefProtocolBindingListType.iterator(); i.hasNext() && (result || diagnostics != null); ) {
905
		for (Iterator<?> i = protocolBindingListType.iterator(); i.hasNext() && (result || diagnostics != null); ) {
818
			Object item = i.next();
906
			Object item = i.next();
819
			if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE.isInstance(item)) {
907
			if (JavaeePackage.Literals.PROTOCOL_BINDING_TYPE.isInstance(item)) {
820
				result &= validateServiceRefProtocolBindingType((String)item, diagnostics, context);
908
				result &= validateProtocolBindingType((String)item, diagnostics, context);
821
			}
909
			}
822
			else {
910
			else {
823
				result = false;
911
				result = false;
824
				reportDataValueTypeViolation(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE, item, diagnostics, context);
912
				reportDataValueTypeViolation(JavaeePackage.Literals.PROTOCOL_BINDING_TYPE, item, diagnostics, context);
825
			}
913
			}
826
		}
914
		}
827
		return result;
915
		return result;
Lines 832-868 Link Here
832
	 * <!-- end-user-doc -->
920
	 * <!-- end-user-doc -->
833
	 * @generated
921
	 * @generated
834
	 */
922
	 */
835
	public boolean validateServiceRefProtocolBindingType(String serviceRefProtocolBindingType, DiagnosticChain diagnostics, Map context) {
923
	public boolean validateProtocolBindingType(String protocolBindingType, DiagnosticChain diagnostics, Map<Object, Object> context) {
836
		boolean result = validateServiceRefProtocolBindingType_MemberTypes(serviceRefProtocolBindingType, diagnostics, context);
924
		boolean result = validateProtocolBindingType_MemberTypes(protocolBindingType, diagnostics, context);
837
		return result;
925
		return result;
838
	}
926
	}
839
927
840
	/**
928
	/**
841
	 * Validates the MemberTypes constraint of '<em>Service Ref Protocol Binding Type</em>'.
929
	 * Validates the MemberTypes constraint of '<em>Protocol Binding Type</em>'.
842
	 * <!-- begin-user-doc -->
930
	 * <!-- begin-user-doc -->
843
	 * <!-- end-user-doc -->
931
	 * <!-- end-user-doc -->
844
	 * @generated
932
	 * @generated
845
	 */
933
	 */
846
	public boolean validateServiceRefProtocolBindingType_MemberTypes(String serviceRefProtocolBindingType, DiagnosticChain diagnostics, Map context) {
934
	public boolean validateProtocolBindingType_MemberTypes(String protocolBindingType, DiagnosticChain diagnostics, Map<Object, Object> context) {
847
		if (diagnostics != null) {
935
		if (diagnostics != null) {
848
			BasicDiagnostic tempDiagnostics = new BasicDiagnostic();
936
			BasicDiagnostic tempDiagnostics = new BasicDiagnostic();
849
			if (XMLTypePackage.Literals.ANY_URI.isInstance(serviceRefProtocolBindingType)) {
937
			if (XMLTypePackage.Literals.ANY_URI.isInstance(protocolBindingType)) {
850
				if (xmlTypeValidator.validateAnyURI(serviceRefProtocolBindingType, tempDiagnostics, context)) return true;
938
				if (xmlTypeValidator.validateAnyURI(protocolBindingType, tempDiagnostics, context)) return true;
851
			}
939
			}
852
			if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE.isInstance(serviceRefProtocolBindingType)) {
940
			if (JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE.isInstance(protocolBindingType)) {
853
				if (validateServiceRefProtocolURIAliasType(serviceRefProtocolBindingType, tempDiagnostics, context)) return true;
941
				if (validateProtocolURIAliasType(protocolBindingType, tempDiagnostics, context)) return true;
854
			}
942
			}
855
			List children = tempDiagnostics.getChildren();
943
			for (Diagnostic diagnostic : tempDiagnostics.getChildren()) {
856
			for (int i = 0; i < children.size(); i++) {
944
				diagnostics.add(diagnostic);
857
				diagnostics.add((Diagnostic)children.get(i));
858
			}
945
			}
859
		}
946
		}
860
		else {
947
		else {
861
			if (XMLTypePackage.Literals.ANY_URI.isInstance(serviceRefProtocolBindingType)) {
948
			if (XMLTypePackage.Literals.ANY_URI.isInstance(protocolBindingType)) {
862
				if (xmlTypeValidator.validateAnyURI(serviceRefProtocolBindingType, null, context)) return true;
949
				if (xmlTypeValidator.validateAnyURI(protocolBindingType, null, context)) return true;
863
			}
950
			}
864
			if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE.isInstance(serviceRefProtocolBindingType)) {
951
			if (JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE.isInstance(protocolBindingType)) {
865
				if (validateServiceRefProtocolURIAliasType(serviceRefProtocolBindingType, null, context)) return true;
952
				if (validateProtocolURIAliasType(protocolBindingType, null, context)) return true;
866
			}
953
			}
867
		}
954
		}
868
		return false;
955
		return false;
Lines 873-880 Link Here
873
	 * <!-- end-user-doc -->
960
	 * <!-- end-user-doc -->
874
	 * @generated
961
	 * @generated
875
	 */
962
	 */
876
	public boolean validateServiceRefProtocolURIAliasType(String serviceRefProtocolURIAliasType, DiagnosticChain diagnostics, Map context) {
963
	public boolean validateProtocolURIAliasType(String protocolURIAliasType, DiagnosticChain diagnostics, Map<Object, Object> context) {
877
		boolean result = validateServiceRefProtocolURIAliasType_Pattern(serviceRefProtocolURIAliasType, diagnostics, context);
964
		boolean result = validateProtocolURIAliasType_Pattern(protocolURIAliasType, diagnostics, context);
878
		return result;
965
		return result;
879
	}
966
	}
880
967
Lines 882-890 Link Here
882
	 * <!-- begin-user-doc -->
969
	 * <!-- begin-user-doc -->
883
	 * <!-- end-user-doc -->
970
	 * <!-- end-user-doc -->
884
	 * @generated
971
	 * @generated
885
	 * @see #validateServiceRefProtocolURIAliasType_Pattern
972
	 * @see #validateProtocolURIAliasType_Pattern
886
	 */
973
	 */
887
	public static final  PatternMatcher [][] SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES =
974
	public static final  PatternMatcher [][] PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES =
888
		new PatternMatcher [][] {
975
		new PatternMatcher [][] {
889
			new PatternMatcher [] {
976
			new PatternMatcher [] {
890
				XMLTypeUtil.createPatternMatcher("##.+") //$NON-NLS-1$
977
				XMLTypeUtil.createPatternMatcher("##.+") //$NON-NLS-1$
Lines 892-904 Link Here
892
		};
979
		};
893
980
894
	/**
981
	/**
895
	 * Validates the Pattern constraint of '<em>Service Ref Protocol URI Alias Type</em>'.
982
	 * Validates the Pattern constraint of '<em>Protocol URI Alias Type</em>'.
896
	 * <!-- begin-user-doc -->
983
	 * <!-- begin-user-doc -->
897
	 * <!-- end-user-doc -->
984
	 * <!-- end-user-doc -->
898
	 * @generated
985
	 * @generated
899
	 */
986
	 */
900
	public boolean validateServiceRefProtocolURIAliasType_Pattern(String serviceRefProtocolURIAliasType, DiagnosticChain diagnostics, Map context) {
987
	public boolean validateProtocolURIAliasType_Pattern(String protocolURIAliasType, DiagnosticChain diagnostics, Map<Object, Object> context) {
901
		return validatePattern(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE, serviceRefProtocolURIAliasType, SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES, diagnostics, context);
988
		return validatePattern(JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE, protocolURIAliasType, PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES, diagnostics, context);
902
	}
989
	}
903
990
904
	/**
991
	/**
Lines 906-913 Link Here
906
	 * <!-- end-user-doc -->
993
	 * <!-- end-user-doc -->
907
	 * @generated
994
	 * @generated
908
	 */
995
	 */
909
	public boolean validateServiceRefQnamePattern(String serviceRefQnamePattern, DiagnosticChain diagnostics, Map context) {
996
	public boolean validateQnamePattern(String qnamePattern, DiagnosticChain diagnostics, Map<Object, Object> context) {
910
		boolean result = validateServiceRefQnamePattern_Pattern(serviceRefQnamePattern, diagnostics, context);
997
		boolean result = validateQnamePattern_Pattern(qnamePattern, diagnostics, context);
911
		return result;
998
		return result;
912
	}
999
	}
913
1000
Lines 915-923 Link Here
915
	 * <!-- begin-user-doc -->
1002
	 * <!-- begin-user-doc -->
916
	 * <!-- end-user-doc -->
1003
	 * <!-- end-user-doc -->
917
	 * @generated
1004
	 * @generated
918
	 * @see #validateServiceRefQnamePattern_Pattern
1005
	 * @see #validateQnamePattern_Pattern
919
	 */
1006
	 */
920
	public static final  PatternMatcher [][] SERVICE_REF_QNAME_PATTERN__PATTERN__VALUES =
1007
	public static final  PatternMatcher [][] QNAME_PATTERN__PATTERN__VALUES =
921
		new PatternMatcher [][] {
1008
		new PatternMatcher [][] {
922
			new PatternMatcher [] {
1009
			new PatternMatcher [] {
923
				XMLTypeUtil.createPatternMatcher("\\*|([\\i-[:]][\\c-[:]]*:)?[\\i-[:]][\\c-[:]]*\\*?") //$NON-NLS-1$
1010
				XMLTypeUtil.createPatternMatcher("\\*|([\\i-[:]][\\c-[:]]*:)?[\\i-[:]][\\c-[:]]*\\*?") //$NON-NLS-1$
Lines 925-937 Link Here
925
		};
1012
		};
926
1013
927
	/**
1014
	/**
928
	 * Validates the Pattern constraint of '<em>Service Ref Qname Pattern</em>'.
1015
	 * Validates the Pattern constraint of '<em>Qname Pattern</em>'.
1016
	 * <!-- begin-user-doc -->
1017
	 * <!-- end-user-doc -->
1018
	 * @generated
1019
	 */
1020
	public boolean validateQnamePattern_Pattern(String qnamePattern, DiagnosticChain diagnostics, Map<Object, Object> context) {
1021
		return validatePattern(JavaeePackage.Literals.QNAME_PATTERN, qnamePattern, QNAME_PATTERN__PATTERN__VALUES, diagnostics, context);
1022
	}
1023
1024
	/**
1025
	 * <!-- begin-user-doc -->
1026
	 * <!-- end-user-doc -->
1027
	 * @generated
1028
	 */
1029
	public boolean validateRemote(String remote, DiagnosticChain diagnostics, Map<Object, Object> context) {
1030
		return true;
1031
	}
1032
1033
	/**
1034
	 * <!-- begin-user-doc -->
1035
	 * <!-- end-user-doc -->
1036
	 * @generated
1037
	 */
1038
	public boolean validateResAuthTypeObject(ResAuthType resAuthTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
1039
		return true;
1040
	}
1041
1042
	/**
1043
	 * <!-- begin-user-doc -->
1044
	 * <!-- end-user-doc -->
1045
	 * @generated
1046
	 */
1047
	public boolean validateResSharingScopeTypeObject(ResSharingScopeType resSharingScopeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
1048
		return true;
1049
	}
1050
1051
	/**
929
	 * <!-- begin-user-doc -->
1052
	 * <!-- begin-user-doc -->
930
	 * <!-- end-user-doc -->
1053
	 * <!-- end-user-doc -->
931
	 * @generated
1054
	 * @generated
932
	 */
1055
	 */
933
	public boolean validateServiceRefQnamePattern_Pattern(String serviceRefQnamePattern, DiagnosticChain diagnostics, Map context) {
1056
	public boolean validateRoleName(String roleName, DiagnosticChain diagnostics, Map<Object, Object> context) {
934
		return validatePattern(JavaeePackage.Literals.SERVICE_REF_QNAME_PATTERN, serviceRefQnamePattern, SERVICE_REF_QNAME_PATTERN__PATTERN__VALUES, diagnostics, context);
1057
		return true;
935
	}
1058
	}
936
1059
937
	/**
1060
	/**
Lines 939-945 Link Here
939
	 * <!-- end-user-doc -->
1062
	 * <!-- end-user-doc -->
940
	 * @generated
1063
	 * @generated
941
	 */
1064
	 */
942
	public boolean validateTrueFalseType(boolean trueFalseType, DiagnosticChain diagnostics, Map context) {
1065
	public boolean validateTrueFalseType(boolean trueFalseType, DiagnosticChain diagnostics, Map<Object, Object> context) {
943
		boolean result = validateTrueFalseType_Pattern(trueFalseType, diagnostics, context);
1066
		boolean result = validateTrueFalseType_Pattern(trueFalseType, diagnostics, context);
944
		return result;
1067
		return result;
945
	}
1068
	}
Lines 963-970 Link Here
963
	 * <!-- end-user-doc -->
1086
	 * <!-- end-user-doc -->
964
	 * @generated
1087
	 * @generated
965
	 */
1088
	 */
966
	public boolean validateTrueFalseType_Pattern(boolean trueFalseType, DiagnosticChain diagnostics, Map context) {
1089
	public boolean validateTrueFalseType_Pattern(boolean trueFalseType, DiagnosticChain diagnostics, Map<Object, Object> context) {
967
		return validatePattern(JavaeePackage.Literals.TRUE_FALSE_TYPE, new Boolean(trueFalseType), TRUE_FALSE_TYPE__PATTERN__VALUES, diagnostics, context);
1090
		return validatePattern(JavaeePackage.Literals.TRUE_FALSE_TYPE, trueFalseType, TRUE_FALSE_TYPE__PATTERN__VALUES, diagnostics, context);
968
	}
1091
	}
969
1092
970
	/**
1093
	/**
Lines 972-980 Link Here
972
	 * <!-- end-user-doc -->
1095
	 * <!-- end-user-doc -->
973
	 * @generated
1096
	 * @generated
974
	 */
1097
	 */
975
	public boolean validateTrueFalseTypeObject(Boolean trueFalseTypeObject, DiagnosticChain diagnostics, Map context) {
1098
	public boolean validateTrueFalseTypeObject(Boolean trueFalseTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) {
976
		boolean result = validateTrueFalseType_Pattern(trueFalseTypeObject.booleanValue(), diagnostics, context);
1099
		boolean result = validateTrueFalseType_Pattern(trueFalseTypeObject, diagnostics, context);
977
		return result;
1100
		return result;
978
	}
1101
	}
979
1102
1103
	/**
1104
	 * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
1105
	 * <!-- begin-user-doc -->
1106
	 * <!-- end-user-doc -->
1107
	 * @generated
1108
	 */
1109
	@Override
1110
	public ResourceLocator getResourceLocator() {
1111
		// TODO
1112
		// Specialize this to return a resource locator for messages specific to this validator.
1113
		// Ensure that you remove @generated or mark it @generated NOT
1114
		return super.getResourceLocator();
1115
	}
1116
980
} //JavaeeValidator
1117
} //JavaeeValidator
(-)jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeXMLProcessor.java (-1 / +2 lines)
Lines 14-19 Link Here
14
14
15
import org.eclipse.emf.ecore.EPackage;
15
import org.eclipse.emf.ecore.EPackage;
16
16
17
import org.eclipse.emf.ecore.resource.Resource;
17
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
19
19
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
20
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
Lines 43-49 Link Here
43
	 * @generated
44
	 * @generated
44
	 */
45
	 */
45
	@Override
46
	@Override
46
	protected Map getRegistrations() {
47
	protected Map<String, Resource.Factory> getRegistrations() {
47
		if (registrations == null) {
48
		if (registrations == null) {
48
			super.getRegistrations();
49
			super.getRegistrations();
49
			registrations.put(XML_EXTENSION, new JavaeeResourceFactoryImpl());
50
			registrations.put(XML_EXTENSION, new JavaeeResourceFactoryImpl());
(-)jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeAdapterFactory.java (-32 / +86 lines)
Lines 70-192 Link Here
70
	}
70
	}
71
71
72
	/**
72
	/**
73
	 * The switch the delegates to the <code>createXXX</code> methods.
73
	 * The switch that delegates to the <code>createXXX</code> methods.
74
	 * <!-- begin-user-doc -->
74
	 * <!-- begin-user-doc -->
75
	 * <!-- end-user-doc -->
75
	 * <!-- end-user-doc -->
76
	 * @generated
76
	 * @generated
77
	 */
77
	 */
78
	protected JavaeeSwitch modelSwitch =
78
	protected JavaeeSwitch<Adapter> modelSwitch =
79
		new JavaeeSwitch() {
79
		new JavaeeSwitch<Adapter>() {
80
			@Override
80
			@Override
81
			public Object caseDescription(Description object) {
81
			public Adapter caseAddressingType(AddressingType object) {
82
				return createAddressingTypeAdapter();
83
			}
84
			@Override
85
			public Adapter caseDataSourceType(DataSourceType object) {
86
				return createDataSourceTypeAdapter();
87
			}
88
			@Override
89
			public Adapter caseDescription(Description object) {
82
				return createDescriptionAdapter();
90
				return createDescriptionAdapter();
83
			}
91
			}
84
			@Override
92
			@Override
85
			public Object caseDisplayName(DisplayName object) {
93
			public Adapter caseDisplayName(DisplayName object) {
86
				return createDisplayNameAdapter();
94
				return createDisplayNameAdapter();
87
			}
95
			}
88
			@Override
96
			@Override
89
			public Object caseEjbLocalRef(EjbLocalRef object) {
97
			public Adapter caseEjbLocalRef(EjbLocalRef object) {
90
				return createEjbLocalRefAdapter();
98
				return createEjbLocalRefAdapter();
91
			}
99
			}
92
			@Override
100
			@Override
93
			public Object caseEjbRef(EjbRef object) {
101
			public Adapter caseEjbRef(EjbRef object) {
94
				return createEjbRefAdapter();
102
				return createEjbRefAdapter();
95
			}
103
			}
96
			@Override
104
			@Override
97
			public Object caseEmptyType(EmptyType object) {
105
			public Adapter caseEmptyType(EmptyType object) {
98
				return createEmptyTypeAdapter();
106
				return createEmptyTypeAdapter();
99
			}
107
			}
100
			@Override
108
			@Override
101
			public Object caseEnvEntry(EnvEntry object) {
109
			public Adapter caseEnvEntry(EnvEntry object) {
102
				return createEnvEntryAdapter();
110
				return createEnvEntryAdapter();
103
			}
111
			}
104
			@Override
112
			@Override
105
			public Object caseIcon(Icon object) {
113
			public Adapter caseIcon(Icon object) {
106
				return createIconAdapter();
114
				return createIconAdapter();
107
			}
115
			}
108
			@Override
116
			@Override
109
			public Object caseInjectionTarget(InjectionTarget object) {
117
			public Adapter caseInjectionTarget(InjectionTarget object) {
110
				return createInjectionTargetAdapter();
118
				return createInjectionTargetAdapter();
111
			}
119
			}
112
			@Override
120
			@Override
113
			public Object caseLifecycleCallback(LifecycleCallback object) {
121
			public Adapter caseLifecycleCallback(LifecycleCallback object) {
114
				return createLifecycleCallbackAdapter();
122
				return createLifecycleCallbackAdapter();
115
			}
123
			}
116
			@Override
124
			@Override
117
			public Object caseListener(Listener object) {
125
			public Adapter caseListener(Listener object) {
118
				return createListenerAdapter();
126
				return createListenerAdapter();
119
			}
127
			}
120
			@Override
128
			@Override
121
			public Object caseMessageDestination(MessageDestination object) {
129
			public Adapter caseMessageDestination(MessageDestination object) {
122
				return createMessageDestinationAdapter();
130
				return createMessageDestinationAdapter();
123
			}
131
			}
124
			@Override
132
			@Override
125
			public Object caseMessageDestinationRef(MessageDestinationRef object) {
133
			public Adapter caseMessageDestinationRef(MessageDestinationRef object) {
126
				return createMessageDestinationRefAdapter();
134
				return createMessageDestinationRefAdapter();
127
			}
135
			}
128
			@Override
136
			@Override
129
			public Object caseParamValue(ParamValue object) {
137
			public Adapter caseParamValue(ParamValue object) {
130
				return createParamValueAdapter();
138
				return createParamValueAdapter();
131
			}
139
			}
132
			@Override
140
			@Override
133
			public Object casePersistenceContextRef(PersistenceContextRef object) {
141
			public Adapter casePersistenceContextRef(PersistenceContextRef object) {
134
				return createPersistenceContextRefAdapter();
142
				return createPersistenceContextRefAdapter();
135
			}
143
			}
136
			@Override
144
			@Override
137
			public Object casePersistenceUnitRef(PersistenceUnitRef object) {
145
			public Adapter casePersistenceUnitRef(PersistenceUnitRef object) {
138
				return createPersistenceUnitRefAdapter();
146
				return createPersistenceUnitRefAdapter();
139
			}
147
			}
140
			@Override
148
			@Override
141
			public Object casePortComponentRef(PortComponentRef object) {
149
			public Adapter casePortComponentRef(PortComponentRef object) {
142
				return createPortComponentRefAdapter();
150
				return createPortComponentRefAdapter();
143
			}
151
			}
144
			@Override
152
			@Override
145
			public Object casePropertyType(PropertyType object) {
153
			public Adapter casePropertyType(PropertyType object) {
146
				return createPropertyTypeAdapter();
154
				return createPropertyTypeAdapter();
147
			}
155
			}
148
			@Override
156
			@Override
149
			public Object caseResourceEnvRef(ResourceEnvRef object) {
157
			public Adapter caseResourceEnvRef(ResourceEnvRef object) {
150
				return createResourceEnvRefAdapter();
158
				return createResourceEnvRefAdapter();
151
			}
159
			}
152
			@Override
160
			@Override
153
			public Object caseResourceRef(ResourceRef object) {
161
			public Adapter caseResourceRef(ResourceRef object) {
154
				return createResourceRefAdapter();
162
				return createResourceRefAdapter();
155
			}
163
			}
156
			@Override
164
			@Override
157
			public Object caseRunAs(RunAs object) {
165
			public Adapter caseRespectBindingType(RespectBindingType object) {
166
				return createRespectBindingTypeAdapter();
167
			}
168
			@Override
169
			public Adapter caseRunAs(RunAs object) {
158
				return createRunAsAdapter();
170
				return createRunAsAdapter();
159
			}
171
			}
160
			@Override
172
			@Override
161
			public Object caseSecurityRole(SecurityRole object) {
173
			public Adapter caseSecurityRole(SecurityRole object) {
162
				return createSecurityRoleAdapter();
174
				return createSecurityRoleAdapter();
163
			}
175
			}
164
			@Override
176
			@Override
165
			public Object caseSecurityRoleRef(SecurityRoleRef object) {
177
			public Adapter caseSecurityRoleRef(SecurityRoleRef object) {
166
				return createSecurityRoleRefAdapter();
178
				return createSecurityRoleRefAdapter();
167
			}
179
			}
168
			@Override
180
			@Override
169
			public Object caseServiceRef(ServiceRef object) {
181
			public Adapter caseServiceRef(ServiceRef object) {
170
				return createServiceRefAdapter();
182
				return createServiceRefAdapter();
171
			}
183
			}
172
			@Override
184
			@Override
173
			public Object caseServiceRefHandler(ServiceRefHandler object) {
185
			public Adapter caseServiceRefHandler(ServiceRefHandler object) {
174
				return createServiceRefHandlerAdapter();
186
				return createServiceRefHandlerAdapter();
175
			}
187
			}
176
			@Override
188
			@Override
177
			public Object caseServiceRefHandlerChain(ServiceRefHandlerChain object) {
189
			public Adapter caseServiceRefHandlerChain(ServiceRefHandlerChain object) {
178
				return createServiceRefHandlerChainAdapter();
190
				return createServiceRefHandlerChainAdapter();
179
			}
191
			}
180
			@Override
192
			@Override
181
			public Object caseServiceRefHandlerChains(ServiceRefHandlerChains object) {
193
			public Adapter caseServiceRefHandlerChains(ServiceRefHandlerChains object) {
182
				return createServiceRefHandlerChainsAdapter();
194
				return createServiceRefHandlerChainsAdapter();
183
			}
195
			}
184
			@Override
196
			@Override
185
			public Object caseUrlPatternType(UrlPatternType object) {
197
			public Adapter caseUrlPatternType(UrlPatternType object) {
186
				return createUrlPatternTypeAdapter();
198
				return createUrlPatternTypeAdapter();
187
			}
199
			}
188
			@Override
200
			@Override
189
			public Object defaultCase(EObject object) {
201
			public Adapter defaultCase(EObject object) {
190
				return createEObjectAdapter();
202
				return createEObjectAdapter();
191
			}
203
			}
192
		};
204
		};
Lines 201-211 Link Here
201
	 */
213
	 */
202
	@Override
214
	@Override
203
	public Adapter createAdapter(Notifier target) {
215
	public Adapter createAdapter(Notifier target) {
204
		return (Adapter)modelSwitch.doSwitch((EObject)target);
216
		return modelSwitch.doSwitch((EObject)target);
205
	}
217
	}
206
218
207
219
208
	/**
220
	/**
221
	 * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.AddressingType <em>Addressing Type</em>}'.
222
	 * <!-- begin-user-doc -->
223
	 * This default implementation returns null so that we can easily ignore cases;
224
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
225
	 * <!-- end-user-doc -->
226
	 * @return the new adapter.
227
	 * @see org.eclipse.jst.javaee.core.AddressingType
228
	 * @generated
229
	 */
230
	public Adapter createAddressingTypeAdapter() {
231
		return null;
232
	}
233
234
	/**
235
	 * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.DataSourceType <em>Data Source Type</em>}'.
236
	 * <!-- begin-user-doc -->
237
	 * This default implementation returns null so that we can easily ignore cases;
238
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
239
	 * <!-- end-user-doc -->
240
	 * @return the new adapter.
241
	 * @see org.eclipse.jst.javaee.core.DataSourceType
242
	 * @generated
243
	 */
244
	public Adapter createDataSourceTypeAdapter() {
245
		return null;
246
	}
247
248
	/**
209
	 * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.Description <em>Description</em>}'.
249
	 * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.Description <em>Description</em>}'.
210
	 * <!-- begin-user-doc -->
250
	 * <!-- begin-user-doc -->
211
	 * This default implementation returns null so that we can easily ignore cases;
251
	 * This default implementation returns null so that we can easily ignore cases;
Lines 472-477 Link Here
472
	}
512
	}
473
513
474
	/**
514
	/**
515
	 * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.RespectBindingType <em>Respect Binding Type</em>}'.
516
	 * <!-- begin-user-doc -->
517
	 * This default implementation returns null so that we can easily ignore cases;
518
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
519
	 * <!-- end-user-doc -->
520
	 * @return the new adapter.
521
	 * @see org.eclipse.jst.javaee.core.RespectBindingType
522
	 * @generated
523
	 */
524
	public Adapter createRespectBindingTypeAdapter() {
525
		return null;
526
	}
527
528
	/**
475
	 * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.RunAs <em>Run As</em>}'.
529
	 * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.RunAs <em>Run As</em>}'.
476
	 * <!-- begin-user-doc -->
530
	 * <!-- begin-user-doc -->
477
	 * This default implementation returns null so that we can easily ignore cases;
531
	 * This default implementation returns null so that we can easily ignore cases;
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java (-168 / +263 lines)
Lines 30-40 Link Here
30
 * <!-- end-user-doc -->
30
 * <!-- end-user-doc -->
31
 * <!-- begin-model-doc -->
31
 * <!-- begin-model-doc -->
32
 * 
32
 * 
33
 *       @(#)jsp_2_1.xsds	1.5 08/11/05
33
 *       @(#)jsp_2_2.xsds	02/26/09
34
 *     
34
 *     
35
 * 
35
 * 
36
 * 
36
 * 
37
 *       Copyright 2003-2006 Sun Microsystems, Inc.
37
 *       Copyright 2003-2009 Sun Microsystems, Inc.
38
 *       4150 Network Circle
38
 *       4150 Network Circle
39
 *       Santa Clara, California 95054
39
 *       Santa Clara, California 95054
40
 *       U.S.A
40
 *       U.S.A
Lines 68-79 Link Here
68
 *     
68
 *     
69
 * 
69
 * 
70
 * 
70
 * 
71
 *       This is the XML Schema for the JSP 2.1 deployment descriptor
71
 *       This is the XML Schema for the JSP 2.2 deployment descriptor
72
 *       types.  The JSP 2.1 schema contains all the special
72
 *       types.  The JSP 2.2 schema contains all the special
73
 *       structures and datatypes that are necessary to use JSP files
73
 *       structures and datatypes that are necessary to use JSP files
74
 *       from a web application.
74
 *       from a web application.
75
 * 
75
 * 
76
 *       The contents of this schema is used by the web-app_2_5.xsd
76
 *       The contents of this schema is used by the web-app_3_0.xsd
77
 *       file to define JSP specific content.
77
 *       file to define JSP specific content.
78
 * 
78
 * 
79
 *     
79
 *     
Lines 93-276 Link Here
93
 * 
93
 * 
94
 *     
94
 *     
95
 * 
95
 * 
96
 *       @(#)javaee_5.xsds	1.65 06/02/17
97
 *     
98
 * 
99
 * 
100
 *       Copyright 2003-2006 Sun Microsystems, Inc.
101
 *       4150 Network Circle
102
 *       Santa Clara, California 95054
103
 *       U.S.A
104
 *       All rights reserved.
105
 * 
106
 *       Sun Microsystems, Inc. has intellectual property rights
107
 *       relating to technology described in this document. In
108
 *       particular, and without limitation, these intellectual
109
 *       property rights may include one or more of the U.S. patents
110
 *       listed at http://www.sun.com/patents and one or more
111
 *       additional patents or pending patent applications in the
112
 *       U.S. and other countries.
113
 * 
114
 *       This document and the technology which it describes are
115
 *       distributed under licenses restricting their use, copying,
116
 *       distribution, and decompilation. No part of this document
117
 *       may be reproduced in any form by any means without prior
118
 *       written authorization of Sun and its licensors, if any.
119
 * 
120
 *       Third-party software, including font technology, is
121
 *       copyrighted and licensed from Sun suppliers.
122
 * 
123
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
124
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
125
 *       Cup logo are trademarks or registered trademarks of Sun
126
 *       Microsystems, Inc. in the U.S. and other countries.
127
 * 
128
 *       Federal Acquisitions: Commercial Software - Government Users
129
 *       Subject to Standard License Terms and Conditions.
130
 * 
96
 * 
97
 *       $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
98
 *       
131
 *     
99
 *     
132
 * 
100
 * 
133
 * 
101
 * 
134
 * The following definitions that appear in the common
102
 *       The following definitions that appear in the common
135
 * shareable schema(s) of J2EE deployment descriptors should be
103
 *       shareable schema(s) of Java EE deployment descriptors should be
136
 * interpreted with respect to the context they are included:
104
 *       interpreted with respect to the context they are included:
137
 * 
105
 *       
138
 * Deployment Component may indicate one of the following:
106
 *       Deployment Component may indicate one of the following:
139
 *     j2ee application;
107
 *       java ee application;
140
 *     application client;
108
 *       application client;
141
 *     web application;
109
 *       web application;
142
 *     enterprise bean;
110
 *       enterprise bean;
143
 *     resource adapter;
111
 *       resource adapter; 
144
 * 
112
 *       
145
 * Deployment File may indicate one of the following:
113
 *       Deployment File may indicate one of the following:
146
 *     ear file;
114
 *       ear file;
147
 *     war file;
115
 *       war file;
148
 *     jar file;
116
 *       jar file;
149
 *     rar file;
117
 *       rar file;
150
 * 
118
 *       
151
 * 
152
 * 
153
 *       @(#)javaee_web_services_client_1_2.xsds	1.19 02/13/06
154
 *     
119
 *     
155
 * 
120
 * 
156
 * 
121
 * 
157
 *       Copyright 2003-2006 Sun Microsystems, Inc.
122
 *       $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
158
 *       4150 Network Circle
123
 *       
159
 *       Santa Clara, California 95054
160
 *       U.S.A
161
 *       All rights reserved.
162
 * 
163
 *       Sun Microsystems, Inc. has intellectual property rights
164
 *       relating to technology described in this document. In
165
 *       particular, and without limitation, these intellectual
166
 *       property rights may include one or more of the U.S. patents
167
 *       listed at http://www.sun.com/patents and one or more
168
 *       additional patents or pending patent applications in the
169
 *       U.S. and other countries.
170
 * 
171
 *       This document and the technology which it describes are
172
 *       distributed under licenses restricting their use, copying,
173
 *       distribution, and decompilation. No part of this document
174
 *       may be reproduced in any form by any means without prior
175
 *       written authorization of Sun and its licensors, if any.
176
 * 
177
 *       Third-party software, including font technology, is
178
 *       copyrighted and licensed from Sun suppliers.
179
 * 
180
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
181
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
182
 *       Cup logo are trademarks or registered trademarks of Sun
183
 *       Microsystems, Inc. in the U.S. and other countries.
184
 * 
185
 *       Federal Acquisitions: Commercial Software - Government Users
186
 *       Subject to Standard License Terms and Conditions.
187
 * 
188
 *     
124
 *     
189
 * 
125
 * 
190
 * 
126
 * 
191
 *       (C) Copyright International Business Machines Corporation 2002
127
 *       (C) Copyright International Business Machines Corporation 2002
192
 * 
128
 *       
193
 *     
129
 *     
194
 * 
130
 * 
195
 *    See http://www.w3.org/XML/1998/namespace.html and
131
 *    <div xmlns="http://www.w3.org/1999/xhtml">
196
 *    http://www.w3.org/TR/REC-xml for information about this namespace.
132
 *     <h1>About the XML namespace</h1>
197
 * 
133
 * 
198
 *     This schema document describes the XML namespace, in a form
134
 *     <div class="bodytext">
199
 *     suitable for import by other schema documents.  
135
 *      <p>
136
 *       This schema document describes the XML namespace, in a form
137
 *       suitable for import by other schema documents.
138
 *      </p>
139
 *      <p>
140
 *       See <a href="http://www.w3.org/XML/1998/namespace.html">
141
 *       http://www.w3.org/XML/1998/namespace.html</a> and
142
 *       <a href="http://www.w3.org/TR/REC-xml">
143
 *       http://www.w3.org/TR/REC-xml</a> for information 
144
 *       about this namespace.
145
 *      </p>
146
 *      <p>
147
 *       Note that local names in this namespace are intended to be
148
 *       defined only by the World Wide Web Consortium or its subgroups.
149
 *       The names currently defined in this namespace are listed below.
150
 *       They should not be used with conflicting semantics by any Working
151
 *       Group, specification, or document instance.
152
 *      </p>
153
 *      <p>   
154
 *       See further below in this document for more information about <a href="#usage">how to refer to this schema document from your own
155
 *       XSD schema documents</a> and about <a href="#nsversioning">the
156
 *       namespace-versioning policy governing this schema document</a>.
157
 *      </p>
158
 *     </div>
159
 *    </div>
160
 *   
200
 * 
161
 * 
201
 *     Note that local names in this namespace are intended to be defined
162
 *    <div xmlns="http://www.w3.org/1999/xhtml">
202
 *     only by the World Wide Web Consortium or its subgroups.  The
163
 *    
203
 *     following names are currently defined in this namespace and should
164
 *     <h3>Father (in any context at all)</h3> 
204
 *     not be used with conflicting semantics by any Working Group,
165
 * 
205
 *     specification, or document instance:
166
 *     <div class="bodytext">
206
 * 
167
 *      <p>
207
 *     base (as an attribute name): denotes an attribute whose value
168
 *       denotes Jon Bosak, the chair of 
208
 *          provides a URI to be used as the base for interpreting any
169
 *       the original XML Working Group.  This name is reserved by 
209
 *          relative URIs in the scope of the element on which it
170
 *       the following decision of the W3C XML Plenary and 
210
 *          appears; its value is inherited.  This name is reserved
171
 *       XML Coordination groups:
211
 *          by virtue of its definition in the XML Base specification.
172
 *      </p>
212
 * 
173
 *      <blockquote>
213
 *     id   (as an attribute name): denotes an attribute whose value
174
 *        <p>
214
 *          should be interpreted as if declared to be of type ID.
175
 * 	In appreciation for his vision, leadership and
215
 *          The xml:id specification is not yet a W3C Recommendation,
176
 * 	dedication the W3C XML Plenary on this 10th day of
216
 *          but this attribute is included here to facilitate experimentation
177
 * 	February, 2000, reserves for Jon Bosak in perpetuity
217
 *          with the mechanisms it proposes.  Note that it is _not_ included
178
 * 	the XML name "xml:Father".
218
 *          in the specialAttrs attribute group.
179
 *        </p>
219
 * 
180
 *      </blockquote>
220
 *     lang (as an attribute name): denotes an attribute whose value
181
 *     </div>
221
 *          is a language code for the natural language of the content of
182
 *    </div>
222
 *          any element; its value is inherited.  This name is reserved
223
 *          by virtue of its definition in the XML specification.
224
 *   
183
 *   
225
 *     space (as an attribute name): denotes an attribute whose
184
 * 
226
 *          value is a keyword indicating what whitespace processing
185
 *    <div id="usage" xml:id="usage" xmlns="http://www.w3.org/1999/xhtml">
227
 *          discipline is intended for the content of the element; its
186
 *     <h2>
228
 *          value is inherited.  This name is reserved by virtue of its
187
 *       <a name="usage">About this schema document</a>
229
 *          definition in the XML specification.
188
 *     </h2>
230
 * 
189
 * 
231
 *     Father (in any context at all): denotes Jon Bosak, the chair of 
190
 *     <div class="bodytext">
232
 *          the original XML Working Group.  This name is reserved by 
191
 *      <p>
233
 *          the following decision of the W3C XML Plenary and 
192
 *       This schema defines attributes and an attribute group suitable
234
 *          XML Coordination groups:
193
 *       for use by schemas wishing to allow <code>xml:base</code>,
235
 * 
194
 *       <code>xml:lang</code>, <code>xml:space</code> or
236
 *              In appreciation for his vision, leadership and dedication
195
 *       <code>xml:id</code> attributes on elements they define.
237
 *              the W3C XML Plenary on this 10th day of February, 2000
196
 *      </p>
238
 *              reserves for Jon Bosak in perpetuity the XML name
197
 *      <p>
239
 *              xml:Father
198
 *       To enable this, such a schema must import this schema for
199
 *       the XML namespace, e.g. as follows:
200
 *      </p>
201
 *      <pre>
202
 *           &lt;schema . . .&gt;
203
 *            . . .
204
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
205
 *                       schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
206
 *      </pre>
207
 *      <p>
208
 *       or
209
 *      </p>
210
 *      <pre>
211
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
212
 *                       schemaLocation="http://www.w3.org/2009/01/xml.xsd"/&gt;
213
 *      </pre>
214
 *      <p>
215
 *       Subsequently, qualified reference to any of the attributes or the
216
 *       group defined below will have the desired effect, e.g.
217
 *      </p>
218
 *      <pre>
219
 *           &lt;type . . .&gt;
220
 *            . . .
221
 *            &lt;attributeGroup ref="xml:specialAttrs"/&gt;
222
 *      </pre>
223
 *      <p>
224
 *       will define a type which will schema-validate an instance element
225
 *       with any of those attributes.
226
 *      </p>
227
 *     </div>
228
 *    </div>
240
 *   
229
 *   
241
 * This schema defines attributes and an attribute group
230
 * 
242
 *         suitable for use by
231
 *    <div id="nsversioning" xml:id="nsversioning" xmlns="http://www.w3.org/1999/xhtml">
243
 *         schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
232
 *     <h2>
244
 *         attributes on elements they define.
233
 *       <a name="nsversioning">Versioning policy for this schema document</a>
245
 * 
234
 *     </h2>
246
 *         To enable this, such a schema must import this schema
235
 *     <div class="bodytext">
247
 *         for the XML namespace, e.g. as follows:
236
 *      <p>
248
 *         &lt;schema . . .&gt;
237
 *       In keeping with the XML Schema WG's standard versioning
249
 *          . . .
238
 *       policy, this schema document will persist at
250
 *          &lt;import namespace="http://www.w3.org/XML/1998/namespace"
239
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
251
 *                     schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
240
 *        http://www.w3.org/2009/01/xml.xsd</a>.
252
 * 
241
 *      </p>
253
 *         Subsequently, qualified reference to any of the attributes
242
 *      <p>
254
 *         or the group defined below will have the desired effect, e.g.
243
 *       At the date of issue it can also be found at
255
 * 
244
 *       <a href="http://www.w3.org/2001/xml.xsd">
256
 *         &lt;type . . .&gt;
245
 *        http://www.w3.org/2001/xml.xsd</a>.
257
 *          . . .
246
 *      </p>
258
 *          &lt;attributeGroup ref="xml:specialAttrs"/&gt;
247
 *      <p>
259
 *  
248
 *       The schema document at that URI may however change in the future,
260
 *          will define a type which will schema-validate an instance
249
 *       in order to remain compatible with the latest version of XML
261
 *          element with any of those attributes
250
 *       Schema itself, or with the XML namespace itself.  In other words,
262
 * In keeping with the XML Schema WG's standard versioning
251
 *       if the XML Schema or XML namespaces change, the version of this
263
 *    policy, this schema document will persist at
252
 *       document at <a href="http://www.w3.org/2001/xml.xsd">
264
 *    http://www.w3.org/2005/08/xml.xsd.
253
 *        http://www.w3.org/2001/xml.xsd 
265
 *    At the date of issue it can also be found at
254
 *       </a> 
266
 *    http://www.w3.org/2001/xml.xsd.
255
 *       will change accordingly; the version at 
267
 *    The schema document at that URI may however change in the future,
256
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
268
 *    in order to remain compatible with the latest version of XML Schema
257
 *        http://www.w3.org/2009/01/xml.xsd 
269
 *    itself, or with the XML namespace itself.  In other words, if the XML
258
 *       </a> 
270
 *    Schema or XML namespaces change, the version of this document at
259
 *       will not change.
271
 *    http://www.w3.org/2001/xml.xsd will change
260
 *      </p>
272
 *    accordingly; the version at
261
 *      <p>
273
 *    http://www.w3.org/2005/08/xml.xsd will not change.
262
 *       Previous dated (and unchanging) versions of this schema 
263
 *       document are at:
264
 *      </p>
265
 *      <ul>
266
 *       <li>
267
 *           <a href="http://www.w3.org/2009/01/xml.xsd">
268
 * 	http://www.w3.org/2009/01/xml.xsd</a>
269
 *         </li>
270
 *       <li>
271
 *           <a href="http://www.w3.org/2007/08/xml.xsd">
272
 * 	http://www.w3.org/2007/08/xml.xsd</a>
273
 *         </li>
274
 *       <li>
275
 *           <a href="http://www.w3.org/2004/10/xml.xsd">
276
 * 	http://www.w3.org/2004/10/xml.xsd</a>
277
 *         </li>
278
 *       <li>
279
 *           <a href="http://www.w3.org/2001/03/xml.xsd">
280
 * 	http://www.w3.org/2001/03/xml.xsd</a>
281
 *         </li>
282
 *      </ul>
283
 *     </div>
284
 *    </div>
274
 *   
285
 *   
275
 * <!-- end-model-doc -->
286
 * <!-- end-model-doc -->
276
 * @see org.eclipse.jst.javaee.jsp.JspFactory
287
 * @see org.eclipse.jst.javaee.jsp.JspFactory
Lines 474-486 Link Here
474
	int JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES = 11;
485
	int JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES = 11;
475
486
476
	/**
487
	/**
488
	 * The feature id for the '<em><b>Default Content Type</b></em>' attribute.
489
	 * <!-- begin-user-doc -->
490
	 * <!-- end-user-doc -->
491
	 * @generated
492
	 * @ordered
493
	 */
494
	int JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE = 12;
495
496
	/**
497
	 * The feature id for the '<em><b>Buffer</b></em>' attribute.
498
	 * <!-- begin-user-doc -->
499
	 * <!-- end-user-doc -->
500
	 * @generated
501
	 * @ordered
502
	 */
503
	int JSP_PROPERTY_GROUP__BUFFER = 13;
504
505
	/**
506
	 * The feature id for the '<em><b>Error On Undeclared Namespace</b></em>' attribute.
507
	 * <!-- begin-user-doc -->
508
	 * <!-- end-user-doc -->
509
	 * @generated
510
	 * @ordered
511
	 */
512
	int JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE = 14;
513
514
	/**
477
	 * The feature id for the '<em><b>Id</b></em>' attribute.
515
	 * The feature id for the '<em><b>Id</b></em>' attribute.
478
	 * <!-- begin-user-doc -->
516
	 * <!-- begin-user-doc -->
479
	 * <!-- end-user-doc -->
517
	 * <!-- end-user-doc -->
480
	 * @generated
518
	 * @generated
481
	 * @ordered
519
	 * @ordered
482
	 */
520
	 */
483
	int JSP_PROPERTY_GROUP__ID = 12;
521
	int JSP_PROPERTY_GROUP__ID = 15;
484
522
485
	/**
523
	/**
486
	 * The number of structural features of the '<em>Property Group</em>' class.
524
	 * The number of structural features of the '<em>Property Group</em>' class.
Lines 489-495 Link Here
489
	 * @generated
527
	 * @generated
490
	 * @ordered
528
	 * @ordered
491
	 */
529
	 */
492
	int JSP_PROPERTY_GROUP_FEATURE_COUNT = 13;
530
	int JSP_PROPERTY_GROUP_FEATURE_COUNT = 16;
493
531
494
	/**
532
	/**
495
	 * The meta object id for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl <em>Tag Lib</em>}' class.
533
	 * The meta object id for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl <em>Tag Lib</em>}' class.
Lines 734-739 Link Here
734
	EAttribute getJspPropertyGroup_TrimDirectiveWhitespaces();
772
	EAttribute getJspPropertyGroup_TrimDirectiveWhitespaces();
735
773
736
	/**
774
	/**
775
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType <em>Default Content Type</em>}'.
776
	 * <!-- begin-user-doc -->
777
	 * <!-- end-user-doc -->
778
	 * @return the meta object for the attribute '<em>Default Content Type</em>'.
779
	 * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType()
780
	 * @see #getJspPropertyGroup()
781
	 * @generated
782
	 */
783
	EAttribute getJspPropertyGroup_DefaultContentType();
784
785
	/**
786
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer <em>Buffer</em>}'.
787
	 * <!-- begin-user-doc -->
788
	 * <!-- end-user-doc -->
789
	 * @return the meta object for the attribute '<em>Buffer</em>'.
790
	 * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer()
791
	 * @see #getJspPropertyGroup()
792
	 * @generated
793
	 */
794
	EAttribute getJspPropertyGroup_Buffer();
795
796
	/**
797
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}'.
798
	 * <!-- begin-user-doc -->
799
	 * <!-- end-user-doc -->
800
	 * @return the meta object for the attribute '<em>Error On Undeclared Namespace</em>'.
801
	 * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace()
802
	 * @see #getJspPropertyGroup()
803
	 * @generated
804
	 */
805
	EAttribute getJspPropertyGroup_ErrorOnUndeclaredNamespace();
806
807
	/**
737
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId <em>Id</em>}'.
808
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId <em>Id</em>}'.
738
	 * <!-- begin-user-doc -->
809
	 * <!-- begin-user-doc -->
739
	 * <!-- end-user-doc -->
810
	 * <!-- end-user-doc -->
Lines 960-965 Link Here
960
		EAttribute JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES = eINSTANCE.getJspPropertyGroup_TrimDirectiveWhitespaces();
1031
		EAttribute JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES = eINSTANCE.getJspPropertyGroup_TrimDirectiveWhitespaces();
961
1032
962
		/**
1033
		/**
1034
		 * The meta object literal for the '<em><b>Default Content Type</b></em>' attribute feature.
1035
		 * <!-- begin-user-doc -->
1036
		 * <!-- end-user-doc -->
1037
		 * @generated
1038
		 */
1039
		EAttribute JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE = eINSTANCE.getJspPropertyGroup_DefaultContentType();
1040
1041
		/**
1042
		 * The meta object literal for the '<em><b>Buffer</b></em>' attribute feature.
1043
		 * <!-- begin-user-doc -->
1044
		 * <!-- end-user-doc -->
1045
		 * @generated
1046
		 */
1047
		EAttribute JSP_PROPERTY_GROUP__BUFFER = eINSTANCE.getJspPropertyGroup_Buffer();
1048
1049
		/**
1050
		 * The meta object literal for the '<em><b>Error On Undeclared Namespace</b></em>' attribute feature.
1051
		 * <!-- begin-user-doc -->
1052
		 * <!-- end-user-doc -->
1053
		 * @generated
1054
		 */
1055
		EAttribute JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE = eINSTANCE.getJspPropertyGroup_ErrorOnUndeclaredNamespace();
1056
1057
		/**
963
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
1058
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
964
		 * <!-- begin-user-doc -->
1059
		 * <!-- begin-user-doc -->
965
		 * <!-- end-user-doc -->
1060
		 * <!-- end-user-doc -->
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPropertyGroupImpl.java (-43 / +240 lines)
Lines 56-61 Link Here
56
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getIncludeCodas <em>Include Codas</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getIncludeCodas <em>Include Codas</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getDefaultContentType <em>Default Content Type</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getBuffer <em>Buffer</em>}</li>
61
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getId <em>Id</em>}</li>
62
 *   <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getId <em>Id</em>}</li>
60
 * </ul>
63
 * </ul>
61
 * </p>
64
 * </p>
Lines 71-77 Link Here
71
	 * @generated
74
	 * @generated
72
	 * @ordered
75
	 * @ordered
73
	 */
76
	 */
74
	protected EList descriptions = null;
77
	protected EList<Description> descriptions;
75
78
76
	/**
79
	/**
77
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
80
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
Lines 81-87 Link Here
81
	 * @generated
84
	 * @generated
82
	 * @ordered
85
	 * @ordered
83
	 */
86
	 */
84
	protected EList displayNames = null;
87
	protected EList<DisplayName> displayNames;
85
88
86
	/**
89
	/**
87
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
90
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
Lines 91-97 Link Here
91
	 * @generated
94
	 * @generated
92
	 * @ordered
95
	 * @ordered
93
	 */
96
	 */
94
	protected EList icons = null;
97
	protected EList<Icon> icons;
95
98
96
	/**
99
	/**
97
	 * The cached value of the '{@link #getUrlPatterns() <em>Url Patterns</em>}' containment reference list.
100
	 * The cached value of the '{@link #getUrlPatterns() <em>Url Patterns</em>}' containment reference list.
Lines 101-107 Link Here
101
	 * @generated
104
	 * @generated
102
	 * @ordered
105
	 * @ordered
103
	 */
106
	 */
104
	protected EList urlPatterns = null;
107
	protected EList<UrlPatternType> urlPatterns;
105
108
106
	/**
109
	/**
107
	 * The default value of the '{@link #isElIgnored() <em>El Ignored</em>}' attribute.
110
	 * The default value of the '{@link #isElIgnored() <em>El Ignored</em>}' attribute.
Lines 130-136 Link Here
130
	 * @generated
133
	 * @generated
131
	 * @ordered
134
	 * @ordered
132
	 */
135
	 */
133
	protected boolean elIgnoredESet = false;
136
	protected boolean elIgnoredESet;
134
137
135
	/**
138
	/**
136
	 * The default value of the '{@link #getPageEncoding() <em>Page Encoding</em>}' attribute.
139
	 * The default value of the '{@link #getPageEncoding() <em>Page Encoding</em>}' attribute.
Lines 179-185 Link Here
179
	 * @generated
182
	 * @generated
180
	 * @ordered
183
	 * @ordered
181
	 */
184
	 */
182
	protected boolean scriptingInvalidESet = false;
185
	protected boolean scriptingInvalidESet;
183
186
184
	/**
187
	/**
185
	 * The default value of the '{@link #isIsXml() <em>Is Xml</em>}' attribute.
188
	 * The default value of the '{@link #isIsXml() <em>Is Xml</em>}' attribute.
Lines 208-214 Link Here
208
	 * @generated
211
	 * @generated
209
	 * @ordered
212
	 * @ordered
210
	 */
213
	 */
211
	protected boolean isXmlESet = false;
214
	protected boolean isXmlESet;
212
215
213
	/**
216
	/**
214
	 * The cached value of the '{@link #getIncludePreludes() <em>Include Preludes</em>}' attribute list.
217
	 * The cached value of the '{@link #getIncludePreludes() <em>Include Preludes</em>}' attribute list.
Lines 218-224 Link Here
218
	 * @generated
221
	 * @generated
219
	 * @ordered
222
	 * @ordered
220
	 */
223
	 */
221
	protected EList includePreludes = null;
224
	protected EList<String> includePreludes;
222
225
223
	/**
226
	/**
224
	 * The cached value of the '{@link #getIncludeCodas() <em>Include Codas</em>}' attribute list.
227
	 * The cached value of the '{@link #getIncludeCodas() <em>Include Codas</em>}' attribute list.
Lines 228-234 Link Here
228
	 * @generated
231
	 * @generated
229
	 * @ordered
232
	 * @ordered
230
	 */
233
	 */
231
	protected EList includeCodas = null;
234
	protected EList<String> includeCodas;
232
235
233
	/**
236
	/**
234
	 * The default value of the '{@link #isDeferredSyntaxAllowedAsLiteral() <em>Deferred Syntax Allowed As Literal</em>}' attribute.
237
	 * The default value of the '{@link #isDeferredSyntaxAllowedAsLiteral() <em>Deferred Syntax Allowed As Literal</em>}' attribute.
Lines 257-263 Link Here
257
	 * @generated
260
	 * @generated
258
	 * @ordered
261
	 * @ordered
259
	 */
262
	 */
260
	protected boolean deferredSyntaxAllowedAsLiteralESet = false;
263
	protected boolean deferredSyntaxAllowedAsLiteralESet;
261
264
262
	/**
265
	/**
263
	 * The default value of the '{@link #isTrimDirectiveWhitespaces() <em>Trim Directive Whitespaces</em>}' attribute.
266
	 * The default value of the '{@link #isTrimDirectiveWhitespaces() <em>Trim Directive Whitespaces</em>}' attribute.
Lines 286-292 Link Here
286
	 * @generated
289
	 * @generated
287
	 * @ordered
290
	 * @ordered
288
	 */
291
	 */
289
	protected boolean trimDirectiveWhitespacesESet = false;
292
	protected boolean trimDirectiveWhitespacesESet;
293
294
	/**
295
	 * The default value of the '{@link #getDefaultContentType() <em>Default Content Type</em>}' attribute.
296
	 * <!-- begin-user-doc -->
297
	 * <!-- end-user-doc -->
298
	 * @see #getDefaultContentType()
299
	 * @generated
300
	 * @ordered
301
	 */
302
	protected static final String DEFAULT_CONTENT_TYPE_EDEFAULT = null;
303
304
	/**
305
	 * The cached value of the '{@link #getDefaultContentType() <em>Default Content Type</em>}' attribute.
306
	 * <!-- begin-user-doc -->
307
	 * <!-- end-user-doc -->
308
	 * @see #getDefaultContentType()
309
	 * @generated
310
	 * @ordered
311
	 */
312
	protected String defaultContentType = DEFAULT_CONTENT_TYPE_EDEFAULT;
313
314
	/**
315
	 * The default value of the '{@link #getBuffer() <em>Buffer</em>}' attribute.
316
	 * <!-- begin-user-doc -->
317
	 * <!-- end-user-doc -->
318
	 * @see #getBuffer()
319
	 * @generated
320
	 * @ordered
321
	 */
322
	protected static final String BUFFER_EDEFAULT = null;
323
324
	/**
325
	 * The cached value of the '{@link #getBuffer() <em>Buffer</em>}' attribute.
326
	 * <!-- begin-user-doc -->
327
	 * <!-- end-user-doc -->
328
	 * @see #getBuffer()
329
	 * @generated
330
	 * @ordered
331
	 */
332
	protected String buffer = BUFFER_EDEFAULT;
333
334
	/**
335
	 * The default value of the '{@link #isErrorOnUndeclaredNamespace() <em>Error On Undeclared Namespace</em>}' attribute.
336
	 * <!-- begin-user-doc -->
337
	 * <!-- end-user-doc -->
338
	 * @see #isErrorOnUndeclaredNamespace()
339
	 * @generated
340
	 * @ordered
341
	 */
342
	protected static final boolean ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT = false;
343
344
	/**
345
	 * The cached value of the '{@link #isErrorOnUndeclaredNamespace() <em>Error On Undeclared Namespace</em>}' attribute.
346
	 * <!-- begin-user-doc -->
347
	 * <!-- end-user-doc -->
348
	 * @see #isErrorOnUndeclaredNamespace()
349
	 * @generated
350
	 * @ordered
351
	 */
352
	protected boolean errorOnUndeclaredNamespace = ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT;
353
354
	/**
355
	 * This is true if the Error On Undeclared Namespace attribute has been set.
356
	 * <!-- begin-user-doc -->
357
	 * <!-- end-user-doc -->
358
	 * @generated
359
	 * @ordered
360
	 */
361
	protected boolean errorOnUndeclaredNamespaceESet;
290
362
291
	/**
363
	/**
292
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
364
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 332-340 Link Here
332
	 * <!-- end-user-doc -->
404
	 * <!-- end-user-doc -->
333
	 * @generated
405
	 * @generated
334
	 */
406
	 */
335
	public List getDescriptions() {
407
	public List<Description> getDescriptions() {
336
		if (descriptions == null) {
408
		if (descriptions == null) {
337
			descriptions = new EObjectContainmentEList(Description.class, this, JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS);
409
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS);
338
		}
410
		}
339
		return descriptions;
411
		return descriptions;
340
	}
412
	}
Lines 344-352 Link Here
344
	 * <!-- end-user-doc -->
416
	 * <!-- end-user-doc -->
345
	 * @generated
417
	 * @generated
346
	 */
418
	 */
347
	public List getDisplayNames() {
419
	public List<DisplayName> getDisplayNames() {
348
		if (displayNames == null) {
420
		if (displayNames == null) {
349
			displayNames = new EObjectContainmentEList(DisplayName.class, this, JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES);
421
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES);
350
		}
422
		}
351
		return displayNames;
423
		return displayNames;
352
	}
424
	}
Lines 356-364 Link Here
356
	 * <!-- end-user-doc -->
428
	 * <!-- end-user-doc -->
357
	 * @generated
429
	 * @generated
358
	 */
430
	 */
359
	public List getIcons() {
431
	public List<Icon> getIcons() {
360
		if (icons == null) {
432
		if (icons == null) {
361
			icons = new EObjectContainmentEList(Icon.class, this, JspPackage.JSP_PROPERTY_GROUP__ICONS);
433
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, JspPackage.JSP_PROPERTY_GROUP__ICONS);
362
		}
434
		}
363
		return icons;
435
		return icons;
364
	}
436
	}
Lines 368-376 Link Here
368
	 * <!-- end-user-doc -->
440
	 * <!-- end-user-doc -->
369
	 * @generated
441
	 * @generated
370
	 */
442
	 */
371
	public List getUrlPatterns() {
443
	public List<UrlPatternType> getUrlPatterns() {
372
		if (urlPatterns == null) {
444
		if (urlPatterns == null) {
373
			urlPatterns = new EObjectContainmentEList(UrlPatternType.class, this, JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS);
445
			urlPatterns = new EObjectContainmentEList<UrlPatternType>(UrlPatternType.class, this, JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS);
374
		}
446
		}
375
		return urlPatterns;
447
		return urlPatterns;
376
	}
448
	}
Lines 539-547 Link Here
539
	 * <!-- end-user-doc -->
611
	 * <!-- end-user-doc -->
540
	 * @generated
612
	 * @generated
541
	 */
613
	 */
542
	public List getIncludePreludes() {
614
	public List<String> getIncludePreludes() {
543
		if (includePreludes == null) {
615
		if (includePreludes == null) {
544
			includePreludes = new EDataTypeEList(String.class, this, JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES);
616
			includePreludes = new EDataTypeEList<String>(String.class, this, JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES);
545
		}
617
		}
546
		return includePreludes;
618
		return includePreludes;
547
	}
619
	}
Lines 551-559 Link Here
551
	 * <!-- end-user-doc -->
623
	 * <!-- end-user-doc -->
552
	 * @generated
624
	 * @generated
553
	 */
625
	 */
554
	public List getIncludeCodas() {
626
	public List<String> getIncludeCodas() {
555
		if (includeCodas == null) {
627
		if (includeCodas == null) {
556
			includeCodas = new EDataTypeEList(String.class, this, JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS);
628
			includeCodas = new EDataTypeEList<String>(String.class, this, JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS);
557
		}
629
		}
558
		return includeCodas;
630
		return includeCodas;
559
	}
631
	}
Lines 655-660 Link Here
655
	 * <!-- end-user-doc -->
727
	 * <!-- end-user-doc -->
656
	 * @generated
728
	 * @generated
657
	 */
729
	 */
730
	public String getDefaultContentType() {
731
		return defaultContentType;
732
	}
733
734
	/**
735
	 * <!-- begin-user-doc -->
736
	 * <!-- end-user-doc -->
737
	 * @generated
738
	 */
739
	public void setDefaultContentType(String newDefaultContentType) {
740
		String oldDefaultContentType = defaultContentType;
741
		defaultContentType = newDefaultContentType;
742
		if (eNotificationRequired())
743
			eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE, oldDefaultContentType, defaultContentType));
744
	}
745
746
	/**
747
	 * <!-- begin-user-doc -->
748
	 * <!-- end-user-doc -->
749
	 * @generated
750
	 */
751
	public String getBuffer() {
752
		return buffer;
753
	}
754
755
	/**
756
	 * <!-- begin-user-doc -->
757
	 * <!-- end-user-doc -->
758
	 * @generated
759
	 */
760
	public void setBuffer(String newBuffer) {
761
		String oldBuffer = buffer;
762
		buffer = newBuffer;
763
		if (eNotificationRequired())
764
			eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__BUFFER, oldBuffer, buffer));
765
	}
766
767
	/**
768
	 * <!-- begin-user-doc -->
769
	 * <!-- end-user-doc -->
770
	 * @generated
771
	 */
772
	public boolean isErrorOnUndeclaredNamespace() {
773
		return errorOnUndeclaredNamespace;
774
	}
775
776
	/**
777
	 * <!-- begin-user-doc -->
778
	 * <!-- end-user-doc -->
779
	 * @generated
780
	 */
781
	public void setErrorOnUndeclaredNamespace(boolean newErrorOnUndeclaredNamespace) {
782
		boolean oldErrorOnUndeclaredNamespace = errorOnUndeclaredNamespace;
783
		errorOnUndeclaredNamespace = newErrorOnUndeclaredNamespace;
784
		boolean oldErrorOnUndeclaredNamespaceESet = errorOnUndeclaredNamespaceESet;
785
		errorOnUndeclaredNamespaceESet = true;
786
		if (eNotificationRequired())
787
			eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE, oldErrorOnUndeclaredNamespace, errorOnUndeclaredNamespace, !oldErrorOnUndeclaredNamespaceESet));
788
	}
789
790
	/**
791
	 * <!-- begin-user-doc -->
792
	 * <!-- end-user-doc -->
793
	 * @generated
794
	 */
795
	public void unsetErrorOnUndeclaredNamespace() {
796
		boolean oldErrorOnUndeclaredNamespace = errorOnUndeclaredNamespace;
797
		boolean oldErrorOnUndeclaredNamespaceESet = errorOnUndeclaredNamespaceESet;
798
		errorOnUndeclaredNamespace = ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT;
799
		errorOnUndeclaredNamespaceESet = false;
800
		if (eNotificationRequired())
801
			eNotify(new ENotificationImpl(this, Notification.UNSET, JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE, oldErrorOnUndeclaredNamespace, ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT, oldErrorOnUndeclaredNamespaceESet));
802
	}
803
804
	/**
805
	 * <!-- begin-user-doc -->
806
	 * <!-- end-user-doc -->
807
	 * @generated
808
	 */
809
	public boolean isSetErrorOnUndeclaredNamespace() {
810
		return errorOnUndeclaredNamespaceESet;
811
	}
812
813
	/**
814
	 * <!-- begin-user-doc -->
815
	 * <!-- end-user-doc -->
816
	 * @generated
817
	 */
658
	public String getId() {
818
	public String getId() {
659
		return id;
819
		return id;
660
	}
820
	}
Lines 680-692 Link Here
680
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
840
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
681
		switch (featureID) {
841
		switch (featureID) {
682
			case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS:
842
			case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS:
683
				return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
843
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
684
			case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES:
844
			case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES:
685
				return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
845
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
686
			case JspPackage.JSP_PROPERTY_GROUP__ICONS:
846
			case JspPackage.JSP_PROPERTY_GROUP__ICONS:
687
				return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
847
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
688
			case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS:
848
			case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS:
689
				return ((InternalEList)getUrlPatterns()).basicRemove(otherEnd, msgs);
849
				return ((InternalEList<?>)getUrlPatterns()).basicRemove(otherEnd, msgs);
690
		}
850
		}
691
		return super.eInverseRemove(otherEnd, featureID, msgs);
851
		return super.eInverseRemove(otherEnd, featureID, msgs);
692
	}
852
	}
Lines 708-728 Link Here
708
			case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS:
868
			case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS:
709
				return getUrlPatterns();
869
				return getUrlPatterns();
710
			case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED:
870
			case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED:
711
				return isElIgnored() ? Boolean.TRUE : Boolean.FALSE;
871
				return isElIgnored();
712
			case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING:
872
			case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING:
713
				return getPageEncoding();
873
				return getPageEncoding();
714
			case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID:
874
			case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID:
715
				return isScriptingInvalid() ? Boolean.TRUE : Boolean.FALSE;
875
				return isScriptingInvalid();
716
			case JspPackage.JSP_PROPERTY_GROUP__IS_XML:
876
			case JspPackage.JSP_PROPERTY_GROUP__IS_XML:
717
				return isIsXml() ? Boolean.TRUE : Boolean.FALSE;
877
				return isIsXml();
718
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES:
878
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES:
719
				return getIncludePreludes();
879
				return getIncludePreludes();
720
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS:
880
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS:
721
				return getIncludeCodas();
881
				return getIncludeCodas();
722
			case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL:
882
			case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL:
723
				return isDeferredSyntaxAllowedAsLiteral() ? Boolean.TRUE : Boolean.FALSE;
883
				return isDeferredSyntaxAllowedAsLiteral();
724
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
884
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
725
				return isTrimDirectiveWhitespaces() ? Boolean.TRUE : Boolean.FALSE;
885
				return isTrimDirectiveWhitespaces();
886
			case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE:
887
				return getDefaultContentType();
888
			case JspPackage.JSP_PROPERTY_GROUP__BUFFER:
889
				return getBuffer();
890
			case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE:
891
				return isErrorOnUndeclaredNamespace();
726
			case JspPackage.JSP_PROPERTY_GROUP__ID:
892
			case JspPackage.JSP_PROPERTY_GROUP__ID:
727
				return getId();
893
				return getId();
728
		}
894
		}
Lines 734-783 Link Here
734
	 * <!-- end-user-doc -->
900
	 * <!-- end-user-doc -->
735
	 * @generated
901
	 * @generated
736
	 */
902
	 */
903
	@SuppressWarnings("unchecked")
737
	@Override
904
	@Override
738
	public void eSet(int featureID, Object newValue) {
905
	public void eSet(int featureID, Object newValue) {
739
		switch (featureID) {
906
		switch (featureID) {
740
			case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS:
907
			case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS:
741
				getDescriptions().clear();
908
				getDescriptions().clear();
742
				getDescriptions().addAll((Collection)newValue);
909
				getDescriptions().addAll((Collection<? extends Description>)newValue);
743
				return;
910
				return;
744
			case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES:
911
			case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES:
745
				getDisplayNames().clear();
912
				getDisplayNames().clear();
746
				getDisplayNames().addAll((Collection)newValue);
913
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
747
				return;
914
				return;
748
			case JspPackage.JSP_PROPERTY_GROUP__ICONS:
915
			case JspPackage.JSP_PROPERTY_GROUP__ICONS:
749
				getIcons().clear();
916
				getIcons().clear();
750
				getIcons().addAll((Collection)newValue);
917
				getIcons().addAll((Collection<? extends Icon>)newValue);
751
				return;
918
				return;
752
			case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS:
919
			case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS:
753
				getUrlPatterns().clear();
920
				getUrlPatterns().clear();
754
				getUrlPatterns().addAll((Collection)newValue);
921
				getUrlPatterns().addAll((Collection<? extends UrlPatternType>)newValue);
755
				return;
922
				return;
756
			case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED:
923
			case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED:
757
				setElIgnored(((Boolean)newValue).booleanValue());
924
				setElIgnored((Boolean)newValue);
758
				return;
925
				return;
759
			case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING:
926
			case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING:
760
				setPageEncoding((String)newValue);
927
				setPageEncoding((String)newValue);
761
				return;
928
				return;
762
			case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID:
929
			case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID:
763
				setScriptingInvalid(((Boolean)newValue).booleanValue());
930
				setScriptingInvalid((Boolean)newValue);
764
				return;
931
				return;
765
			case JspPackage.JSP_PROPERTY_GROUP__IS_XML:
932
			case JspPackage.JSP_PROPERTY_GROUP__IS_XML:
766
				setIsXml(((Boolean)newValue).booleanValue());
933
				setIsXml((Boolean)newValue);
767
				return;
934
				return;
768
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES:
935
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES:
769
				getIncludePreludes().clear();
936
				getIncludePreludes().clear();
770
				getIncludePreludes().addAll((Collection)newValue);
937
				getIncludePreludes().addAll((Collection<? extends String>)newValue);
771
				return;
938
				return;
772
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS:
939
			case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS:
773
				getIncludeCodas().clear();
940
				getIncludeCodas().clear();
774
				getIncludeCodas().addAll((Collection)newValue);
941
				getIncludeCodas().addAll((Collection<? extends String>)newValue);
775
				return;
942
				return;
776
			case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL:
943
			case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL:
777
				setDeferredSyntaxAllowedAsLiteral(((Boolean)newValue).booleanValue());
944
				setDeferredSyntaxAllowedAsLiteral((Boolean)newValue);
778
				return;
945
				return;
779
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
946
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
780
				setTrimDirectiveWhitespaces(((Boolean)newValue).booleanValue());
947
				setTrimDirectiveWhitespaces((Boolean)newValue);
948
				return;
949
			case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE:
950
				setDefaultContentType((String)newValue);
951
				return;
952
			case JspPackage.JSP_PROPERTY_GROUP__BUFFER:
953
				setBuffer((String)newValue);
954
				return;
955
			case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE:
956
				setErrorOnUndeclaredNamespace((Boolean)newValue);
781
				return;
957
				return;
782
			case JspPackage.JSP_PROPERTY_GROUP__ID:
958
			case JspPackage.JSP_PROPERTY_GROUP__ID:
783
				setId((String)newValue);
959
				setId((String)newValue);
Lines 830-835 Link Here
830
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
1006
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
831
				unsetTrimDirectiveWhitespaces();
1007
				unsetTrimDirectiveWhitespaces();
832
				return;
1008
				return;
1009
			case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE:
1010
				setDefaultContentType(DEFAULT_CONTENT_TYPE_EDEFAULT);
1011
				return;
1012
			case JspPackage.JSP_PROPERTY_GROUP__BUFFER:
1013
				setBuffer(BUFFER_EDEFAULT);
1014
				return;
1015
			case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE:
1016
				unsetErrorOnUndeclaredNamespace();
1017
				return;
833
			case JspPackage.JSP_PROPERTY_GROUP__ID:
1018
			case JspPackage.JSP_PROPERTY_GROUP__ID:
834
				setId(ID_EDEFAULT);
1019
				setId(ID_EDEFAULT);
835
				return;
1020
				return;
Lines 869-874 Link Here
869
				return isSetDeferredSyntaxAllowedAsLiteral();
1054
				return isSetDeferredSyntaxAllowedAsLiteral();
870
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
1055
			case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES:
871
				return isSetTrimDirectiveWhitespaces();
1056
				return isSetTrimDirectiveWhitespaces();
1057
			case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE:
1058
				return DEFAULT_CONTENT_TYPE_EDEFAULT == null ? defaultContentType != null : !DEFAULT_CONTENT_TYPE_EDEFAULT.equals(defaultContentType);
1059
			case JspPackage.JSP_PROPERTY_GROUP__BUFFER:
1060
				return BUFFER_EDEFAULT == null ? buffer != null : !BUFFER_EDEFAULT.equals(buffer);
1061
			case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE:
1062
				return isSetErrorOnUndeclaredNamespace();
872
			case JspPackage.JSP_PROPERTY_GROUP__ID:
1063
			case JspPackage.JSP_PROPERTY_GROUP__ID:
873
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
1064
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
874
		}
1065
		}
Lines 901-906 Link Here
901
		if (deferredSyntaxAllowedAsLiteralESet) result.append(deferredSyntaxAllowedAsLiteral); else result.append("<unset>"); //$NON-NLS-1$
1092
		if (deferredSyntaxAllowedAsLiteralESet) result.append(deferredSyntaxAllowedAsLiteral); else result.append("<unset>"); //$NON-NLS-1$
902
		result.append(", trimDirectiveWhitespaces: "); //$NON-NLS-1$
1093
		result.append(", trimDirectiveWhitespaces: "); //$NON-NLS-1$
903
		if (trimDirectiveWhitespacesESet) result.append(trimDirectiveWhitespaces); else result.append("<unset>"); //$NON-NLS-1$
1094
		if (trimDirectiveWhitespacesESet) result.append(trimDirectiveWhitespaces); else result.append("<unset>"); //$NON-NLS-1$
1095
		result.append(", defaultContentType: "); //$NON-NLS-1$
1096
		result.append(defaultContentType);
1097
		result.append(", buffer: "); //$NON-NLS-1$
1098
		result.append(buffer);
1099
		result.append(", errorOnUndeclaredNamespace: "); //$NON-NLS-1$
1100
		if (errorOnUndeclaredNamespaceESet) result.append(errorOnUndeclaredNamespace); else result.append("<unset>"); //$NON-NLS-1$
904
		result.append(", id: "); //$NON-NLS-1$
1101
		result.append(", id: "); //$NON-NLS-1$
905
		result.append(id);
1102
		result.append(id);
906
		result.append(')');
1103
		result.append(')');
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspFactoryImpl.java (+1 lines)
Lines 171-176 Link Here
171
	 * @deprecated
171
	 * @deprecated
172
	 * @generated
172
	 * @generated
173
	 */
173
	 */
174
	@Deprecated
174
	public static JspPackage getPackage() {
175
	public static JspPackage getPackage() {
175
		return JspPackage.eINSTANCE;
176
		return JspPackage.eINSTANCE;
176
	}
177
	}
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPackageImpl.java (-33 / +102 lines)
Lines 38-43 Link Here
38
38
39
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
39
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
40
40
41
import org.eclipse.jst.javaee.jca.internal.impl.JcaPackageImpl;
42
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
41
import org.eclipse.jst.javaee.jsp.JspConfig;
43
import org.eclipse.jst.javaee.jsp.JspConfig;
42
import org.eclipse.jst.javaee.jsp.JspFactory;
44
import org.eclipse.jst.javaee.jsp.JspFactory;
43
import org.eclipse.jst.javaee.jsp.JspPropertyGroup;
45
import org.eclipse.jst.javaee.jsp.JspPropertyGroup;
Lines 48-53 Link Here
48
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
50
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
49
51
50
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
52
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
53
import org.eclipse.jst.javaee.webapp.internal.impl.WebappPackageImpl;
54
import org.eclipse.jst.javaee.webapp.internal.metadata.WebappPackage;
55
import org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl;
56
import org.eclipse.jst.javaee.webfragment.internal.metadata.WebfragmentPackage;
51
57
52
/**
58
/**
53
 * <!-- begin-user-doc -->
59
 * <!-- begin-user-doc -->
Lines 111-130 Link Here
111
	private static boolean isInited = false;
117
	private static boolean isInited = false;
112
118
113
	/**
119
	/**
114
	 * Creates, registers, and initializes the <b>Package</b> for this
120
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
115
	 * model, and for any others upon which it depends.  Simple
121
	 * 
116
	 * dependencies are satisfied by calling this method on all
122
	 * <p>This method is used to initialize {@link JspPackage#eINSTANCE} when that field is accessed.
117
	 * dependent packages before doing anything else.  This method drives
123
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
118
	 * initialization for interdependent packages directly, in parallel
119
	 * with this package, itself.
120
	 * <p>Of this package and its interdependencies, all packages which
121
	 * have not yet been registered by their URI values are first created
122
	 * and registered.  The packages are then initialized in two steps:
123
	 * meta-model objects for all of the packages are created before any
124
	 * are initialized, since one package's meta-model objects may refer to
125
	 * those of another.
126
	 * <p>Invocation of this method will not affect any packages that have
127
	 * already been initialized.
128
	 * <!-- begin-user-doc -->
124
	 * <!-- begin-user-doc -->
129
	 * <!-- end-user-doc -->
125
	 * <!-- end-user-doc -->
130
	 * @see #eNS_URI
126
	 * @see #eNS_URI
Lines 136-142 Link Here
136
		if (isInited) return (JspPackage)EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI);
132
		if (isInited) return (JspPackage)EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI);
137
133
138
		// Obtain or create and register package
134
		// Obtain or create and register package
139
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new JspPackageImpl());
135
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new JspPackageImpl());
140
136
141
		isInited = true;
137
		isInited = true;
142
138
Lines 145-175 Link Here
145
		XMLTypePackage.eINSTANCE.eClass();
141
		XMLTypePackage.eINSTANCE.eClass();
146
142
147
		// Obtain or create and register interdependencies
143
		// Obtain or create and register interdependencies
148
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
149
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
144
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
150
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) : JavaeePackage.eINSTANCE);
145
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) : JavaeePackage.eINSTANCE);
151
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
152
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE);
146
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE);
147
		JcaPackageImpl theJcaPackage = (JcaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) instanceof JcaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) : JcaPackage.eINSTANCE);
148
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
149
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
150
		WebappPackageImpl theWebappPackage = (WebappPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) instanceof WebappPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) : WebappPackage.eINSTANCE);
151
		WebfragmentPackageImpl theWebfragmentPackage = (WebfragmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) instanceof WebfragmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) : WebfragmentPackage.eINSTANCE);
153
152
154
		// Create package meta-data objects
153
		// Create package meta-data objects
155
		theJspPackage.createPackageContents();
154
		theJspPackage.createPackageContents();
156
		theWebPackage.createPackageContents();
157
		theApplicationPackage.createPackageContents();
155
		theApplicationPackage.createPackageContents();
158
		theJavaeePackage.createPackageContents();
156
		theJavaeePackage.createPackageContents();
159
		theEjbPackage.createPackageContents();
160
		theApplicationclientPackage.createPackageContents();
157
		theApplicationclientPackage.createPackageContents();
158
		theJcaPackage.createPackageContents();
159
		theEjbPackage.createPackageContents();
160
		theWebPackage.createPackageContents();
161
		theWebappPackage.createPackageContents();
162
		theWebfragmentPackage.createPackageContents();
161
163
162
		// Initialize created meta-data
164
		// Initialize created meta-data
163
		theJspPackage.initializePackageContents();
165
		theJspPackage.initializePackageContents();
164
		theWebPackage.initializePackageContents();
165
		theApplicationPackage.initializePackageContents();
166
		theApplicationPackage.initializePackageContents();
166
		theJavaeePackage.initializePackageContents();
167
		theJavaeePackage.initializePackageContents();
167
		theEjbPackage.initializePackageContents();
168
		theApplicationclientPackage.initializePackageContents();
168
		theApplicationclientPackage.initializePackageContents();
169
		theJcaPackage.initializePackageContents();
170
		theEjbPackage.initializePackageContents();
171
		theWebPackage.initializePackageContents();
172
		theWebappPackage.initializePackageContents();
173
		theWebfragmentPackage.initializePackageContents();
169
174
170
		// Mark meta-data to indicate it can't be changed
175
		// Mark meta-data to indicate it can't be changed
171
		theJspPackage.freeze();
176
		theJspPackage.freeze();
172
177
178
  
179
		// Update the registry and return the package
180
		EPackage.Registry.INSTANCE.put(JspPackage.eNS_URI, theJspPackage);
173
		return theJspPackage;
181
		return theJspPackage;
174
	}
182
	}
175
183
Lines 331-337 Link Here
331
	 * <!-- end-user-doc -->
339
	 * <!-- end-user-doc -->
332
	 * @generated
340
	 * @generated
333
	 */
341
	 */
334
	public EAttribute getJspPropertyGroup_Id() {
342
	public EAttribute getJspPropertyGroup_DefaultContentType() {
335
		return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(12);
343
		return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(12);
336
	}
344
	}
337
345
Lines 340-345 Link Here
340
	 * <!-- end-user-doc -->
348
	 * <!-- end-user-doc -->
341
	 * @generated
349
	 * @generated
342
	 */
350
	 */
351
	public EAttribute getJspPropertyGroup_Buffer() {
352
		return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(13);
353
	}
354
355
	/**
356
	 * <!-- begin-user-doc -->
357
	 * <!-- end-user-doc -->
358
	 * @generated
359
	 */
360
	public EAttribute getJspPropertyGroup_ErrorOnUndeclaredNamespace() {
361
		return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(14);
362
	}
363
364
	/**
365
	 * <!-- begin-user-doc -->
366
	 * <!-- end-user-doc -->
367
	 * @generated
368
	 */
369
	public EAttribute getJspPropertyGroup_Id() {
370
		return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(15);
371
	}
372
373
	/**
374
	 * <!-- begin-user-doc -->
375
	 * <!-- end-user-doc -->
376
	 * @generated
377
	 */
343
	public EClass getTagLib() {
378
	public EClass getTagLib() {
344
		return tagLibEClass;
379
		return tagLibEClass;
345
	}
380
	}
Lines 426-431 Link Here
426
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__INCLUDE_CODAS);
461
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__INCLUDE_CODAS);
427
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL);
462
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL);
428
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES);
463
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES);
464
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE);
465
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__BUFFER);
466
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE);
429
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__ID);
467
		createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__ID);
430
468
431
		tagLibEClass = createEClass(TAG_LIB);
469
		tagLibEClass = createEClass(TAG_LIB);
Lines 464-496 Link Here
464
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
502
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
465
		JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
503
		JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
466
504
505
		// Create type parameters
506
507
		// Set bounds for type parameters
508
467
		// Add supertypes to classes
509
		// Add supertypes to classes
468
510
469
		// Initialize classes and features; add operations and parameters
511
		// Initialize classes and features; add operations and parameters
470
		initEClass(jspConfigEClass, JspConfig.class, "JspConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
512
		initEClass(jspConfigEClass, JspConfig.class, "JspConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
471
		initEReference(getJspConfig_TagLibs(), this.getTagLib(), null, "tagLibs", null, 0, -1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
513
		initEReference(getJspConfig_TagLibs(), this.getTagLib(), null, "tagLibs", null, 0, -1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
472
		initEReference(getJspConfig_JspPropertyGroups(), this.getJspPropertyGroup(), null, "jspPropertyGroups", null, 0, -1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
514
		initEReference(getJspConfig_JspPropertyGroups(), this.getJspPropertyGroup(), null, "jspPropertyGroups", null, 0, -1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
473
		initEAttribute(getJspConfig_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
515
		initEAttribute(getJspConfig_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
474
516
475
		initEClass(jspPropertyGroupEClass, JspPropertyGroup.class, "JspPropertyGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
517
		initEClass(jspPropertyGroupEClass, JspPropertyGroup.class, "JspPropertyGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
476
		initEReference(getJspPropertyGroup_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
518
		initEReference(getJspPropertyGroup_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
477
		initEReference(getJspPropertyGroup_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
519
		initEReference(getJspPropertyGroup_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
478
		initEReference(getJspPropertyGroup_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
520
		initEReference(getJspPropertyGroup_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
479
		initEReference(getJspPropertyGroup_UrlPatterns(), theJavaeePackage.getUrlPatternType(), null, "urlPatterns", null, 1, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
521
		initEReference(getJspPropertyGroup_UrlPatterns(), theJavaeePackage.getUrlPatternType(), null, "urlPatterns", null, 1, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
480
		initEAttribute(getJspPropertyGroup_ElIgnored(), theJavaeePackage.getTrueFalseType(), "elIgnored", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
522
		initEAttribute(getJspPropertyGroup_ElIgnored(), theJavaeePackage.getTrueFalseType(), "elIgnored", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
481
		initEAttribute(getJspPropertyGroup_PageEncoding(), theXMLTypePackage.getToken(), "pageEncoding", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
523
		initEAttribute(getJspPropertyGroup_PageEncoding(), theXMLTypePackage.getToken(), "pageEncoding", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
482
		initEAttribute(getJspPropertyGroup_ScriptingInvalid(), theJavaeePackage.getTrueFalseType(), "scriptingInvalid", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
524
		initEAttribute(getJspPropertyGroup_ScriptingInvalid(), theJavaeePackage.getTrueFalseType(), "scriptingInvalid", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
483
		initEAttribute(getJspPropertyGroup_IsXml(), theJavaeePackage.getTrueFalseType(), "isXml", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
525
		initEAttribute(getJspPropertyGroup_IsXml(), theJavaeePackage.getTrueFalseType(), "isXml", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
484
		initEAttribute(getJspPropertyGroup_IncludePreludes(), theJavaeePackage.getPathType(), "includePreludes", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
526
		initEAttribute(getJspPropertyGroup_IncludePreludes(), theJavaeePackage.getPathType(), "includePreludes", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
485
		initEAttribute(getJspPropertyGroup_IncludeCodas(), theJavaeePackage.getPathType(), "includeCodas", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
527
		initEAttribute(getJspPropertyGroup_IncludeCodas(), theJavaeePackage.getPathType(), "includeCodas", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
486
		initEAttribute(getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral(), theJavaeePackage.getTrueFalseType(), "deferredSyntaxAllowedAsLiteral", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
528
		initEAttribute(getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral(), theJavaeePackage.getTrueFalseType(), "deferredSyntaxAllowedAsLiteral", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
487
		initEAttribute(getJspPropertyGroup_TrimDirectiveWhitespaces(), theJavaeePackage.getTrueFalseType(), "trimDirectiveWhitespaces", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
529
		initEAttribute(getJspPropertyGroup_TrimDirectiveWhitespaces(), theJavaeePackage.getTrueFalseType(), "trimDirectiveWhitespaces", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
488
		initEAttribute(getJspPropertyGroup_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
530
		initEAttribute(getJspPropertyGroup_DefaultContentType(), theXMLTypePackage.getToken(), "defaultContentType", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
531
		initEAttribute(getJspPropertyGroup_Buffer(), theXMLTypePackage.getToken(), "buffer", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
532
		initEAttribute(getJspPropertyGroup_ErrorOnUndeclaredNamespace(), theJavaeePackage.getTrueFalseType(), "errorOnUndeclaredNamespace", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
533
		initEAttribute(getJspPropertyGroup_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
489
534
490
		initEClass(tagLibEClass, TagLib.class, "TagLib", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
535
		initEClass(tagLibEClass, TagLib.class, "TagLib", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
491
		initEAttribute(getTagLib_TaglibUri(), theXMLTypePackage.getToken(), "taglibUri", null, 1, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
536
		initEAttribute(getTagLib_TaglibUri(), theXMLTypePackage.getToken(), "taglibUri", null, 1, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
492
		initEAttribute(getTagLib_TaglibLocation(), theJavaeePackage.getPathType(), "taglibLocation", null, 1, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
537
		initEAttribute(getTagLib_TaglibLocation(), theJavaeePackage.getPathType(), "taglibLocation", null, 1, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
493
		initEAttribute(getTagLib_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
538
		initEAttribute(getTagLib_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
494
539
495
		// Initialize data types
540
		// Initialize data types
496
		initEDataType(jspFileTypeEDataType, String.class, "JspFileType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
541
		initEDataType(jspFileTypeEDataType, String.class, "JspFileType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
Lines 650-655 Link Here
650
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
695
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
651
			 "name", "trim-directive-whitespaces", //$NON-NLS-1$ //$NON-NLS-2$
696
			 "name", "trim-directive-whitespaces", //$NON-NLS-1$ //$NON-NLS-2$
652
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
697
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
698
		   });			
699
		addAnnotation
700
		  (getJspPropertyGroup_DefaultContentType(), 
701
		   source, 
702
		   new String[] {
703
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
704
			 "name", "default-content-type", //$NON-NLS-1$ //$NON-NLS-2$
705
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
706
		   });			
707
		addAnnotation
708
		  (getJspPropertyGroup_Buffer(), 
709
		   source, 
710
		   new String[] {
711
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
712
			 "name", "buffer", //$NON-NLS-1$ //$NON-NLS-2$
713
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
714
		   });			
715
		addAnnotation
716
		  (getJspPropertyGroup_ErrorOnUndeclaredNamespace(), 
717
		   source, 
718
		   new String[] {
719
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
720
			 "name", "error-on-undeclared-namespace", //$NON-NLS-1$ //$NON-NLS-2$
721
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
653
		   });		
722
		   });		
654
		addAnnotation
723
		addAnnotation
655
		  (getJspPropertyGroup_Id(), 
724
		  (getJspPropertyGroup_Id(), 
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspConfigImpl.java (-10 / +11 lines)
Lines 57-63 Link Here
57
	 * @generated
57
	 * @generated
58
	 * @ordered
58
	 * @ordered
59
	 */
59
	 */
60
	protected EList tagLibs = null;
60
	protected EList<TagLib> tagLibs;
61
61
62
	/**
62
	/**
63
	 * The cached value of the '{@link #getJspPropertyGroups() <em>Jsp Property Groups</em>}' containment reference list.
63
	 * The cached value of the '{@link #getJspPropertyGroups() <em>Jsp Property Groups</em>}' containment reference list.
Lines 67-73 Link Here
67
	 * @generated
67
	 * @generated
68
	 * @ordered
68
	 * @ordered
69
	 */
69
	 */
70
	protected EList jspPropertyGroups = null;
70
	protected EList<JspPropertyGroup> jspPropertyGroups;
71
71
72
	/**
72
	/**
73
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
73
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
Lines 113-121 Link Here
113
	 * <!-- end-user-doc -->
113
	 * <!-- end-user-doc -->
114
	 * @generated
114
	 * @generated
115
	 */
115
	 */
116
	public List getTagLibs() {
116
	public List<TagLib> getTagLibs() {
117
		if (tagLibs == null) {
117
		if (tagLibs == null) {
118
			tagLibs = new EObjectContainmentEList(TagLib.class, this, JspPackage.JSP_CONFIG__TAG_LIBS);
118
			tagLibs = new EObjectContainmentEList<TagLib>(TagLib.class, this, JspPackage.JSP_CONFIG__TAG_LIBS);
119
		}
119
		}
120
		return tagLibs;
120
		return tagLibs;
121
	}
121
	}
Lines 125-133 Link Here
125
	 * <!-- end-user-doc -->
125
	 * <!-- end-user-doc -->
126
	 * @generated
126
	 * @generated
127
	 */
127
	 */
128
	public List getJspPropertyGroups() {
128
	public List<JspPropertyGroup> getJspPropertyGroups() {
129
		if (jspPropertyGroups == null) {
129
		if (jspPropertyGroups == null) {
130
			jspPropertyGroups = new EObjectContainmentEList(JspPropertyGroup.class, this, JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS);
130
			jspPropertyGroups = new EObjectContainmentEList<JspPropertyGroup>(JspPropertyGroup.class, this, JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS);
131
		}
131
		}
132
		return jspPropertyGroups;
132
		return jspPropertyGroups;
133
	}
133
	}
Lines 162-170 Link Here
162
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
162
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
163
		switch (featureID) {
163
		switch (featureID) {
164
			case JspPackage.JSP_CONFIG__TAG_LIBS:
164
			case JspPackage.JSP_CONFIG__TAG_LIBS:
165
				return ((InternalEList)getTagLibs()).basicRemove(otherEnd, msgs);
165
				return ((InternalEList<?>)getTagLibs()).basicRemove(otherEnd, msgs);
166
			case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS:
166
			case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS:
167
				return ((InternalEList)getJspPropertyGroups()).basicRemove(otherEnd, msgs);
167
				return ((InternalEList<?>)getJspPropertyGroups()).basicRemove(otherEnd, msgs);
168
		}
168
		}
169
		return super.eInverseRemove(otherEnd, featureID, msgs);
169
		return super.eInverseRemove(otherEnd, featureID, msgs);
170
	}
170
	}
Lines 192-207 Link Here
192
	 * <!-- end-user-doc -->
192
	 * <!-- end-user-doc -->
193
	 * @generated
193
	 * @generated
194
	 */
194
	 */
195
	@SuppressWarnings("unchecked")
195
	@Override
196
	@Override
196
	public void eSet(int featureID, Object newValue) {
197
	public void eSet(int featureID, Object newValue) {
197
		switch (featureID) {
198
		switch (featureID) {
198
			case JspPackage.JSP_CONFIG__TAG_LIBS:
199
			case JspPackage.JSP_CONFIG__TAG_LIBS:
199
				getTagLibs().clear();
200
				getTagLibs().clear();
200
				getTagLibs().addAll((Collection)newValue);
201
				getTagLibs().addAll((Collection<? extends TagLib>)newValue);
201
				return;
202
				return;
202
			case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS:
203
			case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS:
203
				getJspPropertyGroups().clear();
204
				getJspPropertyGroups().clear();
204
				getJspPropertyGroups().addAll((Collection)newValue);
205
				getJspPropertyGroups().addAll((Collection<? extends JspPropertyGroup>)newValue);
205
				return;
206
				return;
206
			case JspPackage.JSP_CONFIG__ID:
207
			case JspPackage.JSP_CONFIG__ID:
207
				setId((String)newValue);
208
				setId((String)newValue);
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/util/ApplicationclientSwitch.java (-17 / +17 lines)
Lines 32-38 Link Here
32
 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage
32
 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage
33
 * @generated
33
 * @generated
34
 */
34
 */
35
public class ApplicationclientSwitch {
35
public class ApplicationclientSwitch<T> {
36
	/**
36
	/**
37
	 * The cached model package
37
	 * The cached model package
38
	 * <!-- begin-user-doc -->
38
	 * <!-- begin-user-doc -->
Lines 60-66 Link Here
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
61
	 * @generated
61
	 * @generated
62
	 */
62
	 */
63
	public Object doSwitch(EObject theEObject) {
63
	public T doSwitch(EObject theEObject) {
64
		return doSwitch(theEObject.eClass(), theEObject);
64
		return doSwitch(theEObject.eClass(), theEObject);
65
	}
65
	}
66
66
Lines 71-86 Link Here
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
72
	 * @generated
72
	 * @generated
73
	 */
73
	 */
74
	protected Object doSwitch(EClass theEClass, EObject theEObject) {
74
	protected T doSwitch(EClass theEClass, EObject theEObject) {
75
		if (theEClass.eContainer() == modelPackage) {
75
		if (theEClass.eContainer() == modelPackage) {
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
77
		}
77
		}
78
		else {
78
		else {
79
			List eSuperTypes = theEClass.getESuperTypes();
79
			List<EClass> eSuperTypes = theEClass.getESuperTypes();
80
			return
80
			return
81
				eSuperTypes.isEmpty() ?
81
				eSuperTypes.isEmpty() ?
82
					defaultCase(theEObject) :
82
					defaultCase(theEObject) :
83
					doSwitch((EClass)eSuperTypes.get(0), theEObject);
83
					doSwitch(eSuperTypes.get(0), theEObject);
84
		}
84
		}
85
	}
85
	}
86
86
Lines 91-107 Link Here
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
92
	 * @generated
92
	 * @generated
93
	 */
93
	 */
94
	protected Object doSwitch(int classifierID, EObject theEObject) {
94
	protected T doSwitch(int classifierID, EObject theEObject) {
95
		switch (classifierID) {
95
		switch (classifierID) {
96
			case ApplicationclientPackage.APPLICATION_CLIENT: {
96
			case ApplicationclientPackage.APPLICATION_CLIENT: {
97
				ApplicationClient applicationClient = (ApplicationClient)theEObject;
97
				ApplicationClient applicationClient = (ApplicationClient)theEObject;
98
				Object result = caseApplicationClient(applicationClient);
98
				T result = caseApplicationClient(applicationClient);
99
				if (result == null) result = defaultCase(theEObject);
99
				if (result == null) result = defaultCase(theEObject);
100
				return result;
100
				return result;
101
			}
101
			}
102
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR: {
102
			case ApplicationclientPackage.APPLICATION_CLIENT_DEPLOYMENT_DESCRIPTOR: {
103
				ApplicationClientDeploymentDescriptor applicationClientDeploymentDescriptor = (ApplicationClientDeploymentDescriptor)theEObject;
103
				ApplicationClientDeploymentDescriptor applicationClientDeploymentDescriptor = (ApplicationClientDeploymentDescriptor)theEObject;
104
				Object result = caseApplicationClientDeploymentDescriptor(applicationClientDeploymentDescriptor);
104
				T result = caseApplicationClientDeploymentDescriptor(applicationClientDeploymentDescriptor);
105
				if (result == null) result = defaultCase(theEObject);
105
				if (result == null) result = defaultCase(theEObject);
106
				return result;
106
				return result;
107
			}
107
			}
Lines 110-156 Link Here
110
	}
110
	}
111
111
112
	/**
112
	/**
113
	 * Returns the result of interpretting the object as an instance of '<em>Application Client</em>'.
113
	 * Returns the result of interpreting the object as an instance of '<em>Application Client</em>'.
114
	 * <!-- begin-user-doc -->
114
	 * <!-- begin-user-doc -->
115
	 * This implementation returns null;
115
	 * This implementation returns null;
116
	 * returning a non-null result will terminate the switch.
116
	 * returning a non-null result will terminate the switch.
117
	 * <!-- end-user-doc -->
117
	 * <!-- end-user-doc -->
118
	 * @param object the target of the switch.
118
	 * @param object the target of the switch.
119
	 * @return the result of interpretting the object as an instance of '<em>Application Client</em>'.
119
	 * @return the result of interpreting the object as an instance of '<em>Application Client</em>'.
120
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
120
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
121
	 * @generated
121
	 * @generated
122
	 */
122
	 */
123
	public Object caseApplicationClient(ApplicationClient object) {
123
	public T caseApplicationClient(ApplicationClient object) {
124
		return null;
124
		return null;
125
	}
125
	}
126
126
127
	/**
127
	/**
128
	 * Returns the result of interpretting the object as an instance of '<em>Application Client Deployment Descriptor</em>'.
128
	 * Returns the result of interpreting the object as an instance of '<em>Application Client Deployment Descriptor</em>'.
129
	 * <!-- begin-user-doc -->
129
	 * <!-- begin-user-doc -->
130
	 * This implementation returns null;
130
	 * This implementation returns null;
131
	 * returning a non-null result will terminate the switch.
131
	 * returning a non-null result will terminate the switch.
132
	 * <!-- end-user-doc -->
132
	 * <!-- end-user-doc -->
133
	 * @param object the target of the switch.
133
	 * @param object the target of the switch.
134
	 * @return the result of interpretting the object as an instance of '<em>Application Client Deployment Descriptor</em>'.
134
	 * @return the result of interpreting the object as an instance of '<em>Application Client Deployment Descriptor</em>'.
135
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
135
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
136
	 * @generated
136
	 * @generated
137
	 */
137
	 */
138
	public Object caseApplicationClientDeploymentDescriptor(ApplicationClientDeploymentDescriptor object) {
138
	public T caseApplicationClientDeploymentDescriptor(ApplicationClientDeploymentDescriptor object) {
139
		return null;
139
		return null;
140
	}
140
	}
141
141
142
	/**
142
	/**
143
	 * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
143
	 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
144
	 * <!-- begin-user-doc -->
144
	 * <!-- begin-user-doc -->
145
	 * This implementation returns null;
145
	 * This implementation returns null;
146
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
146
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
147
	 * <!-- end-user-doc -->
147
	 * <!-- end-user-doc -->
148
	 * @param object the target of the switch.
148
	 * @param object the target of the switch.
149
	 * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
149
	 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
150
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
150
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
151
	 * @generated
151
	 * @generated
152
	 */
152
	 */
153
	public Object defaultCase(EObject object) {
153
	public T defaultCase(EObject object) {
154
		return null;
154
		return null;
155
	}
155
	}
156
156
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/util/ApplicationclientResourceImpl.java (-1 / +1 lines)
Lines 28-34 Link Here
28
 * @see org.eclipse.jst.javaee.applicationclient.internal.util.ApplicationclientResourceFactoryImpl
28
 * @see org.eclipse.jst.javaee.applicationclient.internal.util.ApplicationclientResourceFactoryImpl
29
 * @generated
29
 * @generated
30
 */
30
 */
31
public class ApplicationclientResourceImpl extends JavaeeResourceImpl implements IRootObjectResource, IApplicationClientResource{
31
public class ApplicationclientResourceImpl extends JavaeeResourceImpl implements IRootObjectResource, IApplicationClientResource {
32
	/**
32
	/**
33
	 * Creates an instance of the resource.
33
	 * Creates an instance of the resource.
34
	 * <!-- begin-user-doc -->
34
	 * <!-- begin-user-doc -->
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/util/ApplicationclientXMLProcessor.java (-1 / +2 lines)
Lines 14-19 Link Here
14
14
15
import org.eclipse.emf.ecore.EPackage;
15
import org.eclipse.emf.ecore.EPackage;
16
16
17
import org.eclipse.emf.ecore.resource.Resource;
17
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
19
19
import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage;
20
import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage;
Lines 43-49 Link Here
43
	 * @generated
44
	 * @generated
44
	 */
45
	 */
45
	@Override
46
	@Override
46
	protected Map getRegistrations() {
47
	protected Map<String, Resource.Factory> getRegistrations() {
47
		if (registrations == null) {
48
		if (registrations == null) {
48
			super.getRegistrations();
49
			super.getRegistrations();
49
			registrations.put(XML_EXTENSION, new ApplicationclientResourceFactoryImpl());
50
			registrations.put(XML_EXTENSION, new ApplicationclientResourceFactoryImpl());
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/util/ApplicationclientAdapterFactory.java (-7 / +7 lines)
Lines 70-92 Link Here
70
	}
70
	}
71
71
72
	/**
72
	/**
73
	 * The switch the delegates to the <code>createXXX</code> methods.
73
	 * The switch that delegates to the <code>createXXX</code> methods.
74
	 * <!-- begin-user-doc -->
74
	 * <!-- begin-user-doc -->
75
	 * <!-- end-user-doc -->
75
	 * <!-- end-user-doc -->
76
	 * @generated
76
	 * @generated
77
	 */
77
	 */
78
	protected ApplicationclientSwitch modelSwitch =
78
	protected ApplicationclientSwitch<Adapter> modelSwitch =
79
		new ApplicationclientSwitch() {
79
		new ApplicationclientSwitch<Adapter>() {
80
			@Override
80
			@Override
81
			public Object caseApplicationClient(ApplicationClient object) {
81
			public Adapter caseApplicationClient(ApplicationClient object) {
82
				return createApplicationClientAdapter();
82
				return createApplicationClientAdapter();
83
			}
83
			}
84
			@Override
84
			@Override
85
			public Object caseApplicationClientDeploymentDescriptor(ApplicationClientDeploymentDescriptor object) {
85
			public Adapter caseApplicationClientDeploymentDescriptor(ApplicationClientDeploymentDescriptor object) {
86
				return createApplicationClientDeploymentDescriptorAdapter();
86
				return createApplicationClientDeploymentDescriptorAdapter();
87
			}
87
			}
88
			@Override
88
			@Override
89
			public Object defaultCase(EObject object) {
89
			public Adapter defaultCase(EObject object) {
90
				return createEObjectAdapter();
90
				return createEObjectAdapter();
91
			}
91
			}
92
		};
92
		};
Lines 101-107 Link Here
101
	 */
101
	 */
102
	@Override
102
	@Override
103
	public Adapter createAdapter(Notifier target) {
103
	public Adapter createAdapter(Notifier target) {
104
		return (Adapter)modelSwitch.doSwitch((EObject)target);
104
		return modelSwitch.doSwitch((EObject)target);
105
	}
105
	}
106
106
107
107
(-)jee-models/org/eclipse/jst/javaee/core/internal/metadata/JavaeePackage.java (-516 / +1804 lines)
Lines 31-214 Link Here
31
 * <!-- end-user-doc -->
31
 * <!-- end-user-doc -->
32
 * <!-- begin-model-doc -->
32
 * <!-- begin-model-doc -->
33
 * 
33
 * 
34
 *       @(#)javaee_5.xsds	1.65 06/02/17
35
 *     
36
 * 
37
 * 
38
 *       Copyright 2003-2006 Sun Microsystems, Inc.
39
 *       4150 Network Circle
40
 *       Santa Clara, California 95054
41
 *       U.S.A
42
 *       All rights reserved.
43
 * 
44
 *       Sun Microsystems, Inc. has intellectual property rights
45
 *       relating to technology described in this document. In
46
 *       particular, and without limitation, these intellectual
47
 *       property rights may include one or more of the U.S. patents
48
 *       listed at http://www.sun.com/patents and one or more
49
 *       additional patents or pending patent applications in the
50
 *       U.S. and other countries.
51
 * 
52
 *       This document and the technology which it describes are
53
 *       distributed under licenses restricting their use, copying,
54
 *       distribution, and decompilation. No part of this document
55
 *       may be reproduced in any form by any means without prior
56
 *       written authorization of Sun and its licensors, if any.
57
 * 
58
 *       Third-party software, including font technology, is
59
 *       copyrighted and licensed from Sun suppliers.
60
 * 
61
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
62
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
63
 *       Cup logo are trademarks or registered trademarks of Sun
64
 *       Microsystems, Inc. in the U.S. and other countries.
65
 * 
66
 *       Federal Acquisitions: Commercial Software - Government Users
67
 *       Subject to Standard License Terms and Conditions.
68
 * 
34
 * 
35
 *       $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
36
 *       
69
 *     
37
 *     
70
 * 
38
 * 
71
 * 
39
 * 
72
 * The following definitions that appear in the common
40
 *       The following definitions that appear in the common
73
 * shareable schema(s) of J2EE deployment descriptors should be
41
 *       shareable schema(s) of Java EE deployment descriptors should be
74
 * interpreted with respect to the context they are included:
42
 *       interpreted with respect to the context they are included:
75
 * 
43
 *       
76
 * Deployment Component may indicate one of the following:
44
 *       Deployment Component may indicate one of the following:
77
 *     j2ee application;
45
 *       java ee application;
78
 *     application client;
46
 *       application client;
79
 *     web application;
47
 *       web application;
80
 *     enterprise bean;
48
 *       enterprise bean;
81
 *     resource adapter;
49
 *       resource adapter; 
82
 * 
50
 *       
83
 * Deployment File may indicate one of the following:
51
 *       Deployment File may indicate one of the following:
84
 *     ear file;
52
 *       ear file;
85
 *     war file;
53
 *       war file;
86
 *     jar file;
54
 *       jar file;
87
 *     rar file;
55
 *       rar file;
88
 * 
56
 *       
89
 * 
90
 * 
91
 *       @(#)javaee_web_services_client_1_2.xsds	1.19 02/13/06
92
 *     
57
 *     
93
 * 
58
 * 
94
 * 
59
 * 
95
 *       Copyright 2003-2006 Sun Microsystems, Inc.
60
 *       $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
96
 *       4150 Network Circle
61
 *       
97
 *       Santa Clara, California 95054
98
 *       U.S.A
99
 *       All rights reserved.
100
 * 
101
 *       Sun Microsystems, Inc. has intellectual property rights
102
 *       relating to technology described in this document. In
103
 *       particular, and without limitation, these intellectual
104
 *       property rights may include one or more of the U.S. patents
105
 *       listed at http://www.sun.com/patents and one or more
106
 *       additional patents or pending patent applications in the
107
 *       U.S. and other countries.
108
 * 
109
 *       This document and the technology which it describes are
110
 *       distributed under licenses restricting their use, copying,
111
 *       distribution, and decompilation. No part of this document
112
 *       may be reproduced in any form by any means without prior
113
 *       written authorization of Sun and its licensors, if any.
114
 * 
115
 *       Third-party software, including font technology, is
116
 *       copyrighted and licensed from Sun suppliers.
117
 * 
118
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
119
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
120
 *       Cup logo are trademarks or registered trademarks of Sun
121
 *       Microsystems, Inc. in the U.S. and other countries.
122
 * 
123
 *       Federal Acquisitions: Commercial Software - Government Users
124
 *       Subject to Standard License Terms and Conditions.
125
 * 
126
 *     
62
 *     
127
 * 
63
 * 
128
 * 
64
 * 
129
 *       (C) Copyright International Business Machines Corporation 2002
65
 *       (C) Copyright International Business Machines Corporation 2002
130
 * 
66
 *       
131
 *     
67
 *     
132
 * 
68
 * 
133
 *    See http://www.w3.org/XML/1998/namespace.html and
69
 *    <div xmlns="http://www.w3.org/1999/xhtml">
134
 *    http://www.w3.org/TR/REC-xml for information about this namespace.
70
 *     <h1>About the XML namespace</h1>
135
 * 
136
 *     This schema document describes the XML namespace, in a form
137
 *     suitable for import by other schema documents.  
138
 * 
139
 *     Note that local names in this namespace are intended to be defined
140
 *     only by the World Wide Web Consortium or its subgroups.  The
141
 *     following names are currently defined in this namespace and should
142
 *     not be used with conflicting semantics by any Working Group,
143
 *     specification, or document instance:
144
 * 
145
 *     base (as an attribute name): denotes an attribute whose value
146
 *          provides a URI to be used as the base for interpreting any
147
 *          relative URIs in the scope of the element on which it
148
 *          appears; its value is inherited.  This name is reserved
149
 *          by virtue of its definition in the XML Base specification.
150
 * 
151
 *     id   (as an attribute name): denotes an attribute whose value
152
 *          should be interpreted as if declared to be of type ID.
153
 *          The xml:id specification is not yet a W3C Recommendation,
154
 *          but this attribute is included here to facilitate experimentation
155
 *          with the mechanisms it proposes.  Note that it is _not_ included
156
 *          in the specialAttrs attribute group.
157
 * 
71
 * 
158
 *     lang (as an attribute name): denotes an attribute whose value
72
 *     <div class="bodytext">
159
 *          is a language code for the natural language of the content of
73
 *      <p>
160
 *          any element; its value is inherited.  This name is reserved
74
 *       This schema document describes the XML namespace, in a form
161
 *          by virtue of its definition in the XML specification.
75
 *       suitable for import by other schema documents.
76
 *      </p>
77
 *      <p>
78
 *       See <a href="http://www.w3.org/XML/1998/namespace.html">
79
 *       http://www.w3.org/XML/1998/namespace.html</a> and
80
 *       <a href="http://www.w3.org/TR/REC-xml">
81
 *       http://www.w3.org/TR/REC-xml</a> for information 
82
 *       about this namespace.
83
 *      </p>
84
 *      <p>
85
 *       Note that local names in this namespace are intended to be
86
 *       defined only by the World Wide Web Consortium or its subgroups.
87
 *       The names currently defined in this namespace are listed below.
88
 *       They should not be used with conflicting semantics by any Working
89
 *       Group, specification, or document instance.
90
 *      </p>
91
 *      <p>   
92
 *       See further below in this document for more information about <a href="#usage">how to refer to this schema document from your own
93
 *       XSD schema documents</a> and about <a href="#nsversioning">the
94
 *       namespace-versioning policy governing this schema document</a>.
95
 *      </p>
96
 *     </div>
97
 *    </div>
162
 *   
98
 *   
163
 *     space (as an attribute name): denotes an attribute whose
164
 *          value is a keyword indicating what whitespace processing
165
 *          discipline is intended for the content of the element; its
166
 *          value is inherited.  This name is reserved by virtue of its
167
 *          definition in the XML specification.
168
 * 
99
 * 
169
 *     Father (in any context at all): denotes Jon Bosak, the chair of 
100
 *    <div xmlns="http://www.w3.org/1999/xhtml">
170
 *          the original XML Working Group.  This name is reserved by 
101
 *    
171
 *          the following decision of the W3C XML Plenary and 
102
 *     <h3>Father (in any context at all)</h3> 
172
 *          XML Coordination groups:
173
 * 
103
 * 
174
 *              In appreciation for his vision, leadership and dedication
104
 *     <div class="bodytext">
175
 *              the W3C XML Plenary on this 10th day of February, 2000
105
 *      <p>
176
 *              reserves for Jon Bosak in perpetuity the XML name
106
 *       denotes Jon Bosak, the chair of 
177
 *              xml:Father
107
 *       the original XML Working Group.  This name is reserved by 
108
 *       the following decision of the W3C XML Plenary and 
109
 *       XML Coordination groups:
110
 *      </p>
111
 *      <blockquote>
112
 *        <p>
113
 * 	In appreciation for his vision, leadership and
114
 * 	dedication the W3C XML Plenary on this 10th day of
115
 * 	February, 2000, reserves for Jon Bosak in perpetuity
116
 * 	the XML name "xml:Father".
117
 *        </p>
118
 *      </blockquote>
119
 *     </div>
120
 *    </div>
178
 *   
121
 *   
179
 * This schema defines attributes and an attribute group
180
 *         suitable for use by
181
 *         schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
182
 *         attributes on elements they define.
183
 * 
122
 * 
184
 *         To enable this, such a schema must import this schema
123
 *    <div id="usage" xml:id="usage" xmlns="http://www.w3.org/1999/xhtml">
185
 *         for the XML namespace, e.g. as follows:
124
 *     <h2>
186
 *         &lt;schema . . .&gt;
125
 *       <a name="usage">About this schema document</a>
187
 *          . . .
126
 *     </h2>
188
 *          &lt;import namespace="http://www.w3.org/XML/1998/namespace"
189
 *                     schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
190
 * 
127
 * 
191
 *         Subsequently, qualified reference to any of the attributes
128
 *     <div class="bodytext">
192
 *         or the group defined below will have the desired effect, e.g.
129
 *      <p>
130
 *       This schema defines attributes and an attribute group suitable
131
 *       for use by schemas wishing to allow <code>xml:base</code>,
132
 *       <code>xml:lang</code>, <code>xml:space</code> or
133
 *       <code>xml:id</code> attributes on elements they define.
134
 *      </p>
135
 *      <p>
136
 *       To enable this, such a schema must import this schema for
137
 *       the XML namespace, e.g. as follows:
138
 *      </p>
139
 *      <pre>
140
 *           &lt;schema . . .&gt;
141
 *            . . .
142
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
143
 *                       schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
144
 *      </pre>
145
 *      <p>
146
 *       or
147
 *      </p>
148
 *      <pre>
149
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
150
 *                       schemaLocation="http://www.w3.org/2009/01/xml.xsd"/&gt;
151
 *      </pre>
152
 *      <p>
153
 *       Subsequently, qualified reference to any of the attributes or the
154
 *       group defined below will have the desired effect, e.g.
155
 *      </p>
156
 *      <pre>
157
 *           &lt;type . . .&gt;
158
 *            . . .
159
 *            &lt;attributeGroup ref="xml:specialAttrs"/&gt;
160
 *      </pre>
161
 *      <p>
162
 *       will define a type which will schema-validate an instance element
163
 *       with any of those attributes.
164
 *      </p>
165
 *     </div>
166
 *    </div>
167
 *   
193
 * 
168
 * 
194
 *         &lt;type . . .&gt;
169
 *    <div id="nsversioning" xml:id="nsversioning" xmlns="http://www.w3.org/1999/xhtml">
195
 *          . . .
170
 *     <h2>
196
 *          &lt;attributeGroup ref="xml:specialAttrs"/&gt;
171
 *       <a name="nsversioning">Versioning policy for this schema document</a>
197
 *  
172
 *     </h2>
198
 *          will define a type which will schema-validate an instance
173
 *     <div class="bodytext">
199
 *          element with any of those attributes
174
 *      <p>
200
 * In keeping with the XML Schema WG's standard versioning
175
 *       In keeping with the XML Schema WG's standard versioning
201
 *    policy, this schema document will persist at
176
 *       policy, this schema document will persist at
202
 *    http://www.w3.org/2005/08/xml.xsd.
177
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
203
 *    At the date of issue it can also be found at
178
 *        http://www.w3.org/2009/01/xml.xsd</a>.
204
 *    http://www.w3.org/2001/xml.xsd.
179
 *      </p>
205
 *    The schema document at that URI may however change in the future,
180
 *      <p>
206
 *    in order to remain compatible with the latest version of XML Schema
181
 *       At the date of issue it can also be found at
207
 *    itself, or with the XML namespace itself.  In other words, if the XML
182
 *       <a href="http://www.w3.org/2001/xml.xsd">
208
 *    Schema or XML namespaces change, the version of this document at
183
 *        http://www.w3.org/2001/xml.xsd</a>.
209
 *    http://www.w3.org/2001/xml.xsd will change
184
 *      </p>
210
 *    accordingly; the version at
185
 *      <p>
211
 *    http://www.w3.org/2005/08/xml.xsd will not change.
186
 *       The schema document at that URI may however change in the future,
187
 *       in order to remain compatible with the latest version of XML
188
 *       Schema itself, or with the XML namespace itself.  In other words,
189
 *       if the XML Schema or XML namespaces change, the version of this
190
 *       document at <a href="http://www.w3.org/2001/xml.xsd">
191
 *        http://www.w3.org/2001/xml.xsd 
192
 *       </a> 
193
 *       will change accordingly; the version at 
194
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
195
 *        http://www.w3.org/2009/01/xml.xsd 
196
 *       </a> 
197
 *       will not change.
198
 *      </p>
199
 *      <p>
200
 *       Previous dated (and unchanging) versions of this schema 
201
 *       document are at:
202
 *      </p>
203
 *      <ul>
204
 *       <li>
205
 *           <a href="http://www.w3.org/2009/01/xml.xsd">
206
 * 	http://www.w3.org/2009/01/xml.xsd</a>
207
 *         </li>
208
 *       <li>
209
 *           <a href="http://www.w3.org/2007/08/xml.xsd">
210
 * 	http://www.w3.org/2007/08/xml.xsd</a>
211
 *         </li>
212
 *       <li>
213
 *           <a href="http://www.w3.org/2004/10/xml.xsd">
214
 * 	http://www.w3.org/2004/10/xml.xsd</a>
215
 *         </li>
216
 *       <li>
217
 *           <a href="http://www.w3.org/2001/03/xml.xsd">
218
 * 	http://www.w3.org/2001/03/xml.xsd</a>
219
 *         </li>
220
 *      </ul>
221
 *     </div>
222
 *    </div>
212
 *   
223
 *   
213
 * <!-- end-model-doc -->
224
 * <!-- end-model-doc -->
214
 * @see org.eclipse.jst.javaee.core.JavaeeFactory
225
 * @see org.eclipse.jst.javaee.core.JavaeeFactory
Lines 248-253 Link Here
248
	JavaeePackage eINSTANCE = org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl.init();
259
	JavaeePackage eINSTANCE = org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl.init();
249
260
250
	/**
261
	/**
262
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl <em>Addressing Type</em>}' class.
263
	 * <!-- begin-user-doc -->
264
	 * <!-- end-user-doc -->
265
	 * @see org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl
266
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingType()
267
	 * @generated
268
	 */
269
	int ADDRESSING_TYPE = 0;
270
271
	/**
272
	 * The feature id for the '<em><b>Enabled</b></em>' attribute.
273
	 * <!-- begin-user-doc -->
274
	 * <!-- end-user-doc -->
275
	 * @generated
276
	 * @ordered
277
	 */
278
	int ADDRESSING_TYPE__ENABLED = 0;
279
280
	/**
281
	 * The feature id for the '<em><b>Required</b></em>' attribute.
282
	 * <!-- begin-user-doc -->
283
	 * <!-- end-user-doc -->
284
	 * @generated
285
	 * @ordered
286
	 */
287
	int ADDRESSING_TYPE__REQUIRED = 1;
288
289
	/**
290
	 * The feature id for the '<em><b>Responses</b></em>' attribute.
291
	 * <!-- begin-user-doc -->
292
	 * <!-- end-user-doc -->
293
	 * @generated
294
	 * @ordered
295
	 */
296
	int ADDRESSING_TYPE__RESPONSES = 2;
297
298
	/**
299
	 * The number of structural features of the '<em>Addressing Type</em>' class.
300
	 * <!-- begin-user-doc -->
301
	 * <!-- end-user-doc -->
302
	 * @generated
303
	 * @ordered
304
	 */
305
	int ADDRESSING_TYPE_FEATURE_COUNT = 3;
306
307
	/**
308
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl <em>Data Source Type</em>}' class.
309
	 * <!-- begin-user-doc -->
310
	 * <!-- end-user-doc -->
311
	 * @see org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl
312
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDataSourceType()
313
	 * @generated
314
	 */
315
	int DATA_SOURCE_TYPE = 1;
316
317
	/**
318
	 * The feature id for the '<em><b>Description</b></em>' containment reference.
319
	 * <!-- begin-user-doc -->
320
	 * <!-- end-user-doc -->
321
	 * @generated
322
	 * @ordered
323
	 */
324
	int DATA_SOURCE_TYPE__DESCRIPTION = 0;
325
326
	/**
327
	 * The feature id for the '<em><b>Name</b></em>' attribute.
328
	 * <!-- begin-user-doc -->
329
	 * <!-- end-user-doc -->
330
	 * @generated
331
	 * @ordered
332
	 */
333
	int DATA_SOURCE_TYPE__NAME = 1;
334
335
	/**
336
	 * The feature id for the '<em><b>Class Name</b></em>' attribute.
337
	 * <!-- begin-user-doc -->
338
	 * <!-- end-user-doc -->
339
	 * @generated
340
	 * @ordered
341
	 */
342
	int DATA_SOURCE_TYPE__CLASS_NAME = 2;
343
344
	/**
345
	 * The feature id for the '<em><b>Server Name</b></em>' attribute.
346
	 * <!-- begin-user-doc -->
347
	 * <!-- end-user-doc -->
348
	 * @generated
349
	 * @ordered
350
	 */
351
	int DATA_SOURCE_TYPE__SERVER_NAME = 3;
352
353
	/**
354
	 * The feature id for the '<em><b>Port Number</b></em>' attribute.
355
	 * <!-- begin-user-doc -->
356
	 * <!-- end-user-doc -->
357
	 * @generated
358
	 * @ordered
359
	 */
360
	int DATA_SOURCE_TYPE__PORT_NUMBER = 4;
361
362
	/**
363
	 * The feature id for the '<em><b>Database Name</b></em>' attribute.
364
	 * <!-- begin-user-doc -->
365
	 * <!-- end-user-doc -->
366
	 * @generated
367
	 * @ordered
368
	 */
369
	int DATA_SOURCE_TYPE__DATABASE_NAME = 5;
370
371
	/**
372
	 * The feature id for the '<em><b>Url</b></em>' attribute.
373
	 * <!-- begin-user-doc -->
374
	 * <!-- end-user-doc -->
375
	 * @generated
376
	 * @ordered
377
	 */
378
	int DATA_SOURCE_TYPE__URL = 6;
379
380
	/**
381
	 * The feature id for the '<em><b>User</b></em>' attribute.
382
	 * <!-- begin-user-doc -->
383
	 * <!-- end-user-doc -->
384
	 * @generated
385
	 * @ordered
386
	 */
387
	int DATA_SOURCE_TYPE__USER = 7;
388
389
	/**
390
	 * The feature id for the '<em><b>Password</b></em>' attribute.
391
	 * <!-- begin-user-doc -->
392
	 * <!-- end-user-doc -->
393
	 * @generated
394
	 * @ordered
395
	 */
396
	int DATA_SOURCE_TYPE__PASSWORD = 8;
397
398
	/**
399
	 * The feature id for the '<em><b>Property</b></em>' containment reference list.
400
	 * <!-- begin-user-doc -->
401
	 * <!-- end-user-doc -->
402
	 * @generated
403
	 * @ordered
404
	 */
405
	int DATA_SOURCE_TYPE__PROPERTY = 9;
406
407
	/**
408
	 * The feature id for the '<em><b>Login Timeout</b></em>' attribute.
409
	 * <!-- begin-user-doc -->
410
	 * <!-- end-user-doc -->
411
	 * @generated
412
	 * @ordered
413
	 */
414
	int DATA_SOURCE_TYPE__LOGIN_TIMEOUT = 10;
415
416
	/**
417
	 * The feature id for the '<em><b>Transactional</b></em>' attribute.
418
	 * <!-- begin-user-doc -->
419
	 * <!-- end-user-doc -->
420
	 * @generated
421
	 * @ordered
422
	 */
423
	int DATA_SOURCE_TYPE__TRANSACTIONAL = 11;
424
425
	/**
426
	 * The feature id for the '<em><b>Isolation Level</b></em>' attribute.
427
	 * <!-- begin-user-doc -->
428
	 * <!-- end-user-doc -->
429
	 * @generated
430
	 * @ordered
431
	 */
432
	int DATA_SOURCE_TYPE__ISOLATION_LEVEL = 12;
433
434
	/**
435
	 * The feature id for the '<em><b>Initial Pool Size</b></em>' attribute.
436
	 * <!-- begin-user-doc -->
437
	 * <!-- end-user-doc -->
438
	 * @generated
439
	 * @ordered
440
	 */
441
	int DATA_SOURCE_TYPE__INITIAL_POOL_SIZE = 13;
442
443
	/**
444
	 * The feature id for the '<em><b>Max Pool Size</b></em>' attribute.
445
	 * <!-- begin-user-doc -->
446
	 * <!-- end-user-doc -->
447
	 * @generated
448
	 * @ordered
449
	 */
450
	int DATA_SOURCE_TYPE__MAX_POOL_SIZE = 14;
451
452
	/**
453
	 * The feature id for the '<em><b>Min Pool Size</b></em>' attribute.
454
	 * <!-- begin-user-doc -->
455
	 * <!-- end-user-doc -->
456
	 * @generated
457
	 * @ordered
458
	 */
459
	int DATA_SOURCE_TYPE__MIN_POOL_SIZE = 15;
460
461
	/**
462
	 * The feature id for the '<em><b>Max Idle Time</b></em>' attribute.
463
	 * <!-- begin-user-doc -->
464
	 * <!-- end-user-doc -->
465
	 * @generated
466
	 * @ordered
467
	 */
468
	int DATA_SOURCE_TYPE__MAX_IDLE_TIME = 16;
469
470
	/**
471
	 * The feature id for the '<em><b>Max Statements</b></em>' attribute.
472
	 * <!-- begin-user-doc -->
473
	 * <!-- end-user-doc -->
474
	 * @generated
475
	 * @ordered
476
	 */
477
	int DATA_SOURCE_TYPE__MAX_STATEMENTS = 17;
478
479
	/**
480
	 * The feature id for the '<em><b>Id</b></em>' attribute.
481
	 * <!-- begin-user-doc -->
482
	 * <!-- end-user-doc -->
483
	 * @generated
484
	 * @ordered
485
	 */
486
	int DATA_SOURCE_TYPE__ID = 18;
487
488
	/**
489
	 * The number of structural features of the '<em>Data Source Type</em>' class.
490
	 * <!-- begin-user-doc -->
491
	 * <!-- end-user-doc -->
492
	 * @generated
493
	 * @ordered
494
	 */
495
	int DATA_SOURCE_TYPE_FEATURE_COUNT = 19;
496
497
	/**
251
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl <em>Description</em>}' class.
498
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl <em>Description</em>}' class.
252
	 * <!-- begin-user-doc -->
499
	 * <!-- begin-user-doc -->
253
	 * <!-- end-user-doc -->
500
	 * <!-- end-user-doc -->
Lines 255-261 Link Here
255
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDescription()
502
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDescription()
256
	 * @generated
503
	 * @generated
257
	 */
504
	 */
258
	int DESCRIPTION = 0;
505
	int DESCRIPTION = 2;
259
506
260
	/**
507
	/**
261
	 * The feature id for the '<em><b>Value</b></em>' attribute.
508
	 * The feature id for the '<em><b>Value</b></em>' attribute.
Lines 292-298 Link Here
292
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDisplayName()
539
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDisplayName()
293
	 * @generated
540
	 * @generated
294
	 */
541
	 */
295
	int DISPLAY_NAME = 1;
542
	int DISPLAY_NAME = 3;
296
543
297
	/**
544
	/**
298
	 * The feature id for the '<em><b>Value</b></em>' attribute.
545
	 * The feature id for the '<em><b>Value</b></em>' attribute.
Lines 329-335 Link Here
329
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbLocalRef()
576
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbLocalRef()
330
	 * @generated
577
	 * @generated
331
	 */
578
	 */
332
	int EJB_LOCAL_REF = 2;
579
	int EJB_LOCAL_REF = 4;
333
580
334
	/**
581
	/**
335
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
582
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 404-416 Link Here
404
	int EJB_LOCAL_REF__INJECTION_TARGETS = 7;
651
	int EJB_LOCAL_REF__INJECTION_TARGETS = 7;
405
652
406
	/**
653
	/**
654
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
655
	 * <!-- begin-user-doc -->
656
	 * <!-- end-user-doc -->
657
	 * @generated
658
	 * @ordered
659
	 */
660
	int EJB_LOCAL_REF__LOOKUP_NAME = 8;
661
662
	/**
407
	 * The feature id for the '<em><b>Id</b></em>' attribute.
663
	 * The feature id for the '<em><b>Id</b></em>' attribute.
408
	 * <!-- begin-user-doc -->
664
	 * <!-- begin-user-doc -->
409
	 * <!-- end-user-doc -->
665
	 * <!-- end-user-doc -->
410
	 * @generated
666
	 * @generated
411
	 * @ordered
667
	 * @ordered
412
	 */
668
	 */
413
	int EJB_LOCAL_REF__ID = 8;
669
	int EJB_LOCAL_REF__ID = 9;
414
670
415
	/**
671
	/**
416
	 * The number of structural features of the '<em>Ejb Local Ref</em>' class.
672
	 * The number of structural features of the '<em>Ejb Local Ref</em>' class.
Lines 419-425 Link Here
419
	 * @generated
675
	 * @generated
420
	 * @ordered
676
	 * @ordered
421
	 */
677
	 */
422
	int EJB_LOCAL_REF_FEATURE_COUNT = 9;
678
	int EJB_LOCAL_REF_FEATURE_COUNT = 10;
423
679
424
	/**
680
	/**
425
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl <em>Ejb Ref</em>}' class.
681
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl <em>Ejb Ref</em>}' class.
Lines 429-435 Link Here
429
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRef()
685
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRef()
430
	 * @generated
686
	 * @generated
431
	 */
687
	 */
432
	int EJB_REF = 3;
688
	int EJB_REF = 5;
433
689
434
	/**
690
	/**
435
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
691
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 504-516 Link Here
504
	int EJB_REF__INJECTION_TARGETS = 7;
760
	int EJB_REF__INJECTION_TARGETS = 7;
505
761
506
	/**
762
	/**
763
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
764
	 * <!-- begin-user-doc -->
765
	 * <!-- end-user-doc -->
766
	 * @generated
767
	 * @ordered
768
	 */
769
	int EJB_REF__LOOKUP_NAME = 8;
770
771
	/**
507
	 * The feature id for the '<em><b>Id</b></em>' attribute.
772
	 * The feature id for the '<em><b>Id</b></em>' attribute.
508
	 * <!-- begin-user-doc -->
773
	 * <!-- begin-user-doc -->
509
	 * <!-- end-user-doc -->
774
	 * <!-- end-user-doc -->
510
	 * @generated
775
	 * @generated
511
	 * @ordered
776
	 * @ordered
512
	 */
777
	 */
513
	int EJB_REF__ID = 8;
778
	int EJB_REF__ID = 9;
514
779
515
	/**
780
	/**
516
	 * The number of structural features of the '<em>Ejb Ref</em>' class.
781
	 * The number of structural features of the '<em>Ejb Ref</em>' class.
Lines 519-525 Link Here
519
	 * @generated
784
	 * @generated
520
	 * @ordered
785
	 * @ordered
521
	 */
786
	 */
522
	int EJB_REF_FEATURE_COUNT = 9;
787
	int EJB_REF_FEATURE_COUNT = 10;
523
788
524
	/**
789
	/**
525
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EmptyTypeImpl <em>Empty Type</em>}' class.
790
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EmptyTypeImpl <em>Empty Type</em>}' class.
Lines 529-535 Link Here
529
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEmptyType()
794
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEmptyType()
530
	 * @generated
795
	 * @generated
531
	 */
796
	 */
532
	int EMPTY_TYPE = 4;
797
	int EMPTY_TYPE = 6;
533
798
534
	/**
799
	/**
535
	 * The feature id for the '<em><b>Id</b></em>' attribute.
800
	 * The feature id for the '<em><b>Id</b></em>' attribute.
Lines 557-563 Link Here
557
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntry()
822
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntry()
558
	 * @generated
823
	 * @generated
559
	 */
824
	 */
560
	int ENV_ENTRY = 5;
825
	int ENV_ENTRY = 7;
561
826
562
	/**
827
	/**
563
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
828
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 614-626 Link Here
614
	int ENV_ENTRY__INJECTION_TARGETS = 5;
879
	int ENV_ENTRY__INJECTION_TARGETS = 5;
615
880
616
	/**
881
	/**
882
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
883
	 * <!-- begin-user-doc -->
884
	 * <!-- end-user-doc -->
885
	 * @generated
886
	 * @ordered
887
	 */
888
	int ENV_ENTRY__LOOKUP_NAME = 6;
889
890
	/**
617
	 * The feature id for the '<em><b>Id</b></em>' attribute.
891
	 * The feature id for the '<em><b>Id</b></em>' attribute.
618
	 * <!-- begin-user-doc -->
892
	 * <!-- begin-user-doc -->
619
	 * <!-- end-user-doc -->
893
	 * <!-- end-user-doc -->
620
	 * @generated
894
	 * @generated
621
	 * @ordered
895
	 * @ordered
622
	 */
896
	 */
623
	int ENV_ENTRY__ID = 6;
897
	int ENV_ENTRY__ID = 7;
624
898
625
	/**
899
	/**
626
	 * The number of structural features of the '<em>Env Entry</em>' class.
900
	 * The number of structural features of the '<em>Env Entry</em>' class.
Lines 629-635 Link Here
629
	 * @generated
903
	 * @generated
630
	 * @ordered
904
	 * @ordered
631
	 */
905
	 */
632
	int ENV_ENTRY_FEATURE_COUNT = 7;
906
	int ENV_ENTRY_FEATURE_COUNT = 8;
633
907
634
	/**
908
	/**
635
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl <em>Icon</em>}' class.
909
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl <em>Icon</em>}' class.
Lines 639-645 Link Here
639
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIcon()
913
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIcon()
640
	 * @generated
914
	 * @generated
641
	 */
915
	 */
642
	int ICON = 6;
916
	int ICON = 8;
643
917
644
	/**
918
	/**
645
	 * The feature id for the '<em><b>Small Icon</b></em>' attribute.
919
	 * The feature id for the '<em><b>Small Icon</b></em>' attribute.
Lines 694-700 Link Here
694
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getInjectionTarget()
968
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getInjectionTarget()
695
	 * @generated
969
	 * @generated
696
	 */
970
	 */
697
	int INJECTION_TARGET = 7;
971
	int INJECTION_TARGET = 9;
698
972
699
	/**
973
	/**
700
	 * The feature id for the '<em><b>Injection Target Class</b></em>' attribute.
974
	 * The feature id for the '<em><b>Injection Target Class</b></em>' attribute.
Lines 731-737 Link Here
731
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLifecycleCallback()
1005
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLifecycleCallback()
732
	 * @generated
1006
	 * @generated
733
	 */
1007
	 */
734
	int LIFECYCLE_CALLBACK = 8;
1008
	int LIFECYCLE_CALLBACK = 10;
735
1009
736
	/**
1010
	/**
737
	 * The feature id for the '<em><b>Lifecycle Callback Class</b></em>' attribute.
1011
	 * The feature id for the '<em><b>Lifecycle Callback Class</b></em>' attribute.
Lines 768-774 Link Here
768
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getListener()
1042
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getListener()
769
	 * @generated
1043
	 * @generated
770
	 */
1044
	 */
771
	int LISTENER = 9;
1045
	int LISTENER = 11;
772
1046
773
	/**
1047
	/**
774
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1048
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 832-838 Link Here
832
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestination()
1106
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestination()
833
	 * @generated
1107
	 * @generated
834
	 */
1108
	 */
835
	int MESSAGE_DESTINATION = 10;
1109
	int MESSAGE_DESTINATION = 12;
836
1110
837
	/**
1111
	/**
838
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1112
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 905-911 Link Here
905
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationRef()
1179
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationRef()
906
	 * @generated
1180
	 * @generated
907
	 */
1181
	 */
908
	int MESSAGE_DESTINATION_REF = 11;
1182
	int MESSAGE_DESTINATION_REF = 13;
909
1183
910
	/**
1184
	/**
911
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1185
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 971-983 Link Here
971
	int MESSAGE_DESTINATION_REF__INJECTION_TARGETS = 6;
1245
	int MESSAGE_DESTINATION_REF__INJECTION_TARGETS = 6;
972
1246
973
	/**
1247
	/**
1248
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
1249
	 * <!-- begin-user-doc -->
1250
	 * <!-- end-user-doc -->
1251
	 * @generated
1252
	 * @ordered
1253
	 */
1254
	int MESSAGE_DESTINATION_REF__LOOKUP_NAME = 7;
1255
1256
	/**
974
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1257
	 * The feature id for the '<em><b>Id</b></em>' attribute.
975
	 * <!-- begin-user-doc -->
1258
	 * <!-- begin-user-doc -->
976
	 * <!-- end-user-doc -->
1259
	 * <!-- end-user-doc -->
977
	 * @generated
1260
	 * @generated
978
	 * @ordered
1261
	 * @ordered
979
	 */
1262
	 */
980
	int MESSAGE_DESTINATION_REF__ID = 7;
1263
	int MESSAGE_DESTINATION_REF__ID = 8;
981
1264
982
	/**
1265
	/**
983
	 * The number of structural features of the '<em>Message Destination Ref</em>' class.
1266
	 * The number of structural features of the '<em>Message Destination Ref</em>' class.
Lines 986-992 Link Here
986
	 * @generated
1269
	 * @generated
987
	 * @ordered
1270
	 * @ordered
988
	 */
1271
	 */
989
	int MESSAGE_DESTINATION_REF_FEATURE_COUNT = 8;
1272
	int MESSAGE_DESTINATION_REF_FEATURE_COUNT = 9;
990
1273
991
	/**
1274
	/**
992
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl <em>Param Value</em>}' class.
1275
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl <em>Param Value</em>}' class.
Lines 996-1002 Link Here
996
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getParamValue()
1279
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getParamValue()
997
	 * @generated
1280
	 * @generated
998
	 */
1281
	 */
999
	int PARAM_VALUE = 12;
1282
	int PARAM_VALUE = 14;
1000
1283
1001
	/**
1284
	/**
1002
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1285
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1051-1057 Link Here
1051
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextRef()
1334
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextRef()
1052
	 * @generated
1335
	 * @generated
1053
	 */
1336
	 */
1054
	int PERSISTENCE_CONTEXT_REF = 13;
1337
	int PERSISTENCE_CONTEXT_REF = 15;
1055
1338
1056
	/**
1339
	/**
1057
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1340
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1117-1129 Link Here
1117
	int PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS = 6;
1400
	int PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS = 6;
1118
1401
1119
	/**
1402
	/**
1403
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
1404
	 * <!-- begin-user-doc -->
1405
	 * <!-- end-user-doc -->
1406
	 * @generated
1407
	 * @ordered
1408
	 */
1409
	int PERSISTENCE_CONTEXT_REF__LOOKUP_NAME = 7;
1410
1411
	/**
1120
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1412
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1121
	 * <!-- begin-user-doc -->
1413
	 * <!-- begin-user-doc -->
1122
	 * <!-- end-user-doc -->
1414
	 * <!-- end-user-doc -->
1123
	 * @generated
1415
	 * @generated
1124
	 * @ordered
1416
	 * @ordered
1125
	 */
1417
	 */
1126
	int PERSISTENCE_CONTEXT_REF__ID = 7;
1418
	int PERSISTENCE_CONTEXT_REF__ID = 8;
1127
1419
1128
	/**
1420
	/**
1129
	 * The number of structural features of the '<em>Persistence Context Ref</em>' class.
1421
	 * The number of structural features of the '<em>Persistence Context Ref</em>' class.
Lines 1132-1138 Link Here
1132
	 * @generated
1424
	 * @generated
1133
	 * @ordered
1425
	 * @ordered
1134
	 */
1426
	 */
1135
	int PERSISTENCE_CONTEXT_REF_FEATURE_COUNT = 8;
1427
	int PERSISTENCE_CONTEXT_REF_FEATURE_COUNT = 9;
1136
1428
1137
	/**
1429
	/**
1138
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl <em>Persistence Unit Ref</em>}' class.
1430
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl <em>Persistence Unit Ref</em>}' class.
Lines 1142-1148 Link Here
1142
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceUnitRef()
1434
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceUnitRef()
1143
	 * @generated
1435
	 * @generated
1144
	 */
1436
	 */
1145
	int PERSISTENCE_UNIT_REF = 14;
1437
	int PERSISTENCE_UNIT_REF = 16;
1146
1438
1147
	/**
1439
	/**
1148
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1440
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1190-1202 Link Here
1190
	int PERSISTENCE_UNIT_REF__INJECTION_TARGETS = 4;
1482
	int PERSISTENCE_UNIT_REF__INJECTION_TARGETS = 4;
1191
1483
1192
	/**
1484
	/**
1485
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
1486
	 * <!-- begin-user-doc -->
1487
	 * <!-- end-user-doc -->
1488
	 * @generated
1489
	 * @ordered
1490
	 */
1491
	int PERSISTENCE_UNIT_REF__LOOKUP_NAME = 5;
1492
1493
	/**
1193
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1494
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1194
	 * <!-- begin-user-doc -->
1495
	 * <!-- begin-user-doc -->
1195
	 * <!-- end-user-doc -->
1496
	 * <!-- end-user-doc -->
1196
	 * @generated
1497
	 * @generated
1197
	 * @ordered
1498
	 * @ordered
1198
	 */
1499
	 */
1199
	int PERSISTENCE_UNIT_REF__ID = 5;
1500
	int PERSISTENCE_UNIT_REF__ID = 6;
1200
1501
1201
	/**
1502
	/**
1202
	 * The number of structural features of the '<em>Persistence Unit Ref</em>' class.
1503
	 * The number of structural features of the '<em>Persistence Unit Ref</em>' class.
Lines 1205-1211 Link Here
1205
	 * @generated
1506
	 * @generated
1206
	 * @ordered
1507
	 * @ordered
1207
	 */
1508
	 */
1208
	int PERSISTENCE_UNIT_REF_FEATURE_COUNT = 6;
1509
	int PERSISTENCE_UNIT_REF_FEATURE_COUNT = 7;
1209
1510
1210
	/**
1511
	/**
1211
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl <em>Port Component Ref</em>}' class.
1512
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl <em>Port Component Ref</em>}' class.
Lines 1215-1221 Link Here
1215
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPortComponentRef()
1516
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPortComponentRef()
1216
	 * @generated
1517
	 * @generated
1217
	 */
1518
	 */
1218
	int PORT_COMPONENT_REF = 15;
1519
	int PORT_COMPONENT_REF = 17;
1219
1520
1220
	/**
1521
	/**
1221
	 * The feature id for the '<em><b>Service Endpoint Interface</b></em>' attribute.
1522
	 * The feature id for the '<em><b>Service Endpoint Interface</b></em>' attribute.
Lines 1236-1276 Link Here
1236
	int PORT_COMPONENT_REF__ENABLE_MTOM = 1;
1537
	int PORT_COMPONENT_REF__ENABLE_MTOM = 1;
1237
1538
1238
	/**
1539
	/**
1239
	 * The feature id for the '<em><b>Port Component Link</b></em>' attribute.
1540
	 * The feature id for the '<em><b>Mtom Threshold</b></em>' attribute.
1240
	 * <!-- begin-user-doc -->
1541
	 * <!-- begin-user-doc -->
1241
	 * <!-- end-user-doc -->
1542
	 * <!-- end-user-doc -->
1242
	 * @generated
1543
	 * @generated
1243
	 * @ordered
1544
	 * @ordered
1244
	 */
1545
	 */
1245
	int PORT_COMPONENT_REF__PORT_COMPONENT_LINK = 2;
1546
	int PORT_COMPONENT_REF__MTOM_THRESHOLD = 2;
1246
1547
1247
	/**
1548
	/**
1248
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1549
	 * The feature id for the '<em><b>Addressing</b></em>' containment reference.
1249
	 * <!-- begin-user-doc -->
1550
	 * <!-- begin-user-doc -->
1250
	 * <!-- end-user-doc -->
1551
	 * <!-- end-user-doc -->
1251
	 * @generated
1552
	 * @generated
1252
	 * @ordered
1553
	 * @ordered
1253
	 */
1554
	 */
1254
	int PORT_COMPONENT_REF__ID = 3;
1555
	int PORT_COMPONENT_REF__ADDRESSING = 3;
1255
1556
1256
	/**
1557
	/**
1257
	 * The number of structural features of the '<em>Port Component Ref</em>' class.
1558
	 * The feature id for the '<em><b>Respect Binding</b></em>' containment reference.
1258
	 * <!-- begin-user-doc -->
1559
	 * <!-- begin-user-doc -->
1259
	 * <!-- end-user-doc -->
1560
	 * <!-- end-user-doc -->
1260
	 * @generated
1561
	 * @generated
1261
	 * @ordered
1562
	 * @ordered
1262
	 */
1563
	 */
1263
	int PORT_COMPONENT_REF_FEATURE_COUNT = 4;
1564
	int PORT_COMPONENT_REF__RESPECT_BINDING = 4;
1264
1565
1265
	/**
1566
	/**
1266
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl <em>Property Type</em>}' class.
1567
	 * The feature id for the '<em><b>Port Component Link</b></em>' attribute.
1267
	 * <!-- begin-user-doc -->
1568
	 * <!-- begin-user-doc -->
1268
	 * <!-- end-user-doc -->
1569
	 * <!-- end-user-doc -->
1269
	 * @see org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl
1270
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPropertyType()
1271
	 * @generated
1570
	 * @generated
1571
	 * @ordered
1272
	 */
1572
	 */
1273
	int PROPERTY_TYPE = 16;
1573
	int PORT_COMPONENT_REF__PORT_COMPONENT_LINK = 5;
1574
1575
	/**
1576
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1577
	 * <!-- begin-user-doc -->
1578
	 * <!-- end-user-doc -->
1579
	 * @generated
1580
	 * @ordered
1581
	 */
1582
	int PORT_COMPONENT_REF__ID = 6;
1583
1584
	/**
1585
	 * The number of structural features of the '<em>Port Component Ref</em>' class.
1586
	 * <!-- begin-user-doc -->
1587
	 * <!-- end-user-doc -->
1588
	 * @generated
1589
	 * @ordered
1590
	 */
1591
	int PORT_COMPONENT_REF_FEATURE_COUNT = 7;
1592
1593
	/**
1594
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl <em>Property Type</em>}' class.
1595
	 * <!-- begin-user-doc -->
1596
	 * <!-- end-user-doc -->
1597
	 * @see org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl
1598
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPropertyType()
1599
	 * @generated
1600
	 */
1601
	int PROPERTY_TYPE = 18;
1274
1602
1275
	/**
1603
	/**
1276
	 * The feature id for the '<em><b>Name</b></em>' attribute.
1604
	 * The feature id for the '<em><b>Name</b></em>' attribute.
Lines 1316-1322 Link Here
1316
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceEnvRef()
1644
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceEnvRef()
1317
	 * @generated
1645
	 * @generated
1318
	 */
1646
	 */
1319
	int RESOURCE_ENV_REF = 17;
1647
	int RESOURCE_ENV_REF = 19;
1320
1648
1321
	/**
1649
	/**
1322
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1650
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1364-1376 Link Here
1364
	int RESOURCE_ENV_REF__INJECTION_TARGETS = 4;
1692
	int RESOURCE_ENV_REF__INJECTION_TARGETS = 4;
1365
1693
1366
	/**
1694
	/**
1695
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
1696
	 * <!-- begin-user-doc -->
1697
	 * <!-- end-user-doc -->
1698
	 * @generated
1699
	 * @ordered
1700
	 */
1701
	int RESOURCE_ENV_REF__LOOKUP_NAME = 5;
1702
1703
	/**
1367
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1704
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1368
	 * <!-- begin-user-doc -->
1705
	 * <!-- begin-user-doc -->
1369
	 * <!-- end-user-doc -->
1706
	 * <!-- end-user-doc -->
1370
	 * @generated
1707
	 * @generated
1371
	 * @ordered
1708
	 * @ordered
1372
	 */
1709
	 */
1373
	int RESOURCE_ENV_REF__ID = 5;
1710
	int RESOURCE_ENV_REF__ID = 6;
1374
1711
1375
	/**
1712
	/**
1376
	 * The number of structural features of the '<em>Resource Env Ref</em>' class.
1713
	 * The number of structural features of the '<em>Resource Env Ref</em>' class.
Lines 1379-1385 Link Here
1379
	 * @generated
1716
	 * @generated
1380
	 * @ordered
1717
	 * @ordered
1381
	 */
1718
	 */
1382
	int RESOURCE_ENV_REF_FEATURE_COUNT = 6;
1719
	int RESOURCE_ENV_REF_FEATURE_COUNT = 7;
1383
1720
1384
	/**
1721
	/**
1385
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl <em>Resource Ref</em>}' class.
1722
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl <em>Resource Ref</em>}' class.
Lines 1389-1395 Link Here
1389
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceRef()
1726
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceRef()
1390
	 * @generated
1727
	 * @generated
1391
	 */
1728
	 */
1392
	int RESOURCE_REF = 18;
1729
	int RESOURCE_REF = 20;
1393
1730
1394
	/**
1731
	/**
1395
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1732
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1455-1467 Link Here
1455
	int RESOURCE_REF__INJECTION_TARGETS = 6;
1792
	int RESOURCE_REF__INJECTION_TARGETS = 6;
1456
1793
1457
	/**
1794
	/**
1795
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
1796
	 * <!-- begin-user-doc -->
1797
	 * <!-- end-user-doc -->
1798
	 * @generated
1799
	 * @ordered
1800
	 */
1801
	int RESOURCE_REF__LOOKUP_NAME = 7;
1802
1803
	/**
1458
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1804
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1459
	 * <!-- begin-user-doc -->
1805
	 * <!-- begin-user-doc -->
1460
	 * <!-- end-user-doc -->
1806
	 * <!-- end-user-doc -->
1461
	 * @generated
1807
	 * @generated
1462
	 * @ordered
1808
	 * @ordered
1463
	 */
1809
	 */
1464
	int RESOURCE_REF__ID = 7;
1810
	int RESOURCE_REF__ID = 8;
1465
1811
1466
	/**
1812
	/**
1467
	 * The number of structural features of the '<em>Resource Ref</em>' class.
1813
	 * The number of structural features of the '<em>Resource Ref</em>' class.
Lines 1470-1476 Link Here
1470
	 * @generated
1816
	 * @generated
1471
	 * @ordered
1817
	 * @ordered
1472
	 */
1818
	 */
1473
	int RESOURCE_REF_FEATURE_COUNT = 8;
1819
	int RESOURCE_REF_FEATURE_COUNT = 9;
1820
1821
	/**
1822
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl <em>Respect Binding Type</em>}' class.
1823
	 * <!-- begin-user-doc -->
1824
	 * <!-- end-user-doc -->
1825
	 * @see org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl
1826
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRespectBindingType()
1827
	 * @generated
1828
	 */
1829
	int RESPECT_BINDING_TYPE = 21;
1830
1831
	/**
1832
	 * The feature id for the '<em><b>Enabled</b></em>' attribute.
1833
	 * <!-- begin-user-doc -->
1834
	 * <!-- end-user-doc -->
1835
	 * @generated
1836
	 * @ordered
1837
	 */
1838
	int RESPECT_BINDING_TYPE__ENABLED = 0;
1839
1840
	/**
1841
	 * The number of structural features of the '<em>Respect Binding Type</em>' class.
1842
	 * <!-- begin-user-doc -->
1843
	 * <!-- end-user-doc -->
1844
	 * @generated
1845
	 * @ordered
1846
	 */
1847
	int RESPECT_BINDING_TYPE_FEATURE_COUNT = 1;
1474
1848
1475
	/**
1849
	/**
1476
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl <em>Run As</em>}' class.
1850
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl <em>Run As</em>}' class.
Lines 1480-1486 Link Here
1480
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRunAs()
1854
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRunAs()
1481
	 * @generated
1855
	 * @generated
1482
	 */
1856
	 */
1483
	int RUN_AS = 19;
1857
	int RUN_AS = 22;
1484
1858
1485
	/**
1859
	/**
1486
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1860
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1526-1532 Link Here
1526
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRole()
1900
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRole()
1527
	 * @generated
1901
	 * @generated
1528
	 */
1902
	 */
1529
	int SECURITY_ROLE = 20;
1903
	int SECURITY_ROLE = 23;
1530
1904
1531
	/**
1905
	/**
1532
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1906
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1572-1578 Link Here
1572
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRoleRef()
1946
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRoleRef()
1573
	 * @generated
1947
	 * @generated
1574
	 */
1948
	 */
1575
	int SECURITY_ROLE_REF = 21;
1949
	int SECURITY_ROLE_REF = 24;
1576
1950
1577
	/**
1951
	/**
1578
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
1952
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1627-1633 Link Here
1627
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRef()
2001
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRef()
1628
	 * @generated
2002
	 * @generated
1629
	 */
2003
	 */
1630
	int SERVICE_REF = 22;
2004
	int SERVICE_REF = 25;
1631
2005
1632
	/**
2006
	/**
1633
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
2007
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1756-1768 Link Here
1756
	int SERVICE_REF__INJECTION_TARGETS = 13;
2130
	int SERVICE_REF__INJECTION_TARGETS = 13;
1757
2131
1758
	/**
2132
	/**
2133
	 * The feature id for the '<em><b>Lookup Name</b></em>' attribute.
2134
	 * <!-- begin-user-doc -->
2135
	 * <!-- end-user-doc -->
2136
	 * @generated
2137
	 * @ordered
2138
	 */
2139
	int SERVICE_REF__LOOKUP_NAME = 14;
2140
2141
	/**
1759
	 * The feature id for the '<em><b>Id</b></em>' attribute.
2142
	 * The feature id for the '<em><b>Id</b></em>' attribute.
1760
	 * <!-- begin-user-doc -->
2143
	 * <!-- begin-user-doc -->
1761
	 * <!-- end-user-doc -->
2144
	 * <!-- end-user-doc -->
1762
	 * @generated
2145
	 * @generated
1763
	 * @ordered
2146
	 * @ordered
1764
	 */
2147
	 */
1765
	int SERVICE_REF__ID = 14;
2148
	int SERVICE_REF__ID = 15;
1766
2149
1767
	/**
2150
	/**
1768
	 * The number of structural features of the '<em>Service Ref</em>' class.
2151
	 * The number of structural features of the '<em>Service Ref</em>' class.
Lines 1771-1777 Link Here
1771
	 * @generated
2154
	 * @generated
1772
	 * @ordered
2155
	 * @ordered
1773
	 */
2156
	 */
1774
	int SERVICE_REF_FEATURE_COUNT = 15;
2157
	int SERVICE_REF_FEATURE_COUNT = 16;
1775
2158
1776
	/**
2159
	/**
1777
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl <em>Service Ref Handler</em>}' class.
2160
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl <em>Service Ref Handler</em>}' class.
Lines 1781-1787 Link Here
1781
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandler()
2164
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandler()
1782
	 * @generated
2165
	 * @generated
1783
	 */
2166
	 */
1784
	int SERVICE_REF_HANDLER = 23;
2167
	int SERVICE_REF_HANDLER = 26;
1785
2168
1786
	/**
2169
	/**
1787
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
2170
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
Lines 1869-2345 Link Here
1869
	 * <!-- begin-user-doc -->
2252
	 * <!-- begin-user-doc -->
1870
	 * <!-- end-user-doc -->
2253
	 * <!-- end-user-doc -->
1871
	 * @generated
2254
	 * @generated
1872
	 * @ordered
2255
	 * @ordered
2256
	 */
2257
	int SERVICE_REF_HANDLER__ID = 9;
2258
2259
	/**
2260
	 * The number of structural features of the '<em>Service Ref Handler</em>' class.
2261
	 * <!-- begin-user-doc -->
2262
	 * <!-- end-user-doc -->
2263
	 * @generated
2264
	 * @ordered
2265
	 */
2266
	int SERVICE_REF_HANDLER_FEATURE_COUNT = 10;
2267
2268
	/**
2269
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl <em>Service Ref Handler Chain</em>}' class.
2270
	 * <!-- begin-user-doc -->
2271
	 * <!-- end-user-doc -->
2272
	 * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl
2273
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChain()
2274
	 * @generated
2275
	 */
2276
	int SERVICE_REF_HANDLER_CHAIN = 27;
2277
2278
	/**
2279
	 * The feature id for the '<em><b>Service Name Pattern</b></em>' attribute.
2280
	 * <!-- begin-user-doc -->
2281
	 * <!-- end-user-doc -->
2282
	 * @generated
2283
	 * @ordered
2284
	 */
2285
	int SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN = 0;
2286
2287
	/**
2288
	 * The feature id for the '<em><b>Port Name Pattern</b></em>' attribute.
2289
	 * <!-- begin-user-doc -->
2290
	 * <!-- end-user-doc -->
2291
	 * @generated
2292
	 * @ordered
2293
	 */
2294
	int SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN = 1;
2295
2296
	/**
2297
	 * The feature id for the '<em><b>Protocol Bindings</b></em>' attribute.
2298
	 * <!-- begin-user-doc -->
2299
	 * <!-- end-user-doc -->
2300
	 * @generated
2301
	 * @ordered
2302
	 */
2303
	int SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS = 2;
2304
2305
	/**
2306
	 * The feature id for the '<em><b>Handlers</b></em>' containment reference list.
2307
	 * <!-- begin-user-doc -->
2308
	 * <!-- end-user-doc -->
2309
	 * @generated
2310
	 * @ordered
2311
	 */
2312
	int SERVICE_REF_HANDLER_CHAIN__HANDLERS = 3;
2313
2314
	/**
2315
	 * The feature id for the '<em><b>Id</b></em>' attribute.
2316
	 * <!-- begin-user-doc -->
2317
	 * <!-- end-user-doc -->
2318
	 * @generated
2319
	 * @ordered
2320
	 */
2321
	int SERVICE_REF_HANDLER_CHAIN__ID = 4;
2322
2323
	/**
2324
	 * The number of structural features of the '<em>Service Ref Handler Chain</em>' class.
2325
	 * <!-- begin-user-doc -->
2326
	 * <!-- end-user-doc -->
2327
	 * @generated
2328
	 * @ordered
2329
	 */
2330
	int SERVICE_REF_HANDLER_CHAIN_FEATURE_COUNT = 5;
2331
2332
	/**
2333
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl <em>Service Ref Handler Chains</em>}' class.
2334
	 * <!-- begin-user-doc -->
2335
	 * <!-- end-user-doc -->
2336
	 * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl
2337
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChains()
2338
	 * @generated
2339
	 */
2340
	int SERVICE_REF_HANDLER_CHAINS = 28;
2341
2342
	/**
2343
	 * The feature id for the '<em><b>Handler Chains</b></em>' containment reference list.
2344
	 * <!-- begin-user-doc -->
2345
	 * <!-- end-user-doc -->
2346
	 * @generated
2347
	 * @ordered
2348
	 */
2349
	int SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS = 0;
2350
2351
	/**
2352
	 * The feature id for the '<em><b>Id</b></em>' attribute.
2353
	 * <!-- begin-user-doc -->
2354
	 * <!-- end-user-doc -->
2355
	 * @generated
2356
	 * @ordered
2357
	 */
2358
	int SERVICE_REF_HANDLER_CHAINS__ID = 1;
2359
2360
	/**
2361
	 * The number of structural features of the '<em>Service Ref Handler Chains</em>' class.
2362
	 * <!-- begin-user-doc -->
2363
	 * <!-- end-user-doc -->
2364
	 * @generated
2365
	 * @ordered
2366
	 */
2367
	int SERVICE_REF_HANDLER_CHAINS_FEATURE_COUNT = 2;
2368
2369
	/**
2370
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl <em>Url Pattern Type</em>}' class.
2371
	 * <!-- begin-user-doc -->
2372
	 * <!-- end-user-doc -->
2373
	 * @see org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl
2374
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getUrlPatternType()
2375
	 * @generated
2376
	 */
2377
	int URL_PATTERN_TYPE = 29;
2378
2379
	/**
2380
	 * The feature id for the '<em><b>Value</b></em>' attribute.
2381
	 * <!-- begin-user-doc -->
2382
	 * <!-- end-user-doc -->
2383
	 * @generated
2384
	 * @ordered
2385
	 */
2386
	int URL_PATTERN_TYPE__VALUE = 0;
2387
2388
	/**
2389
	 * The number of structural features of the '<em>Url Pattern Type</em>' class.
2390
	 * <!-- begin-user-doc -->
2391
	 * <!-- end-user-doc -->
2392
	 * @generated
2393
	 * @ordered
2394
	 */
2395
	int URL_PATTERN_TYPE_FEATURE_COUNT = 1;
2396
2397
	/**
2398
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type</em>}' enum.
2399
	 * <!-- begin-user-doc -->
2400
	 * <!-- end-user-doc -->
2401
	 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
2402
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesType()
2403
	 * @generated
2404
	 */
2405
	int ADDRESSING_RESPONSES_TYPE = 30;
2406
2407
	/**
2408
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}' enum.
2409
	 * <!-- begin-user-doc -->
2410
	 * <!-- end-user-doc -->
2411
	 * @see org.eclipse.jst.javaee.core.EjbRefType
2412
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefType()
2413
	 * @generated
2414
	 */
2415
	int EJB_REF_TYPE = 31;
2416
2417
	/**
2418
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type</em>}' enum.
2419
	 * <!-- begin-user-doc -->
2420
	 * <!-- end-user-doc -->
2421
	 * @see org.eclipse.jst.javaee.core.GenericBooleanType
2422
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanType()
2423
	 * @generated
2424
	 */
2425
	int GENERIC_BOOLEAN_TYPE = 32;
2426
2427
	/**
2428
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type</em>}' enum.
2429
	 * <!-- begin-user-doc -->
2430
	 * <!-- end-user-doc -->
2431
	 * @see org.eclipse.jst.javaee.core.IsolationLevelType
2432
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelType()
2433
	 * @generated
2434
	 */
2435
	int ISOLATION_LEVEL_TYPE = 33;
2436
2437
	/**
2438
	 * The meta object id for the '<em>Env Entry Type</em>' data type.
2439
	 * <!-- begin-user-doc -->
2440
	 * <!-- end-user-doc -->
2441
	 * @see java.lang.String
2442
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType()
2443
	 * @generated
2444
	 */
2445
	int ENV_ENTRY_TYPE = 43;
2446
2447
	/**
2448
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}' enum.
2449
	 * <!-- begin-user-doc -->
2450
	 * <!-- end-user-doc -->
2451
	 * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType
2452
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageType()
2453
	 * @generated
2454
	 */
2455
	int MESSAGE_DESTINATION_USAGE_TYPE = 34;
2456
2457
	/**
2458
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.PersistenceContextType <em>Persistence Context Type</em>}' enum.
2459
	 * <!-- begin-user-doc -->
2460
	 * <!-- end-user-doc -->
2461
	 * @see org.eclipse.jst.javaee.core.PersistenceContextType
2462
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextType()
2463
	 * @generated
2464
	 */
2465
	int PERSISTENCE_CONTEXT_TYPE = 35;
2466
2467
	/**
2468
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.ResAuthType <em>Res Auth Type</em>}' enum.
2469
	 * <!-- begin-user-doc -->
2470
	 * <!-- end-user-doc -->
2471
	 * @see org.eclipse.jst.javaee.core.ResAuthType
2472
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthType()
2473
	 * @generated
2474
	 */
2475
	int RES_AUTH_TYPE = 36;
2476
2477
	/**
2478
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.ResSharingScopeType <em>Res Sharing Scope Type</em>}' enum.
2479
	 * <!-- begin-user-doc -->
2480
	 * <!-- end-user-doc -->
2481
	 * @see org.eclipse.jst.javaee.core.ResSharingScopeType
2482
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeType()
2483
	 * @generated
2484
	 */
2485
	int RES_SHARING_SCOPE_TYPE = 37;
2486
2487
	/**
2488
	 * The meta object id for the '<em>Addressing Responses Type Object</em>' data type.
2489
	 * <!-- begin-user-doc -->
2490
	 * <!-- end-user-doc -->
2491
	 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
2492
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesTypeObject()
2493
	 * @generated
2494
	 */
2495
	int ADDRESSING_RESPONSES_TYPE_OBJECT = 38;
2496
2497
	/**
2498
	 * The meta object id for the '<em>Dewey Version Type</em>' data type.
2499
	 * <!-- begin-user-doc -->
2500
	 * <!-- end-user-doc -->
2501
	 * @see java.lang.String
2502
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDeweyVersionType()
2503
	 * @generated
2504
	 */
2505
	int DEWEY_VERSION_TYPE = 39;
2506
2507
	/**
2508
	 * The meta object id for the '<em>EJB Link</em>' data type.
2509
	 * <!-- begin-user-doc -->
2510
	 * <!-- end-user-doc -->
2511
	 * @see java.lang.String
2512
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEJBLink()
2513
	 * @generated
2514
	 */
2515
	int EJB_LINK = 40;
2516
2517
	/**
2518
	 * The meta object id for the '<em>Ejb Ref Name Type</em>' data type.
2519
	 * <!-- begin-user-doc -->
2520
	 * <!-- end-user-doc -->
2521
	 * @see java.lang.String
2522
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefNameType()
2523
	 * @generated
2524
	 */
2525
	int EJB_REF_NAME_TYPE = 41;
2526
2527
	/**
2528
	 * The meta object id for the '<em>Ejb Ref Type Object</em>' data type.
2529
	 * <!-- begin-user-doc -->
2530
	 * <!-- end-user-doc -->
2531
	 * @see org.eclipse.jst.javaee.core.EjbRefType
2532
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefTypeObject()
2533
	 * @generated
2534
	 */
2535
	int EJB_REF_TYPE_OBJECT = 42;
2536
2537
	/**
2538
	 * The meta object id for the '<em>Fully Qualified Class Type</em>' data type.
2539
	 * <!-- begin-user-doc -->
2540
	 * <!-- end-user-doc -->
2541
	 * @see java.lang.String
2542
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getFullyQualifiedClassType()
2543
	 * @generated
1873
	 */
2544
	 */
1874
	int SERVICE_REF_HANDLER__ID = 9;
2545
	int FULLY_QUALIFIED_CLASS_TYPE = 44;
1875
2546
1876
	/**
2547
	/**
1877
	 * The number of structural features of the '<em>Service Ref Handler</em>' class.
2548
	 * The meta object id for the '<em>Generic Boolean Type Object</em>' data type.
1878
	 * <!-- begin-user-doc -->
2549
	 * <!-- begin-user-doc -->
1879
	 * <!-- end-user-doc -->
2550
	 * <!-- end-user-doc -->
2551
	 * @see org.eclipse.jst.javaee.core.GenericBooleanType
2552
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanTypeObject()
1880
	 * @generated
2553
	 * @generated
1881
	 * @ordered
1882
	 */
2554
	 */
1883
	int SERVICE_REF_HANDLER_FEATURE_COUNT = 10;
2555
	int GENERIC_BOOLEAN_TYPE_OBJECT = 45;
1884
2556
1885
	/**
2557
	/**
1886
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl <em>Service Ref Handler Chain</em>}' class.
2558
	 * The meta object id for the '<em>Home</em>' data type.
1887
	 * <!-- begin-user-doc -->
2559
	 * <!-- begin-user-doc -->
1888
	 * <!-- end-user-doc -->
2560
	 * <!-- end-user-doc -->
1889
	 * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl
2561
	 * @see java.lang.String
1890
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChain()
2562
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getHome()
1891
	 * @generated
2563
	 * @generated
1892
	 */
2564
	 */
1893
	int SERVICE_REF_HANDLER_CHAIN = 24;
2565
	int HOME = 46;
1894
2566
1895
	/**
2567
	/**
1896
	 * The feature id for the '<em><b>Service Name Pattern</b></em>' attribute.
2568
	 * The meta object id for the '<em>Isolation Level Type Object</em>' data type.
1897
	 * <!-- begin-user-doc -->
2569
	 * <!-- begin-user-doc -->
1898
	 * <!-- end-user-doc -->
2570
	 * <!-- end-user-doc -->
2571
	 * @see org.eclipse.jst.javaee.core.IsolationLevelType
2572
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelTypeObject()
1899
	 * @generated
2573
	 * @generated
1900
	 * @ordered
1901
	 */
2574
	 */
1902
	int SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN = 0;
2575
	int ISOLATION_LEVEL_TYPE_OBJECT = 47;
1903
2576
1904
	/**
2577
	/**
1905
	 * The feature id for the '<em><b>Port Name Pattern</b></em>' attribute.
2578
	 * The meta object id for the '<em>Java Identifier</em>' data type.
1906
	 * <!-- begin-user-doc -->
2579
	 * <!-- begin-user-doc -->
1907
	 * <!-- end-user-doc -->
2580
	 * <!-- end-user-doc -->
2581
	 * @see java.lang.String
2582
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaIdentifier()
1908
	 * @generated
2583
	 * @generated
1909
	 * @ordered
1910
	 */
2584
	 */
1911
	int SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN = 1;
2585
	int JAVA_IDENTIFIER = 48;
1912
2586
1913
	/**
2587
	/**
1914
	 * The feature id for the '<em><b>Protocol Bindings</b></em>' attribute.
2588
	 * The meta object id for the '<em>Java Type</em>' data type.
1915
	 * <!-- begin-user-doc -->
2589
	 * <!-- begin-user-doc -->
1916
	 * <!-- end-user-doc -->
2590
	 * <!-- end-user-doc -->
2591
	 * @see java.lang.String
2592
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaType()
1917
	 * @generated
2593
	 * @generated
1918
	 * @ordered
1919
	 */
2594
	 */
1920
	int SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS = 2;
2595
	int JAVA_TYPE = 49;
1921
2596
1922
	/**
2597
	/**
1923
	 * The feature id for the '<em><b>Handlers</b></em>' containment reference list.
2598
	 * The meta object id for the '<em>Jdbc Url Type</em>' data type.
1924
	 * <!-- begin-user-doc -->
2599
	 * <!-- begin-user-doc -->
1925
	 * <!-- end-user-doc -->
2600
	 * <!-- end-user-doc -->
2601
	 * @see java.lang.String
2602
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJdbcUrlType()
1926
	 * @generated
2603
	 * @generated
1927
	 * @ordered
1928
	 */
2604
	 */
1929
	int SERVICE_REF_HANDLER_CHAIN__HANDLERS = 3;
2605
	int JDBC_URL_TYPE = 50;
1930
2606
1931
	/**
2607
	/**
1932
	 * The feature id for the '<em><b>Id</b></em>' attribute.
2608
	 * The meta object id for the '<em>JNDI Name</em>' data type.
1933
	 * <!-- begin-user-doc -->
2609
	 * <!-- begin-user-doc -->
1934
	 * <!-- end-user-doc -->
2610
	 * <!-- end-user-doc -->
2611
	 * @see java.lang.String
2612
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJNDIName()
1935
	 * @generated
2613
	 * @generated
1936
	 * @ordered
1937
	 */
2614
	 */
1938
	int SERVICE_REF_HANDLER_CHAIN__ID = 4;
2615
	int JNDI_NAME = 51;
1939
2616
1940
	/**
2617
	/**
1941
	 * The number of structural features of the '<em>Service Ref Handler Chain</em>' class.
2618
	 * The meta object id for the '<em>Local</em>' data type.
1942
	 * <!-- begin-user-doc -->
2619
	 * <!-- begin-user-doc -->
1943
	 * <!-- end-user-doc -->
2620
	 * <!-- end-user-doc -->
2621
	 * @see java.lang.String
2622
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocal()
1944
	 * @generated
2623
	 * @generated
1945
	 * @ordered
1946
	 */
2624
	 */
1947
	int SERVICE_REF_HANDLER_CHAIN_FEATURE_COUNT = 5;
2625
	int LOCAL = 52;
1948
2626
1949
	/**
2627
	/**
1950
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl <em>Service Ref Handler Chains</em>}' class.
2628
	 * The meta object id for the '<em>Local Home</em>' data type.
1951
	 * <!-- begin-user-doc -->
2629
	 * <!-- begin-user-doc -->
1952
	 * <!-- end-user-doc -->
2630
	 * <!-- end-user-doc -->
1953
	 * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl
2631
	 * @see java.lang.String
1954
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChains()
2632
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocalHome()
1955
	 * @generated
2633
	 * @generated
1956
	 */
2634
	 */
1957
	int SERVICE_REF_HANDLER_CHAINS = 25;
2635
	int LOCAL_HOME = 53;
1958
2636
1959
	/**
2637
	/**
1960
	 * The feature id for the '<em><b>Handler Chains</b></em>' containment reference list.
2638
	 * The meta object id for the '<em>Message Destination Link</em>' data type.
1961
	 * <!-- begin-user-doc -->
2639
	 * <!-- begin-user-doc -->
1962
	 * <!-- end-user-doc -->
2640
	 * <!-- end-user-doc -->
2641
	 * @see java.lang.String
2642
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationLink()
1963
	 * @generated
2643
	 * @generated
1964
	 * @ordered
1965
	 */
2644
	 */
1966
	int SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS = 0;
2645
	int MESSAGE_DESTINATION_LINK = 54;
1967
2646
1968
	/**
2647
	/**
1969
	 * The feature id for the '<em><b>Id</b></em>' attribute.
2648
	 * The meta object id for the '<em>Message Destination Type Type</em>' data type.
1970
	 * <!-- begin-user-doc -->
2649
	 * <!-- begin-user-doc -->
1971
	 * <!-- end-user-doc -->
2650
	 * <!-- end-user-doc -->
2651
	 * @see java.lang.String
2652
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationTypeType()
1972
	 * @generated
2653
	 * @generated
1973
	 * @ordered
1974
	 */
2654
	 */
1975
	int SERVICE_REF_HANDLER_CHAINS__ID = 1;
2655
	int MESSAGE_DESTINATION_TYPE_TYPE = 55;
1976
2656
1977
	/**
2657
	/**
1978
	 * The number of structural features of the '<em>Service Ref Handler Chains</em>' class.
2658
	 * The meta object id for the '<em>Message Destination Usage Type Object</em>' data type.
1979
	 * <!-- begin-user-doc -->
2659
	 * <!-- begin-user-doc -->
1980
	 * <!-- end-user-doc -->
2660
	 * <!-- end-user-doc -->
2661
	 * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType
2662
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageTypeObject()
1981
	 * @generated
2663
	 * @generated
1982
	 * @ordered
1983
	 */
2664
	 */
1984
	int SERVICE_REF_HANDLER_CHAINS_FEATURE_COUNT = 2;
2665
	int MESSAGE_DESTINATION_USAGE_TYPE_OBJECT = 56;
1985
2666
1986
	/**
2667
	/**
1987
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl <em>Url Pattern Type</em>}' class.
2668
	 * The meta object id for the '<em>Path Type</em>' data type.
1988
	 * <!-- begin-user-doc -->
2669
	 * <!-- begin-user-doc -->
1989
	 * <!-- end-user-doc -->
2670
	 * <!-- end-user-doc -->
1990
	 * @see org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl
2671
	 * @see java.lang.String
1991
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getUrlPatternType()
2672
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPathType()
1992
	 * @generated
2673
	 * @generated
1993
	 */
2674
	 */
1994
	int URL_PATTERN_TYPE = 26;
2675
	int PATH_TYPE = 57;
1995
2676
1996
	/**
2677
	/**
1997
	 * The feature id for the '<em><b>Value</b></em>' attribute.
2678
	 * The meta object id for the '<em>Persistence Context Type Object</em>' data type.
1998
	 * <!-- begin-user-doc -->
2679
	 * <!-- begin-user-doc -->
1999
	 * <!-- end-user-doc -->
2680
	 * <!-- end-user-doc -->
2681
	 * @see org.eclipse.jst.javaee.core.PersistenceContextType
2682
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextTypeObject()
2000
	 * @generated
2683
	 * @generated
2001
	 * @ordered
2002
	 */
2684
	 */
2003
	int URL_PATTERN_TYPE__VALUE = 0;
2685
	int PERSISTENCE_CONTEXT_TYPE_OBJECT = 58;
2004
2686
2005
	/**
2687
	/**
2006
	 * The number of structural features of the '<em>Url Pattern Type</em>' class.
2688
	 * The meta object id for the '<em>Protocol Binding List Type</em>' data type.
2007
	 * <!-- begin-user-doc -->
2689
	 * <!-- begin-user-doc -->
2008
	 * <!-- end-user-doc -->
2690
	 * <!-- end-user-doc -->
2691
	 * @see java.util.List
2692
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingListType()
2009
	 * @generated
2693
	 * @generated
2010
	 * @ordered
2011
	 */
2694
	 */
2012
	int URL_PATTERN_TYPE_FEATURE_COUNT = 1;
2695
	int PROTOCOL_BINDING_LIST_TYPE = 59;
2013
2696
2014
	/**
2697
	/**
2015
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}' enum.
2698
	 * The meta object id for the '<em>Protocol Binding Type</em>' data type.
2016
	 * <!-- begin-user-doc -->
2699
	 * <!-- begin-user-doc -->
2017
	 * <!-- end-user-doc -->
2700
	 * <!-- end-user-doc -->
2018
	 * @see org.eclipse.jst.javaee.core.EjbRefType
2701
	 * @see java.lang.String
2019
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefType()
2702
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingType()
2020
	 * @generated
2703
	 * @generated
2021
	 */
2704
	 */
2022
	int EJB_REF_TYPE = 27;
2705
	int PROTOCOL_BINDING_TYPE = 60;
2023
2706
2024
	/**
2707
	/**
2025
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.EnvEntryType <em>Env Entry Type</em>}' enum.
2708
	 * The meta object id for the '<em>Protocol URI Alias Type</em>' data type.
2026
	 * <!-- begin-user-doc -->
2709
	 * <!-- begin-user-doc -->
2027
	 * <!-- end-user-doc -->
2710
	 * <!-- end-user-doc -->
2028
	 * @see org.eclipse.jst.javaee.core.EnvEntryType
2711
	 * @see java.lang.String
2029
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType()
2712
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolURIAliasType()
2030
	 * @generated
2713
	 * @generated
2031
	 */
2714
	 */
2032
	int ENV_ENTRY_TYPE = 28;
2715
	int PROTOCOL_URI_ALIAS_TYPE = 61;
2033
2716
2034
	/**
2717
	/**
2035
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}' enum.
2718
	 * The meta object id for the '<em>Qname Pattern</em>' data type.
2036
	 * <!-- begin-user-doc -->
2719
	 * <!-- begin-user-doc -->
2037
	 * <!-- end-user-doc -->
2720
	 * <!-- end-user-doc -->
2038
	 * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType
2721
	 * @see java.lang.String
2039
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageType()
2722
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getQnamePattern()
2040
	 * @generated
2723
	 * @generated
2041
	 */
2724
	 */
2042
	int MESSAGE_DESTINATION_USAGE_TYPE = 29;
2725
	int QNAME_PATTERN = 62;
2043
2726
2044
	/**
2727
	/**
2045
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.PersistenceContextType <em>Persistence Context Type</em>}' enum.
2728
	 * The meta object id for the '<em>Remote</em>' data type.
2046
	 * <!-- begin-user-doc -->
2729
	 * <!-- begin-user-doc -->
2047
	 * <!-- end-user-doc -->
2730
	 * <!-- end-user-doc -->
2048
	 * @see org.eclipse.jst.javaee.core.PersistenceContextType
2731
	 * @see java.lang.String
2049
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextType()
2732
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRemote()
2050
	 * @generated
2733
	 * @generated
2051
	 */
2734
	 */
2052
	int PERSISTENCE_CONTEXT_TYPE = 30;
2735
	int REMOTE = 63;
2053
2736
2054
	/**
2737
	/**
2055
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.ResAuthType <em>Res Auth Type</em>}' enum.
2738
	 * The meta object id for the '<em>Res Auth Type Object</em>' data type.
2056
	 * <!-- begin-user-doc -->
2739
	 * <!-- begin-user-doc -->
2057
	 * <!-- end-user-doc -->
2740
	 * <!-- end-user-doc -->
2058
	 * @see org.eclipse.jst.javaee.core.ResAuthType
2741
	 * @see org.eclipse.jst.javaee.core.ResAuthType
2059
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthType()
2742
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthTypeObject()
2060
	 * @generated
2743
	 * @generated
2061
	 */
2744
	 */
2062
	int RES_AUTH_TYPE = 31;
2745
	int RES_AUTH_TYPE_OBJECT = 64;
2063
2746
2064
	/**
2747
	/**
2065
	 * The meta object id for the '{@link org.eclipse.jst.javaee.core.ResSharingScopeType <em>Res Sharing Scope Type</em>}' enum.
2748
	 * The meta object id for the '<em>Res Sharing Scope Type Object</em>' data type.
2066
	 * <!-- begin-user-doc -->
2749
	 * <!-- begin-user-doc -->
2067
	 * <!-- end-user-doc -->
2750
	 * <!-- end-user-doc -->
2068
	 * @see org.eclipse.jst.javaee.core.ResSharingScopeType
2751
	 * @see org.eclipse.jst.javaee.core.ResSharingScopeType
2069
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeType()
2752
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeTypeObject()
2070
	 * @generated
2753
	 * @generated
2071
	 */
2754
	 */
2072
	int RES_SHARING_SCOPE_TYPE = 32;
2755
	int RES_SHARING_SCOPE_TYPE_OBJECT = 65;
2073
2756
2074
	/**
2757
	/**
2075
	 * The meta object id for the '<em>Dewey Version Type</em>' data type.
2758
	 * The meta object id for the '<em>Role Name</em>' data type.
2076
	 * <!-- begin-user-doc -->
2759
	 * <!-- begin-user-doc -->
2077
	 * <!-- end-user-doc -->
2760
	 * <!-- end-user-doc -->
2078
	 * @see java.lang.String
2761
	 * @see java.lang.String
2079
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDeweyVersionType()
2762
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRoleName()
2080
	 * @generated
2763
	 * @generated
2081
	 */
2764
	 */
2082
	int DEWEY_VERSION_TYPE = 33;
2765
	int ROLE_NAME = 66;
2083
2766
2084
	/**
2767
	/**
2085
	 * The meta object id for the '<em>EJB Link</em>' data type.
2768
	 * The meta object id for the '<em>True False Type</em>' data type.
2086
	 * <!-- begin-user-doc -->
2769
	 * <!-- begin-user-doc -->
2087
	 * <!-- end-user-doc -->
2770
	 * <!-- end-user-doc -->
2088
	 * @see java.lang.String
2771
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseType()
2089
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEJBLink()
2090
	 * @generated
2772
	 * @generated
2091
	 */
2773
	 */
2092
	int EJB_LINK = 34;
2774
	int TRUE_FALSE_TYPE = 67;
2093
2775
2094
	/**
2776
	/**
2095
	 * The meta object id for the '<em>Ejb Ref Name Type</em>' data type.
2777
	 * The meta object id for the '<em>True False Type Object</em>' data type.
2096
	 * <!-- begin-user-doc -->
2778
	 * <!-- begin-user-doc -->
2097
	 * <!-- end-user-doc -->
2779
	 * <!-- end-user-doc -->
2098
	 * @see java.lang.String
2780
	 * @see java.lang.Boolean
2099
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefNameType()
2781
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseTypeObject()
2100
	 * @generated
2782
	 * @generated
2101
	 */
2783
	 */
2102
	int EJB_REF_NAME_TYPE = 35;
2784
	int TRUE_FALSE_TYPE_OBJECT = 68;
2785
2103
2786
2104
	/**
2787
	/**
2105
	 * The meta object id for the '<em>Ejb Ref Type Object</em>' data type.
2788
	 * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.AddressingType <em>Addressing Type</em>}'.
2106
	 * <!-- begin-user-doc -->
2789
	 * <!-- begin-user-doc -->
2107
	 * <!-- end-user-doc -->
2790
	 * <!-- end-user-doc -->
2108
	 * @see org.eclipse.jst.javaee.core.EjbRefType
2791
	 * @return the meta object for class '<em>Addressing Type</em>'.
2109
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefTypeObject()
2792
	 * @see org.eclipse.jst.javaee.core.AddressingType
2110
	 * @generated
2793
	 * @generated
2111
	 */
2794
	 */
2112
	int EJB_REF_TYPE_OBJECT = 36;
2795
	EClass getAddressingType();
2113
2796
2114
	/**
2797
	/**
2115
	 * The meta object id for the '<em>Env Entry Type Object</em>' data type.
2798
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}'.
2116
	 * <!-- begin-user-doc -->
2799
	 * <!-- begin-user-doc -->
2117
	 * <!-- end-user-doc -->
2800
	 * <!-- end-user-doc -->
2118
	 * @see org.eclipse.jst.javaee.core.EnvEntryType
2801
	 * @return the meta object for the attribute '<em>Enabled</em>'.
2119
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryTypeObject()
2802
	 * @see org.eclipse.jst.javaee.core.AddressingType#isEnabled()
2803
	 * @see #getAddressingType()
2120
	 * @generated
2804
	 * @generated
2121
	 */
2805
	 */
2122
	int ENV_ENTRY_TYPE_OBJECT = 37;
2806
	EAttribute getAddressingType_Enabled();
2123
2807
2124
	/**
2808
	/**
2125
	 * The meta object id for the '<em>Fully Qualified Class Type</em>' data type.
2809
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}'.
2126
	 * <!-- begin-user-doc -->
2810
	 * <!-- begin-user-doc -->
2127
	 * <!-- end-user-doc -->
2811
	 * <!-- end-user-doc -->
2128
	 * @see java.lang.String
2812
	 * @return the meta object for the attribute '<em>Required</em>'.
2129
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getFullyQualifiedClassType()
2813
	 * @see org.eclipse.jst.javaee.core.AddressingType#isRequired()
2814
	 * @see #getAddressingType()
2130
	 * @generated
2815
	 * @generated
2131
	 */
2816
	 */
2132
	int FULLY_QUALIFIED_CLASS_TYPE = 38;
2817
	EAttribute getAddressingType_Required();
2133
2818
2134
	/**
2819
	/**
2135
	 * The meta object id for the '<em>Home</em>' data type.
2820
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}'.
2136
	 * <!-- begin-user-doc -->
2821
	 * <!-- begin-user-doc -->
2137
	 * <!-- end-user-doc -->
2822
	 * <!-- end-user-doc -->
2138
	 * @see java.lang.String
2823
	 * @return the meta object for the attribute '<em>Responses</em>'.
2139
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getHome()
2824
	 * @see org.eclipse.jst.javaee.core.AddressingType#getResponses()
2825
	 * @see #getAddressingType()
2140
	 * @generated
2826
	 * @generated
2141
	 */
2827
	 */
2142
	int HOME = 39;
2828
	EAttribute getAddressingType_Responses();
2143
2829
2144
	/**
2830
	/**
2145
	 * The meta object id for the '<em>Java Identifier</em>' data type.
2831
	 * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.DataSourceType <em>Data Source Type</em>}'.
2146
	 * <!-- begin-user-doc -->
2832
	 * <!-- begin-user-doc -->
2147
	 * <!-- end-user-doc -->
2833
	 * <!-- end-user-doc -->
2148
	 * @see java.lang.String
2834
	 * @return the meta object for class '<em>Data Source Type</em>'.
2149
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaIdentifier()
2835
	 * @see org.eclipse.jst.javaee.core.DataSourceType
2150
	 * @generated
2836
	 * @generated
2151
	 */
2837
	 */
2152
	int JAVA_IDENTIFIER = 40;
2838
	EClass getDataSourceType();
2153
2839
2154
	/**
2840
	/**
2155
	 * The meta object id for the '<em>Java Type</em>' data type.
2841
	 * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.core.DataSourceType#getDescription <em>Description</em>}'.
2156
	 * <!-- begin-user-doc -->
2842
	 * <!-- begin-user-doc -->
2157
	 * <!-- end-user-doc -->
2843
	 * <!-- end-user-doc -->
2158
	 * @see java.lang.String
2844
	 * @return the meta object for the containment reference '<em>Description</em>'.
2159
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaType()
2845
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getDescription()
2846
	 * @see #getDataSourceType()
2160
	 * @generated
2847
	 * @generated
2161
	 */
2848
	 */
2162
	int JAVA_TYPE = 41;
2849
	EReference getDataSourceType_Description();
2163
2850
2164
	/**
2851
	/**
2165
	 * The meta object id for the '<em>JNDI Name</em>' data type.
2852
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getName <em>Name</em>}'.
2166
	 * <!-- begin-user-doc -->
2853
	 * <!-- begin-user-doc -->
2167
	 * <!-- end-user-doc -->
2854
	 * <!-- end-user-doc -->
2168
	 * @see java.lang.String
2855
	 * @return the meta object for the attribute '<em>Name</em>'.
2169
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJNDIName()
2856
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getName()
2857
	 * @see #getDataSourceType()
2170
	 * @generated
2858
	 * @generated
2171
	 */
2859
	 */
2172
	int JNDI_NAME = 42;
2860
	EAttribute getDataSourceType_Name();
2173
2861
2174
	/**
2862
	/**
2175
	 * The meta object id for the '<em>Local</em>' data type.
2863
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getClassName <em>Class Name</em>}'.
2176
	 * <!-- begin-user-doc -->
2864
	 * <!-- begin-user-doc -->
2177
	 * <!-- end-user-doc -->
2865
	 * <!-- end-user-doc -->
2178
	 * @see java.lang.String
2866
	 * @return the meta object for the attribute '<em>Class Name</em>'.
2179
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocal()
2867
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getClassName()
2868
	 * @see #getDataSourceType()
2180
	 * @generated
2869
	 * @generated
2181
	 */
2870
	 */
2182
	int LOCAL = 43;
2871
	EAttribute getDataSourceType_ClassName();
2183
2872
2184
	/**
2873
	/**
2185
	 * The meta object id for the '<em>Local Home</em>' data type.
2874
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getServerName <em>Server Name</em>}'.
2186
	 * <!-- begin-user-doc -->
2875
	 * <!-- begin-user-doc -->
2187
	 * <!-- end-user-doc -->
2876
	 * <!-- end-user-doc -->
2188
	 * @see java.lang.String
2877
	 * @return the meta object for the attribute '<em>Server Name</em>'.
2189
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocalHome()
2878
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getServerName()
2879
	 * @see #getDataSourceType()
2190
	 * @generated
2880
	 * @generated
2191
	 */
2881
	 */
2192
	int LOCAL_HOME = 44;
2882
	EAttribute getDataSourceType_ServerName();
2193
2883
2194
	/**
2884
	/**
2195
	 * The meta object id for the '<em>Message Destination Link</em>' data type.
2885
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getPortNumber <em>Port Number</em>}'.
2196
	 * <!-- begin-user-doc -->
2886
	 * <!-- begin-user-doc -->
2197
	 * <!-- end-user-doc -->
2887
	 * <!-- end-user-doc -->
2198
	 * @see java.lang.String
2888
	 * @return the meta object for the attribute '<em>Port Number</em>'.
2199
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationLink()
2889
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getPortNumber()
2890
	 * @see #getDataSourceType()
2200
	 * @generated
2891
	 * @generated
2201
	 */
2892
	 */
2202
	int MESSAGE_DESTINATION_LINK = 45;
2893
	EAttribute getDataSourceType_PortNumber();
2203
2894
2204
	/**
2895
	/**
2205
	 * The meta object id for the '<em>Message Destination Type Type</em>' data type.
2896
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName <em>Database Name</em>}'.
2206
	 * <!-- begin-user-doc -->
2897
	 * <!-- begin-user-doc -->
2207
	 * <!-- end-user-doc -->
2898
	 * <!-- end-user-doc -->
2208
	 * @see java.lang.String
2899
	 * @return the meta object for the attribute '<em>Database Name</em>'.
2209
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationTypeType()
2900
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName()
2901
	 * @see #getDataSourceType()
2210
	 * @generated
2902
	 * @generated
2211
	 */
2903
	 */
2212
	int MESSAGE_DESTINATION_TYPE_TYPE = 46;
2904
	EAttribute getDataSourceType_DatabaseName();
2213
2905
2214
	/**
2906
	/**
2215
	 * The meta object id for the '<em>Message Destination Usage Type Object</em>' data type.
2907
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getUrl <em>Url</em>}'.
2216
	 * <!-- begin-user-doc -->
2908
	 * <!-- begin-user-doc -->
2217
	 * <!-- end-user-doc -->
2909
	 * <!-- end-user-doc -->
2218
	 * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType
2910
	 * @return the meta object for the attribute '<em>Url</em>'.
2219
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageTypeObject()
2911
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getUrl()
2912
	 * @see #getDataSourceType()
2220
	 * @generated
2913
	 * @generated
2221
	 */
2914
	 */
2222
	int MESSAGE_DESTINATION_USAGE_TYPE_OBJECT = 47;
2915
	EAttribute getDataSourceType_Url();
2223
2916
2224
	/**
2917
	/**
2225
	 * The meta object id for the '<em>Path Type</em>' data type.
2918
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getUser <em>User</em>}'.
2226
	 * <!-- begin-user-doc -->
2919
	 * <!-- begin-user-doc -->
2227
	 * <!-- end-user-doc -->
2920
	 * <!-- end-user-doc -->
2228
	 * @see java.lang.String
2921
	 * @return the meta object for the attribute '<em>User</em>'.
2229
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPathType()
2922
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getUser()
2923
	 * @see #getDataSourceType()
2230
	 * @generated
2924
	 * @generated
2231
	 */
2925
	 */
2232
	int PATH_TYPE = 48;
2926
	EAttribute getDataSourceType_User();
2233
2927
2234
	/**
2928
	/**
2235
	 * The meta object id for the '<em>Persistence Context Type Object</em>' data type.
2929
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getPassword <em>Password</em>}'.
2236
	 * <!-- begin-user-doc -->
2930
	 * <!-- begin-user-doc -->
2237
	 * <!-- end-user-doc -->
2931
	 * <!-- end-user-doc -->
2238
	 * @see org.eclipse.jst.javaee.core.PersistenceContextType
2932
	 * @return the meta object for the attribute '<em>Password</em>'.
2239
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextTypeObject()
2933
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getPassword()
2934
	 * @see #getDataSourceType()
2240
	 * @generated
2935
	 * @generated
2241
	 */
2936
	 */
2242
	int PERSISTENCE_CONTEXT_TYPE_OBJECT = 49;
2937
	EAttribute getDataSourceType_Password();
2243
2938
2244
	/**
2939
	/**
2245
	 * The meta object id for the '<em>Remote</em>' data type.
2940
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.DataSourceType#getProperty <em>Property</em>}'.
2246
	 * <!-- begin-user-doc -->
2941
	 * <!-- begin-user-doc -->
2247
	 * <!-- end-user-doc -->
2942
	 * <!-- end-user-doc -->
2248
	 * @see java.lang.String
2943
	 * @return the meta object for the containment reference list '<em>Property</em>'.
2249
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRemote()
2944
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getProperty()
2945
	 * @see #getDataSourceType()
2250
	 * @generated
2946
	 * @generated
2251
	 */
2947
	 */
2252
	int REMOTE = 50;
2948
	EReference getDataSourceType_Property();
2253
2949
2254
	/**
2950
	/**
2255
	 * The meta object id for the '<em>Res Auth Type Object</em>' data type.
2951
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout <em>Login Timeout</em>}'.
2256
	 * <!-- begin-user-doc -->
2952
	 * <!-- begin-user-doc -->
2257
	 * <!-- end-user-doc -->
2953
	 * <!-- end-user-doc -->
2258
	 * @see org.eclipse.jst.javaee.core.ResAuthType
2954
	 * @return the meta object for the attribute '<em>Login Timeout</em>'.
2259
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthTypeObject()
2955
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout()
2956
	 * @see #getDataSourceType()
2260
	 * @generated
2957
	 * @generated
2261
	 */
2958
	 */
2262
	int RES_AUTH_TYPE_OBJECT = 51;
2959
	EAttribute getDataSourceType_LoginTimeout();
2263
2960
2264
	/**
2961
	/**
2265
	 * The meta object id for the '<em>Res Sharing Scope Type Object</em>' data type.
2962
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}'.
2266
	 * <!-- begin-user-doc -->
2963
	 * <!-- begin-user-doc -->
2267
	 * <!-- end-user-doc -->
2964
	 * <!-- end-user-doc -->
2268
	 * @see org.eclipse.jst.javaee.core.ResSharingScopeType
2965
	 * @return the meta object for the attribute '<em>Transactional</em>'.
2269
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeTypeObject()
2966
	 * @see org.eclipse.jst.javaee.core.DataSourceType#isTransactional()
2967
	 * @see #getDataSourceType()
2270
	 * @generated
2968
	 * @generated
2271
	 */
2969
	 */
2272
	int RES_SHARING_SCOPE_TYPE_OBJECT = 52;
2970
	EAttribute getDataSourceType_Transactional();
2273
2971
2274
	/**
2972
	/**
2275
	 * The meta object id for the '<em>Role Name</em>' data type.
2973
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}'.
2276
	 * <!-- begin-user-doc -->
2974
	 * <!-- begin-user-doc -->
2277
	 * <!-- end-user-doc -->
2975
	 * <!-- end-user-doc -->
2278
	 * @see java.lang.String
2976
	 * @return the meta object for the attribute '<em>Isolation Level</em>'.
2279
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRoleName()
2977
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel()
2978
	 * @see #getDataSourceType()
2280
	 * @generated
2979
	 * @generated
2281
	 */
2980
	 */
2282
	int ROLE_NAME = 53;
2981
	EAttribute getDataSourceType_IsolationLevel();
2283
2982
2284
	/**
2983
	/**
2285
	 * The meta object id for the '<em>Service Ref Protocol Binding List Type</em>' data type.
2984
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize <em>Initial Pool Size</em>}'.
2286
	 * <!-- begin-user-doc -->
2985
	 * <!-- begin-user-doc -->
2287
	 * <!-- end-user-doc -->
2986
	 * <!-- end-user-doc -->
2288
	 * @see java.util.List
2987
	 * @return the meta object for the attribute '<em>Initial Pool Size</em>'.
2289
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefProtocolBindingListType()
2988
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize()
2989
	 * @see #getDataSourceType()
2290
	 * @generated
2990
	 * @generated
2291
	 */
2991
	 */
2292
	int SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE = 54;
2992
	EAttribute getDataSourceType_InitialPoolSize();
2293
2993
2294
	/**
2994
	/**
2295
	 * The meta object id for the '<em>Service Ref Protocol Binding Type</em>' data type.
2995
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize <em>Max Pool Size</em>}'.
2296
	 * <!-- begin-user-doc -->
2996
	 * <!-- begin-user-doc -->
2297
	 * <!-- end-user-doc -->
2997
	 * <!-- end-user-doc -->
2298
	 * @see java.lang.String
2998
	 * @return the meta object for the attribute '<em>Max Pool Size</em>'.
2299
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefProtocolBindingType()
2999
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize()
3000
	 * @see #getDataSourceType()
2300
	 * @generated
3001
	 * @generated
2301
	 */
3002
	 */
2302
	int SERVICE_REF_PROTOCOL_BINDING_TYPE = 55;
3003
	EAttribute getDataSourceType_MaxPoolSize();
2303
3004
2304
	/**
3005
	/**
2305
	 * The meta object id for the '<em>Service Ref Protocol URI Alias Type</em>' data type.
3006
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize <em>Min Pool Size</em>}'.
2306
	 * <!-- begin-user-doc -->
3007
	 * <!-- begin-user-doc -->
2307
	 * <!-- end-user-doc -->
3008
	 * <!-- end-user-doc -->
2308
	 * @see java.lang.String
3009
	 * @return the meta object for the attribute '<em>Min Pool Size</em>'.
2309
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefProtocolURIAliasType()
3010
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize()
3011
	 * @see #getDataSourceType()
2310
	 * @generated
3012
	 * @generated
2311
	 */
3013
	 */
2312
	int SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE = 56;
3014
	EAttribute getDataSourceType_MinPoolSize();
2313
3015
2314
	/**
3016
	/**
2315
	 * The meta object id for the '<em>Service Ref Qname Pattern</em>' data type.
3017
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime <em>Max Idle Time</em>}'.
2316
	 * <!-- begin-user-doc -->
3018
	 * <!-- begin-user-doc -->
2317
	 * <!-- end-user-doc -->
3019
	 * <!-- end-user-doc -->
2318
	 * @see java.lang.String
3020
	 * @return the meta object for the attribute '<em>Max Idle Time</em>'.
2319
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefQnamePattern()
3021
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime()
3022
	 * @see #getDataSourceType()
2320
	 * @generated
3023
	 * @generated
2321
	 */
3024
	 */
2322
	int SERVICE_REF_QNAME_PATTERN = 57;
3025
	EAttribute getDataSourceType_MaxIdleTime();
2323
3026
2324
	/**
3027
	/**
2325
	 * The meta object id for the '<em>True False Type</em>' data type.
3028
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements <em>Max Statements</em>}'.
2326
	 * <!-- begin-user-doc -->
3029
	 * <!-- begin-user-doc -->
2327
	 * <!-- end-user-doc -->
3030
	 * <!-- end-user-doc -->
2328
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseType()
3031
	 * @return the meta object for the attribute '<em>Max Statements</em>'.
3032
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements()
3033
	 * @see #getDataSourceType()
2329
	 * @generated
3034
	 * @generated
2330
	 */
3035
	 */
2331
	int TRUE_FALSE_TYPE = 58;
3036
	EAttribute getDataSourceType_MaxStatements();
2332
3037
2333
	/**
3038
	/**
2334
	 * The meta object id for the '<em>True False Type Object</em>' data type.
3039
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getId <em>Id</em>}'.
2335
	 * <!-- begin-user-doc -->
3040
	 * <!-- begin-user-doc -->
2336
	 * <!-- end-user-doc -->
3041
	 * <!-- end-user-doc -->
2337
	 * @see java.lang.Boolean
3042
	 * @return the meta object for the attribute '<em>Id</em>'.
2338
	 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseTypeObject()
3043
	 * @see org.eclipse.jst.javaee.core.DataSourceType#getId()
3044
	 * @see #getDataSourceType()
2339
	 * @generated
3045
	 * @generated
2340
	 */
3046
	 */
2341
	int TRUE_FALSE_TYPE_OBJECT = 59;
3047
	EAttribute getDataSourceType_Id();
2342
2343
3048
2344
	/**
3049
	/**
2345
	 * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.Description <em>Description</em>}'.
3050
	 * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.Description <em>Description</em>}'.
Lines 2504-2509 Link Here
2504
	EReference getEjbLocalRef_InjectionTargets();
3209
	EReference getEjbLocalRef_InjectionTargets();
2505
3210
2506
	/**
3211
	/**
3212
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName <em>Lookup Name</em>}'.
3213
	 * <!-- begin-user-doc -->
3214
	 * <!-- end-user-doc -->
3215
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
3216
	 * @see org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName()
3217
	 * @see #getEjbLocalRef()
3218
	 * @generated
3219
	 */
3220
	EAttribute getEjbLocalRef_LookupName();
3221
3222
	/**
2507
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getId <em>Id</em>}'.
3223
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getId <em>Id</em>}'.
2508
	 * <!-- begin-user-doc -->
3224
	 * <!-- begin-user-doc -->
2509
	 * <!-- end-user-doc -->
3225
	 * <!-- end-user-doc -->
Lines 2613-2618 Link Here
2613
	EReference getEjbRef_InjectionTargets();
3329
	EReference getEjbRef_InjectionTargets();
2614
3330
2615
	/**
3331
	/**
3332
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getLookupName <em>Lookup Name</em>}'.
3333
	 * <!-- begin-user-doc -->
3334
	 * <!-- end-user-doc -->
3335
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
3336
	 * @see org.eclipse.jst.javaee.core.EjbRef#getLookupName()
3337
	 * @see #getEjbRef()
3338
	 * @generated
3339
	 */
3340
	EAttribute getEjbRef_LookupName();
3341
3342
	/**
2616
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getId <em>Id</em>}'.
3343
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getId <em>Id</em>}'.
2617
	 * <!-- begin-user-doc -->
3344
	 * <!-- begin-user-doc -->
2618
	 * <!-- end-user-doc -->
3345
	 * <!-- end-user-doc -->
Lines 2721-2726 Link Here
2721
	EReference getEnvEntry_InjectionTargets();
3448
	EReference getEnvEntry_InjectionTargets();
2722
3449
2723
	/**
3450
	/**
3451
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getLookupName <em>Lookup Name</em>}'.
3452
	 * <!-- begin-user-doc -->
3453
	 * <!-- end-user-doc -->
3454
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
3455
	 * @see org.eclipse.jst.javaee.core.EnvEntry#getLookupName()
3456
	 * @see #getEnvEntry()
3457
	 * @generated
3458
	 */
3459
	EAttribute getEnvEntry_LookupName();
3460
3461
	/**
2724
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getId <em>Id</em>}'.
3462
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getId <em>Id</em>}'.
2725
	 * <!-- begin-user-doc -->
3463
	 * <!-- begin-user-doc -->
2726
	 * <!-- end-user-doc -->
3464
	 * <!-- end-user-doc -->
Lines 3078-3083 Link Here
3078
	EReference getMessageDestinationRef_InjectionTargets();
3816
	EReference getMessageDestinationRef_InjectionTargets();
3079
3817
3080
	/**
3818
	/**
3819
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName <em>Lookup Name</em>}'.
3820
	 * <!-- begin-user-doc -->
3821
	 * <!-- end-user-doc -->
3822
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
3823
	 * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName()
3824
	 * @see #getMessageDestinationRef()
3825
	 * @generated
3826
	 */
3827
	EAttribute getMessageDestinationRef_LookupName();
3828
3829
	/**
3081
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getId <em>Id</em>}'.
3830
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getId <em>Id</em>}'.
3082
	 * <!-- begin-user-doc -->
3831
	 * <!-- begin-user-doc -->
3083
	 * <!-- end-user-doc -->
3832
	 * <!-- end-user-doc -->
Lines 3230-3235 Link Here
3230
	EReference getPersistenceContextRef_InjectionTargets();
3979
	EReference getPersistenceContextRef_InjectionTargets();
3231
3980
3232
	/**
3981
	/**
3982
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getLookupName <em>Lookup Name</em>}'.
3983
	 * <!-- begin-user-doc -->
3984
	 * <!-- end-user-doc -->
3985
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
3986
	 * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getLookupName()
3987
	 * @see #getPersistenceContextRef()
3988
	 * @generated
3989
	 */
3990
	EAttribute getPersistenceContextRef_LookupName();
3991
3992
	/**
3233
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId <em>Id</em>}'.
3993
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId <em>Id</em>}'.
3234
	 * <!-- begin-user-doc -->
3994
	 * <!-- begin-user-doc -->
3235
	 * <!-- end-user-doc -->
3995
	 * <!-- end-user-doc -->
Lines 3306-3311 Link Here
3306
	EReference getPersistenceUnitRef_InjectionTargets();
4066
	EReference getPersistenceUnitRef_InjectionTargets();
3307
4067
3308
	/**
4068
	/**
4069
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getLookupName <em>Lookup Name</em>}'.
4070
	 * <!-- begin-user-doc -->
4071
	 * <!-- end-user-doc -->
4072
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
4073
	 * @see org.eclipse.jst.javaee.core.PersistenceUnitRef#getLookupName()
4074
	 * @see #getPersistenceUnitRef()
4075
	 * @generated
4076
	 */
4077
	EAttribute getPersistenceUnitRef_LookupName();
4078
4079
	/**
3309
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId <em>Id</em>}'.
4080
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId <em>Id</em>}'.
3310
	 * <!-- begin-user-doc -->
4081
	 * <!-- begin-user-doc -->
3311
	 * <!-- end-user-doc -->
4082
	 * <!-- end-user-doc -->
Lines 3330-3352 Link Here
3330
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface <em>Service Endpoint Interface</em>}'.
4101
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface <em>Service Endpoint Interface</em>}'.
3331
	 * <!-- begin-user-doc -->
4102
	 * <!-- begin-user-doc -->
3332
	 * <!-- end-user-doc -->
4103
	 * <!-- end-user-doc -->
3333
	 * @return the meta object for the attribute '<em>Service Endpoint Interface</em>'.
4104
	 * @return the meta object for the attribute '<em>Service Endpoint Interface</em>'.
3334
	 * @see org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface()
4105
	 * @see org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface()
4106
	 * @see #getPortComponentRef()
4107
	 * @generated
4108
	 */
4109
	EAttribute getPortComponentRef_ServiceEndpointInterface();
4110
4111
	/**
4112
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}'.
4113
	 * <!-- begin-user-doc -->
4114
	 * <!-- end-user-doc -->
4115
	 * @return the meta object for the attribute '<em>Enable Mtom</em>'.
4116
	 * @see org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom()
4117
	 * @see #getPortComponentRef()
4118
	 * @generated
4119
	 */
4120
	EAttribute getPortComponentRef_EnableMtom();
4121
4122
	/**
4123
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold <em>Mtom Threshold</em>}'.
4124
	 * <!-- begin-user-doc -->
4125
	 * <!-- end-user-doc -->
4126
	 * @return the meta object for the attribute '<em>Mtom Threshold</em>'.
4127
	 * @see org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold()
4128
	 * @see #getPortComponentRef()
4129
	 * @generated
4130
	 */
4131
	EAttribute getPortComponentRef_MtomThreshold();
4132
4133
	/**
4134
	 * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.core.PortComponentRef#getAddressing <em>Addressing</em>}'.
4135
	 * <!-- begin-user-doc -->
4136
	 * <!-- end-user-doc -->
4137
	 * @return the meta object for the containment reference '<em>Addressing</em>'.
4138
	 * @see org.eclipse.jst.javaee.core.PortComponentRef#getAddressing()
3335
	 * @see #getPortComponentRef()
4139
	 * @see #getPortComponentRef()
3336
	 * @generated
4140
	 * @generated
3337
	 */
4141
	 */
3338
	EAttribute getPortComponentRef_ServiceEndpointInterface();
4142
	EReference getPortComponentRef_Addressing();
3339
4143
3340
	/**
4144
	/**
3341
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}'.
4145
	 * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding <em>Respect Binding</em>}'.
3342
	 * <!-- begin-user-doc -->
4146
	 * <!-- begin-user-doc -->
3343
	 * <!-- end-user-doc -->
4147
	 * <!-- end-user-doc -->
3344
	 * @return the meta object for the attribute '<em>Enable Mtom</em>'.
4148
	 * @return the meta object for the containment reference '<em>Respect Binding</em>'.
3345
	 * @see org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom()
4149
	 * @see org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding()
3346
	 * @see #getPortComponentRef()
4150
	 * @see #getPortComponentRef()
3347
	 * @generated
4151
	 * @generated
3348
	 */
4152
	 */
3349
	EAttribute getPortComponentRef_EnableMtom();
4153
	EReference getPortComponentRef_RespectBinding();
3350
4154
3351
	/**
4155
	/**
3352
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink <em>Port Component Link</em>}'.
4156
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink <em>Port Component Link</em>}'.
Lines 3479-3484 Link Here
3479
	EReference getResourceEnvRef_InjectionTargets();
4283
	EReference getResourceEnvRef_InjectionTargets();
3480
4284
3481
	/**
4285
	/**
4286
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName <em>Lookup Name</em>}'.
4287
	 * <!-- begin-user-doc -->
4288
	 * <!-- end-user-doc -->
4289
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
4290
	 * @see org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName()
4291
	 * @see #getResourceEnvRef()
4292
	 * @generated
4293
	 */
4294
	EAttribute getResourceEnvRef_LookupName();
4295
4296
	/**
3482
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getId <em>Id</em>}'.
4297
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getId <em>Id</em>}'.
3483
	 * <!-- begin-user-doc -->
4298
	 * <!-- begin-user-doc -->
3484
	 * <!-- end-user-doc -->
4299
	 * <!-- end-user-doc -->
Lines 3577-3582 Link Here
3577
	EReference getResourceRef_InjectionTargets();
4392
	EReference getResourceRef_InjectionTargets();
3578
4393
3579
	/**
4394
	/**
4395
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getLookupName <em>Lookup Name</em>}'.
4396
	 * <!-- begin-user-doc -->
4397
	 * <!-- end-user-doc -->
4398
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
4399
	 * @see org.eclipse.jst.javaee.core.ResourceRef#getLookupName()
4400
	 * @see #getResourceRef()
4401
	 * @generated
4402
	 */
4403
	EAttribute getResourceRef_LookupName();
4404
4405
	/**
3580
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getId <em>Id</em>}'.
4406
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getId <em>Id</em>}'.
3581
	 * <!-- begin-user-doc -->
4407
	 * <!-- begin-user-doc -->
3582
	 * <!-- end-user-doc -->
4408
	 * <!-- end-user-doc -->
Lines 3588-3593 Link Here
3588
	EAttribute getResourceRef_Id();
4414
	EAttribute getResourceRef_Id();
3589
4415
3590
	/**
4416
	/**
4417
	 * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.RespectBindingType <em>Respect Binding Type</em>}'.
4418
	 * <!-- begin-user-doc -->
4419
	 * <!-- end-user-doc -->
4420
	 * @return the meta object for class '<em>Respect Binding Type</em>'.
4421
	 * @see org.eclipse.jst.javaee.core.RespectBindingType
4422
	 * @generated
4423
	 */
4424
	EClass getRespectBindingType();
4425
4426
	/**
4427
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}'.
4428
	 * <!-- begin-user-doc -->
4429
	 * <!-- end-user-doc -->
4430
	 * @return the meta object for the attribute '<em>Enabled</em>'.
4431
	 * @see org.eclipse.jst.javaee.core.RespectBindingType#isEnabled()
4432
	 * @see #getRespectBindingType()
4433
	 * @generated
4434
	 */
4435
	EAttribute getRespectBindingType_Enabled();
4436
4437
	/**
3591
	 * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.RunAs <em>Run As</em>}'.
4438
	 * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.RunAs <em>Run As</em>}'.
3592
	 * <!-- begin-user-doc -->
4439
	 * <!-- begin-user-doc -->
3593
	 * <!-- end-user-doc -->
4440
	 * <!-- end-user-doc -->
Lines 3892-3897 Link Here
3892
	EReference getServiceRef_InjectionTargets();
4739
	EReference getServiceRef_InjectionTargets();
3893
4740
3894
	/**
4741
	/**
4742
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getLookupName <em>Lookup Name</em>}'.
4743
	 * <!-- begin-user-doc -->
4744
	 * <!-- end-user-doc -->
4745
	 * @return the meta object for the attribute '<em>Lookup Name</em>'.
4746
	 * @see org.eclipse.jst.javaee.core.ServiceRef#getLookupName()
4747
	 * @see #getServiceRef()
4748
	 * @generated
4749
	 */
4750
	EAttribute getServiceRef_LookupName();
4751
4752
	/**
3895
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getId <em>Id</em>}'.
4753
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getId <em>Id</em>}'.
3896
	 * <!-- begin-user-doc -->
4754
	 * <!-- begin-user-doc -->
3897
	 * <!-- end-user-doc -->
4755
	 * <!-- end-user-doc -->
Lines 4141-4146 Link Here
4141
	EAttribute getUrlPatternType_Value();
4999
	EAttribute getUrlPatternType_Value();
4142
5000
4143
	/**
5001
	/**
5002
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type</em>}'.
5003
	 * <!-- begin-user-doc -->
5004
	 * <!-- end-user-doc -->
5005
	 * @return the meta object for enum '<em>Addressing Responses Type</em>'.
5006
	 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
5007
	 * @generated
5008
	 */
5009
	EEnum getAddressingResponsesType();
5010
5011
	/**
4144
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}'.
5012
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}'.
4145
	 * <!-- begin-user-doc -->
5013
	 * <!-- begin-user-doc -->
4146
	 * <!-- end-user-doc -->
5014
	 * <!-- end-user-doc -->
Lines 4151-4164 Link Here
4151
	EEnum getEjbRefType();
5019
	EEnum getEjbRefType();
4152
5020
4153
	/**
5021
	/**
4154
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.EnvEntryType <em>Env Entry Type</em>}'.
5022
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type</em>}'.
5023
	 * <!-- begin-user-doc -->
5024
	 * <!-- end-user-doc -->
5025
	 * @return the meta object for enum '<em>Generic Boolean Type</em>'.
5026
	 * @see org.eclipse.jst.javaee.core.GenericBooleanType
5027
	 * @generated
5028
	 */
5029
	EEnum getGenericBooleanType();
5030
5031
	/**
5032
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type</em>}'.
5033
	 * <!-- begin-user-doc -->
5034
	 * <!-- end-user-doc -->
5035
	 * @return the meta object for enum '<em>Isolation Level Type</em>'.
5036
	 * @see org.eclipse.jst.javaee.core.IsolationLevelType
5037
	 * @generated
5038
	 */
5039
	EEnum getIsolationLevelType();
5040
5041
	/**
5042
	 * Returns the meta object for data type '{@link java.lang.String <em>Env Entry Type</em>}'.
4155
	 * <!-- begin-user-doc -->
5043
	 * <!-- begin-user-doc -->
4156
	 * <!-- end-user-doc -->
5044
	 * <!-- end-user-doc -->
4157
	 * @return the meta object for enum '<em>Env Entry Type</em>'.
5045
	 * @return the meta object for data type '<em>Env Entry Type</em>'.
4158
	 * @see org.eclipse.jst.javaee.core.EnvEntryType
5046
	 * @see java.lang.String
4159
	 * @generated
5047
	 * @generated
4160
	 */
5048
	 */
4161
	EEnum getEnvEntryType();
5049
	EDataType getEnvEntryType();
4162
5050
4163
	/**
5051
	/**
4164
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}'.
5052
	 * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}'.
Lines 4201-4206 Link Here
4201
	EEnum getResSharingScopeType();
5089
	EEnum getResSharingScopeType();
4202
5090
4203
	/**
5091
	/**
5092
	 * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type Object</em>}'.
5093
	 * <!-- begin-user-doc -->
5094
	 * <!-- end-user-doc -->
5095
	 * @return the meta object for data type '<em>Addressing Responses Type Object</em>'.
5096
	 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
5097
	 * @generated
5098
	 */
5099
	EDataType getAddressingResponsesTypeObject();
5100
5101
	/**
4204
	 * Returns the meta object for data type '{@link java.lang.String <em>Dewey Version Type</em>}'.
5102
	 * Returns the meta object for data type '{@link java.lang.String <em>Dewey Version Type</em>}'.
4205
	 * <!-- begin-user-doc -->
5103
	 * <!-- begin-user-doc -->
4206
	 * <!-- end-user-doc -->
5104
	 * <!-- end-user-doc -->
Lines 4241-4264 Link Here
4241
	EDataType getEjbRefTypeObject();
5139
	EDataType getEjbRefTypeObject();
4242
5140
4243
	/**
5141
	/**
4244
	 * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.EnvEntryType <em>Env Entry Type Object</em>}'.
5142
	 * Returns the meta object for data type '{@link java.lang.String <em>Fully Qualified Class Type</em>}'.
4245
	 * <!-- begin-user-doc -->
5143
	 * <!-- begin-user-doc -->
4246
	 * <!-- end-user-doc -->
5144
	 * <!-- end-user-doc -->
4247
	 * @return the meta object for data type '<em>Env Entry Type Object</em>'.
5145
	 * @return the meta object for data type '<em>Fully Qualified Class Type</em>'.
4248
	 * @see org.eclipse.jst.javaee.core.EnvEntryType
5146
	 * @see java.lang.String
4249
	 * @generated
5147
	 * @generated
4250
	 */
5148
	 */
4251
	EDataType getEnvEntryTypeObject();
5149
	EDataType getFullyQualifiedClassType();
4252
5150
4253
	/**
5151
	/**
4254
	 * Returns the meta object for data type '{@link java.lang.String <em>Fully Qualified Class Type</em>}'.
5152
	 * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type Object</em>}'.
4255
	 * <!-- begin-user-doc -->
5153
	 * <!-- begin-user-doc -->
4256
	 * <!-- end-user-doc -->
5154
	 * <!-- end-user-doc -->
4257
	 * @return the meta object for data type '<em>Fully Qualified Class Type</em>'.
5155
	 * @return the meta object for data type '<em>Generic Boolean Type Object</em>'.
4258
	 * @see java.lang.String
5156
	 * @see org.eclipse.jst.javaee.core.GenericBooleanType
4259
	 * @generated
5157
	 * @generated
4260
	 */
5158
	 */
4261
	EDataType getFullyQualifiedClassType();
5159
	EDataType getGenericBooleanTypeObject();
4262
5160
4263
	/**
5161
	/**
4264
	 * Returns the meta object for data type '{@link java.lang.String <em>Home</em>}'.
5162
	 * Returns the meta object for data type '{@link java.lang.String <em>Home</em>}'.
Lines 4271-4276 Link Here
4271
	EDataType getHome();
5169
	EDataType getHome();
4272
5170
4273
	/**
5171
	/**
5172
	 * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type Object</em>}'.
5173
	 * <!-- begin-user-doc -->
5174
	 * <!-- end-user-doc -->
5175
	 * @return the meta object for data type '<em>Isolation Level Type Object</em>'.
5176
	 * @see org.eclipse.jst.javaee.core.IsolationLevelType
5177
	 * @generated
5178
	 */
5179
	EDataType getIsolationLevelTypeObject();
5180
5181
	/**
4274
	 * Returns the meta object for data type '{@link java.lang.String <em>Java Identifier</em>}'.
5182
	 * Returns the meta object for data type '{@link java.lang.String <em>Java Identifier</em>}'.
4275
	 * <!-- begin-user-doc -->
5183
	 * <!-- begin-user-doc -->
4276
	 * <!-- end-user-doc -->
5184
	 * <!-- end-user-doc -->
Lines 4291-4296 Link Here
4291
	EDataType getJavaType();
5199
	EDataType getJavaType();
4292
5200
4293
	/**
5201
	/**
5202
	 * Returns the meta object for data type '{@link java.lang.String <em>Jdbc Url Type</em>}'.
5203
	 * <!-- begin-user-doc -->
5204
	 * <!-- end-user-doc -->
5205
	 * @return the meta object for data type '<em>Jdbc Url Type</em>'.
5206
	 * @see java.lang.String
5207
	 * @generated
5208
	 */
5209
	EDataType getJdbcUrlType();
5210
5211
	/**
4294
	 * Returns the meta object for data type '{@link java.lang.String <em>JNDI Name</em>}'.
5212
	 * Returns the meta object for data type '{@link java.lang.String <em>JNDI Name</em>}'.
4295
	 * <!-- begin-user-doc -->
5213
	 * <!-- begin-user-doc -->
4296
	 * <!-- end-user-doc -->
5214
	 * <!-- end-user-doc -->
Lines 4371-4376 Link Here
4371
	EDataType getPersistenceContextTypeObject();
5289
	EDataType getPersistenceContextTypeObject();
4372
5290
4373
	/**
5291
	/**
5292
	 * Returns the meta object for data type '{@link java.util.List <em>Protocol Binding List Type</em>}'.
5293
	 * <!-- begin-user-doc -->
5294
	 * <!-- end-user-doc -->
5295
	 * @return the meta object for data type '<em>Protocol Binding List Type</em>'.
5296
	 * @see java.util.List
5297
	 * @generated
5298
	 */
5299
	EDataType getProtocolBindingListType();
5300
5301
	/**
5302
	 * Returns the meta object for data type '{@link java.lang.String <em>Protocol Binding Type</em>}'.
5303
	 * <!-- begin-user-doc -->
5304
	 * <!-- end-user-doc -->
5305
	 * @return the meta object for data type '<em>Protocol Binding Type</em>'.
5306
	 * @see java.lang.String
5307
	 * @generated
5308
	 */
5309
	EDataType getProtocolBindingType();
5310
5311
	/**
5312
	 * Returns the meta object for data type '{@link java.lang.String <em>Protocol URI Alias Type</em>}'.
5313
	 * <!-- begin-user-doc -->
5314
	 * <!-- end-user-doc -->
5315
	 * @return the meta object for data type '<em>Protocol URI Alias Type</em>'.
5316
	 * @see java.lang.String
5317
	 * @generated
5318
	 */
5319
	EDataType getProtocolURIAliasType();
5320
5321
	/**
5322
	 * Returns the meta object for data type '{@link java.lang.String <em>Qname Pattern</em>}'.
5323
	 * <!-- begin-user-doc -->
5324
	 * <!-- end-user-doc -->
5325
	 * @return the meta object for data type '<em>Qname Pattern</em>'.
5326
	 * @see java.lang.String
5327
	 * @generated
5328
	 */
5329
	EDataType getQnamePattern();
5330
5331
	/**
4374
	 * Returns the meta object for data type '{@link java.lang.String <em>Remote</em>}'.
5332
	 * Returns the meta object for data type '{@link java.lang.String <em>Remote</em>}'.
4375
	 * <!-- begin-user-doc -->
5333
	 * <!-- begin-user-doc -->
4376
	 * <!-- end-user-doc -->
5334
	 * <!-- end-user-doc -->
Lines 4411-4496 Link Here
4411
	EDataType getRoleName();
5369
	EDataType getRoleName();
4412
5370
4413
	/**
5371
	/**
4414
	 * Returns the meta object for data type '{@link java.util.List <em>Service Ref Protocol Binding List Type</em>}'.
5372
	 * Returns the meta object for data type '<em>True False Type</em>'.
4415
	 * <!-- begin-user-doc -->
5373
	 * <!-- begin-user-doc -->
4416
	 * <!-- end-user-doc -->
5374
	 * <!-- end-user-doc -->
4417
	 * @return the meta object for data type '<em>Service Ref Protocol Binding List Type</em>'.
5375
	 * @return the meta object for data type '<em>True False Type</em>'.
4418
	 * @see java.util.List
5376
	 * @generated
5377
	 */
5378
	EDataType getTrueFalseType();
5379
5380
	/**
5381
	 * Returns the meta object for data type '{@link java.lang.Boolean <em>True False Type Object</em>}'.
5382
	 * <!-- begin-user-doc -->
5383
	 * <!-- end-user-doc -->
5384
	 * @return the meta object for data type '<em>True False Type Object</em>'.
5385
	 * @see java.lang.Boolean
5386
	 * @generated
5387
	 */
5388
	EDataType getTrueFalseTypeObject();
5389
5390
	/**
5391
	 * Returns the factory that creates the instances of the model.
5392
	 * <!-- begin-user-doc -->
5393
	 * <!-- end-user-doc -->
5394
	 * @return the factory that creates the instances of the model.
5395
	 * @generated
5396
	 */
5397
	JavaeeFactory getJavaeeFactory();
5398
5399
	/**
5400
	 * <!-- begin-user-doc -->
5401
	 * Defines literals for the meta objects that represent
5402
	 * <ul>
5403
	 *   <li>each class,</li>
5404
	 *   <li>each feature of each class,</li>
5405
	 *   <li>each enum,</li>
5406
	 *   <li>and each data type</li>
5407
	 * </ul>
5408
	 * <!-- end-user-doc -->
4419
	 * @generated
5409
	 * @generated
4420
	 */
5410
	 */
4421
	EDataType getServiceRefProtocolBindingListType();
5411
	interface Literals  {
5412
		/**
5413
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl <em>Addressing Type</em>}' class.
5414
		 * <!-- begin-user-doc -->
5415
		 * <!-- end-user-doc -->
5416
		 * @see org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl
5417
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingType()
5418
		 * @generated
5419
		 */
5420
		EClass ADDRESSING_TYPE = eINSTANCE.getAddressingType();
5421
5422
		/**
5423
		 * The meta object literal for the '<em><b>Enabled</b></em>' attribute feature.
5424
		 * <!-- begin-user-doc -->
5425
		 * <!-- end-user-doc -->
5426
		 * @generated
5427
		 */
5428
		EAttribute ADDRESSING_TYPE__ENABLED = eINSTANCE.getAddressingType_Enabled();
5429
5430
		/**
5431
		 * The meta object literal for the '<em><b>Required</b></em>' attribute feature.
5432
		 * <!-- begin-user-doc -->
5433
		 * <!-- end-user-doc -->
5434
		 * @generated
5435
		 */
5436
		EAttribute ADDRESSING_TYPE__REQUIRED = eINSTANCE.getAddressingType_Required();
5437
5438
		/**
5439
		 * The meta object literal for the '<em><b>Responses</b></em>' attribute feature.
5440
		 * <!-- begin-user-doc -->
5441
		 * <!-- end-user-doc -->
5442
		 * @generated
5443
		 */
5444
		EAttribute ADDRESSING_TYPE__RESPONSES = eINSTANCE.getAddressingType_Responses();
5445
5446
		/**
5447
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl <em>Data Source Type</em>}' class.
5448
		 * <!-- begin-user-doc -->
5449
		 * <!-- end-user-doc -->
5450
		 * @see org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl
5451
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDataSourceType()
5452
		 * @generated
5453
		 */
5454
		EClass DATA_SOURCE_TYPE = eINSTANCE.getDataSourceType();
5455
5456
		/**
5457
		 * The meta object literal for the '<em><b>Description</b></em>' containment reference feature.
5458
		 * <!-- begin-user-doc -->
5459
		 * <!-- end-user-doc -->
5460
		 * @generated
5461
		 */
5462
		EReference DATA_SOURCE_TYPE__DESCRIPTION = eINSTANCE.getDataSourceType_Description();
5463
5464
		/**
5465
		 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
5466
		 * <!-- begin-user-doc -->
5467
		 * <!-- end-user-doc -->
5468
		 * @generated
5469
		 */
5470
		EAttribute DATA_SOURCE_TYPE__NAME = eINSTANCE.getDataSourceType_Name();
5471
5472
		/**
5473
		 * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.
5474
		 * <!-- begin-user-doc -->
5475
		 * <!-- end-user-doc -->
5476
		 * @generated
5477
		 */
5478
		EAttribute DATA_SOURCE_TYPE__CLASS_NAME = eINSTANCE.getDataSourceType_ClassName();
5479
5480
		/**
5481
		 * The meta object literal for the '<em><b>Server Name</b></em>' attribute feature.
5482
		 * <!-- begin-user-doc -->
5483
		 * <!-- end-user-doc -->
5484
		 * @generated
5485
		 */
5486
		EAttribute DATA_SOURCE_TYPE__SERVER_NAME = eINSTANCE.getDataSourceType_ServerName();
5487
5488
		/**
5489
		 * The meta object literal for the '<em><b>Port Number</b></em>' attribute feature.
5490
		 * <!-- begin-user-doc -->
5491
		 * <!-- end-user-doc -->
5492
		 * @generated
5493
		 */
5494
		EAttribute DATA_SOURCE_TYPE__PORT_NUMBER = eINSTANCE.getDataSourceType_PortNumber();
5495
5496
		/**
5497
		 * The meta object literal for the '<em><b>Database Name</b></em>' attribute feature.
5498
		 * <!-- begin-user-doc -->
5499
		 * <!-- end-user-doc -->
5500
		 * @generated
5501
		 */
5502
		EAttribute DATA_SOURCE_TYPE__DATABASE_NAME = eINSTANCE.getDataSourceType_DatabaseName();
5503
5504
		/**
5505
		 * The meta object literal for the '<em><b>Url</b></em>' attribute feature.
5506
		 * <!-- begin-user-doc -->
5507
		 * <!-- end-user-doc -->
5508
		 * @generated
5509
		 */
5510
		EAttribute DATA_SOURCE_TYPE__URL = eINSTANCE.getDataSourceType_Url();
5511
5512
		/**
5513
		 * The meta object literal for the '<em><b>User</b></em>' attribute feature.
5514
		 * <!-- begin-user-doc -->
5515
		 * <!-- end-user-doc -->
5516
		 * @generated
5517
		 */
5518
		EAttribute DATA_SOURCE_TYPE__USER = eINSTANCE.getDataSourceType_User();
5519
5520
		/**
5521
		 * The meta object literal for the '<em><b>Password</b></em>' attribute feature.
5522
		 * <!-- begin-user-doc -->
5523
		 * <!-- end-user-doc -->
5524
		 * @generated
5525
		 */
5526
		EAttribute DATA_SOURCE_TYPE__PASSWORD = eINSTANCE.getDataSourceType_Password();
5527
5528
		/**
5529
		 * The meta object literal for the '<em><b>Property</b></em>' containment reference list feature.
5530
		 * <!-- begin-user-doc -->
5531
		 * <!-- end-user-doc -->
5532
		 * @generated
5533
		 */
5534
		EReference DATA_SOURCE_TYPE__PROPERTY = eINSTANCE.getDataSourceType_Property();
5535
5536
		/**
5537
		 * The meta object literal for the '<em><b>Login Timeout</b></em>' attribute feature.
5538
		 * <!-- begin-user-doc -->
5539
		 * <!-- end-user-doc -->
5540
		 * @generated
5541
		 */
5542
		EAttribute DATA_SOURCE_TYPE__LOGIN_TIMEOUT = eINSTANCE.getDataSourceType_LoginTimeout();
5543
5544
		/**
5545
		 * The meta object literal for the '<em><b>Transactional</b></em>' attribute feature.
5546
		 * <!-- begin-user-doc -->
5547
		 * <!-- end-user-doc -->
5548
		 * @generated
5549
		 */
5550
		EAttribute DATA_SOURCE_TYPE__TRANSACTIONAL = eINSTANCE.getDataSourceType_Transactional();
5551
5552
		/**
5553
		 * The meta object literal for the '<em><b>Isolation Level</b></em>' attribute feature.
5554
		 * <!-- begin-user-doc -->
5555
		 * <!-- end-user-doc -->
5556
		 * @generated
5557
		 */
5558
		EAttribute DATA_SOURCE_TYPE__ISOLATION_LEVEL = eINSTANCE.getDataSourceType_IsolationLevel();
4422
5559
4423
	/**
5560
		/**
4424
	 * Returns the meta object for data type '{@link java.lang.String <em>Service Ref Protocol Binding Type</em>}'.
5561
		 * The meta object literal for the '<em><b>Initial Pool Size</b></em>' attribute feature.
4425
	 * <!-- begin-user-doc -->
5562
		 * <!-- begin-user-doc -->
4426
	 * <!-- end-user-doc -->
5563
		 * <!-- end-user-doc -->
4427
	 * @return the meta object for data type '<em>Service Ref Protocol Binding Type</em>'.
5564
		 * @generated
4428
	 * @see java.lang.String
5565
		 */
4429
	 * @generated
5566
		EAttribute DATA_SOURCE_TYPE__INITIAL_POOL_SIZE = eINSTANCE.getDataSourceType_InitialPoolSize();
4430
	 */
4431
	EDataType getServiceRefProtocolBindingType();
4432
5567
4433
	/**
5568
		/**
4434
	 * Returns the meta object for data type '{@link java.lang.String <em>Service Ref Protocol URI Alias Type</em>}'.
5569
		 * The meta object literal for the '<em><b>Max Pool Size</b></em>' attribute feature.
4435
	 * <!-- begin-user-doc -->
5570
		 * <!-- begin-user-doc -->
4436
	 * <!-- end-user-doc -->
5571
		 * <!-- end-user-doc -->
4437
	 * @return the meta object for data type '<em>Service Ref Protocol URI Alias Type</em>'.
5572
		 * @generated
4438
	 * @see java.lang.String
5573
		 */
4439
	 * @generated
5574
		EAttribute DATA_SOURCE_TYPE__MAX_POOL_SIZE = eINSTANCE.getDataSourceType_MaxPoolSize();
4440
	 */
4441
	EDataType getServiceRefProtocolURIAliasType();
4442
5575
4443
	/**
5576
		/**
4444
	 * Returns the meta object for data type '{@link java.lang.String <em>Service Ref Qname Pattern</em>}'.
5577
		 * The meta object literal for the '<em><b>Min Pool Size</b></em>' attribute feature.
4445
	 * <!-- begin-user-doc -->
5578
		 * <!-- begin-user-doc -->
4446
	 * <!-- end-user-doc -->
5579
		 * <!-- end-user-doc -->
4447
	 * @return the meta object for data type '<em>Service Ref Qname Pattern</em>'.
5580
		 * @generated
4448
	 * @see java.lang.String
5581
		 */
4449
	 * @generated
5582
		EAttribute DATA_SOURCE_TYPE__MIN_POOL_SIZE = eINSTANCE.getDataSourceType_MinPoolSize();
4450
	 */
4451
	EDataType getServiceRefQnamePattern();
4452
5583
4453
	/**
5584
		/**
4454
	 * Returns the meta object for data type '<em>True False Type</em>'.
5585
		 * The meta object literal for the '<em><b>Max Idle Time</b></em>' attribute feature.
4455
	 * <!-- begin-user-doc -->
5586
		 * <!-- begin-user-doc -->
4456
	 * <!-- end-user-doc -->
5587
		 * <!-- end-user-doc -->
4457
	 * @return the meta object for data type '<em>True False Type</em>'.
5588
		 * @generated
4458
	 * @generated
5589
		 */
4459
	 */
5590
		EAttribute DATA_SOURCE_TYPE__MAX_IDLE_TIME = eINSTANCE.getDataSourceType_MaxIdleTime();
4460
	EDataType getTrueFalseType();
4461
5591
4462
	/**
5592
		/**
4463
	 * Returns the meta object for data type '{@link java.lang.Boolean <em>True False Type Object</em>}'.
5593
		 * The meta object literal for the '<em><b>Max Statements</b></em>' attribute feature.
4464
	 * <!-- begin-user-doc -->
5594
		 * <!-- begin-user-doc -->
4465
	 * <!-- end-user-doc -->
5595
		 * <!-- end-user-doc -->
4466
	 * @return the meta object for data type '<em>True False Type Object</em>'.
5596
		 * @generated
4467
	 * @see java.lang.Boolean
5597
		 */
4468
	 * @generated
5598
		EAttribute DATA_SOURCE_TYPE__MAX_STATEMENTS = eINSTANCE.getDataSourceType_MaxStatements();
4469
	 */
4470
	EDataType getTrueFalseTypeObject();
4471
5599
4472
	/**
5600
		/**
4473
	 * Returns the factory that creates the instances of the model.
5601
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
4474
	 * <!-- begin-user-doc -->
5602
		 * <!-- begin-user-doc -->
4475
	 * <!-- end-user-doc -->
5603
		 * <!-- end-user-doc -->
4476
	 * @return the factory that creates the instances of the model.
5604
		 * @generated
4477
	 * @generated
5605
		 */
4478
	 */
5606
		EAttribute DATA_SOURCE_TYPE__ID = eINSTANCE.getDataSourceType_Id();
4479
	JavaeeFactory getJavaeeFactory();
4480
5607
4481
	/**
4482
	 * <!-- begin-user-doc -->
4483
	 * Defines literals for the meta objects that represent
4484
	 * <ul>
4485
	 *   <li>each class,</li>
4486
	 *   <li>each feature of each class,</li>
4487
	 *   <li>each enum,</li>
4488
	 *   <li>and each data type</li>
4489
	 * </ul>
4490
	 * <!-- end-user-doc -->
4491
	 * @generated
4492
	 */
4493
	interface Literals  {
4494
		/**
5608
		/**
4495
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl <em>Description</em>}' class.
5609
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl <em>Description</em>}' class.
4496
		 * <!-- begin-user-doc -->
5610
		 * <!-- begin-user-doc -->
Lines 4618-4623 Link Here
4618
		EReference EJB_LOCAL_REF__INJECTION_TARGETS = eINSTANCE.getEjbLocalRef_InjectionTargets();
5732
		EReference EJB_LOCAL_REF__INJECTION_TARGETS = eINSTANCE.getEjbLocalRef_InjectionTargets();
4619
5733
4620
		/**
5734
		/**
5735
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
5736
		 * <!-- begin-user-doc -->
5737
		 * <!-- end-user-doc -->
5738
		 * @generated
5739
		 */
5740
		EAttribute EJB_LOCAL_REF__LOOKUP_NAME = eINSTANCE.getEjbLocalRef_LookupName();
5741
5742
		/**
4621
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5743
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
4622
		 * <!-- begin-user-doc -->
5744
		 * <!-- begin-user-doc -->
4623
		 * <!-- end-user-doc -->
5745
		 * <!-- end-user-doc -->
Lines 4700-4705 Link Here
4700
		EReference EJB_REF__INJECTION_TARGETS = eINSTANCE.getEjbRef_InjectionTargets();
5822
		EReference EJB_REF__INJECTION_TARGETS = eINSTANCE.getEjbRef_InjectionTargets();
4701
5823
4702
		/**
5824
		/**
5825
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
5826
		 * <!-- begin-user-doc -->
5827
		 * <!-- end-user-doc -->
5828
		 * @generated
5829
		 */
5830
		EAttribute EJB_REF__LOOKUP_NAME = eINSTANCE.getEjbRef_LookupName();
5831
5832
		/**
4703
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5833
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
4704
		 * <!-- begin-user-doc -->
5834
		 * <!-- begin-user-doc -->
4705
		 * <!-- end-user-doc -->
5835
		 * <!-- end-user-doc -->
Lines 4784-4789 Link Here
4784
		EReference ENV_ENTRY__INJECTION_TARGETS = eINSTANCE.getEnvEntry_InjectionTargets();
5914
		EReference ENV_ENTRY__INJECTION_TARGETS = eINSTANCE.getEnvEntry_InjectionTargets();
4785
5915
4786
		/**
5916
		/**
5917
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
5918
		 * <!-- begin-user-doc -->
5919
		 * <!-- end-user-doc -->
5920
		 * @generated
5921
		 */
5922
		EAttribute ENV_ENTRY__LOOKUP_NAME = eINSTANCE.getEnvEntry_LookupName();
5923
5924
		/**
4787
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5925
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
4788
		 * <!-- begin-user-doc -->
5926
		 * <!-- begin-user-doc -->
4789
		 * <!-- end-user-doc -->
5927
		 * <!-- end-user-doc -->
Lines 5060-5065 Link Here
5060
		EReference MESSAGE_DESTINATION_REF__INJECTION_TARGETS = eINSTANCE.getMessageDestinationRef_InjectionTargets();
6198
		EReference MESSAGE_DESTINATION_REF__INJECTION_TARGETS = eINSTANCE.getMessageDestinationRef_InjectionTargets();
5061
6199
5062
		/**
6200
		/**
6201
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
6202
		 * <!-- begin-user-doc -->
6203
		 * <!-- end-user-doc -->
6204
		 * @generated
6205
		 */
6206
		EAttribute MESSAGE_DESTINATION_REF__LOOKUP_NAME = eINSTANCE.getMessageDestinationRef_LookupName();
6207
6208
		/**
5063
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
6209
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5064
		 * <!-- begin-user-doc -->
6210
		 * <!-- begin-user-doc -->
5065
		 * <!-- end-user-doc -->
6211
		 * <!-- end-user-doc -->
Lines 5176-5181 Link Here
5176
		EReference PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS = eINSTANCE.getPersistenceContextRef_InjectionTargets();
6322
		EReference PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS = eINSTANCE.getPersistenceContextRef_InjectionTargets();
5177
6323
5178
		/**
6324
		/**
6325
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
6326
		 * <!-- begin-user-doc -->
6327
		 * <!-- end-user-doc -->
6328
		 * @generated
6329
		 */
6330
		EAttribute PERSISTENCE_CONTEXT_REF__LOOKUP_NAME = eINSTANCE.getPersistenceContextRef_LookupName();
6331
6332
		/**
5179
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
6333
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5180
		 * <!-- begin-user-doc -->
6334
		 * <!-- begin-user-doc -->
5181
		 * <!-- end-user-doc -->
6335
		 * <!-- end-user-doc -->
Lines 5234-5239 Link Here
5234
		EReference PERSISTENCE_UNIT_REF__INJECTION_TARGETS = eINSTANCE.getPersistenceUnitRef_InjectionTargets();
6388
		EReference PERSISTENCE_UNIT_REF__INJECTION_TARGETS = eINSTANCE.getPersistenceUnitRef_InjectionTargets();
5235
6389
5236
		/**
6390
		/**
6391
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
6392
		 * <!-- begin-user-doc -->
6393
		 * <!-- end-user-doc -->
6394
		 * @generated
6395
		 */
6396
		EAttribute PERSISTENCE_UNIT_REF__LOOKUP_NAME = eINSTANCE.getPersistenceUnitRef_LookupName();
6397
6398
		/**
5237
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
6399
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5238
		 * <!-- begin-user-doc -->
6400
		 * <!-- begin-user-doc -->
5239
		 * <!-- end-user-doc -->
6401
		 * <!-- end-user-doc -->
Lines 5268-5273 Link Here
5268
		EAttribute PORT_COMPONENT_REF__ENABLE_MTOM = eINSTANCE.getPortComponentRef_EnableMtom();
6430
		EAttribute PORT_COMPONENT_REF__ENABLE_MTOM = eINSTANCE.getPortComponentRef_EnableMtom();
5269
6431
5270
		/**
6432
		/**
6433
		 * The meta object literal for the '<em><b>Mtom Threshold</b></em>' attribute feature.
6434
		 * <!-- begin-user-doc -->
6435
		 * <!-- end-user-doc -->
6436
		 * @generated
6437
		 */
6438
		EAttribute PORT_COMPONENT_REF__MTOM_THRESHOLD = eINSTANCE.getPortComponentRef_MtomThreshold();
6439
6440
		/**
6441
		 * The meta object literal for the '<em><b>Addressing</b></em>' containment reference feature.
6442
		 * <!-- begin-user-doc -->
6443
		 * <!-- end-user-doc -->
6444
		 * @generated
6445
		 */
6446
		EReference PORT_COMPONENT_REF__ADDRESSING = eINSTANCE.getPortComponentRef_Addressing();
6447
6448
		/**
6449
		 * The meta object literal for the '<em><b>Respect Binding</b></em>' containment reference feature.
6450
		 * <!-- begin-user-doc -->
6451
		 * <!-- end-user-doc -->
6452
		 * @generated
6453
		 */
6454
		EReference PORT_COMPONENT_REF__RESPECT_BINDING = eINSTANCE.getPortComponentRef_RespectBinding();
6455
6456
		/**
5271
		 * The meta object literal for the '<em><b>Port Component Link</b></em>' attribute feature.
6457
		 * The meta object literal for the '<em><b>Port Component Link</b></em>' attribute feature.
5272
		 * <!-- begin-user-doc -->
6458
		 * <!-- begin-user-doc -->
5273
		 * <!-- end-user-doc -->
6459
		 * <!-- end-user-doc -->
Lines 5368-5373 Link Here
5368
		EReference RESOURCE_ENV_REF__INJECTION_TARGETS = eINSTANCE.getResourceEnvRef_InjectionTargets();
6554
		EReference RESOURCE_ENV_REF__INJECTION_TARGETS = eINSTANCE.getResourceEnvRef_InjectionTargets();
5369
6555
5370
		/**
6556
		/**
6557
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
6558
		 * <!-- begin-user-doc -->
6559
		 * <!-- end-user-doc -->
6560
		 * @generated
6561
		 */
6562
		EAttribute RESOURCE_ENV_REF__LOOKUP_NAME = eINSTANCE.getResourceEnvRef_LookupName();
6563
6564
		/**
5371
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
6565
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5372
		 * <!-- begin-user-doc -->
6566
		 * <!-- begin-user-doc -->
5373
		 * <!-- end-user-doc -->
6567
		 * <!-- end-user-doc -->
Lines 5442-5447 Link Here
5442
		EReference RESOURCE_REF__INJECTION_TARGETS = eINSTANCE.getResourceRef_InjectionTargets();
6636
		EReference RESOURCE_REF__INJECTION_TARGETS = eINSTANCE.getResourceRef_InjectionTargets();
5443
6637
5444
		/**
6638
		/**
6639
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
6640
		 * <!-- begin-user-doc -->
6641
		 * <!-- end-user-doc -->
6642
		 * @generated
6643
		 */
6644
		EAttribute RESOURCE_REF__LOOKUP_NAME = eINSTANCE.getResourceRef_LookupName();
6645
6646
		/**
5445
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
6647
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5446
		 * <!-- begin-user-doc -->
6648
		 * <!-- begin-user-doc -->
5447
		 * <!-- end-user-doc -->
6649
		 * <!-- end-user-doc -->
Lines 5450-5455 Link Here
5450
		EAttribute RESOURCE_REF__ID = eINSTANCE.getResourceRef_Id();
6652
		EAttribute RESOURCE_REF__ID = eINSTANCE.getResourceRef_Id();
5451
6653
5452
		/**
6654
		/**
6655
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl <em>Respect Binding Type</em>}' class.
6656
		 * <!-- begin-user-doc -->
6657
		 * <!-- end-user-doc -->
6658
		 * @see org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl
6659
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRespectBindingType()
6660
		 * @generated
6661
		 */
6662
		EClass RESPECT_BINDING_TYPE = eINSTANCE.getRespectBindingType();
6663
6664
		/**
6665
		 * The meta object literal for the '<em><b>Enabled</b></em>' attribute feature.
6666
		 * <!-- begin-user-doc -->
6667
		 * <!-- end-user-doc -->
6668
		 * @generated
6669
		 */
6670
		EAttribute RESPECT_BINDING_TYPE__ENABLED = eINSTANCE.getRespectBindingType_Enabled();
6671
6672
		/**
5453
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl <em>Run As</em>}' class.
6673
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl <em>Run As</em>}' class.
5454
		 * <!-- begin-user-doc -->
6674
		 * <!-- begin-user-doc -->
5455
		 * <!-- end-user-doc -->
6675
		 * <!-- end-user-doc -->
Lines 5682-5687 Link Here
5682
		EReference SERVICE_REF__INJECTION_TARGETS = eINSTANCE.getServiceRef_InjectionTargets();
6902
		EReference SERVICE_REF__INJECTION_TARGETS = eINSTANCE.getServiceRef_InjectionTargets();
5683
6903
5684
		/**
6904
		/**
6905
		 * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature.
6906
		 * <!-- begin-user-doc -->
6907
		 * <!-- end-user-doc -->
6908
		 * @generated
6909
		 */
6910
		EAttribute SERVICE_REF__LOOKUP_NAME = eINSTANCE.getServiceRef_LookupName();
6911
6912
		/**
5685
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
6913
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
5686
		 * <!-- begin-user-doc -->
6914
		 * <!-- begin-user-doc -->
5687
		 * <!-- end-user-doc -->
6915
		 * <!-- end-user-doc -->
Lines 5874-5879 Link Here
5874
		EAttribute URL_PATTERN_TYPE__VALUE = eINSTANCE.getUrlPatternType_Value();
7102
		EAttribute URL_PATTERN_TYPE__VALUE = eINSTANCE.getUrlPatternType_Value();
5875
7103
5876
		/**
7104
		/**
7105
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type</em>}' enum.
7106
		 * <!-- begin-user-doc -->
7107
		 * <!-- end-user-doc -->
7108
		 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
7109
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesType()
7110
		 * @generated
7111
		 */
7112
		EEnum ADDRESSING_RESPONSES_TYPE = eINSTANCE.getAddressingResponsesType();
7113
7114
		/**
5877
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}' enum.
7115
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}' enum.
5878
		 * <!-- begin-user-doc -->
7116
		 * <!-- begin-user-doc -->
5879
		 * <!-- end-user-doc -->
7117
		 * <!-- end-user-doc -->
Lines 5884-5897 Link Here
5884
		EEnum EJB_REF_TYPE = eINSTANCE.getEjbRefType();
7122
		EEnum EJB_REF_TYPE = eINSTANCE.getEjbRefType();
5885
7123
5886
		/**
7124
		/**
5887
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.EnvEntryType <em>Env Entry Type</em>}' enum.
7125
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type</em>}' enum.
7126
		 * <!-- begin-user-doc -->
7127
		 * <!-- end-user-doc -->
7128
		 * @see org.eclipse.jst.javaee.core.GenericBooleanType
7129
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanType()
7130
		 * @generated
7131
		 */
7132
		EEnum GENERIC_BOOLEAN_TYPE = eINSTANCE.getGenericBooleanType();
7133
7134
		/**
7135
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type</em>}' enum.
7136
		 * <!-- begin-user-doc -->
7137
		 * <!-- end-user-doc -->
7138
		 * @see org.eclipse.jst.javaee.core.IsolationLevelType
7139
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelType()
7140
		 * @generated
7141
		 */
7142
		EEnum ISOLATION_LEVEL_TYPE = eINSTANCE.getIsolationLevelType();
7143
7144
		/**
7145
		 * The meta object literal for the '<em>Env Entry Type</em>' data type.
5888
		 * <!-- begin-user-doc -->
7146
		 * <!-- begin-user-doc -->
5889
		 * <!-- end-user-doc -->
7147
		 * <!-- end-user-doc -->
5890
		 * @see org.eclipse.jst.javaee.core.EnvEntryType
7148
		 * @see java.lang.String
5891
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType()
7149
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType()
5892
		 * @generated
7150
		 * @generated
5893
		 */
7151
		 */
5894
		EEnum ENV_ENTRY_TYPE = eINSTANCE.getEnvEntryType();
7152
		EDataType ENV_ENTRY_TYPE = eINSTANCE.getEnvEntryType();
5895
7153
5896
		/**
7154
		/**
5897
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}' enum.
7155
		 * The meta object literal for the '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}' enum.
Lines 5934-5939 Link Here
5934
		EEnum RES_SHARING_SCOPE_TYPE = eINSTANCE.getResSharingScopeType();
7192
		EEnum RES_SHARING_SCOPE_TYPE = eINSTANCE.getResSharingScopeType();
5935
7193
5936
		/**
7194
		/**
7195
		 * The meta object literal for the '<em>Addressing Responses Type Object</em>' data type.
7196
		 * <!-- begin-user-doc -->
7197
		 * <!-- end-user-doc -->
7198
		 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
7199
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesTypeObject()
7200
		 * @generated
7201
		 */
7202
		EDataType ADDRESSING_RESPONSES_TYPE_OBJECT = eINSTANCE.getAddressingResponsesTypeObject();
7203
7204
		/**
5937
		 * The meta object literal for the '<em>Dewey Version Type</em>' data type.
7205
		 * The meta object literal for the '<em>Dewey Version Type</em>' data type.
5938
		 * <!-- begin-user-doc -->
7206
		 * <!-- begin-user-doc -->
5939
		 * <!-- end-user-doc -->
7207
		 * <!-- end-user-doc -->
Lines 5974-5997 Link Here
5974
		EDataType EJB_REF_TYPE_OBJECT = eINSTANCE.getEjbRefTypeObject();
7242
		EDataType EJB_REF_TYPE_OBJECT = eINSTANCE.getEjbRefTypeObject();
5975
7243
5976
		/**
7244
		/**
5977
		 * The meta object literal for the '<em>Env Entry Type Object</em>' data type.
7245
		 * The meta object literal for the '<em>Fully Qualified Class Type</em>' data type.
5978
		 * <!-- begin-user-doc -->
7246
		 * <!-- begin-user-doc -->
5979
		 * <!-- end-user-doc -->
7247
		 * <!-- end-user-doc -->
5980
		 * @see org.eclipse.jst.javaee.core.EnvEntryType
7248
		 * @see java.lang.String
5981
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryTypeObject()
7249
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getFullyQualifiedClassType()
5982
		 * @generated
7250
		 * @generated
5983
		 */
7251
		 */
5984
		EDataType ENV_ENTRY_TYPE_OBJECT = eINSTANCE.getEnvEntryTypeObject();
7252
		EDataType FULLY_QUALIFIED_CLASS_TYPE = eINSTANCE.getFullyQualifiedClassType();
5985
7253
5986
		/**
7254
		/**
5987
		 * The meta object literal for the '<em>Fully Qualified Class Type</em>' data type.
7255
		 * The meta object literal for the '<em>Generic Boolean Type Object</em>' data type.
5988
		 * <!-- begin-user-doc -->
7256
		 * <!-- begin-user-doc -->
5989
		 * <!-- end-user-doc -->
7257
		 * <!-- end-user-doc -->
5990
		 * @see java.lang.String
7258
		 * @see org.eclipse.jst.javaee.core.GenericBooleanType
5991
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getFullyQualifiedClassType()
7259
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanTypeObject()
5992
		 * @generated
7260
		 * @generated
5993
		 */
7261
		 */
5994
		EDataType FULLY_QUALIFIED_CLASS_TYPE = eINSTANCE.getFullyQualifiedClassType();
7262
		EDataType GENERIC_BOOLEAN_TYPE_OBJECT = eINSTANCE.getGenericBooleanTypeObject();
5995
7263
5996
		/**
7264
		/**
5997
		 * The meta object literal for the '<em>Home</em>' data type.
7265
		 * The meta object literal for the '<em>Home</em>' data type.
Lines 6004-6009 Link Here
6004
		EDataType HOME = eINSTANCE.getHome();
7272
		EDataType HOME = eINSTANCE.getHome();
6005
7273
6006
		/**
7274
		/**
7275
		 * The meta object literal for the '<em>Isolation Level Type Object</em>' data type.
7276
		 * <!-- begin-user-doc -->
7277
		 * <!-- end-user-doc -->
7278
		 * @see org.eclipse.jst.javaee.core.IsolationLevelType
7279
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelTypeObject()
7280
		 * @generated
7281
		 */
7282
		EDataType ISOLATION_LEVEL_TYPE_OBJECT = eINSTANCE.getIsolationLevelTypeObject();
7283
7284
		/**
6007
		 * The meta object literal for the '<em>Java Identifier</em>' data type.
7285
		 * The meta object literal for the '<em>Java Identifier</em>' data type.
6008
		 * <!-- begin-user-doc -->
7286
		 * <!-- begin-user-doc -->
6009
		 * <!-- end-user-doc -->
7287
		 * <!-- end-user-doc -->
Lines 6024-6029 Link Here
6024
		EDataType JAVA_TYPE = eINSTANCE.getJavaType();
7302
		EDataType JAVA_TYPE = eINSTANCE.getJavaType();
6025
7303
6026
		/**
7304
		/**
7305
		 * The meta object literal for the '<em>Jdbc Url Type</em>' data type.
7306
		 * <!-- begin-user-doc -->
7307
		 * <!-- end-user-doc -->
7308
		 * @see java.lang.String
7309
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJdbcUrlType()
7310
		 * @generated
7311
		 */
7312
		EDataType JDBC_URL_TYPE = eINSTANCE.getJdbcUrlType();
7313
7314
		/**
6027
		 * The meta object literal for the '<em>JNDI Name</em>' data type.
7315
		 * The meta object literal for the '<em>JNDI Name</em>' data type.
6028
		 * <!-- begin-user-doc -->
7316
		 * <!-- begin-user-doc -->
6029
		 * <!-- end-user-doc -->
7317
		 * <!-- end-user-doc -->
Lines 6104-6187 Link Here
6104
		EDataType PERSISTENCE_CONTEXT_TYPE_OBJECT = eINSTANCE.getPersistenceContextTypeObject();
7392
		EDataType PERSISTENCE_CONTEXT_TYPE_OBJECT = eINSTANCE.getPersistenceContextTypeObject();
6105
7393
6106
		/**
7394
		/**
6107
		 * The meta object literal for the '<em>Remote</em>' data type.
7395
		 * The meta object literal for the '<em>Protocol Binding List Type</em>' data type.
6108
		 * <!-- begin-user-doc -->
7396
		 * <!-- begin-user-doc -->
6109
		 * <!-- end-user-doc -->
7397
		 * <!-- end-user-doc -->
6110
		 * @see java.lang.String
7398
		 * @see java.util.List
6111
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRemote()
7399
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingListType()
6112
		 * @generated
7400
		 * @generated
6113
		 */
7401
		 */
6114
		EDataType REMOTE = eINSTANCE.getRemote();
7402
		EDataType PROTOCOL_BINDING_LIST_TYPE = eINSTANCE.getProtocolBindingListType();
6115
7403
6116
		/**
7404
		/**
6117
		 * The meta object literal for the '<em>Res Auth Type Object</em>' data type.
7405
		 * The meta object literal for the '<em>Protocol Binding Type</em>' data type.
6118
		 * <!-- begin-user-doc -->
7406
		 * <!-- begin-user-doc -->
6119
		 * <!-- end-user-doc -->
7407
		 * <!-- end-user-doc -->
6120
		 * @see org.eclipse.jst.javaee.core.ResAuthType
7408
		 * @see java.lang.String
6121
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthTypeObject()
7409
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingType()
6122
		 * @generated
7410
		 * @generated
6123
		 */
7411
		 */
6124
		EDataType RES_AUTH_TYPE_OBJECT = eINSTANCE.getResAuthTypeObject();
7412
		EDataType PROTOCOL_BINDING_TYPE = eINSTANCE.getProtocolBindingType();
6125
7413
6126
		/**
7414
		/**
6127
		 * The meta object literal for the '<em>Res Sharing Scope Type Object</em>' data type.
7415
		 * The meta object literal for the '<em>Protocol URI Alias Type</em>' data type.
6128
		 * <!-- begin-user-doc -->
7416
		 * <!-- begin-user-doc -->
6129
		 * <!-- end-user-doc -->
7417
		 * <!-- end-user-doc -->
6130
		 * @see org.eclipse.jst.javaee.core.ResSharingScopeType
7418
		 * @see java.lang.String
6131
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeTypeObject()
7419
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolURIAliasType()
6132
		 * @generated
7420
		 * @generated
6133
		 */
7421
		 */
6134
		EDataType RES_SHARING_SCOPE_TYPE_OBJECT = eINSTANCE.getResSharingScopeTypeObject();
7422
		EDataType PROTOCOL_URI_ALIAS_TYPE = eINSTANCE.getProtocolURIAliasType();
6135
7423
6136
		/**
7424
		/**
6137
		 * The meta object literal for the '<em>Role Name</em>' data type.
7425
		 * The meta object literal for the '<em>Qname Pattern</em>' data type.
6138
		 * <!-- begin-user-doc -->
7426
		 * <!-- begin-user-doc -->
6139
		 * <!-- end-user-doc -->
7427
		 * <!-- end-user-doc -->
6140
		 * @see java.lang.String
7428
		 * @see java.lang.String
6141
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRoleName()
7429
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getQnamePattern()
6142
		 * @generated
7430
		 * @generated
6143
		 */
7431
		 */
6144
		EDataType ROLE_NAME = eINSTANCE.getRoleName();
7432
		EDataType QNAME_PATTERN = eINSTANCE.getQnamePattern();
6145
7433
6146
		/**
7434
		/**
6147
		 * The meta object literal for the '<em>Service Ref Protocol Binding List Type</em>' data type.
7435
		 * The meta object literal for the '<em>Remote</em>' data type.
6148
		 * <!-- begin-user-doc -->
7436
		 * <!-- begin-user-doc -->
6149
		 * <!-- end-user-doc -->
7437
		 * <!-- end-user-doc -->
6150
		 * @see java.util.List
7438
		 * @see java.lang.String
6151
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefProtocolBindingListType()
7439
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRemote()
6152
		 * @generated
7440
		 * @generated
6153
		 */
7441
		 */
6154
		EDataType SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE = eINSTANCE.getServiceRefProtocolBindingListType();
7442
		EDataType REMOTE = eINSTANCE.getRemote();
6155
7443
6156
		/**
7444
		/**
6157
		 * The meta object literal for the '<em>Service Ref Protocol Binding Type</em>' data type.
7445
		 * The meta object literal for the '<em>Res Auth Type Object</em>' data type.
6158
		 * <!-- begin-user-doc -->
7446
		 * <!-- begin-user-doc -->
6159
		 * <!-- end-user-doc -->
7447
		 * <!-- end-user-doc -->
6160
		 * @see java.lang.String
7448
		 * @see org.eclipse.jst.javaee.core.ResAuthType
6161
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefProtocolBindingType()
7449
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthTypeObject()
6162
		 * @generated
7450
		 * @generated
6163
		 */
7451
		 */
6164
		EDataType SERVICE_REF_PROTOCOL_BINDING_TYPE = eINSTANCE.getServiceRefProtocolBindingType();
7452
		EDataType RES_AUTH_TYPE_OBJECT = eINSTANCE.getResAuthTypeObject();
6165
7453
6166
		/**
7454
		/**
6167
		 * The meta object literal for the '<em>Service Ref Protocol URI Alias Type</em>' data type.
7455
		 * The meta object literal for the '<em>Res Sharing Scope Type Object</em>' data type.
6168
		 * <!-- begin-user-doc -->
7456
		 * <!-- begin-user-doc -->
6169
		 * <!-- end-user-doc -->
7457
		 * <!-- end-user-doc -->
6170
		 * @see java.lang.String
7458
		 * @see org.eclipse.jst.javaee.core.ResSharingScopeType
6171
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefProtocolURIAliasType()
7459
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeTypeObject()
6172
		 * @generated
7460
		 * @generated
6173
		 */
7461
		 */
6174
		EDataType SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE = eINSTANCE.getServiceRefProtocolURIAliasType();
7462
		EDataType RES_SHARING_SCOPE_TYPE_OBJECT = eINSTANCE.getResSharingScopeTypeObject();
6175
7463
6176
		/**
7464
		/**
6177
		 * The meta object literal for the '<em>Service Ref Qname Pattern</em>' data type.
7465
		 * The meta object literal for the '<em>Role Name</em>' data type.
6178
		 * <!-- begin-user-doc -->
7466
		 * <!-- begin-user-doc -->
6179
		 * <!-- end-user-doc -->
7467
		 * <!-- end-user-doc -->
6180
		 * @see java.lang.String
7468
		 * @see java.lang.String
6181
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefQnamePattern()
7469
		 * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRoleName()
6182
		 * @generated
7470
		 * @generated
6183
		 */
7471
		 */
6184
		EDataType SERVICE_REF_QNAME_PATTERN = eINSTANCE.getServiceRefQnamePattern();
7472
		EDataType ROLE_NAME = eINSTANCE.getRoleName();
6185
7473
6186
		/**
7474
		/**
6187
		 * The meta object literal for the '<em>True False Type</em>' data type.
7475
		 * The meta object literal for the '<em>True False Type</em>' data type.
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspSwitch.java (-21 / +21 lines)
Lines 32-38 Link Here
32
 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage
32
 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage
33
 * @generated
33
 * @generated
34
 */
34
 */
35
public class JspSwitch {
35
public class JspSwitch<T> {
36
	/**
36
	/**
37
	 * The cached model package
37
	 * The cached model package
38
	 * <!-- begin-user-doc -->
38
	 * <!-- begin-user-doc -->
Lines 60-66 Link Here
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
60
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
61
	 * @generated
61
	 * @generated
62
	 */
62
	 */
63
	public Object doSwitch(EObject theEObject) {
63
	public T doSwitch(EObject theEObject) {
64
		return doSwitch(theEObject.eClass(), theEObject);
64
		return doSwitch(theEObject.eClass(), theEObject);
65
	}
65
	}
66
66
Lines 71-86 Link Here
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
72
	 * @generated
72
	 * @generated
73
	 */
73
	 */
74
	protected Object doSwitch(EClass theEClass, EObject theEObject) {
74
	protected T doSwitch(EClass theEClass, EObject theEObject) {
75
		if (theEClass.eContainer() == modelPackage) {
75
		if (theEClass.eContainer() == modelPackage) {
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
77
		}
77
		}
78
		else {
78
		else {
79
			List eSuperTypes = theEClass.getESuperTypes();
79
			List<EClass> eSuperTypes = theEClass.getESuperTypes();
80
			return
80
			return
81
				eSuperTypes.isEmpty() ?
81
				eSuperTypes.isEmpty() ?
82
					defaultCase(theEObject) :
82
					defaultCase(theEObject) :
83
					doSwitch((EClass)eSuperTypes.get(0), theEObject);
83
					doSwitch(eSuperTypes.get(0), theEObject);
84
		}
84
		}
85
	}
85
	}
86
86
Lines 91-113 Link Here
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
91
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
92
	 * @generated
92
	 * @generated
93
	 */
93
	 */
94
	protected Object doSwitch(int classifierID, EObject theEObject) {
94
	protected T doSwitch(int classifierID, EObject theEObject) {
95
		switch (classifierID) {
95
		switch (classifierID) {
96
			case JspPackage.JSP_CONFIG: {
96
			case JspPackage.JSP_CONFIG: {
97
				JspConfig jspConfig = (JspConfig)theEObject;
97
				JspConfig jspConfig = (JspConfig)theEObject;
98
				Object result = caseJspConfig(jspConfig);
98
				T result = caseJspConfig(jspConfig);
99
				if (result == null) result = defaultCase(theEObject);
99
				if (result == null) result = defaultCase(theEObject);
100
				return result;
100
				return result;
101
			}
101
			}
102
			case JspPackage.JSP_PROPERTY_GROUP: {
102
			case JspPackage.JSP_PROPERTY_GROUP: {
103
				JspPropertyGroup jspPropertyGroup = (JspPropertyGroup)theEObject;
103
				JspPropertyGroup jspPropertyGroup = (JspPropertyGroup)theEObject;
104
				Object result = caseJspPropertyGroup(jspPropertyGroup);
104
				T result = caseJspPropertyGroup(jspPropertyGroup);
105
				if (result == null) result = defaultCase(theEObject);
105
				if (result == null) result = defaultCase(theEObject);
106
				return result;
106
				return result;
107
			}
107
			}
108
			case JspPackage.TAG_LIB: {
108
			case JspPackage.TAG_LIB: {
109
				TagLib tagLib = (TagLib)theEObject;
109
				TagLib tagLib = (TagLib)theEObject;
110
				Object result = caseTagLib(tagLib);
110
				T result = caseTagLib(tagLib);
111
				if (result == null) result = defaultCase(theEObject);
111
				if (result == null) result = defaultCase(theEObject);
112
				return result;
112
				return result;
113
			}
113
			}
Lines 116-177 Link Here
116
	}
116
	}
117
117
118
	/**
118
	/**
119
	 * Returns the result of interpretting the object as an instance of '<em>Config</em>'.
119
	 * Returns the result of interpreting the object as an instance of '<em>Config</em>'.
120
	 * <!-- begin-user-doc -->
120
	 * <!-- begin-user-doc -->
121
	 * This implementation returns null;
121
	 * This implementation returns null;
122
	 * returning a non-null result will terminate the switch.
122
	 * returning a non-null result will terminate the switch.
123
	 * <!-- end-user-doc -->
123
	 * <!-- end-user-doc -->
124
	 * @param object the target of the switch.
124
	 * @param object the target of the switch.
125
	 * @return the result of interpretting the object as an instance of '<em>Config</em>'.
125
	 * @return the result of interpreting the object as an instance of '<em>Config</em>'.
126
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
126
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
127
	 * @generated
127
	 * @generated
128
	 */
128
	 */
129
	public Object caseJspConfig(JspConfig object) {
129
	public T caseJspConfig(JspConfig object) {
130
		return null;
130
		return null;
131
	}
131
	}
132
132
133
	/**
133
	/**
134
	 * Returns the result of interpretting the object as an instance of '<em>Property Group</em>'.
134
	 * Returns the result of interpreting the object as an instance of '<em>Property Group</em>'.
135
	 * <!-- begin-user-doc -->
135
	 * <!-- begin-user-doc -->
136
	 * This implementation returns null;
136
	 * This implementation returns null;
137
	 * returning a non-null result will terminate the switch.
137
	 * returning a non-null result will terminate the switch.
138
	 * <!-- end-user-doc -->
138
	 * <!-- end-user-doc -->
139
	 * @param object the target of the switch.
139
	 * @param object the target of the switch.
140
	 * @return the result of interpretting the object as an instance of '<em>Property Group</em>'.
140
	 * @return the result of interpreting the object as an instance of '<em>Property Group</em>'.
141
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
141
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
142
	 * @generated
142
	 * @generated
143
	 */
143
	 */
144
	public Object caseJspPropertyGroup(JspPropertyGroup object) {
144
	public T caseJspPropertyGroup(JspPropertyGroup object) {
145
		return null;
145
		return null;
146
	}
146
	}
147
147
148
	/**
148
	/**
149
	 * Returns the result of interpretting the object as an instance of '<em>Tag Lib</em>'.
149
	 * Returns the result of interpreting the object as an instance of '<em>Tag Lib</em>'.
150
	 * <!-- begin-user-doc -->
150
	 * <!-- begin-user-doc -->
151
	 * This implementation returns null;
151
	 * This implementation returns null;
152
	 * returning a non-null result will terminate the switch.
152
	 * returning a non-null result will terminate the switch.
153
	 * <!-- end-user-doc -->
153
	 * <!-- end-user-doc -->
154
	 * @param object the target of the switch.
154
	 * @param object the target of the switch.
155
	 * @return the result of interpretting the object as an instance of '<em>Tag Lib</em>'.
155
	 * @return the result of interpreting the object as an instance of '<em>Tag Lib</em>'.
156
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
156
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
157
	 * @generated
157
	 * @generated
158
	 */
158
	 */
159
	public Object caseTagLib(TagLib object) {
159
	public T caseTagLib(TagLib object) {
160
		return null;
160
		return null;
161
	}
161
	}
162
162
163
	/**
163
	/**
164
	 * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
164
	 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
165
	 * <!-- begin-user-doc -->
165
	 * <!-- begin-user-doc -->
166
	 * This implementation returns null;
166
	 * This implementation returns null;
167
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
167
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
168
	 * <!-- end-user-doc -->
168
	 * <!-- end-user-doc -->
169
	 * @param object the target of the switch.
169
	 * @param object the target of the switch.
170
	 * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
170
	 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
171
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
171
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
172
	 * @generated
172
	 * @generated
173
	 */
173
	 */
174
	public Object defaultCase(EObject object) {
174
	public T defaultCase(EObject object) {
175
		return null;
175
		return null;
176
	}
176
	}
177
177
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspXMLProcessor.java (-1 / +2 lines)
Lines 14-19 Link Here
14
14
15
import org.eclipse.emf.ecore.EPackage;
15
import org.eclipse.emf.ecore.EPackage;
16
16
17
import org.eclipse.emf.ecore.resource.Resource;
17
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
18
19
19
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
20
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
Lines 43-49 Link Here
43
	 * @generated
44
	 * @generated
44
	 */
45
	 */
45
	@Override
46
	@Override
46
	protected Map getRegistrations() {
47
	protected Map<String, Resource.Factory> getRegistrations() {
47
		if (registrations == null) {
48
		if (registrations == null) {
48
			super.getRegistrations();
49
			super.getRegistrations();
49
			registrations.put(XML_EXTENSION, new JspResourceFactoryImpl());
50
			registrations.put(XML_EXTENSION, new JspResourceFactoryImpl());
(-)jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspAdapterFactory.java (-8 / +8 lines)
Lines 70-96 Link Here
70
	}
70
	}
71
71
72
	/**
72
	/**
73
	 * The switch the delegates to the <code>createXXX</code> methods.
73
	 * The switch that delegates to the <code>createXXX</code> methods.
74
	 * <!-- begin-user-doc -->
74
	 * <!-- begin-user-doc -->
75
	 * <!-- end-user-doc -->
75
	 * <!-- end-user-doc -->
76
	 * @generated
76
	 * @generated
77
	 */
77
	 */
78
	protected JspSwitch modelSwitch =
78
	protected JspSwitch<Adapter> modelSwitch =
79
		new JspSwitch() {
79
		new JspSwitch<Adapter>() {
80
			@Override
80
			@Override
81
			public Object caseJspConfig(JspConfig object) {
81
			public Adapter caseJspConfig(JspConfig object) {
82
				return createJspConfigAdapter();
82
				return createJspConfigAdapter();
83
			}
83
			}
84
			@Override
84
			@Override
85
			public Object caseJspPropertyGroup(JspPropertyGroup object) {
85
			public Adapter caseJspPropertyGroup(JspPropertyGroup object) {
86
				return createJspPropertyGroupAdapter();
86
				return createJspPropertyGroupAdapter();
87
			}
87
			}
88
			@Override
88
			@Override
89
			public Object caseTagLib(TagLib object) {
89
			public Adapter caseTagLib(TagLib object) {
90
				return createTagLibAdapter();
90
				return createTagLibAdapter();
91
			}
91
			}
92
			@Override
92
			@Override
93
			public Object defaultCase(EObject object) {
93
			public Adapter defaultCase(EObject object) {
94
				return createEObjectAdapter();
94
				return createEObjectAdapter();
95
			}
95
			}
96
		};
96
		};
Lines 105-111 Link Here
105
	 */
105
	 */
106
	@Override
106
	@Override
107
	public Adapter createAdapter(Notifier target) {
107
	public Adapter createAdapter(Notifier target) {
108
		return (Adapter)modelSwitch.doSwitch((EObject)target);
108
		return modelSwitch.doSwitch((EObject)target);
109
	}
109
	}
110
110
111
111
(-)jee-models/org/eclipse/jst/javaee/applicationclient/ApplicationClientDeploymentDescriptor.java (-8 / +9 lines)
Lines 65-71 Link Here
65
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClientDeploymentDescriptor_XMLNSPrefixMap()
65
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClientDeploymentDescriptor_XMLNSPrefixMap()
66
	 * @generated
66
	 * @generated
67
	 */
67
	 */
68
	Map getXMLNSPrefixMap();
68
	Map<String, String> getXMLNSPrefixMap();
69
69
70
	/**
70
	/**
71
	 * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
71
	 * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
Lines 81-87 Link Here
81
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClientDeploymentDescriptor_XSISchemaLocation()
81
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClientDeploymentDescriptor_XSISchemaLocation()
82
	 * @generated
82
	 * @generated
83
	 */
83
	 */
84
	Map getXSISchemaLocation();
84
	Map<String, String> getXSISchemaLocation();
85
85
86
	/**
86
	/**
87
	 * Returns the value of the '<em><b>Application Client</b></em>' containment reference.
87
	 * Returns the value of the '<em><b>Application Client</b></em>' containment reference.
Lines 90-101 Link Here
90
	 * <!-- begin-model-doc -->
90
	 * <!-- begin-model-doc -->
91
	 * 
91
	 * 
92
	 * 
92
	 * 
93
	 * 	The application-client element is the root element of an
93
	 *         The application-client element is the root element of an
94
	 * 	application client deployment descriptor.  The application
94
	 *         application client deployment descriptor.  The application
95
	 * 	client deployment descriptor describes the EJB components
95
	 *         client deployment descriptor describes the EJB components
96
	 * 	and external resources referenced by the application
96
	 *         and external resources referenced by the application
97
	 * 	client.
97
	 *         client.
98
	 * 
98
	 *         
99
	 *         @since Java EE 5, Application Client 5
99
	 *       
100
	 *       
100
	 * <!-- end-model-doc -->
101
	 * <!-- end-model-doc -->
101
	 * @return the value of the '<em>Application Client</em>' containment reference.
102
	 * @return the value of the '<em>Application Client</em>' containment reference.
(-)jee-models/org/eclipse/jst/javaee/applicationclient/ApplicationClient.java (-45 / +104 lines)
Lines 12-18 Link Here
12
12
13
import java.util.List;
13
import java.util.List;
14
14
15
import org.eclipse.jst.javaee.core.DataSourceType;
16
import org.eclipse.jst.javaee.core.Description;
17
import org.eclipse.jst.javaee.core.DisplayName;
18
import org.eclipse.jst.javaee.core.EjbRef;
19
import org.eclipse.jst.javaee.core.EnvEntry;
20
import org.eclipse.jst.javaee.core.Icon;
15
import org.eclipse.jst.javaee.core.JavaEEObject;
21
import org.eclipse.jst.javaee.core.JavaEEObject;
22
import org.eclipse.jst.javaee.core.LifecycleCallback;
23
import org.eclipse.jst.javaee.core.MessageDestination;
24
import org.eclipse.jst.javaee.core.MessageDestinationRef;
25
import org.eclipse.jst.javaee.core.PersistenceUnitRef;
26
import org.eclipse.jst.javaee.core.ResourceEnvRef;
27
import org.eclipse.jst.javaee.core.ResourceRef;
28
import org.eclipse.jst.javaee.core.ServiceRef;
16
29
17
/**
30
/**
18
 * <!-- begin-user-doc -->
31
 * <!-- begin-user-doc -->
Lines 22-27 Link Here
22
 * <p>
35
 * <p>
23
 * The following features are supported:
36
 * The following features are supported:
24
 * <ul>
37
 * <ul>
38
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getModuleName <em>Module Name</em>}</li>
25
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDescriptions <em>Descriptions</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDescriptions <em>Descriptions</em>}</li>
26
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDisplayNames <em>Display Names</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDisplayNames <em>Display Names</em>}</li>
27
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getIcons <em>Icons</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getIcons <em>Icons</em>}</li>
Lines 36-41 Link Here
36
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getPreDestroys <em>Pre Destroys</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getPreDestroys <em>Pre Destroys</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getCallbackHandler <em>Callback Handler</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getCallbackHandler <em>Callback Handler</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getMessageDestinations <em>Message Destinations</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getMessageDestinations <em>Message Destinations</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDataSource <em>Data Source</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getId <em>Id</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getId <em>Id</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#isMetadataComplete <em>Metadata Complete</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#isMetadataComplete <em>Metadata Complete</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getVersion <em>Version</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getVersion <em>Version</em>}</li>
Lines 48-53 Link Here
48
 */
63
 */
49
public interface ApplicationClient extends JavaEEObject {
64
public interface ApplicationClient extends JavaEEObject {
50
	/**
65
	/**
66
	 * Returns the value of the '<em><b>Module Name</b></em>' attribute.
67
	 * <!-- begin-user-doc -->
68
	 * <!-- end-user-doc -->
69
	 * <!-- begin-model-doc -->
70
	 * 
71
	 *             @since Java EE 6, Application Client 6
72
	 *           
73
	 * <!-- end-model-doc -->
74
	 * @return the value of the '<em>Module Name</em>' attribute.
75
	 * @see #setModuleName(String)
76
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_ModuleName()
77
	 * @generated
78
	 */
79
	String getModuleName();
80
81
	/**
82
	 * Sets the value of the '{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getModuleName <em>Module Name</em>}' attribute.
83
	 * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
85
	 * @param value the new value of the '<em>Module Name</em>' attribute.
86
	 * @see #getModuleName()
87
	 * @generated
88
	 */
89
	void setModuleName(String value);
90
91
	/**
51
	 * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
92
	 * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
52
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
93
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
53
	 * <!-- begin-user-doc -->
94
	 * <!-- begin-user-doc -->
Lines 60-66 Link Here
60
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_Descriptions()
101
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_Descriptions()
61
	 * @generated
102
	 * @generated
62
	 */
103
	 */
63
	List getDescriptions();
104
	List<Description> getDescriptions();
64
105
65
	/**
106
	/**
66
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
107
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
Lines 75-81 Link Here
75
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_DisplayNames()
116
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_DisplayNames()
76
	 * @generated
117
	 * @generated
77
	 */
118
	 */
78
	List getDisplayNames();
119
	List<DisplayName> getDisplayNames();
79
120
80
	/**
121
	/**
81
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
122
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
Lines 90-96 Link Here
90
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_Icons()
131
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_Icons()
91
	 * @generated
132
	 * @generated
92
	 */
133
	 */
93
	List getIcons();
134
	List<Icon> getIcons();
94
135
95
	/**
136
	/**
96
	 * Returns the value of the '<em><b>Env Entries</b></em>' containment reference list.
137
	 * Returns the value of the '<em><b>Env Entries</b></em>' containment reference list.
Lines 105-111 Link Here
105
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_EnvEntries()
146
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_EnvEntries()
106
	 * @generated
147
	 * @generated
107
	 */
148
	 */
108
	List getEnvEntries();
149
	List<EnvEntry> getEnvEntries();
109
150
110
	/**
151
	/**
111
	 * Returns the value of the '<em><b>Ejb Refs</b></em>' containment reference list.
152
	 * Returns the value of the '<em><b>Ejb Refs</b></em>' containment reference list.
Lines 120-126 Link Here
120
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_EjbRefs()
161
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_EjbRefs()
121
	 * @generated
162
	 * @generated
122
	 */
163
	 */
123
	List getEjbRefs();
164
	List<EjbRef> getEjbRefs();
124
165
125
	/**
166
	/**
126
	 * Returns the value of the '<em><b>Service Refs</b></em>' containment reference list.
167
	 * Returns the value of the '<em><b>Service Refs</b></em>' containment reference list.
Lines 135-141 Link Here
135
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_ServiceRefs()
176
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_ServiceRefs()
136
	 * @generated
177
	 * @generated
137
	 */
178
	 */
138
	List getServiceRefs();
179
	List<ServiceRef> getServiceRefs();
139
180
140
	/**
181
	/**
141
	 * Returns the value of the '<em><b>Resource Refs</b></em>' containment reference list.
182
	 * Returns the value of the '<em><b>Resource Refs</b></em>' containment reference list.
Lines 150-156 Link Here
150
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_ResourceRefs()
191
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_ResourceRefs()
151
	 * @generated
192
	 * @generated
152
	 */
193
	 */
153
	List getResourceRefs();
194
	List<ResourceRef> getResourceRefs();
154
195
155
	/**
196
	/**
156
	 * Returns the value of the '<em><b>Resource Env Refs</b></em>' containment reference list.
197
	 * Returns the value of the '<em><b>Resource Env Refs</b></em>' containment reference list.
Lines 165-171 Link Here
165
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_ResourceEnvRefs()
206
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_ResourceEnvRefs()
166
	 * @generated
207
	 * @generated
167
	 */
208
	 */
168
	List getResourceEnvRefs();
209
	List<ResourceEnvRef> getResourceEnvRefs();
169
210
170
	/**
211
	/**
171
	 * Returns the value of the '<em><b>Message Destination Refs</b></em>' containment reference list.
212
	 * Returns the value of the '<em><b>Message Destination Refs</b></em>' containment reference list.
Lines 180-186 Link Here
180
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_MessageDestinationRefs()
221
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_MessageDestinationRefs()
181
	 * @generated
222
	 * @generated
182
	 */
223
	 */
183
	List getMessageDestinationRefs();
224
	List<MessageDestinationRef> getMessageDestinationRefs();
184
225
185
	/**
226
	/**
186
	 * Returns the value of the '<em><b>Persistence Unit Refs</b></em>' containment reference list.
227
	 * Returns the value of the '<em><b>Persistence Unit Refs</b></em>' containment reference list.
Lines 195-201 Link Here
195
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_PersistenceUnitRefs()
236
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_PersistenceUnitRefs()
196
	 * @generated
237
	 * @generated
197
	 */
238
	 */
198
	List getPersistenceUnitRefs();
239
	List<PersistenceUnitRef> getPersistenceUnitRefs();
199
240
200
	/**
241
	/**
201
	 * Returns the value of the '<em><b>Post Constructs</b></em>' containment reference list.
242
	 * Returns the value of the '<em><b>Post Constructs</b></em>' containment reference list.
Lines 210-216 Link Here
210
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_PostConstructs()
251
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_PostConstructs()
211
	 * @generated
252
	 * @generated
212
	 */
253
	 */
213
	List getPostConstructs();
254
	List<LifecycleCallback> getPostConstructs();
214
255
215
	/**
256
	/**
216
	 * Returns the value of the '<em><b>Pre Destroys</b></em>' containment reference list.
257
	 * Returns the value of the '<em><b>Pre Destroys</b></em>' containment reference list.
Lines 225-231 Link Here
225
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_PreDestroys()
266
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_PreDestroys()
226
	 * @generated
267
	 * @generated
227
	 */
268
	 */
228
	List getPreDestroys();
269
	List<LifecycleCallback> getPreDestroys();
229
270
230
	/**
271
	/**
231
	 * Returns the value of the '<em><b>Callback Handler</b></em>' attribute.
272
	 * Returns the value of the '<em><b>Callback Handler</b></em>' attribute.
Lines 234-248 Link Here
234
	 * <!-- begin-model-doc -->
275
	 * <!-- begin-model-doc -->
235
	 * 
276
	 * 
236
	 * 
277
	 * 
237
	 * 	    The callback-handler element names a class provided by
278
	 *             The callback-handler element names a class provided by
238
	 * 	    the application.  The class must have a no args
279
	 *             the application.  The class must have a no args
239
	 * 	    constructor and must implement the
280
	 *             constructor and must implement the
240
	 * 	    javax.security.auth.callback.CallbackHandler
281
	 *             javax.security.auth.callback.CallbackHandler
241
	 * 	    interface.  The class will be instantiated by the
282
	 *             interface.  The class will be instantiated by the
242
	 * 	    application client container and used by the container
283
	 *             application client container and used by the container
243
	 * 	    to collect authentication information from the user.
284
	 *             to collect authentication information from the user.
244
	 * 
285
	 *             
245
	 * 	  
286
	 *             @since Java EE 5, Application Client 5
287
	 *           
246
	 * <!-- end-model-doc -->
288
	 * <!-- end-model-doc -->
247
	 * @return the value of the '<em>Callback Handler</em>' attribute.
289
	 * @return the value of the '<em>Callback Handler</em>' attribute.
248
	 * @see #setCallbackHandler(String)
290
	 * @see #setCallbackHandler(String)
Lines 274-280 Link Here
274
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_MessageDestinations()
316
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_MessageDestinations()
275
	 * @generated
317
	 * @generated
276
	 */
318
	 */
277
	List getMessageDestinations();
319
	List<MessageDestination> getMessageDestinations();
320
321
	/**
322
	 * Returns the value of the '<em><b>Data Source</b></em>' containment reference list.
323
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.DataSourceType}.
324
	 * <!-- begin-user-doc -->
325
	 * <!-- end-user-doc -->
326
	 * <!-- begin-model-doc -->
327
	 * 
328
	 *             @since Java EE 6, Application Client 6
329
	 *           
330
	 * <!-- end-model-doc -->
331
	 * @return the value of the '<em>Data Source</em>' containment reference list.
332
	 * @see org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage#getApplicationClient_DataSource()
333
	 * @generated
334
	 */
335
	List<DataSourceType> getDataSource();
278
336
279
	/**
337
	/**
280
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
338
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
Lines 308-332 Link Here
308
	 * <!-- begin-model-doc -->
366
	 * <!-- begin-model-doc -->
309
	 * 
367
	 * 
310
	 * 
368
	 * 
311
	 * 	  The metadata-complete attribute defines whether this
369
	 *           The metadata-complete attribute defines whether this
312
	 * 	  deployment descriptor and other related deployment
370
	 *           deployment descriptor and other related deployment
313
	 * 	  descriptors for this module (e.g., web service
371
	 *           descriptors for this module (e.g., web service
314
	 * 	  descriptors) are complete, or whether the class
372
	 *           descriptors) are complete, or whether the class
315
	 * 	  files available to this module and packaged with
373
	 *           files available to this module and packaged with
316
	 * 	  this application should be examined for annotations
374
	 *           this application should be examined for annotations
317
	 * 	  that specify deployment information.
375
	 *           that specify deployment information.
318
	 * 
376
	 *           
319
	 * 	  If metadata-complete is set to "true", the deployment
377
	 *           If metadata-complete is set to "true", the deployment
320
	 * 	  tool must ignore any annotations that specify deployment
378
	 *           tool must ignore any annotations that specify deployment
321
	 * 	  information, which might be present in the class files
379
	 *           information, which might be present in the class files
322
	 * 	  of the application.
380
	 *           of the application.
323
	 * 
381
	 *           
324
	 * 	  If metadata-complete is not specified or is set to
382
	 *           If metadata-complete is not specified or is set to
325
	 * 	  "false", the deployment tool must examine the class
383
	 *           "false", the deployment tool must examine the class
326
	 * 	  files of the application for annotations, as
384
	 *           files of the application for annotations, as
327
	 * 	  specified by the specifications.
385
	 *           specified by the specifications.
328
	 * 
386
	 *           
329
	 * 	
387
	 *           @since Java EE 5, Application Client 5
388
	 *         
330
	 * <!-- end-model-doc -->
389
	 * <!-- end-model-doc -->
331
	 * @return the value of the '<em>Metadata Complete</em>' attribute.
390
	 * @return the value of the '<em>Metadata Complete</em>' attribute.
332
	 * @see #isSetMetadataComplete()
391
	 * @see #isSetMetadataComplete()
Lines 374-388 Link Here
374
433
375
	/**
434
	/**
376
	 * Returns the value of the '<em><b>Version</b></em>' attribute.
435
	 * Returns the value of the '<em><b>Version</b></em>' attribute.
377
	 * The default value is <code>"5"</code>.
436
	 * The default value is <code>"6"</code>.
378
	 * <!-- begin-user-doc -->
437
	 * <!-- begin-user-doc -->
379
	 * <!-- end-user-doc -->
438
	 * <!-- end-user-doc -->
380
	 * <!-- begin-model-doc -->
439
	 * <!-- begin-model-doc -->
381
	 * 
440
	 * 
382
	 * 
441
	 * 
383
	 * 	  The required value for the version is 5.
442
	 *           The required value for the version is 6.
384
	 * 
443
	 *           
385
	 * 	
444
	 *         
386
	 * <!-- end-model-doc -->
445
	 * <!-- end-model-doc -->
387
	 * @return the value of the '<em>Version</em>' attribute.
446
	 * @return the value of the '<em>Version</em>' attribute.
388
	 * @see #isSetVersion()
447
	 * @see #isSetVersion()
(-)jee-models/org/eclipse/jst/javaee/jsp/TagLib.java (+3 lines)
Lines 26-31 Link Here
26
 * 	to override implicit map entries from TLD files and
26
 * 	to override implicit map entries from TLD files and
27
 * 	from the container.
27
 * 	from the container.
28
 * 
28
 * 
29
 * 	@since Java EE 5, JSP 2.1
29
 *       
30
 *       
30
 * <!-- end-model-doc -->
31
 * <!-- end-model-doc -->
31
 *
32
 *
Lines 57-62 Link Here
57
	 * 	    There should be no entries in web.xml with the
58
	 * 	    There should be no entries in web.xml with the
58
	 * 	    same taglib-uri value.
59
	 * 	    same taglib-uri value.
59
	 * 
60
	 * 
61
	 * 	    @since Java EE 5, JSP 2.1
60
	 * 	  
62
	 * 	  
61
	 * <!-- end-model-doc -->
63
	 * <!-- end-model-doc -->
62
	 * @return the value of the '<em>Taglib Uri</em>' attribute.
64
	 * @return the value of the '<em>Taglib Uri</em>' attribute.
Lines 88-93 Link Here
88
	 * 	    application) where to find the Tag Library
90
	 * 	    application) where to find the Tag Library
89
	 * 	    Description file for the tag library.
91
	 * 	    Description file for the tag library.
90
	 * 
92
	 * 
93
	 * 	    @since Java EE 5, JSP 2.1
91
	 * 	  
94
	 * 	  
92
	 * <!-- end-model-doc -->
95
	 * <!-- end-model-doc -->
93
	 * @return the value of the '<em>Taglib Location</em>' attribute.
96
	 * @return the value of the '<em>Taglib Location</em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/jsp/JspConfig.java (-2 / +3 lines)
Lines 26-31 Link Here
26
 * 	information for the JSP files in a web application. It has
26
 * 	information for the JSP files in a web application. It has
27
 * 	two subelements, taglib and jsp-property-group.
27
 * 	two subelements, taglib and jsp-property-group.
28
 * 
28
 * 
29
 * 	@since Java EE 5, JSP 2.1
29
 *       
30
 *       
30
 * <!-- end-model-doc -->
31
 * <!-- end-model-doc -->
31
 *
32
 *
Lines 56-62 Link Here
56
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig_TagLibs()
57
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig_TagLibs()
57
	 * @generated
58
	 * @generated
58
	 */
59
	 */
59
	List getTagLibs();
60
	List<TagLib> getTagLibs();
60
61
61
	/**
62
	/**
62
	 * Returns the value of the '<em><b>Jsp Property Groups</b></em>' containment reference list.
63
	 * Returns the value of the '<em><b>Jsp Property Groups</b></em>' containment reference list.
Lines 71-77 Link Here
71
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig_JspPropertyGroups()
72
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig_JspPropertyGroups()
72
	 * @generated
73
	 * @generated
73
	 */
74
	 */
74
	List getJspPropertyGroups();
75
	List<JspPropertyGroup> getJspPropertyGroups();
75
76
76
	/**
77
	/**
77
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
78
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
(-)jee-models/org/eclipse/jst/javaee/jsp/JspPropertyGroup.java (-6 / +150 lines)
Lines 12-18 Link Here
12
12
13
import java.util.List;
13
import java.util.List;
14
14
15
import org.eclipse.jst.javaee.core.Description;
16
import org.eclipse.jst.javaee.core.DisplayName;
17
import org.eclipse.jst.javaee.core.Icon;
15
import org.eclipse.jst.javaee.core.JavaEEObject;
18
import org.eclipse.jst.javaee.core.JavaEEObject;
19
import org.eclipse.jst.javaee.core.UrlPatternType;
16
20
17
/**
21
/**
18
 * <!-- begin-user-doc -->
22
 * <!-- begin-user-doc -->
Lines 36-42 Link Here
36
 *               when used as a String literal.
40
 *               when used as a String literal.
37
 *             - Control whether template text containing only
41
 *             - Control whether template text containing only
38
 *               whitespaces must be removed from the response output.
42
 *               whitespaces must be removed from the response output.
43
 * 	    - Indicate the default contentType information.
44
 * 	    - Indicate the default buffering model for JspWriter
45
 * 	    - Control whether error should be raised for the use of
46
 * 	      undeclared namespaces in a JSP page.
39
 * 
47
 * 
48
 * 	@since Java EE 5, JSP 2.1
40
 *       
49
 *       
41
 * <!-- end-model-doc -->
50
 * <!-- end-model-doc -->
42
 *
51
 *
Lines 55-60 Link Here
55
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludeCodas <em>Include Codas</em>}</li>
64
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludeCodas <em>Include Codas</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}</li>
65
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}</li>
66
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}</li>
67
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType <em>Default Content Type</em>}</li>
68
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer <em>Buffer</em>}</li>
69
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId <em>Id</em>}</li>
70
 *   <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId <em>Id</em>}</li>
59
 * </ul>
71
 * </ul>
60
 * </p>
72
 * </p>
Lines 77-83 Link Here
77
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Descriptions()
89
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Descriptions()
78
	 * @generated
90
	 * @generated
79
	 */
91
	 */
80
	List getDescriptions();
92
	List<Description> getDescriptions();
81
93
82
	/**
94
	/**
83
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
95
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
Lines 92-98 Link Here
92
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_DisplayNames()
104
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_DisplayNames()
93
	 * @generated
105
	 * @generated
94
	 */
106
	 */
95
	List getDisplayNames();
107
	List<DisplayName> getDisplayNames();
96
108
97
	/**
109
	/**
98
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
110
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
Lines 107-113 Link Here
107
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Icons()
119
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Icons()
108
	 * @generated
120
	 * @generated
109
	 */
121
	 */
110
	List getIcons();
122
	List<Icon> getIcons();
111
123
112
	/**
124
	/**
113
	 * Returns the value of the '<em><b>Url Patterns</b></em>' containment reference list.
125
	 * Returns the value of the '<em><b>Url Patterns</b></em>' containment reference list.
Lines 122-128 Link Here
122
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_UrlPatterns()
134
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_UrlPatterns()
123
	 * @generated
135
	 * @generated
124
	 */
136
	 */
125
	List getUrlPatterns();
137
	List<UrlPatternType> getUrlPatterns();
126
138
127
	/**
139
	/**
128
	 * Returns the value of the '<em><b>El Ignored</b></em>' attribute.
140
	 * Returns the value of the '<em><b>El Ignored</b></em>' attribute.
Lines 137-142 Link Here
137
	 * 	    a Servlet 2.4 or greater web.xml, and disabled
149
	 * 	    a Servlet 2.4 or greater web.xml, and disabled
138
	 * 	    otherwise.
150
	 * 	    otherwise.
139
	 * 
151
	 * 
152
	 * 	    @since Java EE 5, JSP 2.1
140
	 * 	  
153
	 * 	  
141
	 * <!-- end-model-doc -->
154
	 * <!-- end-model-doc -->
142
	 * @return the value of the '<em>El Ignored</em>' attribute.
155
	 * @return the value of the '<em>El Ignored</em>' attribute.
Lines 202-207 Link Here
202
	 * 	    It is legal to name the same encoding through
215
	 * 	    It is legal to name the same encoding through
203
	 * 	    mulitple mechanisms.
216
	 * 	    mulitple mechanisms.
204
	 * 
217
	 * 
218
	 * 	    @since Java EE 5, JSP 2.1
205
	 * 	  
219
	 * 	  
206
	 * <!-- end-model-doc -->
220
	 * <!-- end-model-doc -->
207
	 * @return the value of the '<em>Page Encoding</em>' attribute.
221
	 * @return the value of the '<em>Page Encoding</em>' attribute.
Lines 232-237 Link Here
232
	 * 	    group of JSP pages.  By default, scripting is
246
	 * 	    group of JSP pages.  By default, scripting is
233
	 * 	    enabled.
247
	 * 	    enabled.
234
	 * 
248
	 * 
249
	 * 	    @since Java EE 5, JSP 2.1
235
	 * 	  
250
	 * 	  
236
	 * <!-- end-model-doc -->
251
	 * <!-- end-model-doc -->
237
	 * @return the value of the '<em>Scripting Invalid</em>' attribute.
252
	 * @return the value of the '<em>Scripting Invalid</em>' attribute.
Lines 292-297 Link Here
292
	 * 	    be JSP documents, unless there is another
307
	 * 	    be JSP documents, unless there is another
293
	 * 	    property group that indicates otherwise.
308
	 * 	    property group that indicates otherwise.
294
	 * 
309
	 * 
310
	 * 	    @since Java EE 5, JSP 2.1
295
	 * 	  
311
	 * 	  
296
	 * <!-- end-model-doc -->
312
	 * <!-- end-model-doc -->
297
	 * @return the value of the '<em>Is Xml</em>' attribute.
313
	 * @return the value of the '<em>Is Xml</em>' attribute.
Lines 353-365 Link Here
353
	 * 	    in an include directive) at the beginning of each
369
	 * 	    in an include directive) at the beginning of each
354
	 * 	    JSP page in this jsp-property-group.
370
	 * 	    JSP page in this jsp-property-group.
355
	 * 
371
	 * 
372
	 * 	    @since Java EE 5, JSP 2.1
356
	 * 	  
373
	 * 	  
357
	 * <!-- end-model-doc -->
374
	 * <!-- end-model-doc -->
358
	 * @return the value of the '<em>Include Preludes</em>' attribute list.
375
	 * @return the value of the '<em>Include Preludes</em>' attribute list.
359
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_IncludePreludes()
376
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_IncludePreludes()
360
	 * @generated
377
	 * @generated
361
	 */
378
	 */
362
	List getIncludePreludes();
379
	List<String> getIncludePreludes();
363
380
364
	/**
381
	/**
365
	 * Returns the value of the '<em><b>Include Codas</b></em>' attribute list.
382
	 * Returns the value of the '<em><b>Include Codas</b></em>' attribute list.
Lines 376-388 Link Here
376
	 * 	    in an include directive) at the end of each
393
	 * 	    in an include directive) at the end of each
377
	 * 	    JSP page in this jsp-property-group.
394
	 * 	    JSP page in this jsp-property-group.
378
	 * 
395
	 * 
396
	 * 	    @since Java EE 5, JSP 2.1
379
	 * 	  
397
	 * 	  
380
	 * <!-- end-model-doc -->
398
	 * <!-- end-model-doc -->
381
	 * @return the value of the '<em>Include Codas</em>' attribute list.
399
	 * @return the value of the '<em>Include Codas</em>' attribute list.
382
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_IncludeCodas()
400
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_IncludeCodas()
383
	 * @generated
401
	 * @generated
384
	 */
402
	 */
385
	List getIncludeCodas();
403
	List<String> getIncludeCodas();
386
404
387
	/**
405
	/**
388
	 * Returns the value of the '<em><b>Deferred Syntax Allowed As Literal</b></em>' attribute.
406
	 * Returns the value of the '<em><b>Deferred Syntax Allowed As Literal</b></em>' attribute.
Lines 397-402 Link Here
397
	 *              this element is enabled (true). Disabled (false) by
415
	 *              this element is enabled (true). Disabled (false) by
398
	 *              default.
416
	 *              default.
399
	 * 
417
	 * 
418
	 *              @since Java EE 5, JSP 2.1
400
	 * 	  
419
	 * 	  
401
	 * <!-- end-model-doc -->
420
	 * <!-- end-model-doc -->
402
	 * @return the value of the '<em>Deferred Syntax Allowed As Literal</em>' attribute.
421
	 * @return the value of the '<em>Deferred Syntax Allowed As Literal</em>' attribute.
Lines 455-460 Link Here
455
	 *              effect on JSP documents (XML syntax). Disabled (false)
474
	 *              effect on JSP documents (XML syntax). Disabled (false)
456
	 *              by default.
475
	 *              by default.
457
	 * 
476
	 * 
477
	 *              @since Java EE 5, JSP 2.1
458
	 * 	  
478
	 * 	  
459
	 * <!-- end-model-doc -->
479
	 * <!-- end-model-doc -->
460
	 * @return the value of the '<em>Trim Directive Whitespaces</em>' attribute.
480
	 * @return the value of the '<em>Trim Directive Whitespaces</em>' attribute.
Lines 502-507 Link Here
502
	boolean isSetTrimDirectiveWhitespaces();
522
	boolean isSetTrimDirectiveWhitespaces();
503
523
504
	/**
524
	/**
525
	 * Returns the value of the '<em><b>Default Content Type</b></em>' attribute.
526
	 * <!-- begin-user-doc -->
527
	 * <!-- end-user-doc -->
528
	 * <!-- begin-model-doc -->
529
	 * 
530
	 * 
531
	 *             The valid values of default-content-type are those of the
532
	 *             contentType page directive.  It specifies the default
533
	 *             response contentType if the page directive does not include
534
	 *             a contentType attribute.
535
	 * 
536
	 *             @since Java EE 6, JSP 2.2
537
	 *           
538
	 * <!-- end-model-doc -->
539
	 * @return the value of the '<em>Default Content Type</em>' attribute.
540
	 * @see #setDefaultContentType(String)
541
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_DefaultContentType()
542
	 * @generated
543
	 */
544
	String getDefaultContentType();
545
546
	/**
547
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType <em>Default Content Type</em>}' attribute.
548
	 * <!-- begin-user-doc -->
549
	 * <!-- end-user-doc -->
550
	 * @param value the new value of the '<em>Default Content Type</em>' attribute.
551
	 * @see #getDefaultContentType()
552
	 * @generated
553
	 */
554
	void setDefaultContentType(String value);
555
556
	/**
557
	 * Returns the value of the '<em><b>Buffer</b></em>' attribute.
558
	 * <!-- begin-user-doc -->
559
	 * <!-- end-user-doc -->
560
	 * <!-- begin-model-doc -->
561
	 * 
562
	 * 
563
	 *             The valid values of buffer are those of the
564
	 *             buffer page directive.  It specifies if buffering should be
565
	 *             used for the output to response, and if so, the size of the
566
	 *             buffer to use.
567
	 * 
568
	 *             @since Java EE 6, JSP 2.2
569
	 *           
570
	 * <!-- end-model-doc -->
571
	 * @return the value of the '<em>Buffer</em>' attribute.
572
	 * @see #setBuffer(String)
573
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Buffer()
574
	 * @generated
575
	 */
576
	String getBuffer();
577
578
	/**
579
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer <em>Buffer</em>}' attribute.
580
	 * <!-- begin-user-doc -->
581
	 * <!-- end-user-doc -->
582
	 * @param value the new value of the '<em>Buffer</em>' attribute.
583
	 * @see #getBuffer()
584
	 * @generated
585
	 */
586
	void setBuffer(String value);
587
588
	/**
589
	 * Returns the value of the '<em><b>Error On Undeclared Namespace</b></em>' attribute.
590
	 * <!-- begin-user-doc -->
591
	 * <!-- end-user-doc -->
592
	 * <!-- begin-model-doc -->
593
	 * 
594
	 * 
595
	 *             The default behavior when a tag with unknown namespace is used
596
	 *             in a JSP page (regular syntax) is to silently ignore it.  If
597
	 *             set to true, then an error must be raised during the translation
598
	 *             time when an undeclared tag is used in a JSP page.  Disabled
599
	 *             (false) by default.
600
	 * 
601
	 *             @since Java EE 6, JSP 2.2
602
	 *           
603
	 * <!-- end-model-doc -->
604
	 * @return the value of the '<em>Error On Undeclared Namespace</em>' attribute.
605
	 * @see #isSetErrorOnUndeclaredNamespace()
606
	 * @see #unsetErrorOnUndeclaredNamespace()
607
	 * @see #setErrorOnUndeclaredNamespace(boolean)
608
	 * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_ErrorOnUndeclaredNamespace()
609
	 * @generated
610
	 */
611
	boolean isErrorOnUndeclaredNamespace();
612
613
	/**
614
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}' attribute.
615
	 * <!-- begin-user-doc -->
616
	 * <!-- end-user-doc -->
617
	 * @param value the new value of the '<em>Error On Undeclared Namespace</em>' attribute.
618
	 * @see #isSetErrorOnUndeclaredNamespace()
619
	 * @see #unsetErrorOnUndeclaredNamespace()
620
	 * @see #isErrorOnUndeclaredNamespace()
621
	 * @generated
622
	 */
623
	void setErrorOnUndeclaredNamespace(boolean value);
624
625
	/**
626
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}' attribute.
627
	 * <!-- begin-user-doc -->
628
	 * <!-- end-user-doc -->
629
	 * @see #isSetErrorOnUndeclaredNamespace()
630
	 * @see #isErrorOnUndeclaredNamespace()
631
	 * @see #setErrorOnUndeclaredNamespace(boolean)
632
	 * @generated
633
	 */
634
	void unsetErrorOnUndeclaredNamespace();
635
636
	/**
637
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}' attribute is set.
638
	 * <!-- begin-user-doc -->
639
	 * <!-- end-user-doc -->
640
	 * @return whether the value of the '<em>Error On Undeclared Namespace</em>' attribute is set.
641
	 * @see #unsetErrorOnUndeclaredNamespace()
642
	 * @see #isErrorOnUndeclaredNamespace()
643
	 * @see #setErrorOnUndeclaredNamespace(boolean)
644
	 * @generated
645
	 */
646
	boolean isSetErrorOnUndeclaredNamespace();
647
648
	/**
505
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
649
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
506
	 * <!-- begin-user-doc -->
650
	 * <!-- begin-user-doc -->
507
	 * <p>
651
	 * <p>
(-)jee-models/org/eclipse/jst/javaee/applicationclient/internal/metadata/ApplicationclientPackage.java (-250 / +284 lines)
Lines 29-295 Link Here
29
 * <!-- end-user-doc -->
29
 * <!-- end-user-doc -->
30
 * <!-- begin-model-doc -->
30
 * <!-- begin-model-doc -->
31
 * 
31
 * 
32
 *       @(#)application-client_5.xsds	1.26 02/17/06
33
 *     
34
 * 
35
 * 
36
 *       Copyright 2003-2006 Sun Microsystems, Inc.
37
 *       4150 Network Circle
38
 *       Santa Clara, California 95054
39
 *       U.S.A
40
 *       All rights reserved.
41
 * 
42
 *       Sun Microsystems, Inc. has intellectual property rights
43
 *       relating to technology described in this document. In
44
 *       particular, and without limitation, these intellectual
45
 *       property rights may include one or more of the U.S. patents
46
 *       listed at http://www.sun.com/patents and one or more
47
 *       additional patents or pending patent applications in the
48
 *       U.S. and other countries.
49
 * 
50
 *       This document and the technology which it describes are
51
 *       distributed under licenses restricting their use, copying,
52
 *       distribution, and decompilation. No part of this document
53
 *       may be reproduced in any form by any means without prior
54
 *       written authorization of Sun and its licensors, if any.
55
 * 
56
 *       Third-party software, including font technology, is
57
 *       copyrighted and licensed from Sun suppliers.
58
 * 
59
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
60
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
61
 *       Cup logo are trademarks or registered trademarks of Sun
62
 *       Microsystems, Inc. in the U.S. and other countries.
63
 * 
64
 *       Federal Acquisitions: Commercial Software - Government Users
65
 *       Subject to Standard License Terms and Conditions.
66
 * 
32
 * 
33
 *       $Id: application-client_6.xsd,v 1.4 2009/10/02 16:04:08 ccc Exp $
34
 *       
67
 *     
35
 *     
68
 * 
36
 * 
37
 * <![CDATA[[
38
 *       This is the XML Schema for the application client 6
39
 *       deployment descriptor.  The deployment descriptor must
40
 *       be named "META-INF/application-client.xml" in the
41
 *       application client's jar file.  All application client
42
 *       deployment descriptors must indicate the application
43
 *       client schema by using the Java EE namespace:
69
 *       
44
 *       
70
 * 
45
 *       http://java.sun.com/xml/ns/javaee
71
 * 	This is the XML Schema for the application client 5
46
 *       
72
 * 	deployment descriptor.  The deployment descriptor must
47
 *       and indicate the version of the schema by
73
 * 	be named "META-INF/application-client.xml" in the
48
 *       using the version element as shown below:
74
 * 	application client's jar file.  All application client
49
 *       
75
 * 	deployment descriptors must indicate the application
50
 *       <application-client xmlns="http://java.sun.com/xml/ns/javaee"
76
 * 	client schema by using the Java EE namespace:
51
 *       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
77
 * 
52
 *       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
78
 * 	http://java.sun.com/xml/ns/javaee
53
 *       	http://java.sun.com/xml/ns/javaee/application-client_6.xsd"
79
 * 
54
 *       version="6">
80
 * 	and indicate the version of the schema by
55
 *       ...
81
 * 	using the version element as shown below:
56
 *       </application-client>
82
 * 
57
 *       
83
 * 	    &lt;application-client xmlns="http://java.sun.com/xml/ns/javaee"
58
 *       The instance documents may indicate the published version of
84
 * 	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
59
 *       the schema using the xsi:schemaLocation attribute for Java EE
85
 * 	      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
60
 *       namespace with the following location:
86
 * 		http://java.sun.com/xml/ns/javaee/application-client_5.xsd"
61
 *       
87
 * 	      version="5"&gt;
62
 *       http://java.sun.com/xml/ns/javaee/application-client_6.xsd
88
 * 	      ...
63
 *       
89
 * 	    &lt;/application-client&gt;
64
 * ]]>
90
 * 
91
 * 	The instance documents may indicate the published version of
92
 * 	the schema using the xsi:schemaLocation attribute for Java EE
93
 * 	namespace with the following location:
94
 * 
95
 * 	http://java.sun.com/xml/ns/javaee/application-client_5.xsd
96
 * 
97
 * 	
98
 *     
65
 *     
99
 * 
66
 * 
100
 * 
67
 * 
101
 *       The following conventions apply to all Java EE
68
 *       The following conventions apply to all Java EE
102
 *       deployment descriptor elements unless indicated otherwise.
69
 *       deployment descriptor elements unless indicated otherwise.
103
 * 
70
 *       
104
 *       - In elements that specify a pathname to a file within the
71
 *       - In elements that specify a pathname to a file within the
105
 * 	same JAR file, relative filenames (i.e., those not
72
 *       same JAR file, relative filenames (i.e., those not
106
 * 	starting with "/") are considered relative to the root of
73
 *       starting with "/") are considered relative to the root of
107
 * 	the JAR file's namespace.  Absolute filenames (i.e., those
74
 *       the JAR file's namespace.  Absolute filenames (i.e., those
108
 * 	starting with "/") also specify names in the root of the
75
 *       starting with "/") also specify names in the root of the
109
 * 	JAR file's namespace.  In general, relative names are
76
 *       JAR file's namespace.  In general, relative names are
110
 * 	preferred.  The exception is .war files where absolute
77
 *       preferred.  The exception is .war files where absolute
111
 * 	names are preferred for consistency with the Servlet API.
78
 *       names are preferred for consistency with the Servlet API.
112
 * 
79
 *       
113
 *     
114
 * 
115
 *       @(#)javaee_5.xsds	1.65 06/02/17
116
 *     
80
 *     
117
 * 
81
 * 
118
 * 
82
 * 
119
 *       Copyright 2003-2006 Sun Microsystems, Inc.
83
 *       $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
120
 *       4150 Network Circle
84
 *       
121
 *       Santa Clara, California 95054
122
 *       U.S.A
123
 *       All rights reserved.
124
 * 
125
 *       Sun Microsystems, Inc. has intellectual property rights
126
 *       relating to technology described in this document. In
127
 *       particular, and without limitation, these intellectual
128
 *       property rights may include one or more of the U.S. patents
129
 *       listed at http://www.sun.com/patents and one or more
130
 *       additional patents or pending patent applications in the
131
 *       U.S. and other countries.
132
 * 
133
 *       This document and the technology which it describes are
134
 *       distributed under licenses restricting their use, copying,
135
 *       distribution, and decompilation. No part of this document
136
 *       may be reproduced in any form by any means without prior
137
 *       written authorization of Sun and its licensors, if any.
138
 * 
139
 *       Third-party software, including font technology, is
140
 *       copyrighted and licensed from Sun suppliers.
141
 * 
142
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
143
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
144
 *       Cup logo are trademarks or registered trademarks of Sun
145
 *       Microsystems, Inc. in the U.S. and other countries.
146
 * 
147
 *       Federal Acquisitions: Commercial Software - Government Users
148
 *       Subject to Standard License Terms and Conditions.
149
 * 
150
 *     
85
 *     
151
 * 
86
 * 
152
 * 
87
 * 
153
 * The following definitions that appear in the common
88
 *       The following definitions that appear in the common
154
 * shareable schema(s) of J2EE deployment descriptors should be
89
 *       shareable schema(s) of Java EE deployment descriptors should be
155
 * interpreted with respect to the context they are included:
90
 *       interpreted with respect to the context they are included:
156
 * 
91
 *       
157
 * Deployment Component may indicate one of the following:
92
 *       Deployment Component may indicate one of the following:
158
 *     j2ee application;
93
 *       java ee application;
159
 *     application client;
94
 *       application client;
160
 *     web application;
95
 *       web application;
161
 *     enterprise bean;
96
 *       enterprise bean;
162
 *     resource adapter;
97
 *       resource adapter; 
163
 * 
98
 *       
164
 * Deployment File may indicate one of the following:
99
 *       Deployment File may indicate one of the following:
165
 *     ear file;
100
 *       ear file;
166
 *     war file;
101
 *       war file;
167
 *     jar file;
102
 *       jar file;
168
 *     rar file;
103
 *       rar file;
169
 * 
104
 *       
170
 * 
171
 * 
172
 *       @(#)javaee_web_services_client_1_2.xsds	1.19 02/13/06
173
 *     
105
 *     
174
 * 
106
 * 
175
 * 
107
 * 
176
 *       Copyright 2003-2006 Sun Microsystems, Inc.
108
 *       $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
177
 *       4150 Network Circle
109
 *       
178
 *       Santa Clara, California 95054
179
 *       U.S.A
180
 *       All rights reserved.
181
 * 
182
 *       Sun Microsystems, Inc. has intellectual property rights
183
 *       relating to technology described in this document. In
184
 *       particular, and without limitation, these intellectual
185
 *       property rights may include one or more of the U.S. patents
186
 *       listed at http://www.sun.com/patents and one or more
187
 *       additional patents or pending patent applications in the
188
 *       U.S. and other countries.
189
 * 
190
 *       This document and the technology which it describes are
191
 *       distributed under licenses restricting their use, copying,
192
 *       distribution, and decompilation. No part of this document
193
 *       may be reproduced in any form by any means without prior
194
 *       written authorization of Sun and its licensors, if any.
195
 * 
196
 *       Third-party software, including font technology, is
197
 *       copyrighted and licensed from Sun suppliers.
198
 * 
199
 *       Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
200
 *       JavaServer Pages, Enterprise JavaBeans and the Java Coffee
201
 *       Cup logo are trademarks or registered trademarks of Sun
202
 *       Microsystems, Inc. in the U.S. and other countries.
203
 * 
204
 *       Federal Acquisitions: Commercial Software - Government Users
205
 *       Subject to Standard License Terms and Conditions.
206
 * 
207
 *     
110
 *     
208
 * 
111
 * 
209
 * 
112
 * 
210
 *       (C) Copyright International Business Machines Corporation 2002
113
 *       (C) Copyright International Business Machines Corporation 2002
211
 * 
114
 *       
212
 *     
115
 *     
213
 * 
116
 * 
214
 *    See http://www.w3.org/XML/1998/namespace.html and
117
 *    <div xmlns="http://www.w3.org/1999/xhtml">
215
 *    http://www.w3.org/TR/REC-xml for information about this namespace.
118
 *     <h1>About the XML namespace</h1>
216
 * 
119
 * 
217
 *     This schema document describes the XML namespace, in a form
120
 *     <div class="bodytext">
218
 *     suitable for import by other schema documents.  
121
 *      <p>
122
 *       This schema document describes the XML namespace, in a form
123
 *       suitable for import by other schema documents.
124
 *      </p>
125
 *      <p>
126
 *       See <a href="http://www.w3.org/XML/1998/namespace.html">
127
 *       http://www.w3.org/XML/1998/namespace.html</a> and
128
 *       <a href="http://www.w3.org/TR/REC-xml">
129
 *       http://www.w3.org/TR/REC-xml</a> for information 
130
 *       about this namespace.
131
 *      </p>
132
 *      <p>
133
 *       Note that local names in this namespace are intended to be
134
 *       defined only by the World Wide Web Consortium or its subgroups.
135
 *       The names currently defined in this namespace are listed below.
136
 *       They should not be used with conflicting semantics by any Working
137
 *       Group, specification, or document instance.
138
 *      </p>
139
 *      <p>   
140
 *       See further below in this document for more information about <a href="#usage">how to refer to this schema document from your own
141
 *       XSD schema documents</a> and about <a href="#nsversioning">the
142
 *       namespace-versioning policy governing this schema document</a>.
143
 *      </p>
144
 *     </div>
145
 *    </div>
146
 *   
219
 * 
147
 * 
220
 *     Note that local names in this namespace are intended to be defined
148
 *    <div xmlns="http://www.w3.org/1999/xhtml">
221
 *     only by the World Wide Web Consortium or its subgroups.  The
149
 *    
222
 *     following names are currently defined in this namespace and should
150
 *     <h3>Father (in any context at all)</h3> 
223
 *     not be used with conflicting semantics by any Working Group,
151
 * 
224
 *     specification, or document instance:
152
 *     <div class="bodytext">
225
 * 
153
 *      <p>
226
 *     base (as an attribute name): denotes an attribute whose value
154
 *       denotes Jon Bosak, the chair of 
227
 *          provides a URI to be used as the base for interpreting any
155
 *       the original XML Working Group.  This name is reserved by 
228
 *          relative URIs in the scope of the element on which it
156
 *       the following decision of the W3C XML Plenary and 
229
 *          appears; its value is inherited.  This name is reserved
157
 *       XML Coordination groups:
230
 *          by virtue of its definition in the XML Base specification.
158
 *      </p>
231
 * 
159
 *      <blockquote>
232
 *     id   (as an attribute name): denotes an attribute whose value
160
 *        <p>
233
 *          should be interpreted as if declared to be of type ID.
161
 * 	In appreciation for his vision, leadership and
234
 *          The xml:id specification is not yet a W3C Recommendation,
162
 * 	dedication the W3C XML Plenary on this 10th day of
235
 *          but this attribute is included here to facilitate experimentation
163
 * 	February, 2000, reserves for Jon Bosak in perpetuity
236
 *          with the mechanisms it proposes.  Note that it is _not_ included
164
 * 	the XML name "xml:Father".
237
 *          in the specialAttrs attribute group.
165
 *        </p>
238
 * 
166
 *      </blockquote>
239
 *     lang (as an attribute name): denotes an attribute whose value
167
 *     </div>
240
 *          is a language code for the natural language of the content of
168
 *    </div>
241
 *          any element; its value is inherited.  This name is reserved
242
 *          by virtue of its definition in the XML specification.
243
 *   
169
 *   
244
 *     space (as an attribute name): denotes an attribute whose
170
 * 
245
 *          value is a keyword indicating what whitespace processing
171
 *    <div id="usage" xml:id="usage" xmlns="http://www.w3.org/1999/xhtml">
246
 *          discipline is intended for the content of the element; its
172
 *     <h2>
247
 *          value is inherited.  This name is reserved by virtue of its
173
 *       <a name="usage">About this schema document</a>
248
 *          definition in the XML specification.
174
 *     </h2>
249
 * 
175
 * 
250
 *     Father (in any context at all): denotes Jon Bosak, the chair of 
176
 *     <div class="bodytext">
251
 *          the original XML Working Group.  This name is reserved by 
177
 *      <p>
252
 *          the following decision of the W3C XML Plenary and 
178
 *       This schema defines attributes and an attribute group suitable
253
 *          XML Coordination groups:
179
 *       for use by schemas wishing to allow <code>xml:base</code>,
254
 * 
180
 *       <code>xml:lang</code>, <code>xml:space</code> or
255
 *              In appreciation for his vision, leadership and dedication
181
 *       <code>xml:id</code> attributes on elements they define.
256
 *              the W3C XML Plenary on this 10th day of February, 2000
182
 *      </p>
257
 *              reserves for Jon Bosak in perpetuity the XML name
183
 *      <p>
258
 *              xml:Father
184
 *       To enable this, such a schema must import this schema for
185
 *       the XML namespace, e.g. as follows:
186
 *      </p>
187
 *      <pre>
188
 *           &lt;schema . . .&gt;
189
 *            . . .
190
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
191
 *                       schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
192
 *      </pre>
193
 *      <p>
194
 *       or
195
 *      </p>
196
 *      <pre>
197
 *            &lt;import namespace="http://www.w3.org/XML/1998/namespace"
198
 *                       schemaLocation="http://www.w3.org/2009/01/xml.xsd"/&gt;
199
 *      </pre>
200
 *      <p>
201
 *       Subsequently, qualified reference to any of the attributes or the
202
 *       group defined below will have the desired effect, e.g.
203
 *      </p>
204
 *      <pre>
205
 *           &lt;type . . .&gt;
206
 *            . . .
207
 *            &lt;attributeGroup ref="xml:specialAttrs"/&gt;
208
 *      </pre>
209
 *      <p>
210
 *       will define a type which will schema-validate an instance element
211
 *       with any of those attributes.
212
 *      </p>
213
 *     </div>
214
 *    </div>
259
 *   
215
 *   
260
 * This schema defines attributes and an attribute group
216
 * 
261
 *         suitable for use by
217
 *    <div id="nsversioning" xml:id="nsversioning" xmlns="http://www.w3.org/1999/xhtml">
262
 *         schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
218
 *     <h2>
263
 *         attributes on elements they define.
219
 *       <a name="nsversioning">Versioning policy for this schema document</a>
264
 * 
220
 *     </h2>
265
 *         To enable this, such a schema must import this schema
221
 *     <div class="bodytext">
266
 *         for the XML namespace, e.g. as follows:
222
 *      <p>
267
 *         &lt;schema . . .&gt;
223
 *       In keeping with the XML Schema WG's standard versioning
268
 *          . . .
224
 *       policy, this schema document will persist at
269
 *          &lt;import namespace="http://www.w3.org/XML/1998/namespace"
225
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
270
 *                     schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
226
 *        http://www.w3.org/2009/01/xml.xsd</a>.
271
 * 
227
 *      </p>
272
 *         Subsequently, qualified reference to any of the attributes
228
 *      <p>
273
 *         or the group defined below will have the desired effect, e.g.
229
 *       At the date of issue it can also be found at
274
 * 
230
 *       <a href="http://www.w3.org/2001/xml.xsd">
275
 *         &lt;type . . .&gt;
231
 *        http://www.w3.org/2001/xml.xsd</a>.
276
 *          . . .
232
 *      </p>
277
 *          &lt;attributeGroup ref="xml:specialAttrs"/&gt;
233
 *      <p>
278
 *  
234
 *       The schema document at that URI may however change in the future,
279
 *          will define a type which will schema-validate an instance
235
 *       in order to remain compatible with the latest version of XML
280
 *          element with any of those attributes
236
 *       Schema itself, or with the XML namespace itself.  In other words,
281
 * In keeping with the XML Schema WG's standard versioning
237
 *       if the XML Schema or XML namespaces change, the version of this
282
 *    policy, this schema document will persist at
238
 *       document at <a href="http://www.w3.org/2001/xml.xsd">
283
 *    http://www.w3.org/2005/08/xml.xsd.
239
 *        http://www.w3.org/2001/xml.xsd 
284
 *    At the date of issue it can also be found at
240
 *       </a> 
285
 *    http://www.w3.org/2001/xml.xsd.
241
 *       will change accordingly; the version at 
286
 *    The schema document at that URI may however change in the future,
242
 *       <a href="http://www.w3.org/2009/01/xml.xsd">
287
 *    in order to remain compatible with the latest version of XML Schema
243
 *        http://www.w3.org/2009/01/xml.xsd 
288
 *    itself, or with the XML namespace itself.  In other words, if the XML
244
 *       </a> 
289
 *    Schema or XML namespaces change, the version of this document at
245
 *       will not change.
290
 *    http://www.w3.org/2001/xml.xsd will change
246
 *      </p>
291
 *    accordingly; the version at
247
 *      <p>
292
 *    http://www.w3.org/2005/08/xml.xsd will not change.
248
 *       Previous dated (and unchanging) versions of this schema 
249
 *       document are at:
250
 *      </p>
251
 *      <ul>
252
 *       <li>
253
 *           <a href="http://www.w3.org/2009/01/xml.xsd">
254
 * 	http://www.w3.org/2009/01/xml.xsd</a>
255
 *         </li>
256
 *       <li>
257
 *           <a href="http://www.w3.org/2007/08/xml.xsd">
258
 * 	http://www.w3.org/2007/08/xml.xsd</a>
259
 *         </li>
260
 *       <li>
261
 *           <a href="http://www.w3.org/2004/10/xml.xsd">
262
 * 	http://www.w3.org/2004/10/xml.xsd</a>
263
 *         </li>
264
 *       <li>
265
 *           <a href="http://www.w3.org/2001/03/xml.xsd">
266
 * 	http://www.w3.org/2001/03/xml.xsd</a>
267
 *         </li>
268
 *      </ul>
269
 *     </div>
270
 *    </div>
293
 *   
271
 *   
294
 * <!-- end-model-doc -->
272
 * <!-- end-model-doc -->
295
 * @see org.eclipse.jst.javaee.applicationclient.ApplicationclientFactory
273
 * @see org.eclipse.jst.javaee.applicationclient.ApplicationclientFactory
Lines 338-350 Link Here
338
	int APPLICATION_CLIENT = 0;
316
	int APPLICATION_CLIENT = 0;
339
317
340
	/**
318
	/**
319
	 * The feature id for the '<em><b>Module Name</b></em>' attribute.
320
	 * <!-- begin-user-doc -->
321
	 * <!-- end-user-doc -->
322
	 * @generated
323
	 * @ordered
324
	 */
325
	int APPLICATION_CLIENT__MODULE_NAME = 0;
326
327
	/**
341
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
328
	 * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
342
	 * <!-- begin-user-doc -->
329
	 * <!-- begin-user-doc -->
343
	 * <!-- end-user-doc -->
330
	 * <!-- end-user-doc -->
344
	 * @generated
331
	 * @generated
345
	 * @ordered
332
	 * @ordered
346
	 */
333
	 */
347
	int APPLICATION_CLIENT__DESCRIPTIONS = 0;
334
	int APPLICATION_CLIENT__DESCRIPTIONS = 1;
348
335
349
	/**
336
	/**
350
	 * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
337
	 * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
Lines 353-359 Link Here
353
	 * @generated
340
	 * @generated
354
	 * @ordered
341
	 * @ordered
355
	 */
342
	 */
356
	int APPLICATION_CLIENT__DISPLAY_NAMES = 1;
343
	int APPLICATION_CLIENT__DISPLAY_NAMES = 2;
357
344
358
	/**
345
	/**
359
	 * The feature id for the '<em><b>Icons</b></em>' containment reference list.
346
	 * The feature id for the '<em><b>Icons</b></em>' containment reference list.
Lines 362-368 Link Here
362
	 * @generated
349
	 * @generated
363
	 * @ordered
350
	 * @ordered
364
	 */
351
	 */
365
	int APPLICATION_CLIENT__ICONS = 2;
352
	int APPLICATION_CLIENT__ICONS = 3;
366
353
367
	/**
354
	/**
368
	 * The feature id for the '<em><b>Env Entries</b></em>' containment reference list.
355
	 * The feature id for the '<em><b>Env Entries</b></em>' containment reference list.
Lines 371-377 Link Here
371
	 * @generated
358
	 * @generated
372
	 * @ordered
359
	 * @ordered
373
	 */
360
	 */
374
	int APPLICATION_CLIENT__ENV_ENTRIES = 3;
361
	int APPLICATION_CLIENT__ENV_ENTRIES = 4;
375
362
376
	/**
363
	/**
377
	 * The feature id for the '<em><b>Ejb Refs</b></em>' containment reference list.
364
	 * The feature id for the '<em><b>Ejb Refs</b></em>' containment reference list.
Lines 380-386 Link Here
380
	 * @generated
367
	 * @generated
381
	 * @ordered
368
	 * @ordered
382
	 */
369
	 */
383
	int APPLICATION_CLIENT__EJB_REFS = 4;
370
	int APPLICATION_CLIENT__EJB_REFS = 5;
384
371
385
	/**
372
	/**
386
	 * The feature id for the '<em><b>Service Refs</b></em>' containment reference list.
373
	 * The feature id for the '<em><b>Service Refs</b></em>' containment reference list.
Lines 389-395 Link Here
389
	 * @generated
376
	 * @generated
390
	 * @ordered
377
	 * @ordered
391
	 */
378
	 */
392
	int APPLICATION_CLIENT__SERVICE_REFS = 5;
379
	int APPLICATION_CLIENT__SERVICE_REFS = 6;
393
380
394
	/**
381
	/**
395
	 * The feature id for the '<em><b>Resource Refs</b></em>' containment reference list.
382
	 * The feature id for the '<em><b>Resource Refs</b></em>' containment reference list.
Lines 398-404 Link Here
398
	 * @generated
385
	 * @generated
399
	 * @ordered
386
	 * @ordered
400
	 */
387
	 */
401
	int APPLICATION_CLIENT__RESOURCE_REFS = 6;
388
	int APPLICATION_CLIENT__RESOURCE_REFS = 7;
402
389
403
	/**
390
	/**
404
	 * The feature id for the '<em><b>Resource Env Refs</b></em>' containment reference list.
391
	 * The feature id for the '<em><b>Resource Env Refs</b></em>' containment reference list.
Lines 407-413 Link Here
407
	 * @generated
394
	 * @generated
408
	 * @ordered
395
	 * @ordered
409
	 */
396
	 */
410
	int APPLICATION_CLIENT__RESOURCE_ENV_REFS = 7;
397
	int APPLICATION_CLIENT__RESOURCE_ENV_REFS = 8;
411
398
412
	/**
399
	/**
413
	 * The feature id for the '<em><b>Message Destination Refs</b></em>' containment reference list.
400
	 * The feature id for the '<em><b>Message Destination Refs</b></em>' containment reference list.
Lines 416-422 Link Here
416
	 * @generated
403
	 * @generated
417
	 * @ordered
404
	 * @ordered
418
	 */
405
	 */
419
	int APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS = 8;
406
	int APPLICATION_CLIENT__MESSAGE_DESTINATION_REFS = 9;
420
407
421
	/**
408
	/**
422
	 * The feature id for the '<em><b>Persistence Unit Refs</b></em>' containment reference list.
409
	 * The feature id for the '<em><b>Persistence Unit Refs</b></em>' containment reference list.
Lines 425-431 Link Here
425
	 * @generated
412
	 * @generated
426
	 * @ordered
413
	 * @ordered
427
	 */
414
	 */
428
	int APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS = 9;
415
	int APPLICATION_CLIENT__PERSISTENCE_UNIT_REFS = 10;
429
416
430
	/**
417
	/**
431
	 * The feature id for the '<em><b>Post Constructs</b></em>' containment reference list.
418
	 * The feature id for the '<em><b>Post Constructs</b></em>' containment reference list.
Lines 434-440 Link Here
434
	 * @generated
421
	 * @generated
435
	 * @ordered
422
	 * @ordered
436
	 */
423
	 */
437
	int APPLICATION_CLIENT__POST_CONSTRUCTS = 10;
424
	int APPLICATION_CLIENT__POST_CONSTRUCTS = 11;
438
425
439
	/**
426
	/**
440
	 * The feature id for the '<em><b>Pre Destroys</b></em>' containment reference list.
427
	 * The feature id for the '<em><b>Pre Destroys</b></em>' containment reference list.
Lines 443-449 Link Here
443
	 * @generated
430
	 * @generated
444
	 * @ordered
431
	 * @ordered
445
	 */
432
	 */
446
	int APPLICATION_CLIENT__PRE_DESTROYS = 11;
433
	int APPLICATION_CLIENT__PRE_DESTROYS = 12;
447
434
448
	/**
435
	/**
449
	 * The feature id for the '<em><b>Callback Handler</b></em>' attribute.
436
	 * The feature id for the '<em><b>Callback Handler</b></em>' attribute.
Lines 452-458 Link Here
452
	 * @generated
439
	 * @generated
453
	 * @ordered
440
	 * @ordered
454
	 */
441
	 */
455
	int APPLICATION_CLIENT__CALLBACK_HANDLER = 12;
442
	int APPLICATION_CLIENT__CALLBACK_HANDLER = 13;
456
443
457
	/**
444
	/**
458
	 * The feature id for the '<em><b>Message Destinations</b></em>' containment reference list.
445
	 * The feature id for the '<em><b>Message Destinations</b></em>' containment reference list.
Lines 461-467 Link Here
461
	 * @generated
448
	 * @generated
462
	 * @ordered
449
	 * @ordered
463
	 */
450
	 */
464
	int APPLICATION_CLIENT__MESSAGE_DESTINATIONS = 13;
451
	int APPLICATION_CLIENT__MESSAGE_DESTINATIONS = 14;
452
453
	/**
454
	 * The feature id for the '<em><b>Data Source</b></em>' containment reference list.
455
	 * <!-- begin-user-doc -->
456
	 * <!-- end-user-doc -->
457
	 * @generated
458
	 * @ordered
459
	 */
460
	int APPLICATION_CLIENT__DATA_SOURCE = 15;
465
461
466
	/**
462
	/**
467
	 * The feature id for the '<em><b>Id</b></em>' attribute.
463
	 * The feature id for the '<em><b>Id</b></em>' attribute.
Lines 470-476 Link Here
470
	 * @generated
466
	 * @generated
471
	 * @ordered
467
	 * @ordered
472
	 */
468
	 */
473
	int APPLICATION_CLIENT__ID = 14;
469
	int APPLICATION_CLIENT__ID = 16;
474
470
475
	/**
471
	/**
476
	 * The feature id for the '<em><b>Metadata Complete</b></em>' attribute.
472
	 * The feature id for the '<em><b>Metadata Complete</b></em>' attribute.
Lines 479-485 Link Here
479
	 * @generated
475
	 * @generated
480
	 * @ordered
476
	 * @ordered
481
	 */
477
	 */
482
	int APPLICATION_CLIENT__METADATA_COMPLETE = 15;
478
	int APPLICATION_CLIENT__METADATA_COMPLETE = 17;
483
479
484
	/**
480
	/**
485
	 * The feature id for the '<em><b>Version</b></em>' attribute.
481
	 * The feature id for the '<em><b>Version</b></em>' attribute.
Lines 488-494 Link Here
488
	 * @generated
484
	 * @generated
489
	 * @ordered
485
	 * @ordered
490
	 */
486
	 */
491
	int APPLICATION_CLIENT__VERSION = 16;
487
	int APPLICATION_CLIENT__VERSION = 18;
492
488
493
	/**
489
	/**
494
	 * The number of structural features of the '<em>Application Client</em>' class.
490
	 * The number of structural features of the '<em>Application Client</em>' class.
Lines 497-503 Link Here
497
	 * @generated
493
	 * @generated
498
	 * @ordered
494
	 * @ordered
499
	 */
495
	 */
500
	int APPLICATION_CLIENT_FEATURE_COUNT = 17;
496
	int APPLICATION_CLIENT_FEATURE_COUNT = 19;
501
497
502
	/**
498
	/**
503
	 * The meta object id for the '{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientDeploymentDescriptorImpl <em>Application Client Deployment Descriptor</em>}' class.
499
	 * The meta object id for the '{@link org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationClientDeploymentDescriptorImpl <em>Application Client Deployment Descriptor</em>}' class.
Lines 566-571 Link Here
566
	EClass getApplicationClient();
562
	EClass getApplicationClient();
567
563
568
	/**
564
	/**
565
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getModuleName <em>Module Name</em>}'.
566
	 * <!-- begin-user-doc -->
567
	 * <!-- end-user-doc -->
568
	 * @return the meta object for the attribute '<em>Module Name</em>'.
569
	 * @see org.eclipse.jst.javaee.applicationclient.ApplicationClient#getModuleName()
570
	 * @see #getApplicationClient()
571
	 * @generated
572
	 */
573
	EAttribute getApplicationClient_ModuleName();
574
575
	/**
569
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDescriptions <em>Descriptions</em>}'.
576
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDescriptions <em>Descriptions</em>}'.
570
	 * <!-- begin-user-doc -->
577
	 * <!-- begin-user-doc -->
571
	 * <!-- end-user-doc -->
578
	 * <!-- end-user-doc -->
Lines 720-725 Link Here
720
	EReference getApplicationClient_MessageDestinations();
727
	EReference getApplicationClient_MessageDestinations();
721
728
722
	/**
729
	/**
730
	 * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDataSource <em>Data Source</em>}'.
731
	 * <!-- begin-user-doc -->
732
	 * <!-- end-user-doc -->
733
	 * @return the meta object for the containment reference list '<em>Data Source</em>'.
734
	 * @see org.eclipse.jst.javaee.applicationclient.ApplicationClient#getDataSource()
735
	 * @see #getApplicationClient()
736
	 * @generated
737
	 */
738
	EReference getApplicationClient_DataSource();
739
740
	/**
723
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getId <em>Id</em>}'.
741
	 * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.applicationclient.ApplicationClient#getId <em>Id</em>}'.
724
	 * <!-- begin-user-doc -->
742
	 * <!-- begin-user-doc -->
725
	 * <!-- end-user-doc -->
743
	 * <!-- end-user-doc -->
Lines 839-844 Link Here
839
		EClass APPLICATION_CLIENT = eINSTANCE.getApplicationClient();
857
		EClass APPLICATION_CLIENT = eINSTANCE.getApplicationClient();
840
858
841
		/**
859
		/**
860
		 * The meta object literal for the '<em><b>Module Name</b></em>' attribute feature.
861
		 * <!-- begin-user-doc -->
862
		 * <!-- end-user-doc -->
863
		 * @generated
864
		 */
865
		EAttribute APPLICATION_CLIENT__MODULE_NAME = eINSTANCE.getApplicationClient_ModuleName();
866
867
		/**
842
		 * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature.
868
		 * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature.
843
		 * <!-- begin-user-doc -->
869
		 * <!-- begin-user-doc -->
844
		 * <!-- end-user-doc -->
870
		 * <!-- end-user-doc -->
Lines 951-956 Link Here
951
		EReference APPLICATION_CLIENT__MESSAGE_DESTINATIONS = eINSTANCE.getApplicationClient_MessageDestinations();
977
		EReference APPLICATION_CLIENT__MESSAGE_DESTINATIONS = eINSTANCE.getApplicationClient_MessageDestinations();
952
978
953
		/**
979
		/**
980
		 * The meta object literal for the '<em><b>Data Source</b></em>' containment reference list feature.
981
		 * <!-- begin-user-doc -->
982
		 * <!-- end-user-doc -->
983
		 * @generated
984
		 */
985
		EReference APPLICATION_CLIENT__DATA_SOURCE = eINSTANCE.getApplicationClient_DataSource();
986
987
		/**
954
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
988
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
955
		 * <!-- begin-user-doc -->
989
		 * <!-- begin-user-doc -->
956
		 * <!-- end-user-doc -->
990
		 * <!-- end-user-doc -->
(-)plugin.properties (-1 / +1 lines)
Lines 15-18 Link Here
15
Bundle-Name.0 = J2EE Core Component
15
Bundle-Name.0 = J2EE Core Component
16
Bundle-Vendor.0 = Eclipse.org
16
Bundle-Vendor.0 = Eclipse.org
17
# ====================================================================
17
# ====================================================================
18
18
(-).classpath (-1 / +1 lines)
Lines 1-5 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
2
<classpath>
3
	<classpathentry kind="src" path="jee-models"/>
3
	<classpathentry kind="src" path="mofj2ee"/>
4
	<classpathentry kind="src" path="mofj2ee"/>
4
	<classpathentry kind="src" path="webservices"/>
5
	<classpathentry kind="src" path="webservices"/>
5
	<classpathentry kind="src" path="commonArchive"/>
6
	<classpathentry kind="src" path="commonArchive"/>
Lines 8-13 Link Here
8
	<classpathentry kind="src" path="archive"/>
9
	<classpathentry kind="src" path="archive"/>
9
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
10
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
10
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
11
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
11
	<classpathentry kind="src" path="jee-models"/>
12
	<classpathentry kind="output" path="bin"/>
12
	<classpathentry kind="output" path="bin"/>
13
</classpath>
13
</classpath>
(-)jee-models/org/eclipse/jst/javaee/jca/InboundResourceAdapter.java (+91 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import org.eclipse.jst.javaee.core.JavaEEObject;
10
11
/**
12
 * <!-- begin-user-doc -->
13
 * A representation of the model object '<em><b>Inbound Resource Adapter</b></em>'.
14
 * <!-- end-user-doc -->
15
 *
16
 * <!-- begin-model-doc -->
17
 * 
18
 * 
19
 *         The inbound-resourceadapterType specifies information
20
 *         about an inbound resource adapter. This contains information
21
 *         specific to the implementation of the resource adapter
22
 *         library as specified through the messageadapter element.
23
 *         
24
 *         @since Java EE 6, Connector 1.6
25
 *       
26
 * <!-- end-model-doc -->
27
 *
28
 * <p>
29
 * The following features are supported:
30
 * <ul>
31
 *   <li>{@link org.eclipse.jst.javaee.jca.InboundResourceAdapter#getMessageadapter <em>Messageadapter</em>}</li>
32
 *   <li>{@link org.eclipse.jst.javaee.jca.InboundResourceAdapter#getId <em>Id</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getInboundResourceAdapter()
37
 * @extends JavaEEObject
38
 * @generated
39
 */
40
public interface InboundResourceAdapter extends JavaEEObject {
41
	/**
42
	 * Returns the value of the '<em><b>Messageadapter</b></em>' containment reference.
43
	 * <!-- begin-user-doc -->
44
	 * <p>
45
	 * If the meaning of the '<em>Messageadapter</em>' containment reference isn't clear,
46
	 * there really should be more of a description here...
47
	 * </p>
48
	 * <!-- end-user-doc -->
49
	 * @return the value of the '<em>Messageadapter</em>' containment reference.
50
	 * @see #setMessageadapter(MessageAdapter)
51
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getInboundResourceAdapter_Messageadapter()
52
	 * @generated
53
	 */
54
	MessageAdapter getMessageadapter();
55
56
	/**
57
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.InboundResourceAdapter#getMessageadapter <em>Messageadapter</em>}' containment reference.
58
	 * <!-- begin-user-doc -->
59
	 * <!-- end-user-doc -->
60
	 * @param value the new value of the '<em>Messageadapter</em>' containment reference.
61
	 * @see #getMessageadapter()
62
	 * @generated
63
	 */
64
	void setMessageadapter(MessageAdapter value);
65
66
	/**
67
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
68
	 * <!-- begin-user-doc -->
69
	 * <p>
70
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
71
	 * there really should be more of a description here...
72
	 * </p>
73
	 * <!-- end-user-doc -->
74
	 * @return the value of the '<em>Id</em>' attribute.
75
	 * @see #setId(String)
76
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getInboundResourceAdapter_Id()
77
	 * @generated
78
	 */
79
	String getId();
80
81
	/**
82
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.InboundResourceAdapter#getId <em>Id</em>}' attribute.
83
	 * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
85
	 * @param value the new value of the '<em>Id</em>' attribute.
86
	 * @see #getId()
87
	 * @generated
88
	 */
89
	void setId(String value);
90
91
} // InboundResourceAdapter
(-)jee-models/org/eclipse/jst/javaee/core/AddressingResponsesType.java (+245 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core;
8
9
import java.util.Arrays;
10
import java.util.Collections;
11
import java.util.List;
12
13
import org.eclipse.emf.common.util.Enumerator;
14
15
/**
16
 * <!-- begin-user-doc -->
17
 * A representation of the literals of the enumeration '<em><b>Addressing Responses Type</b></em>',
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
22
 * 
23
 *         If WS-Addressing is enabled, this type determines if an endpoint
24
 *         requires the use of only anonymous responses, or only non-anonymous
25
 *         responses, or all.
26
 *         
27
 *         @since Java EE 6, Web Services Client 1.3
28
 *       
29
 * <!-- end-model-doc -->
30
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingResponsesType()
31
 * @generated
32
 */
33
public enum AddressingResponsesType implements Enumerator {
34
	/**
35
	 * The '<em><b>ANONYMOUS</b></em>' literal object.
36
	 * <!-- begin-user-doc -->
37
	 * <!-- end-user-doc -->
38
	 * @see #ANONYMOUS_VALUE
39
	 * @generated
40
	 * @ordered
41
	 */
42
	ANONYMOUS(0, "ANONYMOUS", "ANONYMOUS"), //$NON-NLS-1$ //$NON-NLS-2$
43
44
	/**
45
	 * The '<em><b>NONANONYMOUS</b></em>' literal object.
46
	 * <!-- begin-user-doc -->
47
	 * <!-- end-user-doc -->
48
	 * @see #NONANONYMOUS_VALUE
49
	 * @generated
50
	 * @ordered
51
	 */
52
	NONANONYMOUS(1, "NONANONYMOUS", "NON_ANONYMOUS"), //$NON-NLS-1$ //$NON-NLS-2$
53
54
	/**
55
	 * The '<em><b>ALL</b></em>' literal object.
56
	 * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
58
	 * @see #ALL_VALUE
59
	 * @generated
60
	 * @ordered
61
	 */
62
	ALL(2, "ALL", "ALL"); //$NON-NLS-1$ //$NON-NLS-2$
63
64
	/**
65
	 * The '<em><b>ANONYMOUS</b></em>' literal value.
66
	 * <!-- begin-user-doc -->
67
	 * <p>
68
	 * If the meaning of '<em><b>ANONYMOUS</b></em>' literal object isn't clear,
69
	 * there really should be more of a description here...
70
	 * </p>
71
	 * <!-- end-user-doc -->
72
	 * @see #ANONYMOUS
73
	 * @generated
74
	 * @ordered
75
	 */
76
	public static final int ANONYMOUS_VALUE = 0;
77
78
	/**
79
	 * The '<em><b>NONANONYMOUS</b></em>' literal value.
80
	 * <!-- begin-user-doc -->
81
	 * <p>
82
	 * If the meaning of '<em><b>NONANONYMOUS</b></em>' literal object isn't clear,
83
	 * there really should be more of a description here...
84
	 * </p>
85
	 * <!-- end-user-doc -->
86
	 * @see #NONANONYMOUS
87
	 * @generated
88
	 * @ordered
89
	 */
90
	public static final int NONANONYMOUS_VALUE = 1;
91
92
	/**
93
	 * The '<em><b>ALL</b></em>' literal value.
94
	 * <!-- begin-user-doc -->
95
	 * <p>
96
	 * If the meaning of '<em><b>ALL</b></em>' literal object isn't clear,
97
	 * there really should be more of a description here...
98
	 * </p>
99
	 * <!-- end-user-doc -->
100
	 * @see #ALL
101
	 * @generated
102
	 * @ordered
103
	 */
104
	public static final int ALL_VALUE = 2;
105
106
	/**
107
	 * An array of all the '<em><b>Addressing Responses Type</b></em>' enumerators.
108
	 * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
110
	 * @generated
111
	 */
112
	private static final AddressingResponsesType[] VALUES_ARRAY =
113
		new AddressingResponsesType[] {
114
			ANONYMOUS,
115
			NONANONYMOUS,
116
			ALL,
117
		};
118
119
	/**
120
	 * A public read-only list of all the '<em><b>Addressing Responses Type</b></em>' enumerators.
121
	 * <!-- begin-user-doc -->
122
	 * <!-- end-user-doc -->
123
	 * @generated
124
	 */
125
	public static final List<AddressingResponsesType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
126
127
	/**
128
	 * Returns the '<em><b>Addressing Responses Type</b></em>' literal with the specified literal value.
129
	 * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
131
	 * @generated
132
	 */
133
	public static AddressingResponsesType get(String literal) {
134
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
135
			AddressingResponsesType result = VALUES_ARRAY[i];
136
			if (result.toString().equals(literal)) {
137
				return result;
138
			}
139
		}
140
		return null;
141
	}
142
143
	/**
144
	 * Returns the '<em><b>Addressing Responses Type</b></em>' literal with the specified name.
145
	 * <!-- begin-user-doc -->
146
	 * <!-- end-user-doc -->
147
	 * @generated
148
	 */
149
	public static AddressingResponsesType getByName(String name) {
150
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
151
			AddressingResponsesType result = VALUES_ARRAY[i];
152
			if (result.getName().equals(name)) {
153
				return result;
154
			}
155
		}
156
		return null;
157
	}
158
159
	/**
160
	 * Returns the '<em><b>Addressing Responses Type</b></em>' literal with the specified integer value.
161
	 * <!-- begin-user-doc -->
162
	 * <!-- end-user-doc -->
163
	 * @generated
164
	 */
165
	public static AddressingResponsesType get(int value) {
166
		switch (value) {
167
			case ANONYMOUS_VALUE: return ANONYMOUS;
168
			case NONANONYMOUS_VALUE: return NONANONYMOUS;
169
			case ALL_VALUE: return ALL;
170
		}
171
		return null;
172
	}
173
174
	/**
175
	 * <!-- begin-user-doc -->
176
	 * <!-- end-user-doc -->
177
	 * @generated
178
	 */
179
	private final int value;
180
181
	/**
182
	 * <!-- begin-user-doc -->
183
	 * <!-- end-user-doc -->
184
	 * @generated
185
	 */
186
	private final String name;
187
188
	/**
189
	 * <!-- begin-user-doc -->
190
	 * <!-- end-user-doc -->
191
	 * @generated
192
	 */
193
	private final String literal;
194
195
	/**
196
	 * Only this class can construct instances.
197
	 * <!-- begin-user-doc -->
198
	 * <!-- end-user-doc -->
199
	 * @generated
200
	 */
201
	private AddressingResponsesType(int value, String name, String literal) {
202
		this.value = value;
203
		this.name = name;
204
		this.literal = literal;
205
	}
206
207
	/**
208
	 * <!-- begin-user-doc -->
209
	 * <!-- end-user-doc -->
210
	 * @generated
211
	 */
212
	public int getValue() {
213
	  return value;
214
	}
215
216
	/**
217
	 * <!-- begin-user-doc -->
218
	 * <!-- end-user-doc -->
219
	 * @generated
220
	 */
221
	public String getName() {
222
	  return name;
223
	}
224
225
	/**
226
	 * <!-- begin-user-doc -->
227
	 * <!-- end-user-doc -->
228
	 * @generated
229
	 */
230
	public String getLiteral() {
231
	  return literal;
232
	}
233
234
	/**
235
	 * Returns the literal value of the enumerator, which is its string representation.
236
	 * <!-- begin-user-doc -->
237
	 * <!-- end-user-doc -->
238
	 * @generated
239
	 */
240
	@Override
241
	public String toString() {
242
		return literal;
243
	}
244
	
245
} //AddressingResponsesType
(-)jee-models/org/eclipse/jst/javaee/core/DataSourceType.java (+667 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core;
8
9
import java.math.BigInteger;
10
11
import java.util.List;
12
13
/**
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Data Source Type</b></em>'.
16
 * <!-- end-user-doc -->
17
 *
18
 * <!-- begin-model-doc -->
19
 * 
20
 * 
21
 *         Configuration of a DataSource.
22
 *         
23
 *         @since Java EE 6
24
 *       
25
 * <!-- end-model-doc -->
26
 *
27
 * <p>
28
 * The following features are supported:
29
 * <ul>
30
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getDescription <em>Description</em>}</li>
31
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getName <em>Name</em>}</li>
32
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getClassName <em>Class Name</em>}</li>
33
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getServerName <em>Server Name</em>}</li>
34
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getPortNumber <em>Port Number</em>}</li>
35
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName <em>Database Name</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getUrl <em>Url</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getUser <em>User</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getPassword <em>Password</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getProperty <em>Property</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout <em>Login Timeout</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize <em>Initial Pool Size</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize <em>Max Pool Size</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize <em>Min Pool Size</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime <em>Max Idle Time</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements <em>Max Statements</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getId <em>Id</em>}</li>
49
 * </ul>
50
 * </p>
51
 *
52
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType()
53
 * @extends JavaEEObject
54
 * @generated
55
 */
56
public interface DataSourceType extends JavaEEObject {
57
	/**
58
	 * Returns the value of the '<em><b>Description</b></em>' containment reference.
59
	 * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
61
	 * <!-- begin-model-doc -->
62
	 * 
63
	 * 
64
	 *             Description of this DataSource.
65
	 *             
66
	 *             @since Java EE 6
67
	 *           
68
	 * <!-- end-model-doc -->
69
	 * @return the value of the '<em>Description</em>' containment reference.
70
	 * @see #setDescription(Description)
71
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Description()
72
	 * @generated
73
	 */
74
	Description getDescription();
75
76
	/**
77
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getDescription <em>Description</em>}' containment reference.
78
	 * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
80
	 * @param value the new value of the '<em>Description</em>' containment reference.
81
	 * @see #getDescription()
82
	 * @generated
83
	 */
84
	void setDescription(Description value);
85
86
	/**
87
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
88
	 * <!-- begin-user-doc -->
89
	 * <!-- end-user-doc -->
90
	 * <!-- begin-model-doc -->
91
	 * 
92
	 * 
93
	 *             The name element specifies the JNDI name of the
94
	 *             data source being defined.
95
	 *             
96
	 *             @since Java EE 6
97
	 *           
98
	 * <!-- end-model-doc -->
99
	 * @return the value of the '<em>Name</em>' attribute.
100
	 * @see #setName(String)
101
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Name()
102
	 * @generated
103
	 */
104
	String getName();
105
106
	/**
107
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getName <em>Name</em>}' attribute.
108
	 * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
110
	 * @param value the new value of the '<em>Name</em>' attribute.
111
	 * @see #getName()
112
	 * @generated
113
	 */
114
	void setName(String value);
115
116
	/**
117
	 * Returns the value of the '<em><b>Class Name</b></em>' attribute.
118
	 * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
120
	 * <!-- begin-model-doc -->
121
	 * 
122
	 * 
123
	 *             DataSource, XADataSource or ConnectionPoolDataSource
124
	 *             implementation class.
125
	 * 
126
	 *             @since Java EE 6            
127
	 *           
128
	 * <!-- end-model-doc -->
129
	 * @return the value of the '<em>Class Name</em>' attribute.
130
	 * @see #setClassName(String)
131
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_ClassName()
132
	 * @generated
133
	 */
134
	String getClassName();
135
136
	/**
137
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getClassName <em>Class Name</em>}' attribute.
138
	 * <!-- begin-user-doc -->
139
	 * <!-- end-user-doc -->
140
	 * @param value the new value of the '<em>Class Name</em>' attribute.
141
	 * @see #getClassName()
142
	 * @generated
143
	 */
144
	void setClassName(String value);
145
146
	/**
147
	 * Returns the value of the '<em><b>Server Name</b></em>' attribute.
148
	 * <!-- begin-user-doc -->
149
	 * <!-- end-user-doc -->
150
	 * <!-- begin-model-doc -->
151
	 * 
152
	 * 
153
	 *             Database server name.
154
	 *             
155
	 *             @since Java EE 6
156
	 *           
157
	 * <!-- end-model-doc -->
158
	 * @return the value of the '<em>Server Name</em>' attribute.
159
	 * @see #setServerName(String)
160
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_ServerName()
161
	 * @generated
162
	 */
163
	String getServerName();
164
165
	/**
166
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getServerName <em>Server Name</em>}' attribute.
167
	 * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
169
	 * @param value the new value of the '<em>Server Name</em>' attribute.
170
	 * @see #getServerName()
171
	 * @generated
172
	 */
173
	void setServerName(String value);
174
175
	/**
176
	 * Returns the value of the '<em><b>Port Number</b></em>' attribute.
177
	 * <!-- begin-user-doc -->
178
	 * <!-- end-user-doc -->
179
	 * <!-- begin-model-doc -->
180
	 * 
181
	 * 
182
	 *             Port number where a server is listening for requests.
183
	 *             
184
	 *             @since Java EE 6
185
	 *           
186
	 * <!-- end-model-doc -->
187
	 * @return the value of the '<em>Port Number</em>' attribute.
188
	 * @see #setPortNumber(BigInteger)
189
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_PortNumber()
190
	 * @generated
191
	 */
192
	BigInteger getPortNumber();
193
194
	/**
195
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getPortNumber <em>Port Number</em>}' attribute.
196
	 * <!-- begin-user-doc -->
197
	 * <!-- end-user-doc -->
198
	 * @param value the new value of the '<em>Port Number</em>' attribute.
199
	 * @see #getPortNumber()
200
	 * @generated
201
	 */
202
	void setPortNumber(BigInteger value);
203
204
	/**
205
	 * Returns the value of the '<em><b>Database Name</b></em>' attribute.
206
	 * <!-- begin-user-doc -->
207
	 * <!-- end-user-doc -->
208
	 * <!-- begin-model-doc -->
209
	 * 
210
	 * 
211
	 *             Name of a database on a server.
212
	 *             
213
	 *             @since Java EE 6
214
	 *           
215
	 * <!-- end-model-doc -->
216
	 * @return the value of the '<em>Database Name</em>' attribute.
217
	 * @see #setDatabaseName(String)
218
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_DatabaseName()
219
	 * @generated
220
	 */
221
	String getDatabaseName();
222
223
	/**
224
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName <em>Database Name</em>}' attribute.
225
	 * <!-- begin-user-doc -->
226
	 * <!-- end-user-doc -->
227
	 * @param value the new value of the '<em>Database Name</em>' attribute.
228
	 * @see #getDatabaseName()
229
	 * @generated
230
	 */
231
	void setDatabaseName(String value);
232
233
	/**
234
	 * Returns the value of the '<em><b>Url</b></em>' attribute.
235
	 * <!-- begin-user-doc -->
236
	 * <!-- end-user-doc -->
237
	 * <!-- begin-model-doc -->
238
	 * 
239
	 * <![CDATA[[
240
	 *             A JDBC URL. If the <code>url</code> property is specified
241
	 *             along with other standard <code>DataSource</code> properties
242
	 *             such as <code>serverName</code>, <code>databaseName</code>
243
	 *             and <code>portNumber</code>, the more specific properties will
244
	 *             take precedence and <code>url</code> will be ignored.
245
	 *             
246
	 * ]]>
247
	 *             @since Java EE 6
248
	 *           
249
	 * <!-- end-model-doc -->
250
	 * @return the value of the '<em>Url</em>' attribute.
251
	 * @see #setUrl(String)
252
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Url()
253
	 * @generated
254
	 */
255
	String getUrl();
256
257
	/**
258
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getUrl <em>Url</em>}' attribute.
259
	 * <!-- begin-user-doc -->
260
	 * <!-- end-user-doc -->
261
	 * @param value the new value of the '<em>Url</em>' attribute.
262
	 * @see #getUrl()
263
	 * @generated
264
	 */
265
	void setUrl(String value);
266
267
	/**
268
	 * Returns the value of the '<em><b>User</b></em>' attribute.
269
	 * <!-- begin-user-doc -->
270
	 * <!-- end-user-doc -->
271
	 * <!-- begin-model-doc -->
272
	 * 
273
	 * 
274
	 *             User name to use for connection authentication.
275
	 *             
276
	 *             @since Java EE 6
277
	 *           
278
	 * <!-- end-model-doc -->
279
	 * @return the value of the '<em>User</em>' attribute.
280
	 * @see #setUser(String)
281
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_User()
282
	 * @generated
283
	 */
284
	String getUser();
285
286
	/**
287
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getUser <em>User</em>}' attribute.
288
	 * <!-- begin-user-doc -->
289
	 * <!-- end-user-doc -->
290
	 * @param value the new value of the '<em>User</em>' attribute.
291
	 * @see #getUser()
292
	 * @generated
293
	 */
294
	void setUser(String value);
295
296
	/**
297
	 * Returns the value of the '<em><b>Password</b></em>' attribute.
298
	 * <!-- begin-user-doc -->
299
	 * <!-- end-user-doc -->
300
	 * <!-- begin-model-doc -->
301
	 * 
302
	 * 
303
	 *             Password to use for connection authentication.
304
	 *             
305
	 *             @since Java EE 6
306
	 *           
307
	 * <!-- end-model-doc -->
308
	 * @return the value of the '<em>Password</em>' attribute.
309
	 * @see #setPassword(String)
310
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Password()
311
	 * @generated
312
	 */
313
	String getPassword();
314
315
	/**
316
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getPassword <em>Password</em>}' attribute.
317
	 * <!-- begin-user-doc -->
318
	 * <!-- end-user-doc -->
319
	 * @param value the new value of the '<em>Password</em>' attribute.
320
	 * @see #getPassword()
321
	 * @generated
322
	 */
323
	void setPassword(String value);
324
325
	/**
326
	 * Returns the value of the '<em><b>Property</b></em>' containment reference list.
327
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.PropertyType}.
328
	 * <!-- begin-user-doc -->
329
	 * <!-- end-user-doc -->
330
	 * <!-- begin-model-doc -->
331
	 * 
332
	 * 
333
	 *             JDBC DataSource Propertry.  This may be a vendor-specific
334
	 *             property or a less commonly used DataSource property.
335
	 *             
336
	 *             @since Java EE 6
337
	 *           
338
	 * <!-- end-model-doc -->
339
	 * @return the value of the '<em>Property</em>' containment reference list.
340
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Property()
341
	 * @generated
342
	 */
343
	List<PropertyType> getProperty();
344
345
	/**
346
	 * Returns the value of the '<em><b>Login Timeout</b></em>' attribute.
347
	 * <!-- begin-user-doc -->
348
	 * <!-- end-user-doc -->
349
	 * <!-- begin-model-doc -->
350
	 * 
351
	 * 
352
	 *             Sets the maximum time in seconds that this data source
353
	 *             will wait while attempting to connect to a database.
354
	 *             
355
	 *             @since Java EE 6
356
	 *           
357
	 * <!-- end-model-doc -->
358
	 * @return the value of the '<em>Login Timeout</em>' attribute.
359
	 * @see #setLoginTimeout(BigInteger)
360
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_LoginTimeout()
361
	 * @generated
362
	 */
363
	BigInteger getLoginTimeout();
364
365
	/**
366
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout <em>Login Timeout</em>}' attribute.
367
	 * <!-- begin-user-doc -->
368
	 * <!-- end-user-doc -->
369
	 * @param value the new value of the '<em>Login Timeout</em>' attribute.
370
	 * @see #getLoginTimeout()
371
	 * @generated
372
	 */
373
	void setLoginTimeout(BigInteger value);
374
375
	/**
376
	 * Returns the value of the '<em><b>Transactional</b></em>' attribute.
377
	 * <!-- begin-user-doc -->
378
	 * <!-- end-user-doc -->
379
	 * <!-- begin-model-doc -->
380
	 * 
381
	 * 
382
	 *             Set to false if connections should not participate in
383
	 *             transactions.
384
	 *             
385
	 *             @since Java EE 6
386
	 *           
387
	 * <!-- end-model-doc -->
388
	 * @return the value of the '<em>Transactional</em>' attribute.
389
	 * @see #isSetTransactional()
390
	 * @see #unsetTransactional()
391
	 * @see #setTransactional(boolean)
392
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Transactional()
393
	 * @generated
394
	 */
395
	boolean isTransactional();
396
397
	/**
398
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}' attribute.
399
	 * <!-- begin-user-doc -->
400
	 * <!-- end-user-doc -->
401
	 * @param value the new value of the '<em>Transactional</em>' attribute.
402
	 * @see #isSetTransactional()
403
	 * @see #unsetTransactional()
404
	 * @see #isTransactional()
405
	 * @generated
406
	 */
407
	void setTransactional(boolean value);
408
409
	/**
410
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}' attribute.
411
	 * <!-- begin-user-doc -->
412
	 * <!-- end-user-doc -->
413
	 * @see #isSetTransactional()
414
	 * @see #isTransactional()
415
	 * @see #setTransactional(boolean)
416
	 * @generated
417
	 */
418
	void unsetTransactional();
419
420
	/**
421
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}' attribute is set.
422
	 * <!-- begin-user-doc -->
423
	 * <!-- end-user-doc -->
424
	 * @return whether the value of the '<em>Transactional</em>' attribute is set.
425
	 * @see #unsetTransactional()
426
	 * @see #isTransactional()
427
	 * @see #setTransactional(boolean)
428
	 * @generated
429
	 */
430
	boolean isSetTransactional();
431
432
	/**
433
	 * Returns the value of the '<em><b>Isolation Level</b></em>' attribute.
434
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.IsolationLevelType}.
435
	 * <!-- begin-user-doc -->
436
	 * <!-- end-user-doc -->
437
	 * <!-- begin-model-doc -->
438
	 * 
439
	 * 
440
	 *             Isolation level for connections.
441
	 *             
442
	 *             @since Java EE 6
443
	 *           
444
	 * <!-- end-model-doc -->
445
	 * @return the value of the '<em>Isolation Level</em>' attribute.
446
	 * @see org.eclipse.jst.javaee.core.IsolationLevelType
447
	 * @see #isSetIsolationLevel()
448
	 * @see #unsetIsolationLevel()
449
	 * @see #setIsolationLevel(IsolationLevelType)
450
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_IsolationLevel()
451
	 * @generated
452
	 */
453
	IsolationLevelType getIsolationLevel();
454
455
	/**
456
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}' attribute.
457
	 * <!-- begin-user-doc -->
458
	 * <!-- end-user-doc -->
459
	 * @param value the new value of the '<em>Isolation Level</em>' attribute.
460
	 * @see org.eclipse.jst.javaee.core.IsolationLevelType
461
	 * @see #isSetIsolationLevel()
462
	 * @see #unsetIsolationLevel()
463
	 * @see #getIsolationLevel()
464
	 * @generated
465
	 */
466
	void setIsolationLevel(IsolationLevelType value);
467
468
	/**
469
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}' attribute.
470
	 * <!-- begin-user-doc -->
471
	 * <!-- end-user-doc -->
472
	 * @see #isSetIsolationLevel()
473
	 * @see #getIsolationLevel()
474
	 * @see #setIsolationLevel(IsolationLevelType)
475
	 * @generated
476
	 */
477
	void unsetIsolationLevel();
478
479
	/**
480
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}' attribute is set.
481
	 * <!-- begin-user-doc -->
482
	 * <!-- end-user-doc -->
483
	 * @return whether the value of the '<em>Isolation Level</em>' attribute is set.
484
	 * @see #unsetIsolationLevel()
485
	 * @see #getIsolationLevel()
486
	 * @see #setIsolationLevel(IsolationLevelType)
487
	 * @generated
488
	 */
489
	boolean isSetIsolationLevel();
490
491
	/**
492
	 * Returns the value of the '<em><b>Initial Pool Size</b></em>' attribute.
493
	 * <!-- begin-user-doc -->
494
	 * <!-- end-user-doc -->
495
	 * <!-- begin-model-doc -->
496
	 * 
497
	 * 
498
	 *             Number of connections that should be created when a
499
	 *             connection pool is initialized.
500
	 *             
501
	 *             @since Java EE 6
502
	 *           
503
	 * <!-- end-model-doc -->
504
	 * @return the value of the '<em>Initial Pool Size</em>' attribute.
505
	 * @see #setInitialPoolSize(BigInteger)
506
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_InitialPoolSize()
507
	 * @generated
508
	 */
509
	BigInteger getInitialPoolSize();
510
511
	/**
512
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize <em>Initial Pool Size</em>}' attribute.
513
	 * <!-- begin-user-doc -->
514
	 * <!-- end-user-doc -->
515
	 * @param value the new value of the '<em>Initial Pool Size</em>' attribute.
516
	 * @see #getInitialPoolSize()
517
	 * @generated
518
	 */
519
	void setInitialPoolSize(BigInteger value);
520
521
	/**
522
	 * Returns the value of the '<em><b>Max Pool Size</b></em>' attribute.
523
	 * <!-- begin-user-doc -->
524
	 * <!-- end-user-doc -->
525
	 * <!-- begin-model-doc -->
526
	 * 
527
	 * 
528
	 *             Maximum number of connections that should be concurrently
529
	 *             allocated for a connection pool.
530
	 *             
531
	 *             @since Java EE 6
532
	 *           
533
	 * <!-- end-model-doc -->
534
	 * @return the value of the '<em>Max Pool Size</em>' attribute.
535
	 * @see #setMaxPoolSize(BigInteger)
536
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MaxPoolSize()
537
	 * @generated
538
	 */
539
	BigInteger getMaxPoolSize();
540
541
	/**
542
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize <em>Max Pool Size</em>}' attribute.
543
	 * <!-- begin-user-doc -->
544
	 * <!-- end-user-doc -->
545
	 * @param value the new value of the '<em>Max Pool Size</em>' attribute.
546
	 * @see #getMaxPoolSize()
547
	 * @generated
548
	 */
549
	void setMaxPoolSize(BigInteger value);
550
551
	/**
552
	 * Returns the value of the '<em><b>Min Pool Size</b></em>' attribute.
553
	 * <!-- begin-user-doc -->
554
	 * <!-- end-user-doc -->
555
	 * <!-- begin-model-doc -->
556
	 * 
557
	 * 
558
	 *             Minimum number of connections that should be concurrently
559
	 *             allocated for a connection pool.
560
	 *             
561
	 *             @since Java EE 6
562
	 *           
563
	 * <!-- end-model-doc -->
564
	 * @return the value of the '<em>Min Pool Size</em>' attribute.
565
	 * @see #setMinPoolSize(BigInteger)
566
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MinPoolSize()
567
	 * @generated
568
	 */
569
	BigInteger getMinPoolSize();
570
571
	/**
572
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize <em>Min Pool Size</em>}' attribute.
573
	 * <!-- begin-user-doc -->
574
	 * <!-- end-user-doc -->
575
	 * @param value the new value of the '<em>Min Pool Size</em>' attribute.
576
	 * @see #getMinPoolSize()
577
	 * @generated
578
	 */
579
	void setMinPoolSize(BigInteger value);
580
581
	/**
582
	 * Returns the value of the '<em><b>Max Idle Time</b></em>' attribute.
583
	 * <!-- begin-user-doc -->
584
	 * <!-- end-user-doc -->
585
	 * <!-- begin-model-doc -->
586
	 * 
587
	 * 
588
	 *             The number of seconds that a physical connection should
589
	 *             remain unused in the pool before the connection is
590
	 *             closed for a connection pool.
591
	 *             
592
	 *             @since Java EE 6
593
	 *           
594
	 * <!-- end-model-doc -->
595
	 * @return the value of the '<em>Max Idle Time</em>' attribute.
596
	 * @see #setMaxIdleTime(BigInteger)
597
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MaxIdleTime()
598
	 * @generated
599
	 */
600
	BigInteger getMaxIdleTime();
601
602
	/**
603
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime <em>Max Idle Time</em>}' attribute.
604
	 * <!-- begin-user-doc -->
605
	 * <!-- end-user-doc -->
606
	 * @param value the new value of the '<em>Max Idle Time</em>' attribute.
607
	 * @see #getMaxIdleTime()
608
	 * @generated
609
	 */
610
	void setMaxIdleTime(BigInteger value);
611
612
	/**
613
	 * Returns the value of the '<em><b>Max Statements</b></em>' attribute.
614
	 * <!-- begin-user-doc -->
615
	 * <!-- end-user-doc -->
616
	 * <!-- begin-model-doc -->
617
	 * 
618
	 * 
619
	 *             The total number of statements that a connection pool
620
	 *             should keep open.
621
	 *             
622
	 *             @since Java EE 6
623
	 *           
624
	 * <!-- end-model-doc -->
625
	 * @return the value of the '<em>Max Statements</em>' attribute.
626
	 * @see #setMaxStatements(BigInteger)
627
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MaxStatements()
628
	 * @generated
629
	 */
630
	BigInteger getMaxStatements();
631
632
	/**
633
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements <em>Max Statements</em>}' attribute.
634
	 * <!-- begin-user-doc -->
635
	 * <!-- end-user-doc -->
636
	 * @param value the new value of the '<em>Max Statements</em>' attribute.
637
	 * @see #getMaxStatements()
638
	 * @generated
639
	 */
640
	void setMaxStatements(BigInteger value);
641
642
	/**
643
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
644
	 * <!-- begin-user-doc -->
645
	 * <p>
646
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
647
	 * there really should be more of a description here...
648
	 * </p>
649
	 * <!-- end-user-doc -->
650
	 * @return the value of the '<em>Id</em>' attribute.
651
	 * @see #setId(String)
652
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Id()
653
	 * @generated
654
	 */
655
	String getId();
656
657
	/**
658
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getId <em>Id</em>}' attribute.
659
	 * <!-- begin-user-doc -->
660
	 * <!-- end-user-doc -->
661
	 * @param value the new value of the '<em>Id</em>' attribute.
662
	 * @see #getId()
663
	 * @generated
664
	 */
665
	void setId(String value);
666
667
} // DataSourceType
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/MessageAdapterImpl.java (+228 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.jca.MessageAdapter;
27
import org.eclipse.jst.javaee.jca.MessageListener;
28
29
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
30
31
/**
32
 * <!-- begin-user-doc -->
33
 * An implementation of the model object '<em><b>Message Adapter</b></em>'.
34
 * <!-- end-user-doc -->
35
 * <p>
36
 * The following features are implemented:
37
 * <ul>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.MessageAdapterImpl#getMessagelistener <em>Messagelistener</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.MessageAdapterImpl#getId <em>Id</em>}</li>
40
 * </ul>
41
 * </p>
42
 *
43
 * @generated
44
 */
45
public class MessageAdapterImpl extends EObjectImpl implements MessageAdapter {
46
	/**
47
	 * The cached value of the '{@link #getMessagelistener() <em>Messagelistener</em>}' containment reference list.
48
	 * <!-- begin-user-doc -->
49
	 * <!-- end-user-doc -->
50
	 * @see #getMessagelistener()
51
	 * @generated
52
	 * @ordered
53
	 */
54
	protected EList<MessageListener> messagelistener;
55
56
	/**
57
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
58
	 * <!-- begin-user-doc -->
59
	 * <!-- end-user-doc -->
60
	 * @see #getId()
61
	 * @generated
62
	 * @ordered
63
	 */
64
	protected static final String ID_EDEFAULT = null;
65
66
	/**
67
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
68
	 * <!-- begin-user-doc -->
69
	 * <!-- end-user-doc -->
70
	 * @see #getId()
71
	 * @generated
72
	 * @ordered
73
	 */
74
	protected String id = ID_EDEFAULT;
75
76
	/**
77
	 * <!-- begin-user-doc -->
78
	 * <!-- end-user-doc -->
79
	 * @generated
80
	 */
81
	protected MessageAdapterImpl() {
82
		super();
83
	}
84
85
	/**
86
	 * <!-- begin-user-doc -->
87
	 * <!-- end-user-doc -->
88
	 * @generated
89
	 */
90
	@Override
91
	protected EClass eStaticClass() {
92
		return JcaPackage.Literals.MESSAGE_ADAPTER;
93
	}
94
95
	/**
96
	 * <!-- begin-user-doc -->
97
	 * <!-- end-user-doc -->
98
	 * @generated
99
	 */
100
	public List<MessageListener> getMessagelistener() {
101
		if (messagelistener == null) {
102
			messagelistener = new EObjectContainmentEList<MessageListener>(MessageListener.class, this, JcaPackage.MESSAGE_ADAPTER__MESSAGELISTENER);
103
		}
104
		return messagelistener;
105
	}
106
107
	/**
108
	 * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
110
	 * @generated
111
	 */
112
	public String getId() {
113
		return id;
114
	}
115
116
	/**
117
	 * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
119
	 * @generated
120
	 */
121
	public void setId(String newId) {
122
		String oldId = id;
123
		id = newId;
124
		if (eNotificationRequired())
125
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.MESSAGE_ADAPTER__ID, oldId, id));
126
	}
127
128
	/**
129
	 * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
131
	 * @generated
132
	 */
133
	@Override
134
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
135
		switch (featureID) {
136
			case JcaPackage.MESSAGE_ADAPTER__MESSAGELISTENER:
137
				return ((InternalEList<?>)getMessagelistener()).basicRemove(otherEnd, msgs);
138
		}
139
		return super.eInverseRemove(otherEnd, featureID, msgs);
140
	}
141
142
	/**
143
	 * <!-- begin-user-doc -->
144
	 * <!-- end-user-doc -->
145
	 * @generated
146
	 */
147
	@Override
148
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
149
		switch (featureID) {
150
			case JcaPackage.MESSAGE_ADAPTER__MESSAGELISTENER:
151
				return getMessagelistener();
152
			case JcaPackage.MESSAGE_ADAPTER__ID:
153
				return getId();
154
		}
155
		return super.eGet(featureID, resolve, coreType);
156
	}
157
158
	/**
159
	 * <!-- begin-user-doc -->
160
	 * <!-- end-user-doc -->
161
	 * @generated
162
	 */
163
	@SuppressWarnings("unchecked")
164
	@Override
165
	public void eSet(int featureID, Object newValue) {
166
		switch (featureID) {
167
			case JcaPackage.MESSAGE_ADAPTER__MESSAGELISTENER:
168
				getMessagelistener().clear();
169
				getMessagelistener().addAll((Collection<? extends MessageListener>)newValue);
170
				return;
171
			case JcaPackage.MESSAGE_ADAPTER__ID:
172
				setId((String)newValue);
173
				return;
174
		}
175
		super.eSet(featureID, newValue);
176
	}
177
178
	/**
179
	 * <!-- begin-user-doc -->
180
	 * <!-- end-user-doc -->
181
	 * @generated
182
	 */
183
	@Override
184
	public void eUnset(int featureID) {
185
		switch (featureID) {
186
			case JcaPackage.MESSAGE_ADAPTER__MESSAGELISTENER:
187
				getMessagelistener().clear();
188
				return;
189
			case JcaPackage.MESSAGE_ADAPTER__ID:
190
				setId(ID_EDEFAULT);
191
				return;
192
		}
193
		super.eUnset(featureID);
194
	}
195
196
	/**
197
	 * <!-- begin-user-doc -->
198
	 * <!-- end-user-doc -->
199
	 * @generated
200
	 */
201
	@Override
202
	public boolean eIsSet(int featureID) {
203
		switch (featureID) {
204
			case JcaPackage.MESSAGE_ADAPTER__MESSAGELISTENER:
205
				return messagelistener != null && !messagelistener.isEmpty();
206
			case JcaPackage.MESSAGE_ADAPTER__ID:
207
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
208
		}
209
		return super.eIsSet(featureID);
210
	}
211
212
	/**
213
	 * <!-- begin-user-doc -->
214
	 * <!-- end-user-doc -->
215
	 * @generated
216
	 */
217
	@Override
218
	public String toString() {
219
		if (eIsProxy()) return super.toString();
220
221
		StringBuffer result = new StringBuffer(super.toString());
222
		result.append(" (id: "); //$NON-NLS-1$
223
		result.append(id);
224
		result.append(')');
225
		return result.toString();
226
	}
227
228
} //MessageAdapterImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/OutboundResourceAdapterImpl.java (+442 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.jca.AuthenticationMechanism;
27
import org.eclipse.jst.javaee.jca.ConnectionDefinition;
28
import org.eclipse.jst.javaee.jca.OutboundResourceAdapter;
29
import org.eclipse.jst.javaee.jca.TransactionSupportType;
30
31
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
32
33
/**
34
 * <!-- begin-user-doc -->
35
 * An implementation of the model object '<em><b>Outbound Resource Adapter</b></em>'.
36
 * <!-- end-user-doc -->
37
 * <p>
38
 * The following features are implemented:
39
 * <ul>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.OutboundResourceAdapterImpl#getConnectionDefinition <em>Connection Definition</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.OutboundResourceAdapterImpl#getTransactionSupport <em>Transaction Support</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.OutboundResourceAdapterImpl#getAuthenticationMechanism <em>Authentication Mechanism</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.OutboundResourceAdapterImpl#isReauthenticationSupport <em>Reauthentication Support</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.OutboundResourceAdapterImpl#getId <em>Id</em>}</li>
45
 * </ul>
46
 * </p>
47
 *
48
 * @generated
49
 */
50
public class OutboundResourceAdapterImpl extends EObjectImpl implements OutboundResourceAdapter {
51
	/**
52
	 * The cached value of the '{@link #getConnectionDefinition() <em>Connection Definition</em>}' containment reference list.
53
	 * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
55
	 * @see #getConnectionDefinition()
56
	 * @generated
57
	 * @ordered
58
	 */
59
	protected EList<ConnectionDefinition> connectionDefinition;
60
61
	/**
62
	 * The default value of the '{@link #getTransactionSupport() <em>Transaction Support</em>}' attribute.
63
	 * <!-- begin-user-doc -->
64
	 * <!-- end-user-doc -->
65
	 * @see #getTransactionSupport()
66
	 * @generated
67
	 * @ordered
68
	 */
69
	protected static final TransactionSupportType TRANSACTION_SUPPORT_EDEFAULT = TransactionSupportType.NO_TRANSACTION;
70
71
	/**
72
	 * The cached value of the '{@link #getTransactionSupport() <em>Transaction Support</em>}' attribute.
73
	 * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
75
	 * @see #getTransactionSupport()
76
	 * @generated
77
	 * @ordered
78
	 */
79
	protected TransactionSupportType transactionSupport = TRANSACTION_SUPPORT_EDEFAULT;
80
81
	/**
82
	 * This is true if the Transaction Support attribute has been set.
83
	 * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
85
	 * @generated
86
	 * @ordered
87
	 */
88
	protected boolean transactionSupportESet;
89
90
	/**
91
	 * The cached value of the '{@link #getAuthenticationMechanism() <em>Authentication Mechanism</em>}' containment reference list.
92
	 * <!-- begin-user-doc -->
93
	 * <!-- end-user-doc -->
94
	 * @see #getAuthenticationMechanism()
95
	 * @generated
96
	 * @ordered
97
	 */
98
	protected EList<AuthenticationMechanism> authenticationMechanism;
99
100
	/**
101
	 * The default value of the '{@link #isReauthenticationSupport() <em>Reauthentication Support</em>}' attribute.
102
	 * <!-- begin-user-doc -->
103
	 * <!-- end-user-doc -->
104
	 * @see #isReauthenticationSupport()
105
	 * @generated
106
	 * @ordered
107
	 */
108
	protected static final boolean REAUTHENTICATION_SUPPORT_EDEFAULT = false;
109
110
	/**
111
	 * The cached value of the '{@link #isReauthenticationSupport() <em>Reauthentication Support</em>}' attribute.
112
	 * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
114
	 * @see #isReauthenticationSupport()
115
	 * @generated
116
	 * @ordered
117
	 */
118
	protected boolean reauthenticationSupport = REAUTHENTICATION_SUPPORT_EDEFAULT;
119
120
	/**
121
	 * This is true if the Reauthentication Support attribute has been set.
122
	 * <!-- begin-user-doc -->
123
	 * <!-- end-user-doc -->
124
	 * @generated
125
	 * @ordered
126
	 */
127
	protected boolean reauthenticationSupportESet;
128
129
	/**
130
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
131
	 * <!-- begin-user-doc -->
132
	 * <!-- end-user-doc -->
133
	 * @see #getId()
134
	 * @generated
135
	 * @ordered
136
	 */
137
	protected static final String ID_EDEFAULT = null;
138
139
	/**
140
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
141
	 * <!-- begin-user-doc -->
142
	 * <!-- end-user-doc -->
143
	 * @see #getId()
144
	 * @generated
145
	 * @ordered
146
	 */
147
	protected String id = ID_EDEFAULT;
148
149
	/**
150
	 * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
152
	 * @generated
153
	 */
154
	protected OutboundResourceAdapterImpl() {
155
		super();
156
	}
157
158
	/**
159
	 * <!-- begin-user-doc -->
160
	 * <!-- end-user-doc -->
161
	 * @generated
162
	 */
163
	@Override
164
	protected EClass eStaticClass() {
165
		return JcaPackage.Literals.OUTBOUND_RESOURCE_ADAPTER;
166
	}
167
168
	/**
169
	 * <!-- begin-user-doc -->
170
	 * <!-- end-user-doc -->
171
	 * @generated
172
	 */
173
	public List<ConnectionDefinition> getConnectionDefinition() {
174
		if (connectionDefinition == null) {
175
			connectionDefinition = new EObjectContainmentEList<ConnectionDefinition>(ConnectionDefinition.class, this, JcaPackage.OUTBOUND_RESOURCE_ADAPTER__CONNECTION_DEFINITION);
176
		}
177
		return connectionDefinition;
178
	}
179
180
	/**
181
	 * <!-- begin-user-doc -->
182
	 * <!-- end-user-doc -->
183
	 * @generated
184
	 */
185
	public TransactionSupportType getTransactionSupport() {
186
		return transactionSupport;
187
	}
188
189
	/**
190
	 * <!-- begin-user-doc -->
191
	 * <!-- end-user-doc -->
192
	 * @generated
193
	 */
194
	public void setTransactionSupport(TransactionSupportType newTransactionSupport) {
195
		TransactionSupportType oldTransactionSupport = transactionSupport;
196
		transactionSupport = newTransactionSupport == null ? TRANSACTION_SUPPORT_EDEFAULT : newTransactionSupport;
197
		boolean oldTransactionSupportESet = transactionSupportESet;
198
		transactionSupportESet = true;
199
		if (eNotificationRequired())
200
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.OUTBOUND_RESOURCE_ADAPTER__TRANSACTION_SUPPORT, oldTransactionSupport, transactionSupport, !oldTransactionSupportESet));
201
	}
202
203
	/**
204
	 * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
206
	 * @generated
207
	 */
208
	public void unsetTransactionSupport() {
209
		TransactionSupportType oldTransactionSupport = transactionSupport;
210
		boolean oldTransactionSupportESet = transactionSupportESet;
211
		transactionSupport = TRANSACTION_SUPPORT_EDEFAULT;
212
		transactionSupportESet = false;
213
		if (eNotificationRequired())
214
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.OUTBOUND_RESOURCE_ADAPTER__TRANSACTION_SUPPORT, oldTransactionSupport, TRANSACTION_SUPPORT_EDEFAULT, oldTransactionSupportESet));
215
	}
216
217
	/**
218
	 * <!-- begin-user-doc -->
219
	 * <!-- end-user-doc -->
220
	 * @generated
221
	 */
222
	public boolean isSetTransactionSupport() {
223
		return transactionSupportESet;
224
	}
225
226
	/**
227
	 * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
229
	 * @generated
230
	 */
231
	public List<AuthenticationMechanism> getAuthenticationMechanism() {
232
		if (authenticationMechanism == null) {
233
			authenticationMechanism = new EObjectContainmentEList<AuthenticationMechanism>(AuthenticationMechanism.class, this, JcaPackage.OUTBOUND_RESOURCE_ADAPTER__AUTHENTICATION_MECHANISM);
234
		}
235
		return authenticationMechanism;
236
	}
237
238
	/**
239
	 * <!-- begin-user-doc -->
240
	 * <!-- end-user-doc -->
241
	 * @generated
242
	 */
243
	public boolean isReauthenticationSupport() {
244
		return reauthenticationSupport;
245
	}
246
247
	/**
248
	 * <!-- begin-user-doc -->
249
	 * <!-- end-user-doc -->
250
	 * @generated
251
	 */
252
	public void setReauthenticationSupport(boolean newReauthenticationSupport) {
253
		boolean oldReauthenticationSupport = reauthenticationSupport;
254
		reauthenticationSupport = newReauthenticationSupport;
255
		boolean oldReauthenticationSupportESet = reauthenticationSupportESet;
256
		reauthenticationSupportESet = true;
257
		if (eNotificationRequired())
258
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.OUTBOUND_RESOURCE_ADAPTER__REAUTHENTICATION_SUPPORT, oldReauthenticationSupport, reauthenticationSupport, !oldReauthenticationSupportESet));
259
	}
260
261
	/**
262
	 * <!-- begin-user-doc -->
263
	 * <!-- end-user-doc -->
264
	 * @generated
265
	 */
266
	public void unsetReauthenticationSupport() {
267
		boolean oldReauthenticationSupport = reauthenticationSupport;
268
		boolean oldReauthenticationSupportESet = reauthenticationSupportESet;
269
		reauthenticationSupport = REAUTHENTICATION_SUPPORT_EDEFAULT;
270
		reauthenticationSupportESet = false;
271
		if (eNotificationRequired())
272
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.OUTBOUND_RESOURCE_ADAPTER__REAUTHENTICATION_SUPPORT, oldReauthenticationSupport, REAUTHENTICATION_SUPPORT_EDEFAULT, oldReauthenticationSupportESet));
273
	}
274
275
	/**
276
	 * <!-- begin-user-doc -->
277
	 * <!-- end-user-doc -->
278
	 * @generated
279
	 */
280
	public boolean isSetReauthenticationSupport() {
281
		return reauthenticationSupportESet;
282
	}
283
284
	/**
285
	 * <!-- begin-user-doc -->
286
	 * <!-- end-user-doc -->
287
	 * @generated
288
	 */
289
	public String getId() {
290
		return id;
291
	}
292
293
	/**
294
	 * <!-- begin-user-doc -->
295
	 * <!-- end-user-doc -->
296
	 * @generated
297
	 */
298
	public void setId(String newId) {
299
		String oldId = id;
300
		id = newId;
301
		if (eNotificationRequired())
302
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.OUTBOUND_RESOURCE_ADAPTER__ID, oldId, id));
303
	}
304
305
	/**
306
	 * <!-- begin-user-doc -->
307
	 * <!-- end-user-doc -->
308
	 * @generated
309
	 */
310
	@Override
311
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
312
		switch (featureID) {
313
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__CONNECTION_DEFINITION:
314
				return ((InternalEList<?>)getConnectionDefinition()).basicRemove(otherEnd, msgs);
315
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__AUTHENTICATION_MECHANISM:
316
				return ((InternalEList<?>)getAuthenticationMechanism()).basicRemove(otherEnd, msgs);
317
		}
318
		return super.eInverseRemove(otherEnd, featureID, msgs);
319
	}
320
321
	/**
322
	 * <!-- begin-user-doc -->
323
	 * <!-- end-user-doc -->
324
	 * @generated
325
	 */
326
	@Override
327
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
328
		switch (featureID) {
329
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__CONNECTION_DEFINITION:
330
				return getConnectionDefinition();
331
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__TRANSACTION_SUPPORT:
332
				return getTransactionSupport();
333
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__AUTHENTICATION_MECHANISM:
334
				return getAuthenticationMechanism();
335
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__REAUTHENTICATION_SUPPORT:
336
				return isReauthenticationSupport();
337
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__ID:
338
				return getId();
339
		}
340
		return super.eGet(featureID, resolve, coreType);
341
	}
342
343
	/**
344
	 * <!-- begin-user-doc -->
345
	 * <!-- end-user-doc -->
346
	 * @generated
347
	 */
348
	@SuppressWarnings("unchecked")
349
	@Override
350
	public void eSet(int featureID, Object newValue) {
351
		switch (featureID) {
352
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__CONNECTION_DEFINITION:
353
				getConnectionDefinition().clear();
354
				getConnectionDefinition().addAll((Collection<? extends ConnectionDefinition>)newValue);
355
				return;
356
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__TRANSACTION_SUPPORT:
357
				setTransactionSupport((TransactionSupportType)newValue);
358
				return;
359
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__AUTHENTICATION_MECHANISM:
360
				getAuthenticationMechanism().clear();
361
				getAuthenticationMechanism().addAll((Collection<? extends AuthenticationMechanism>)newValue);
362
				return;
363
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__REAUTHENTICATION_SUPPORT:
364
				setReauthenticationSupport((Boolean)newValue);
365
				return;
366
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__ID:
367
				setId((String)newValue);
368
				return;
369
		}
370
		super.eSet(featureID, newValue);
371
	}
372
373
	/**
374
	 * <!-- begin-user-doc -->
375
	 * <!-- end-user-doc -->
376
	 * @generated
377
	 */
378
	@Override
379
	public void eUnset(int featureID) {
380
		switch (featureID) {
381
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__CONNECTION_DEFINITION:
382
				getConnectionDefinition().clear();
383
				return;
384
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__TRANSACTION_SUPPORT:
385
				unsetTransactionSupport();
386
				return;
387
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__AUTHENTICATION_MECHANISM:
388
				getAuthenticationMechanism().clear();
389
				return;
390
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__REAUTHENTICATION_SUPPORT:
391
				unsetReauthenticationSupport();
392
				return;
393
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__ID:
394
				setId(ID_EDEFAULT);
395
				return;
396
		}
397
		super.eUnset(featureID);
398
	}
399
400
	/**
401
	 * <!-- begin-user-doc -->
402
	 * <!-- end-user-doc -->
403
	 * @generated
404
	 */
405
	@Override
406
	public boolean eIsSet(int featureID) {
407
		switch (featureID) {
408
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__CONNECTION_DEFINITION:
409
				return connectionDefinition != null && !connectionDefinition.isEmpty();
410
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__TRANSACTION_SUPPORT:
411
				return isSetTransactionSupport();
412
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__AUTHENTICATION_MECHANISM:
413
				return authenticationMechanism != null && !authenticationMechanism.isEmpty();
414
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__REAUTHENTICATION_SUPPORT:
415
				return isSetReauthenticationSupport();
416
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER__ID:
417
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
418
		}
419
		return super.eIsSet(featureID);
420
	}
421
422
	/**
423
	 * <!-- begin-user-doc -->
424
	 * <!-- end-user-doc -->
425
	 * @generated
426
	 */
427
	@Override
428
	public String toString() {
429
		if (eIsProxy()) return super.toString();
430
431
		StringBuffer result = new StringBuffer(super.toString());
432
		result.append(" (transactionSupport: "); //$NON-NLS-1$
433
		if (transactionSupportESet) result.append(transactionSupport); else result.append("<unset>"); //$NON-NLS-1$
434
		result.append(", reauthenticationSupport: "); //$NON-NLS-1$
435
		if (reauthenticationSupportESet) result.append(reauthenticationSupport); else result.append("<unset>"); //$NON-NLS-1$
436
		result.append(", id: "); //$NON-NLS-1$
437
		result.append(id);
438
		result.append(')');
439
		return result.toString();
440
	}
441
442
} //OutboundResourceAdapterImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/AdminObjectImpl.java (+336 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.jca.AdminObject;
27
import org.eclipse.jst.javaee.jca.ConfigProperty;
28
29
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
30
31
/**
32
 * <!-- begin-user-doc -->
33
 * An implementation of the model object '<em><b>Admin Object</b></em>'.
34
 * <!-- end-user-doc -->
35
 * <p>
36
 * The following features are implemented:
37
 * <ul>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AdminObjectImpl#getAdminobjectInterface <em>Adminobject Interface</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AdminObjectImpl#getAdminobjectClass <em>Adminobject Class</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AdminObjectImpl#getConfigProperty <em>Config Property</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AdminObjectImpl#getId <em>Id</em>}</li>
42
 * </ul>
43
 * </p>
44
 *
45
 * @generated
46
 */
47
public class AdminObjectImpl extends EObjectImpl implements AdminObject {
48
	/**
49
	 * The default value of the '{@link #getAdminobjectInterface() <em>Adminobject Interface</em>}' attribute.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * @see #getAdminobjectInterface()
53
	 * @generated
54
	 * @ordered
55
	 */
56
	protected static final String ADMINOBJECT_INTERFACE_EDEFAULT = null;
57
58
	/**
59
	 * The cached value of the '{@link #getAdminobjectInterface() <em>Adminobject Interface</em>}' attribute.
60
	 * <!-- begin-user-doc -->
61
	 * <!-- end-user-doc -->
62
	 * @see #getAdminobjectInterface()
63
	 * @generated
64
	 * @ordered
65
	 */
66
	protected String adminobjectInterface = ADMINOBJECT_INTERFACE_EDEFAULT;
67
68
	/**
69
	 * The default value of the '{@link #getAdminobjectClass() <em>Adminobject Class</em>}' attribute.
70
	 * <!-- begin-user-doc -->
71
	 * <!-- end-user-doc -->
72
	 * @see #getAdminobjectClass()
73
	 * @generated
74
	 * @ordered
75
	 */
76
	protected static final String ADMINOBJECT_CLASS_EDEFAULT = null;
77
78
	/**
79
	 * The cached value of the '{@link #getAdminobjectClass() <em>Adminobject Class</em>}' attribute.
80
	 * <!-- begin-user-doc -->
81
	 * <!-- end-user-doc -->
82
	 * @see #getAdminobjectClass()
83
	 * @generated
84
	 * @ordered
85
	 */
86
	protected String adminobjectClass = ADMINOBJECT_CLASS_EDEFAULT;
87
88
	/**
89
	 * The cached value of the '{@link #getConfigProperty() <em>Config Property</em>}' containment reference list.
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @see #getConfigProperty()
93
	 * @generated
94
	 * @ordered
95
	 */
96
	protected EList<ConfigProperty> configProperty;
97
98
	/**
99
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
100
	 * <!-- begin-user-doc -->
101
	 * <!-- end-user-doc -->
102
	 * @see #getId()
103
	 * @generated
104
	 * @ordered
105
	 */
106
	protected static final String ID_EDEFAULT = null;
107
108
	/**
109
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
110
	 * <!-- begin-user-doc -->
111
	 * <!-- end-user-doc -->
112
	 * @see #getId()
113
	 * @generated
114
	 * @ordered
115
	 */
116
	protected String id = ID_EDEFAULT;
117
118
	/**
119
	 * <!-- begin-user-doc -->
120
	 * <!-- end-user-doc -->
121
	 * @generated
122
	 */
123
	protected AdminObjectImpl() {
124
		super();
125
	}
126
127
	/**
128
	 * <!-- begin-user-doc -->
129
	 * <!-- end-user-doc -->
130
	 * @generated
131
	 */
132
	@Override
133
	protected EClass eStaticClass() {
134
		return JcaPackage.Literals.ADMIN_OBJECT;
135
	}
136
137
	/**
138
	 * <!-- begin-user-doc -->
139
	 * <!-- end-user-doc -->
140
	 * @generated
141
	 */
142
	public String getAdminobjectInterface() {
143
		return adminobjectInterface;
144
	}
145
146
	/**
147
	 * <!-- begin-user-doc -->
148
	 * <!-- end-user-doc -->
149
	 * @generated
150
	 */
151
	public void setAdminobjectInterface(String newAdminobjectInterface) {
152
		String oldAdminobjectInterface = adminobjectInterface;
153
		adminobjectInterface = newAdminobjectInterface;
154
		if (eNotificationRequired())
155
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.ADMIN_OBJECT__ADMINOBJECT_INTERFACE, oldAdminobjectInterface, adminobjectInterface));
156
	}
157
158
	/**
159
	 * <!-- begin-user-doc -->
160
	 * <!-- end-user-doc -->
161
	 * @generated
162
	 */
163
	public String getAdminobjectClass() {
164
		return adminobjectClass;
165
	}
166
167
	/**
168
	 * <!-- begin-user-doc -->
169
	 * <!-- end-user-doc -->
170
	 * @generated
171
	 */
172
	public void setAdminobjectClass(String newAdminobjectClass) {
173
		String oldAdminobjectClass = adminobjectClass;
174
		adminobjectClass = newAdminobjectClass;
175
		if (eNotificationRequired())
176
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.ADMIN_OBJECT__ADMINOBJECT_CLASS, oldAdminobjectClass, adminobjectClass));
177
	}
178
179
	/**
180
	 * <!-- begin-user-doc -->
181
	 * <!-- end-user-doc -->
182
	 * @generated
183
	 */
184
	public List<ConfigProperty> getConfigProperty() {
185
		if (configProperty == null) {
186
			configProperty = new EObjectContainmentEList<ConfigProperty>(ConfigProperty.class, this, JcaPackage.ADMIN_OBJECT__CONFIG_PROPERTY);
187
		}
188
		return configProperty;
189
	}
190
191
	/**
192
	 * <!-- begin-user-doc -->
193
	 * <!-- end-user-doc -->
194
	 * @generated
195
	 */
196
	public String getId() {
197
		return id;
198
	}
199
200
	/**
201
	 * <!-- begin-user-doc -->
202
	 * <!-- end-user-doc -->
203
	 * @generated
204
	 */
205
	public void setId(String newId) {
206
		String oldId = id;
207
		id = newId;
208
		if (eNotificationRequired())
209
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.ADMIN_OBJECT__ID, oldId, id));
210
	}
211
212
	/**
213
	 * <!-- begin-user-doc -->
214
	 * <!-- end-user-doc -->
215
	 * @generated
216
	 */
217
	@Override
218
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
219
		switch (featureID) {
220
			case JcaPackage.ADMIN_OBJECT__CONFIG_PROPERTY:
221
				return ((InternalEList<?>)getConfigProperty()).basicRemove(otherEnd, msgs);
222
		}
223
		return super.eInverseRemove(otherEnd, featureID, msgs);
224
	}
225
226
	/**
227
	 * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
229
	 * @generated
230
	 */
231
	@Override
232
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
233
		switch (featureID) {
234
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_INTERFACE:
235
				return getAdminobjectInterface();
236
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_CLASS:
237
				return getAdminobjectClass();
238
			case JcaPackage.ADMIN_OBJECT__CONFIG_PROPERTY:
239
				return getConfigProperty();
240
			case JcaPackage.ADMIN_OBJECT__ID:
241
				return getId();
242
		}
243
		return super.eGet(featureID, resolve, coreType);
244
	}
245
246
	/**
247
	 * <!-- begin-user-doc -->
248
	 * <!-- end-user-doc -->
249
	 * @generated
250
	 */
251
	@SuppressWarnings("unchecked")
252
	@Override
253
	public void eSet(int featureID, Object newValue) {
254
		switch (featureID) {
255
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_INTERFACE:
256
				setAdminobjectInterface((String)newValue);
257
				return;
258
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_CLASS:
259
				setAdminobjectClass((String)newValue);
260
				return;
261
			case JcaPackage.ADMIN_OBJECT__CONFIG_PROPERTY:
262
				getConfigProperty().clear();
263
				getConfigProperty().addAll((Collection<? extends ConfigProperty>)newValue);
264
				return;
265
			case JcaPackage.ADMIN_OBJECT__ID:
266
				setId((String)newValue);
267
				return;
268
		}
269
		super.eSet(featureID, newValue);
270
	}
271
272
	/**
273
	 * <!-- begin-user-doc -->
274
	 * <!-- end-user-doc -->
275
	 * @generated
276
	 */
277
	@Override
278
	public void eUnset(int featureID) {
279
		switch (featureID) {
280
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_INTERFACE:
281
				setAdminobjectInterface(ADMINOBJECT_INTERFACE_EDEFAULT);
282
				return;
283
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_CLASS:
284
				setAdminobjectClass(ADMINOBJECT_CLASS_EDEFAULT);
285
				return;
286
			case JcaPackage.ADMIN_OBJECT__CONFIG_PROPERTY:
287
				getConfigProperty().clear();
288
				return;
289
			case JcaPackage.ADMIN_OBJECT__ID:
290
				setId(ID_EDEFAULT);
291
				return;
292
		}
293
		super.eUnset(featureID);
294
	}
295
296
	/**
297
	 * <!-- begin-user-doc -->
298
	 * <!-- end-user-doc -->
299
	 * @generated
300
	 */
301
	@Override
302
	public boolean eIsSet(int featureID) {
303
		switch (featureID) {
304
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_INTERFACE:
305
				return ADMINOBJECT_INTERFACE_EDEFAULT == null ? adminobjectInterface != null : !ADMINOBJECT_INTERFACE_EDEFAULT.equals(adminobjectInterface);
306
			case JcaPackage.ADMIN_OBJECT__ADMINOBJECT_CLASS:
307
				return ADMINOBJECT_CLASS_EDEFAULT == null ? adminobjectClass != null : !ADMINOBJECT_CLASS_EDEFAULT.equals(adminobjectClass);
308
			case JcaPackage.ADMIN_OBJECT__CONFIG_PROPERTY:
309
				return configProperty != null && !configProperty.isEmpty();
310
			case JcaPackage.ADMIN_OBJECT__ID:
311
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
312
		}
313
		return super.eIsSet(featureID);
314
	}
315
316
	/**
317
	 * <!-- begin-user-doc -->
318
	 * <!-- end-user-doc -->
319
	 * @generated
320
	 */
321
	@Override
322
	public String toString() {
323
		if (eIsProxy()) return super.toString();
324
325
		StringBuffer result = new StringBuffer(super.toString());
326
		result.append(" (adminobjectInterface: "); //$NON-NLS-1$
327
		result.append(adminobjectInterface);
328
		result.append(", adminobjectClass: "); //$NON-NLS-1$
329
		result.append(adminobjectClass);
330
		result.append(", id: "); //$NON-NLS-1$
331
		result.append(id);
332
		result.append(')');
333
		return result.toString();
334
	}
335
336
} //AdminObjectImpl
(-)jee-models/org/eclipse/jst/javaee/jca/OutboundResourceAdapter.java (+227 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.JavaEEObject;
12
13
/**
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Outbound Resource Adapter</b></em>'.
16
 * <!-- end-user-doc -->
17
 *
18
 * <!-- begin-model-doc -->
19
 * 
20
 * 
21
 *         The outbound-resourceadapterType specifies information about
22
 *         an outbound resource adapter. The information includes fully
23
 *         qualified names of classes/interfaces required as part of
24
 *         the connector architecture specified contracts for
25
 *         connection management, level of transaction support
26
 *         provided, one or more authentication mechanisms supported
27
 *         and additional required security permissions.
28
 *         
29
 *         If there is no authentication-mechanism specified as part of
30
 *         resource adapter element then the resource adapter does not
31
 *         support any standard security authentication mechanisms as
32
 *         part of security contract. The application server ignores
33
 *         the security part of the system contracts in this case.
34
 *         
35
 *         @since Java EE 6, Connector 1.6
36
 *       
37
 * <!-- end-model-doc -->
38
 *
39
 * <p>
40
 * The following features are supported:
41
 * <ul>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getConnectionDefinition <em>Connection Definition</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getTransactionSupport <em>Transaction Support</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getAuthenticationMechanism <em>Authentication Mechanism</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#isReauthenticationSupport <em>Reauthentication Support</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getId <em>Id</em>}</li>
47
 * </ul>
48
 * </p>
49
 *
50
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getOutboundResourceAdapter()
51
 * @extends JavaEEObject
52
 * @generated
53
 */
54
public interface OutboundResourceAdapter extends JavaEEObject {
55
	/**
56
	 * Returns the value of the '<em><b>Connection Definition</b></em>' containment reference list.
57
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.ConnectionDefinition}.
58
	 * <!-- begin-user-doc -->
59
	 * <p>
60
	 * If the meaning of the '<em>Connection Definition</em>' containment reference list isn't clear,
61
	 * there really should be more of a description here...
62
	 * </p>
63
	 * <!-- end-user-doc -->
64
	 * @return the value of the '<em>Connection Definition</em>' containment reference list.
65
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getOutboundResourceAdapter_ConnectionDefinition()
66
	 * @generated
67
	 */
68
	List<ConnectionDefinition> getConnectionDefinition();
69
70
	/**
71
	 * Returns the value of the '<em><b>Transaction Support</b></em>' attribute.
72
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.jca.TransactionSupportType}.
73
	 * <!-- begin-user-doc -->
74
	 * <p>
75
	 * If the meaning of the '<em>Transaction Support</em>' attribute isn't clear,
76
	 * there really should be more of a description here...
77
	 * </p>
78
	 * <!-- end-user-doc -->
79
	 * @return the value of the '<em>Transaction Support</em>' attribute.
80
	 * @see org.eclipse.jst.javaee.jca.TransactionSupportType
81
	 * @see #isSetTransactionSupport()
82
	 * @see #unsetTransactionSupport()
83
	 * @see #setTransactionSupport(TransactionSupportType)
84
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getOutboundResourceAdapter_TransactionSupport()
85
	 * @generated
86
	 */
87
	TransactionSupportType getTransactionSupport();
88
89
	/**
90
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getTransactionSupport <em>Transaction Support</em>}' attribute.
91
	 * <!-- begin-user-doc -->
92
	 * <!-- end-user-doc -->
93
	 * @param value the new value of the '<em>Transaction Support</em>' attribute.
94
	 * @see org.eclipse.jst.javaee.jca.TransactionSupportType
95
	 * @see #isSetTransactionSupport()
96
	 * @see #unsetTransactionSupport()
97
	 * @see #getTransactionSupport()
98
	 * @generated
99
	 */
100
	void setTransactionSupport(TransactionSupportType value);
101
102
	/**
103
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getTransactionSupport <em>Transaction Support</em>}' attribute.
104
	 * <!-- begin-user-doc -->
105
	 * <!-- end-user-doc -->
106
	 * @see #isSetTransactionSupport()
107
	 * @see #getTransactionSupport()
108
	 * @see #setTransactionSupport(TransactionSupportType)
109
	 * @generated
110
	 */
111
	void unsetTransactionSupport();
112
113
	/**
114
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getTransactionSupport <em>Transaction Support</em>}' attribute is set.
115
	 * <!-- begin-user-doc -->
116
	 * <!-- end-user-doc -->
117
	 * @return whether the value of the '<em>Transaction Support</em>' attribute is set.
118
	 * @see #unsetTransactionSupport()
119
	 * @see #getTransactionSupport()
120
	 * @see #setTransactionSupport(TransactionSupportType)
121
	 * @generated
122
	 */
123
	boolean isSetTransactionSupport();
124
125
	/**
126
	 * Returns the value of the '<em><b>Authentication Mechanism</b></em>' containment reference list.
127
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.AuthenticationMechanism}.
128
	 * <!-- begin-user-doc -->
129
	 * <p>
130
	 * If the meaning of the '<em>Authentication Mechanism</em>' containment reference list isn't clear,
131
	 * there really should be more of a description here...
132
	 * </p>
133
	 * <!-- end-user-doc -->
134
	 * @return the value of the '<em>Authentication Mechanism</em>' containment reference list.
135
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getOutboundResourceAdapter_AuthenticationMechanism()
136
	 * @generated
137
	 */
138
	List<AuthenticationMechanism> getAuthenticationMechanism();
139
140
	/**
141
	 * Returns the value of the '<em><b>Reauthentication Support</b></em>' attribute.
142
	 * <!-- begin-user-doc -->
143
	 * <!-- end-user-doc -->
144
	 * <!-- begin-model-doc -->
145
	 * 
146
	 * 
147
	 *             The element reauthentication-support specifies
148
	 *             whether the resource adapter implementation supports
149
	 *             re-authentication of existing Managed- Connection
150
	 *             instance. Note that this information is for the
151
	 *             resource adapter implementation and not for the
152
	 *             underlying EIS instance. This element must have
153
	 *             either a "true" or "false" value.
154
	 *             
155
	 *             @since Java EE 6, Connector 1.6
156
	 *           
157
	 * <!-- end-model-doc -->
158
	 * @return the value of the '<em>Reauthentication Support</em>' attribute.
159
	 * @see #isSetReauthenticationSupport()
160
	 * @see #unsetReauthenticationSupport()
161
	 * @see #setReauthenticationSupport(boolean)
162
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getOutboundResourceAdapter_ReauthenticationSupport()
163
	 * @generated
164
	 */
165
	boolean isReauthenticationSupport();
166
167
	/**
168
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#isReauthenticationSupport <em>Reauthentication Support</em>}' attribute.
169
	 * <!-- begin-user-doc -->
170
	 * <!-- end-user-doc -->
171
	 * @param value the new value of the '<em>Reauthentication Support</em>' attribute.
172
	 * @see #isSetReauthenticationSupport()
173
	 * @see #unsetReauthenticationSupport()
174
	 * @see #isReauthenticationSupport()
175
	 * @generated
176
	 */
177
	void setReauthenticationSupport(boolean value);
178
179
	/**
180
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#isReauthenticationSupport <em>Reauthentication Support</em>}' attribute.
181
	 * <!-- begin-user-doc -->
182
	 * <!-- end-user-doc -->
183
	 * @see #isSetReauthenticationSupport()
184
	 * @see #isReauthenticationSupport()
185
	 * @see #setReauthenticationSupport(boolean)
186
	 * @generated
187
	 */
188
	void unsetReauthenticationSupport();
189
190
	/**
191
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#isReauthenticationSupport <em>Reauthentication Support</em>}' attribute is set.
192
	 * <!-- begin-user-doc -->
193
	 * <!-- end-user-doc -->
194
	 * @return whether the value of the '<em>Reauthentication Support</em>' attribute is set.
195
	 * @see #unsetReauthenticationSupport()
196
	 * @see #isReauthenticationSupport()
197
	 * @see #setReauthenticationSupport(boolean)
198
	 * @generated
199
	 */
200
	boolean isSetReauthenticationSupport();
201
202
	/**
203
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
204
	 * <!-- begin-user-doc -->
205
	 * <p>
206
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
207
	 * there really should be more of a description here...
208
	 * </p>
209
	 * <!-- end-user-doc -->
210
	 * @return the value of the '<em>Id</em>' attribute.
211
	 * @see #setId(String)
212
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getOutboundResourceAdapter_Id()
213
	 * @generated
214
	 */
215
	String getId();
216
217
	/**
218
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.OutboundResourceAdapter#getId <em>Id</em>}' attribute.
219
	 * <!-- begin-user-doc -->
220
	 * <!-- end-user-doc -->
221
	 * @param value the new value of the '<em>Id</em>' attribute.
222
	 * @see #getId()
223
	 * @generated
224
	 */
225
	void setId(String value);
226
227
} // OutboundResourceAdapter
(-)jee-models/org/eclipse/jst/javaee/core/RespectBindingType.java (+95 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core;
8
9
10
/**
11
 * <!-- begin-user-doc -->
12
 * A representation of the model object '<em><b>Respect Binding Type</b></em>'.
13
 * <!-- end-user-doc -->
14
 *
15
 * <!-- begin-model-doc -->
16
 * 
17
 * 
18
 *         Corresponds to the javax.xml.ws.RespectBinding annotation
19
 *         or its corresponding javax.xml.ws.RespectBindingFeature web
20
 *         service feature. This is used to control whether a JAX-WS
21
 *         implementation must respect/honor the contents of the
22
 *         wsdl:binding in the WSDL that is associated with the service.
23
 *         
24
 *         If the "enabled" element is "true", wsdl:binding in the
25
 *         associated WSDL, if any, must be respected/honored.
26
 *         
27
 *         @since Java EE 6, Web Services Client 1.3
28
 *       
29
 * <!-- end-model-doc -->
30
 *
31
 * <p>
32
 * The following features are supported:
33
 * <ul>
34
 *   <li>{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}</li>
35
 * </ul>
36
 * </p>
37
 *
38
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRespectBindingType()
39
 * @extends JavaEEObject
40
 * @generated
41
 */
42
public interface RespectBindingType extends JavaEEObject {
43
	/**
44
	 * Returns the value of the '<em><b>Enabled</b></em>' attribute.
45
	 * <!-- begin-user-doc -->
46
	 * <p>
47
	 * If the meaning of the '<em>Enabled</em>' attribute isn't clear,
48
	 * there really should be more of a description here...
49
	 * </p>
50
	 * <!-- end-user-doc -->
51
	 * @return the value of the '<em>Enabled</em>' attribute.
52
	 * @see #isSetEnabled()
53
	 * @see #unsetEnabled()
54
	 * @see #setEnabled(boolean)
55
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRespectBindingType_Enabled()
56
	 * @generated
57
	 */
58
	boolean isEnabled();
59
60
	/**
61
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}' attribute.
62
	 * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
64
	 * @param value the new value of the '<em>Enabled</em>' attribute.
65
	 * @see #isSetEnabled()
66
	 * @see #unsetEnabled()
67
	 * @see #isEnabled()
68
	 * @generated
69
	 */
70
	void setEnabled(boolean value);
71
72
	/**
73
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}' attribute.
74
	 * <!-- begin-user-doc -->
75
	 * <!-- end-user-doc -->
76
	 * @see #isSetEnabled()
77
	 * @see #isEnabled()
78
	 * @see #setEnabled(boolean)
79
	 * @generated
80
	 */
81
	void unsetEnabled();
82
83
	/**
84
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}' attribute is set.
85
	 * <!-- begin-user-doc -->
86
	 * <!-- end-user-doc -->
87
	 * @return whether the value of the '<em>Enabled</em>' attribute is set.
88
	 * @see #unsetEnabled()
89
	 * @see #isEnabled()
90
	 * @see #setEnabled(boolean)
91
	 * @generated
92
	 */
93
	boolean isSetEnabled();
94
95
} // RespectBindingType
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/ConnectorImpl.java (+812 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EDataTypeEList;
24
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
25
import org.eclipse.emf.ecore.util.InternalEList;
26
27
import org.eclipse.jst.javaee.core.Description;
28
import org.eclipse.jst.javaee.core.DisplayName;
29
import org.eclipse.jst.javaee.core.Icon;
30
31
import org.eclipse.jst.javaee.jca.Connector;
32
import org.eclipse.jst.javaee.jca.License;
33
import org.eclipse.jst.javaee.jca.ResourceAdapter;
34
35
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
36
37
/**
38
 * <!-- begin-user-doc -->
39
 * An implementation of the model object '<em><b>Connector</b></em>'.
40
 * <!-- end-user-doc -->
41
 * <p>
42
 * The following features are implemented:
43
 * <ul>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getDescriptions <em>Descriptions</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getDisplayNames <em>Display Names</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getIcons <em>Icons</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getVendorName <em>Vendor Name</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getEisType <em>Eis Type</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getResourceadapterVersion <em>Resourceadapter Version</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getLicense <em>License</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getResourceadapter <em>Resourceadapter</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getRequiredWorkContext <em>Required Work Context</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getId <em>Id</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#isMetadataComplete <em>Metadata Complete</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorImpl#getVersion <em>Version</em>}</li>
56
 * </ul>
57
 * </p>
58
 *
59
 * @generated
60
 */
61
public class ConnectorImpl extends EObjectImpl implements Connector {
62
	/**
63
	 * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
64
	 * <!-- begin-user-doc -->
65
	 * <!-- end-user-doc -->
66
	 * @see #getDescriptions()
67
	 * @generated
68
	 * @ordered
69
	 */
70
	protected EList<Description> descriptions;
71
72
	/**
73
	 * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
74
	 * <!-- begin-user-doc -->
75
	 * <!-- end-user-doc -->
76
	 * @see #getDisplayNames()
77
	 * @generated
78
	 * @ordered
79
	 */
80
	protected EList<DisplayName> displayNames;
81
82
	/**
83
	 * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list.
84
	 * <!-- begin-user-doc -->
85
	 * <!-- end-user-doc -->
86
	 * @see #getIcons()
87
	 * @generated
88
	 * @ordered
89
	 */
90
	protected EList<Icon> icons;
91
92
	/**
93
	 * The default value of the '{@link #getVendorName() <em>Vendor Name</em>}' attribute.
94
	 * <!-- begin-user-doc -->
95
	 * <!-- end-user-doc -->
96
	 * @see #getVendorName()
97
	 * @generated
98
	 * @ordered
99
	 */
100
	protected static final String VENDOR_NAME_EDEFAULT = null;
101
102
	/**
103
	 * The cached value of the '{@link #getVendorName() <em>Vendor Name</em>}' attribute.
104
	 * <!-- begin-user-doc -->
105
	 * <!-- end-user-doc -->
106
	 * @see #getVendorName()
107
	 * @generated
108
	 * @ordered
109
	 */
110
	protected String vendorName = VENDOR_NAME_EDEFAULT;
111
112
	/**
113
	 * The default value of the '{@link #getEisType() <em>Eis Type</em>}' attribute.
114
	 * <!-- begin-user-doc -->
115
	 * <!-- end-user-doc -->
116
	 * @see #getEisType()
117
	 * @generated
118
	 * @ordered
119
	 */
120
	protected static final String EIS_TYPE_EDEFAULT = null;
121
122
	/**
123
	 * The cached value of the '{@link #getEisType() <em>Eis Type</em>}' attribute.
124
	 * <!-- begin-user-doc -->
125
	 * <!-- end-user-doc -->
126
	 * @see #getEisType()
127
	 * @generated
128
	 * @ordered
129
	 */
130
	protected String eisType = EIS_TYPE_EDEFAULT;
131
132
	/**
133
	 * The default value of the '{@link #getResourceadapterVersion() <em>Resourceadapter Version</em>}' attribute.
134
	 * <!-- begin-user-doc -->
135
	 * <!-- end-user-doc -->
136
	 * @see #getResourceadapterVersion()
137
	 * @generated
138
	 * @ordered
139
	 */
140
	protected static final String RESOURCEADAPTER_VERSION_EDEFAULT = null;
141
142
	/**
143
	 * The cached value of the '{@link #getResourceadapterVersion() <em>Resourceadapter Version</em>}' attribute.
144
	 * <!-- begin-user-doc -->
145
	 * <!-- end-user-doc -->
146
	 * @see #getResourceadapterVersion()
147
	 * @generated
148
	 * @ordered
149
	 */
150
	protected String resourceadapterVersion = RESOURCEADAPTER_VERSION_EDEFAULT;
151
152
	/**
153
	 * The cached value of the '{@link #getLicense() <em>License</em>}' containment reference.
154
	 * <!-- begin-user-doc -->
155
	 * <!-- end-user-doc -->
156
	 * @see #getLicense()
157
	 * @generated
158
	 * @ordered
159
	 */
160
	protected License license;
161
162
	/**
163
	 * The cached value of the '{@link #getResourceadapter() <em>Resourceadapter</em>}' containment reference.
164
	 * <!-- begin-user-doc -->
165
	 * <!-- end-user-doc -->
166
	 * @see #getResourceadapter()
167
	 * @generated
168
	 * @ordered
169
	 */
170
	protected ResourceAdapter resourceadapter;
171
172
	/**
173
	 * The cached value of the '{@link #getRequiredWorkContext() <em>Required Work Context</em>}' attribute list.
174
	 * <!-- begin-user-doc -->
175
	 * <!-- end-user-doc -->
176
	 * @see #getRequiredWorkContext()
177
	 * @generated
178
	 * @ordered
179
	 */
180
	protected EList<String> requiredWorkContext;
181
182
	/**
183
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
184
	 * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
186
	 * @see #getId()
187
	 * @generated
188
	 * @ordered
189
	 */
190
	protected static final String ID_EDEFAULT = null;
191
192
	/**
193
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
194
	 * <!-- begin-user-doc -->
195
	 * <!-- end-user-doc -->
196
	 * @see #getId()
197
	 * @generated
198
	 * @ordered
199
	 */
200
	protected String id = ID_EDEFAULT;
201
202
	/**
203
	 * The default value of the '{@link #isMetadataComplete() <em>Metadata Complete</em>}' attribute.
204
	 * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
206
	 * @see #isMetadataComplete()
207
	 * @generated
208
	 * @ordered
209
	 */
210
	protected static final boolean METADATA_COMPLETE_EDEFAULT = false;
211
212
	/**
213
	 * The cached value of the '{@link #isMetadataComplete() <em>Metadata Complete</em>}' attribute.
214
	 * <!-- begin-user-doc -->
215
	 * <!-- end-user-doc -->
216
	 * @see #isMetadataComplete()
217
	 * @generated
218
	 * @ordered
219
	 */
220
	protected boolean metadataComplete = METADATA_COMPLETE_EDEFAULT;
221
222
	/**
223
	 * This is true if the Metadata Complete attribute has been set.
224
	 * <!-- begin-user-doc -->
225
	 * <!-- end-user-doc -->
226
	 * @generated
227
	 * @ordered
228
	 */
229
	protected boolean metadataCompleteESet;
230
231
	/**
232
	 * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
233
	 * <!-- begin-user-doc -->
234
	 * <!-- end-user-doc -->
235
	 * @see #getVersion()
236
	 * @generated
237
	 * @ordered
238
	 */
239
	protected static final String VERSION_EDEFAULT = "1.6"; //$NON-NLS-1$
240
241
	/**
242
	 * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
243
	 * <!-- begin-user-doc -->
244
	 * <!-- end-user-doc -->
245
	 * @see #getVersion()
246
	 * @generated
247
	 * @ordered
248
	 */
249
	protected String version = VERSION_EDEFAULT;
250
251
	/**
252
	 * This is true if the Version attribute has been set.
253
	 * <!-- begin-user-doc -->
254
	 * <!-- end-user-doc -->
255
	 * @generated
256
	 * @ordered
257
	 */
258
	protected boolean versionESet;
259
260
	/**
261
	 * <!-- begin-user-doc -->
262
	 * <!-- end-user-doc -->
263
	 * @generated
264
	 */
265
	protected ConnectorImpl() {
266
		super();
267
	}
268
269
	/**
270
	 * <!-- begin-user-doc -->
271
	 * <!-- end-user-doc -->
272
	 * @generated
273
	 */
274
	@Override
275
	protected EClass eStaticClass() {
276
		return JcaPackage.Literals.CONNECTOR;
277
	}
278
279
	/**
280
	 * <!-- begin-user-doc -->
281
	 * <!-- end-user-doc -->
282
	 * @generated
283
	 */
284
	public List<Description> getDescriptions() {
285
		if (descriptions == null) {
286
			descriptions = new EObjectContainmentEList<Description>(Description.class, this, JcaPackage.CONNECTOR__DESCRIPTIONS);
287
		}
288
		return descriptions;
289
	}
290
291
	/**
292
	 * <!-- begin-user-doc -->
293
	 * <!-- end-user-doc -->
294
	 * @generated
295
	 */
296
	public List<DisplayName> getDisplayNames() {
297
		if (displayNames == null) {
298
			displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JcaPackage.CONNECTOR__DISPLAY_NAMES);
299
		}
300
		return displayNames;
301
	}
302
303
	/**
304
	 * <!-- begin-user-doc -->
305
	 * <!-- end-user-doc -->
306
	 * @generated
307
	 */
308
	public List<Icon> getIcons() {
309
		if (icons == null) {
310
			icons = new EObjectContainmentEList<Icon>(Icon.class, this, JcaPackage.CONNECTOR__ICONS);
311
		}
312
		return icons;
313
	}
314
315
	/**
316
	 * <!-- begin-user-doc -->
317
	 * <!-- end-user-doc -->
318
	 * @generated
319
	 */
320
	public String getVendorName() {
321
		return vendorName;
322
	}
323
324
	/**
325
	 * <!-- begin-user-doc -->
326
	 * <!-- end-user-doc -->
327
	 * @generated
328
	 */
329
	public void setVendorName(String newVendorName) {
330
		String oldVendorName = vendorName;
331
		vendorName = newVendorName;
332
		if (eNotificationRequired())
333
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__VENDOR_NAME, oldVendorName, vendorName));
334
	}
335
336
	/**
337
	 * <!-- begin-user-doc -->
338
	 * <!-- end-user-doc -->
339
	 * @generated
340
	 */
341
	public String getEisType() {
342
		return eisType;
343
	}
344
345
	/**
346
	 * <!-- begin-user-doc -->
347
	 * <!-- end-user-doc -->
348
	 * @generated
349
	 */
350
	public void setEisType(String newEisType) {
351
		String oldEisType = eisType;
352
		eisType = newEisType;
353
		if (eNotificationRequired())
354
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__EIS_TYPE, oldEisType, eisType));
355
	}
356
357
	/**
358
	 * <!-- begin-user-doc -->
359
	 * <!-- end-user-doc -->
360
	 * @generated
361
	 */
362
	public String getResourceadapterVersion() {
363
		return resourceadapterVersion;
364
	}
365
366
	/**
367
	 * <!-- begin-user-doc -->
368
	 * <!-- end-user-doc -->
369
	 * @generated
370
	 */
371
	public void setResourceadapterVersion(String newResourceadapterVersion) {
372
		String oldResourceadapterVersion = resourceadapterVersion;
373
		resourceadapterVersion = newResourceadapterVersion;
374
		if (eNotificationRequired())
375
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__RESOURCEADAPTER_VERSION, oldResourceadapterVersion, resourceadapterVersion));
376
	}
377
378
	/**
379
	 * <!-- begin-user-doc -->
380
	 * <!-- end-user-doc -->
381
	 * @generated
382
	 */
383
	public License getLicense() {
384
		return license;
385
	}
386
387
	/**
388
	 * <!-- begin-user-doc -->
389
	 * <!-- end-user-doc -->
390
	 * @generated
391
	 */
392
	public NotificationChain basicSetLicense(License newLicense, NotificationChain msgs) {
393
		License oldLicense = license;
394
		license = newLicense;
395
		if (eNotificationRequired()) {
396
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__LICENSE, oldLicense, newLicense);
397
			if (msgs == null) msgs = notification; else msgs.add(notification);
398
		}
399
		return msgs;
400
	}
401
402
	/**
403
	 * <!-- begin-user-doc -->
404
	 * <!-- end-user-doc -->
405
	 * @generated
406
	 */
407
	public void setLicense(License newLicense) {
408
		if (newLicense != license) {
409
			NotificationChain msgs = null;
410
			if (license != null)
411
				msgs = ((InternalEObject)license).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JcaPackage.CONNECTOR__LICENSE, null, msgs);
412
			if (newLicense != null)
413
				msgs = ((InternalEObject)newLicense).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JcaPackage.CONNECTOR__LICENSE, null, msgs);
414
			msgs = basicSetLicense(newLicense, msgs);
415
			if (msgs != null) msgs.dispatch();
416
		}
417
		else if (eNotificationRequired())
418
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__LICENSE, newLicense, newLicense));
419
	}
420
421
	/**
422
	 * <!-- begin-user-doc -->
423
	 * <!-- end-user-doc -->
424
	 * @generated
425
	 */
426
	public ResourceAdapter getResourceadapter() {
427
		return resourceadapter;
428
	}
429
430
	/**
431
	 * <!-- begin-user-doc -->
432
	 * <!-- end-user-doc -->
433
	 * @generated
434
	 */
435
	public NotificationChain basicSetResourceadapter(ResourceAdapter newResourceadapter, NotificationChain msgs) {
436
		ResourceAdapter oldResourceadapter = resourceadapter;
437
		resourceadapter = newResourceadapter;
438
		if (eNotificationRequired()) {
439
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__RESOURCEADAPTER, oldResourceadapter, newResourceadapter);
440
			if (msgs == null) msgs = notification; else msgs.add(notification);
441
		}
442
		return msgs;
443
	}
444
445
	/**
446
	 * <!-- begin-user-doc -->
447
	 * <!-- end-user-doc -->
448
	 * @generated
449
	 */
450
	public void setResourceadapter(ResourceAdapter newResourceadapter) {
451
		if (newResourceadapter != resourceadapter) {
452
			NotificationChain msgs = null;
453
			if (resourceadapter != null)
454
				msgs = ((InternalEObject)resourceadapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JcaPackage.CONNECTOR__RESOURCEADAPTER, null, msgs);
455
			if (newResourceadapter != null)
456
				msgs = ((InternalEObject)newResourceadapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JcaPackage.CONNECTOR__RESOURCEADAPTER, null, msgs);
457
			msgs = basicSetResourceadapter(newResourceadapter, msgs);
458
			if (msgs != null) msgs.dispatch();
459
		}
460
		else if (eNotificationRequired())
461
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__RESOURCEADAPTER, newResourceadapter, newResourceadapter));
462
	}
463
464
	/**
465
	 * <!-- begin-user-doc -->
466
	 * <!-- end-user-doc -->
467
	 * @generated
468
	 */
469
	public List<String> getRequiredWorkContext() {
470
		if (requiredWorkContext == null) {
471
			requiredWorkContext = new EDataTypeEList<String>(String.class, this, JcaPackage.CONNECTOR__REQUIRED_WORK_CONTEXT);
472
		}
473
		return requiredWorkContext;
474
	}
475
476
	/**
477
	 * <!-- begin-user-doc -->
478
	 * <!-- end-user-doc -->
479
	 * @generated
480
	 */
481
	public String getId() {
482
		return id;
483
	}
484
485
	/**
486
	 * <!-- begin-user-doc -->
487
	 * <!-- end-user-doc -->
488
	 * @generated
489
	 */
490
	public void setId(String newId) {
491
		String oldId = id;
492
		id = newId;
493
		if (eNotificationRequired())
494
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__ID, oldId, id));
495
	}
496
497
	/**
498
	 * <!-- begin-user-doc -->
499
	 * <!-- end-user-doc -->
500
	 * @generated
501
	 */
502
	public boolean isMetadataComplete() {
503
		return metadataComplete;
504
	}
505
506
	/**
507
	 * <!-- begin-user-doc -->
508
	 * <!-- end-user-doc -->
509
	 * @generated
510
	 */
511
	public void setMetadataComplete(boolean newMetadataComplete) {
512
		boolean oldMetadataComplete = metadataComplete;
513
		metadataComplete = newMetadataComplete;
514
		boolean oldMetadataCompleteESet = metadataCompleteESet;
515
		metadataCompleteESet = true;
516
		if (eNotificationRequired())
517
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__METADATA_COMPLETE, oldMetadataComplete, metadataComplete, !oldMetadataCompleteESet));
518
	}
519
520
	/**
521
	 * <!-- begin-user-doc -->
522
	 * <!-- end-user-doc -->
523
	 * @generated
524
	 */
525
	public void unsetMetadataComplete() {
526
		boolean oldMetadataComplete = metadataComplete;
527
		boolean oldMetadataCompleteESet = metadataCompleteESet;
528
		metadataComplete = METADATA_COMPLETE_EDEFAULT;
529
		metadataCompleteESet = false;
530
		if (eNotificationRequired())
531
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.CONNECTOR__METADATA_COMPLETE, oldMetadataComplete, METADATA_COMPLETE_EDEFAULT, oldMetadataCompleteESet));
532
	}
533
534
	/**
535
	 * <!-- begin-user-doc -->
536
	 * <!-- end-user-doc -->
537
	 * @generated
538
	 */
539
	public boolean isSetMetadataComplete() {
540
		return metadataCompleteESet;
541
	}
542
543
	/**
544
	 * <!-- begin-user-doc -->
545
	 * <!-- end-user-doc -->
546
	 * @generated
547
	 */
548
	public String getVersion() {
549
		return version;
550
	}
551
552
	/**
553
	 * <!-- begin-user-doc -->
554
	 * <!-- end-user-doc -->
555
	 * @generated
556
	 */
557
	public void setVersion(String newVersion) {
558
		String oldVersion = version;
559
		version = newVersion;
560
		boolean oldVersionESet = versionESet;
561
		versionESet = true;
562
		if (eNotificationRequired())
563
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTOR__VERSION, oldVersion, version, !oldVersionESet));
564
	}
565
566
	/**
567
	 * <!-- begin-user-doc -->
568
	 * <!-- end-user-doc -->
569
	 * @generated
570
	 */
571
	public void unsetVersion() {
572
		String oldVersion = version;
573
		boolean oldVersionESet = versionESet;
574
		version = VERSION_EDEFAULT;
575
		versionESet = false;
576
		if (eNotificationRequired())
577
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.CONNECTOR__VERSION, oldVersion, VERSION_EDEFAULT, oldVersionESet));
578
	}
579
580
	/**
581
	 * <!-- begin-user-doc -->
582
	 * <!-- end-user-doc -->
583
	 * @generated
584
	 */
585
	public boolean isSetVersion() {
586
		return versionESet;
587
	}
588
589
	/**
590
	 * <!-- begin-user-doc -->
591
	 * <!-- end-user-doc -->
592
	 * @generated
593
	 */
594
	@Override
595
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
596
		switch (featureID) {
597
			case JcaPackage.CONNECTOR__DESCRIPTIONS:
598
				return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
599
			case JcaPackage.CONNECTOR__DISPLAY_NAMES:
600
				return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs);
601
			case JcaPackage.CONNECTOR__ICONS:
602
				return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs);
603
			case JcaPackage.CONNECTOR__LICENSE:
604
				return basicSetLicense(null, msgs);
605
			case JcaPackage.CONNECTOR__RESOURCEADAPTER:
606
				return basicSetResourceadapter(null, msgs);
607
		}
608
		return super.eInverseRemove(otherEnd, featureID, msgs);
609
	}
610
611
	/**
612
	 * <!-- begin-user-doc -->
613
	 * <!-- end-user-doc -->
614
	 * @generated
615
	 */
616
	@Override
617
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
618
		switch (featureID) {
619
			case JcaPackage.CONNECTOR__DESCRIPTIONS:
620
				return getDescriptions();
621
			case JcaPackage.CONNECTOR__DISPLAY_NAMES:
622
				return getDisplayNames();
623
			case JcaPackage.CONNECTOR__ICONS:
624
				return getIcons();
625
			case JcaPackage.CONNECTOR__VENDOR_NAME:
626
				return getVendorName();
627
			case JcaPackage.CONNECTOR__EIS_TYPE:
628
				return getEisType();
629
			case JcaPackage.CONNECTOR__RESOURCEADAPTER_VERSION:
630
				return getResourceadapterVersion();
631
			case JcaPackage.CONNECTOR__LICENSE:
632
				return getLicense();
633
			case JcaPackage.CONNECTOR__RESOURCEADAPTER:
634
				return getResourceadapter();
635
			case JcaPackage.CONNECTOR__REQUIRED_WORK_CONTEXT:
636
				return getRequiredWorkContext();
637
			case JcaPackage.CONNECTOR__ID:
638
				return getId();
639
			case JcaPackage.CONNECTOR__METADATA_COMPLETE:
640
				return isMetadataComplete();
641
			case JcaPackage.CONNECTOR__VERSION:
642
				return getVersion();
643
		}
644
		return super.eGet(featureID, resolve, coreType);
645
	}
646
647
	/**
648
	 * <!-- begin-user-doc -->
649
	 * <!-- end-user-doc -->
650
	 * @generated
651
	 */
652
	@SuppressWarnings("unchecked")
653
	@Override
654
	public void eSet(int featureID, Object newValue) {
655
		switch (featureID) {
656
			case JcaPackage.CONNECTOR__DESCRIPTIONS:
657
				getDescriptions().clear();
658
				getDescriptions().addAll((Collection<? extends Description>)newValue);
659
				return;
660
			case JcaPackage.CONNECTOR__DISPLAY_NAMES:
661
				getDisplayNames().clear();
662
				getDisplayNames().addAll((Collection<? extends DisplayName>)newValue);
663
				return;
664
			case JcaPackage.CONNECTOR__ICONS:
665
				getIcons().clear();
666
				getIcons().addAll((Collection<? extends Icon>)newValue);
667
				return;
668
			case JcaPackage.CONNECTOR__VENDOR_NAME:
669
				setVendorName((String)newValue);
670
				return;
671
			case JcaPackage.CONNECTOR__EIS_TYPE:
672
				setEisType((String)newValue);
673
				return;
674
			case JcaPackage.CONNECTOR__RESOURCEADAPTER_VERSION:
675
				setResourceadapterVersion((String)newValue);
676
				return;
677
			case JcaPackage.CONNECTOR__LICENSE:
678
				setLicense((License)newValue);
679
				return;
680
			case JcaPackage.CONNECTOR__RESOURCEADAPTER:
681
				setResourceadapter((ResourceAdapter)newValue);
682
				return;
683
			case JcaPackage.CONNECTOR__REQUIRED_WORK_CONTEXT:
684
				getRequiredWorkContext().clear();
685
				getRequiredWorkContext().addAll((Collection<? extends String>)newValue);
686
				return;
687
			case JcaPackage.CONNECTOR__ID:
688
				setId((String)newValue);
689
				return;
690
			case JcaPackage.CONNECTOR__METADATA_COMPLETE:
691
				setMetadataComplete((Boolean)newValue);
692
				return;
693
			case JcaPackage.CONNECTOR__VERSION:
694
				setVersion((String)newValue);
695
				return;
696
		}
697
		super.eSet(featureID, newValue);
698
	}
699
700
	/**
701
	 * <!-- begin-user-doc -->
702
	 * <!-- end-user-doc -->
703
	 * @generated
704
	 */
705
	@Override
706
	public void eUnset(int featureID) {
707
		switch (featureID) {
708
			case JcaPackage.CONNECTOR__DESCRIPTIONS:
709
				getDescriptions().clear();
710
				return;
711
			case JcaPackage.CONNECTOR__DISPLAY_NAMES:
712
				getDisplayNames().clear();
713
				return;
714
			case JcaPackage.CONNECTOR__ICONS:
715
				getIcons().clear();
716
				return;
717
			case JcaPackage.CONNECTOR__VENDOR_NAME:
718
				setVendorName(VENDOR_NAME_EDEFAULT);
719
				return;
720
			case JcaPackage.CONNECTOR__EIS_TYPE:
721
				setEisType(EIS_TYPE_EDEFAULT);
722
				return;
723
			case JcaPackage.CONNECTOR__RESOURCEADAPTER_VERSION:
724
				setResourceadapterVersion(RESOURCEADAPTER_VERSION_EDEFAULT);
725
				return;
726
			case JcaPackage.CONNECTOR__LICENSE:
727
				setLicense((License)null);
728
				return;
729
			case JcaPackage.CONNECTOR__RESOURCEADAPTER:
730
				setResourceadapter((ResourceAdapter)null);
731
				return;
732
			case JcaPackage.CONNECTOR__REQUIRED_WORK_CONTEXT:
733
				getRequiredWorkContext().clear();
734
				return;
735
			case JcaPackage.CONNECTOR__ID:
736
				setId(ID_EDEFAULT);
737
				return;
738
			case JcaPackage.CONNECTOR__METADATA_COMPLETE:
739
				unsetMetadataComplete();
740
				return;
741
			case JcaPackage.CONNECTOR__VERSION:
742
				unsetVersion();
743
				return;
744
		}
745
		super.eUnset(featureID);
746
	}
747
748
	/**
749
	 * <!-- begin-user-doc -->
750
	 * <!-- end-user-doc -->
751
	 * @generated
752
	 */
753
	@Override
754
	public boolean eIsSet(int featureID) {
755
		switch (featureID) {
756
			case JcaPackage.CONNECTOR__DESCRIPTIONS:
757
				return descriptions != null && !descriptions.isEmpty();
758
			case JcaPackage.CONNECTOR__DISPLAY_NAMES:
759
				return displayNames != null && !displayNames.isEmpty();
760
			case JcaPackage.CONNECTOR__ICONS:
761
				return icons != null && !icons.isEmpty();
762
			case JcaPackage.CONNECTOR__VENDOR_NAME:
763
				return VENDOR_NAME_EDEFAULT == null ? vendorName != null : !VENDOR_NAME_EDEFAULT.equals(vendorName);
764
			case JcaPackage.CONNECTOR__EIS_TYPE:
765
				return EIS_TYPE_EDEFAULT == null ? eisType != null : !EIS_TYPE_EDEFAULT.equals(eisType);
766
			case JcaPackage.CONNECTOR__RESOURCEADAPTER_VERSION:
767
				return RESOURCEADAPTER_VERSION_EDEFAULT == null ? resourceadapterVersion != null : !RESOURCEADAPTER_VERSION_EDEFAULT.equals(resourceadapterVersion);
768
			case JcaPackage.CONNECTOR__LICENSE:
769
				return license != null;
770
			case JcaPackage.CONNECTOR__RESOURCEADAPTER:
771
				return resourceadapter != null;
772
			case JcaPackage.CONNECTOR__REQUIRED_WORK_CONTEXT:
773
				return requiredWorkContext != null && !requiredWorkContext.isEmpty();
774
			case JcaPackage.CONNECTOR__ID:
775
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
776
			case JcaPackage.CONNECTOR__METADATA_COMPLETE:
777
				return isSetMetadataComplete();
778
			case JcaPackage.CONNECTOR__VERSION:
779
				return isSetVersion();
780
		}
781
		return super.eIsSet(featureID);
782
	}
783
784
	/**
785
	 * <!-- begin-user-doc -->
786
	 * <!-- end-user-doc -->
787
	 * @generated
788
	 */
789
	@Override
790
	public String toString() {
791
		if (eIsProxy()) return super.toString();
792
793
		StringBuffer result = new StringBuffer(super.toString());
794
		result.append(" (vendorName: "); //$NON-NLS-1$
795
		result.append(vendorName);
796
		result.append(", eisType: "); //$NON-NLS-1$
797
		result.append(eisType);
798
		result.append(", resourceadapterVersion: "); //$NON-NLS-1$
799
		result.append(resourceadapterVersion);
800
		result.append(", requiredWorkContext: "); //$NON-NLS-1$
801
		result.append(requiredWorkContext);
802
		result.append(", id: "); //$NON-NLS-1$
803
		result.append(id);
804
		result.append(", metadataComplete: "); //$NON-NLS-1$
805
		if (metadataCompleteESet) result.append(metadataComplete); else result.append("<unset>"); //$NON-NLS-1$
806
		result.append(", version: "); //$NON-NLS-1$
807
		if (versionESet) result.append(version); else result.append("<unset>"); //$NON-NLS-1$
808
		result.append(')');
809
		return result.toString();
810
	}
811
812
} //ConnectorImpl
(-)jee-models/org/eclipse/jst/javaee/jca/AdminObject.java (+158 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.JavaEEObject;
12
13
/**
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Admin Object</b></em>'.
16
 * <!-- end-user-doc -->
17
 *
18
 * <!-- begin-model-doc -->
19
 * 
20
 * 
21
 *         The adminobjectType specifies information about an
22
 *         administered object.  Administered objects are specific to a
23
 *         messaging style or message provider.  This contains
24
 *         information on the Java type of the interface implemented by
25
 *         an administered object, its Java class name and its
26
 *         configuration properties.
27
 *         
28
 *         @since Java EE 6, Connector 1.6
29
 *       
30
 * <!-- end-model-doc -->
31
 *
32
 * <p>
33
 * The following features are supported:
34
 * <ul>
35
 *   <li>{@link org.eclipse.jst.javaee.jca.AdminObject#getAdminobjectInterface <em>Adminobject Interface</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.jca.AdminObject#getAdminobjectClass <em>Adminobject Class</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.jca.AdminObject#getConfigProperty <em>Config Property</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.AdminObject#getId <em>Id</em>}</li>
39
 * </ul>
40
 * </p>
41
 *
42
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAdminObject()
43
 * @extends JavaEEObject
44
 * @generated
45
 */
46
public interface AdminObject extends JavaEEObject {
47
	/**
48
	 * Returns the value of the '<em><b>Adminobject Interface</b></em>' attribute.
49
	 * <!-- begin-user-doc -->
50
	 * <!-- end-user-doc -->
51
	 * <!-- begin-model-doc -->
52
	 * 
53
	 * <![CDATA[[
54
	 *             The element adminobject-interface specifies the
55
	 *             fully qualified name of the Java type of the
56
	 *             interface implemented by an administered object.
57
	 *             
58
	 *             Example:
59
	 *             	<adminobject-interface>javax.jms.Destination
60
	 *             	</adminobject-interface>
61
	 *             
62
	 * ]]>
63
	 * 			@since Java EE 6, Connector 1.6
64
	 *           
65
	 * <!-- end-model-doc -->
66
	 * @return the value of the '<em>Adminobject Interface</em>' attribute.
67
	 * @see #setAdminobjectInterface(String)
68
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAdminObject_AdminobjectInterface()
69
	 * @generated
70
	 */
71
	String getAdminobjectInterface();
72
73
	/**
74
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.AdminObject#getAdminobjectInterface <em>Adminobject Interface</em>}' attribute.
75
	 * <!-- begin-user-doc -->
76
	 * <!-- end-user-doc -->
77
	 * @param value the new value of the '<em>Adminobject Interface</em>' attribute.
78
	 * @see #getAdminobjectInterface()
79
	 * @generated
80
	 */
81
	void setAdminobjectInterface(String value);
82
83
	/**
84
	 * Returns the value of the '<em><b>Adminobject Class</b></em>' attribute.
85
	 * <!-- begin-user-doc -->
86
	 * <!-- end-user-doc -->
87
	 * <!-- begin-model-doc -->
88
	 * 
89
	 * <![CDATA[[
90
	 *             The element adminobject-class specifies the fully
91
	 *             qualified Java class name of an administered object.
92
	 *             
93
	 *             Example:
94
	 *             	  <adminobject-class>com.wombat.DestinationImpl
95
	 *             	  </adminobject-class>
96
	 *             
97
	 * ]]>
98
	 * 			@since Java EE 6, Connector 1.6
99
	 *           
100
	 * <!-- end-model-doc -->
101
	 * @return the value of the '<em>Adminobject Class</em>' attribute.
102
	 * @see #setAdminobjectClass(String)
103
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAdminObject_AdminobjectClass()
104
	 * @generated
105
	 */
106
	String getAdminobjectClass();
107
108
	/**
109
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.AdminObject#getAdminobjectClass <em>Adminobject Class</em>}' attribute.
110
	 * <!-- begin-user-doc -->
111
	 * <!-- end-user-doc -->
112
	 * @param value the new value of the '<em>Adminobject Class</em>' attribute.
113
	 * @see #getAdminobjectClass()
114
	 * @generated
115
	 */
116
	void setAdminobjectClass(String value);
117
118
	/**
119
	 * Returns the value of the '<em><b>Config Property</b></em>' containment reference list.
120
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.ConfigProperty}.
121
	 * <!-- begin-user-doc -->
122
	 * <p>
123
	 * If the meaning of the '<em>Config Property</em>' containment reference list isn't clear,
124
	 * there really should be more of a description here...
125
	 * </p>
126
	 * <!-- end-user-doc -->
127
	 * @return the value of the '<em>Config Property</em>' containment reference list.
128
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAdminObject_ConfigProperty()
129
	 * @generated
130
	 */
131
	List<ConfigProperty> getConfigProperty();
132
133
	/**
134
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
135
	 * <!-- begin-user-doc -->
136
	 * <p>
137
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
138
	 * there really should be more of a description here...
139
	 * </p>
140
	 * <!-- end-user-doc -->
141
	 * @return the value of the '<em>Id</em>' attribute.
142
	 * @see #setId(String)
143
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAdminObject_Id()
144
	 * @generated
145
	 */
146
	String getId();
147
148
	/**
149
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.AdminObject#getId <em>Id</em>}' attribute.
150
	 * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
152
	 * @param value the new value of the '<em>Id</em>' attribute.
153
	 * @see #getId()
154
	 * @generated
155
	 */
156
	void setId(String value);
157
158
} // AdminObject
(-)jee-models/org/eclipse/jst/javaee/jca/Connector.java (+423 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.Description;
12
import org.eclipse.jst.javaee.core.DisplayName;
13
import org.eclipse.jst.javaee.core.Icon;
14
import org.eclipse.jst.javaee.core.JavaEEObject;
15
16
/**
17
 * <!-- begin-user-doc -->
18
 * A representation of the model object '<em><b>Connector</b></em>'.
19
 * <!-- end-user-doc -->
20
 *
21
 * <!-- begin-model-doc -->
22
 * 
23
 * 
24
 *         The connectorType defines a resource adapter.
25
 *         
26
 *         @since Java EE 6, Connector 1.6
27
 *       
28
 * <!-- end-model-doc -->
29
 *
30
 * <p>
31
 * The following features are supported:
32
 * <ul>
33
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getDescriptions <em>Descriptions</em>}</li>
34
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getDisplayNames <em>Display Names</em>}</li>
35
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getIcons <em>Icons</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getVendorName <em>Vendor Name</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getEisType <em>Eis Type</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getResourceadapterVersion <em>Resourceadapter Version</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getLicense <em>License</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getResourceadapter <em>Resourceadapter</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getRequiredWorkContext <em>Required Work Context</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getId <em>Id</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#isMetadataComplete <em>Metadata Complete</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.Connector#getVersion <em>Version</em>}</li>
45
 * </ul>
46
 * </p>
47
 *
48
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector()
49
 * @extends JavaEEObject
50
 * @generated
51
 */
52
public interface Connector extends JavaEEObject {
53
	/**
54
	 * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
55
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
56
	 * <!-- begin-user-doc -->
57
	 * <p>
58
	 * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear,
59
	 * there really should be more of a description here...
60
	 * </p>
61
	 * <!-- end-user-doc -->
62
	 * @return the value of the '<em>Descriptions</em>' containment reference list.
63
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_Descriptions()
64
	 * @generated
65
	 */
66
	List<Description> getDescriptions();
67
68
	/**
69
	 * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
70
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.DisplayName}.
71
	 * <!-- begin-user-doc -->
72
	 * <p>
73
	 * If the meaning of the '<em>Display Names</em>' containment reference list isn't clear,
74
	 * there really should be more of a description here...
75
	 * </p>
76
	 * <!-- end-user-doc -->
77
	 * @return the value of the '<em>Display Names</em>' containment reference list.
78
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_DisplayNames()
79
	 * @generated
80
	 */
81
	List<DisplayName> getDisplayNames();
82
83
	/**
84
	 * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
85
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Icon}.
86
	 * <!-- begin-user-doc -->
87
	 * <p>
88
	 * If the meaning of the '<em>Icons</em>' containment reference list isn't clear,
89
	 * there really should be more of a description here...
90
	 * </p>
91
	 * <!-- end-user-doc -->
92
	 * @return the value of the '<em>Icons</em>' containment reference list.
93
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_Icons()
94
	 * @generated
95
	 */
96
	List<Icon> getIcons();
97
98
	/**
99
	 * Returns the value of the '<em><b>Vendor Name</b></em>' attribute.
100
	 * <!-- begin-user-doc -->
101
	 * <!-- end-user-doc -->
102
	 * <!-- begin-model-doc -->
103
	 * 
104
	 * 
105
	 *             The element vendor-name specifies the name of
106
	 *             resource adapter provider vendor.
107
	 *             
108
	 *             @since Java EE 6, Connector 1.6
109
	 *           
110
	 * <!-- end-model-doc -->
111
	 * @return the value of the '<em>Vendor Name</em>' attribute.
112
	 * @see #setVendorName(String)
113
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_VendorName()
114
	 * @generated
115
	 */
116
	String getVendorName();
117
118
	/**
119
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getVendorName <em>Vendor Name</em>}' attribute.
120
	 * <!-- begin-user-doc -->
121
	 * <!-- end-user-doc -->
122
	 * @param value the new value of the '<em>Vendor Name</em>' attribute.
123
	 * @see #getVendorName()
124
	 * @generated
125
	 */
126
	void setVendorName(String value);
127
128
	/**
129
	 * Returns the value of the '<em><b>Eis Type</b></em>' attribute.
130
	 * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
132
	 * <!-- begin-model-doc -->
133
	 * 
134
	 * 
135
	 *             The element eis-type contains information about the
136
	 *             type of the EIS. For example, the type of an EIS can
137
	 *             be product name of EIS independent of any version
138
	 *             info.
139
	 *             
140
	 *             This helps in identifying EIS instances that can be
141
	 *             used with this resource adapter.
142
	 *             
143
	 *             @since Java EE 6, Connector 1.6
144
	 *           
145
	 * <!-- end-model-doc -->
146
	 * @return the value of the '<em>Eis Type</em>' attribute.
147
	 * @see #setEisType(String)
148
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_EisType()
149
	 * @generated
150
	 */
151
	String getEisType();
152
153
	/**
154
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getEisType <em>Eis Type</em>}' attribute.
155
	 * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
157
	 * @param value the new value of the '<em>Eis Type</em>' attribute.
158
	 * @see #getEisType()
159
	 * @generated
160
	 */
161
	void setEisType(String value);
162
163
	/**
164
	 * Returns the value of the '<em><b>Resourceadapter Version</b></em>' attribute.
165
	 * <!-- begin-user-doc -->
166
	 * <!-- end-user-doc -->
167
	 * <!-- begin-model-doc -->
168
	 * 
169
	 * 
170
	 *             The element resourceadapter-version specifies a string-based version
171
	 *             of the resource adapter from the resource adapter
172
	 *             provider.
173
	 *             
174
	 *             @since Java EE 6, Connector 1.6
175
	 *           
176
	 * <!-- end-model-doc -->
177
	 * @return the value of the '<em>Resourceadapter Version</em>' attribute.
178
	 * @see #setResourceadapterVersion(String)
179
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_ResourceadapterVersion()
180
	 * @generated
181
	 */
182
	String getResourceadapterVersion();
183
184
	/**
185
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getResourceadapterVersion <em>Resourceadapter Version</em>}' attribute.
186
	 * <!-- begin-user-doc -->
187
	 * <!-- end-user-doc -->
188
	 * @param value the new value of the '<em>Resourceadapter Version</em>' attribute.
189
	 * @see #getResourceadapterVersion()
190
	 * @generated
191
	 */
192
	void setResourceadapterVersion(String value);
193
194
	/**
195
	 * Returns the value of the '<em><b>License</b></em>' containment reference.
196
	 * <!-- begin-user-doc -->
197
	 * <p>
198
	 * If the meaning of the '<em>License</em>' containment reference isn't clear,
199
	 * there really should be more of a description here...
200
	 * </p>
201
	 * <!-- end-user-doc -->
202
	 * @return the value of the '<em>License</em>' containment reference.
203
	 * @see #setLicense(License)
204
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_License()
205
	 * @generated
206
	 */
207
	License getLicense();
208
209
	/**
210
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getLicense <em>License</em>}' containment reference.
211
	 * <!-- begin-user-doc -->
212
	 * <!-- end-user-doc -->
213
	 * @param value the new value of the '<em>License</em>' containment reference.
214
	 * @see #getLicense()
215
	 * @generated
216
	 */
217
	void setLicense(License value);
218
219
	/**
220
	 * Returns the value of the '<em><b>Resourceadapter</b></em>' containment reference.
221
	 * <!-- begin-user-doc -->
222
	 * <p>
223
	 * If the meaning of the '<em>Resourceadapter</em>' containment reference isn't clear,
224
	 * there really should be more of a description here...
225
	 * </p>
226
	 * <!-- end-user-doc -->
227
	 * @return the value of the '<em>Resourceadapter</em>' containment reference.
228
	 * @see #setResourceadapter(ResourceAdapter)
229
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_Resourceadapter()
230
	 * @generated
231
	 */
232
	ResourceAdapter getResourceadapter();
233
234
	/**
235
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getResourceadapter <em>Resourceadapter</em>}' containment reference.
236
	 * <!-- begin-user-doc -->
237
	 * <!-- end-user-doc -->
238
	 * @param value the new value of the '<em>Resourceadapter</em>' containment reference.
239
	 * @see #getResourceadapter()
240
	 * @generated
241
	 */
242
	void setResourceadapter(ResourceAdapter value);
243
244
	/**
245
	 * Returns the value of the '<em><b>Required Work Context</b></em>' attribute list.
246
	 * The list contents are of type {@link java.lang.String}.
247
	 * <!-- begin-user-doc -->
248
	 * <!-- end-user-doc -->
249
	 * <!-- begin-model-doc -->
250
	 * 
251
	 * 
252
	 *             The element required-work-context specifies a fully qualified class 
253
	 *             name that implements WorkContext interface, that the resource adapter 
254
	 *             requires the application server to support.
255
	 *             
256
	 *             @since Java EE 6, Connector 1.6
257
	 *           
258
	 * <!-- end-model-doc -->
259
	 * @return the value of the '<em>Required Work Context</em>' attribute list.
260
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_RequiredWorkContext()
261
	 * @generated
262
	 */
263
	List<String> getRequiredWorkContext();
264
265
	/**
266
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
267
	 * <!-- begin-user-doc -->
268
	 * <p>
269
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
270
	 * there really should be more of a description here...
271
	 * </p>
272
	 * <!-- end-user-doc -->
273
	 * @return the value of the '<em>Id</em>' attribute.
274
	 * @see #setId(String)
275
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_Id()
276
	 * @generated
277
	 */
278
	String getId();
279
280
	/**
281
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getId <em>Id</em>}' attribute.
282
	 * <!-- begin-user-doc -->
283
	 * <!-- end-user-doc -->
284
	 * @param value the new value of the '<em>Id</em>' attribute.
285
	 * @see #getId()
286
	 * @generated
287
	 */
288
	void setId(String value);
289
290
	/**
291
	 * Returns the value of the '<em><b>Metadata Complete</b></em>' attribute.
292
	 * <!-- begin-user-doc -->
293
	 * <!-- end-user-doc -->
294
	 * <!-- begin-model-doc -->
295
	 * 
296
	 * 
297
	 *           The metadata-complete attribute defines whether the deployment 
298
	 *           descriptor for the resource adapter module is complete, or whether
299
	 *           the class files available to the module and packaged with the resource 
300
	 *           adapter should be examined for annotations that specify deployment 
301
	 *           information.
302
	 *           
303
	 *           If metadata-complete is set to "true", the deployment tool of the 
304
	 *           application server must ignore any annotations that specify deployment 
305
	 *           information, which might be present in the class files of the 
306
	 *           application.If metadata-complete is not specified or is set to "false", 
307
	 *           the deployment tool must examine the class files of the application for 
308
	 *           annotations, as specified by this specification. If the 
309
	 *           deployment descriptor is not included or is included but not marked 
310
	 *           metadata-complete, the deployment tool will process annotations.
311
	 *           
312
	 *           Application servers must assume that metadata-complete is true for 
313
	 *           resource adapter modules with deployment descriptor version 
314
	 *           lower than 1.6.
315
	 *           		
316
	 *           @since Java EE 6, Connector 1.6
317
	 *         
318
	 * <!-- end-model-doc -->
319
	 * @return the value of the '<em>Metadata Complete</em>' attribute.
320
	 * @see #isSetMetadataComplete()
321
	 * @see #unsetMetadataComplete()
322
	 * @see #setMetadataComplete(boolean)
323
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_MetadataComplete()
324
	 * @generated
325
	 */
326
	boolean isMetadataComplete();
327
328
	/**
329
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#isMetadataComplete <em>Metadata Complete</em>}' attribute.
330
	 * <!-- begin-user-doc -->
331
	 * <!-- end-user-doc -->
332
	 * @param value the new value of the '<em>Metadata Complete</em>' attribute.
333
	 * @see #isSetMetadataComplete()
334
	 * @see #unsetMetadataComplete()
335
	 * @see #isMetadataComplete()
336
	 * @generated
337
	 */
338
	void setMetadataComplete(boolean value);
339
340
	/**
341
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#isMetadataComplete <em>Metadata Complete</em>}' attribute.
342
	 * <!-- begin-user-doc -->
343
	 * <!-- end-user-doc -->
344
	 * @see #isSetMetadataComplete()
345
	 * @see #isMetadataComplete()
346
	 * @see #setMetadataComplete(boolean)
347
	 * @generated
348
	 */
349
	void unsetMetadataComplete();
350
351
	/**
352
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.Connector#isMetadataComplete <em>Metadata Complete</em>}' attribute is set.
353
	 * <!-- begin-user-doc -->
354
	 * <!-- end-user-doc -->
355
	 * @return whether the value of the '<em>Metadata Complete</em>' attribute is set.
356
	 * @see #unsetMetadataComplete()
357
	 * @see #isMetadataComplete()
358
	 * @see #setMetadataComplete(boolean)
359
	 * @generated
360
	 */
361
	boolean isSetMetadataComplete();
362
363
	/**
364
	 * Returns the value of the '<em><b>Version</b></em>' attribute.
365
	 * The default value is <code>"1.6"</code>.
366
	 * <!-- begin-user-doc -->
367
	 * <!-- end-user-doc -->
368
	 * <!-- begin-model-doc -->
369
	 * 
370
	 * 
371
	 *           The version indicates the version of the schema to be used by the
372
	 *           deployment tool. This element doesn't have a default, and the resource adapter 
373
	 *           developer/deployer is required to specify it. The element allows the deployment 
374
	 *           tool to choose which schema to validate the descriptor against.
375
	 *           	  
376
	 *           @since Java EE 6, Connector 1.6
377
	 *         
378
	 * <!-- end-model-doc -->
379
	 * @return the value of the '<em>Version</em>' attribute.
380
	 * @see #isSetVersion()
381
	 * @see #unsetVersion()
382
	 * @see #setVersion(String)
383
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_Version()
384
	 * @generated
385
	 */
386
	String getVersion();
387
388
	/**
389
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getVersion <em>Version</em>}' attribute.
390
	 * <!-- begin-user-doc -->
391
	 * <!-- end-user-doc -->
392
	 * @param value the new value of the '<em>Version</em>' attribute.
393
	 * @see #isSetVersion()
394
	 * @see #unsetVersion()
395
	 * @see #getVersion()
396
	 * @generated
397
	 */
398
	void setVersion(String value);
399
400
	/**
401
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getVersion <em>Version</em>}' attribute.
402
	 * <!-- begin-user-doc -->
403
	 * <!-- end-user-doc -->
404
	 * @see #isSetVersion()
405
	 * @see #getVersion()
406
	 * @see #setVersion(String)
407
	 * @generated
408
	 */
409
	void unsetVersion();
410
411
	/**
412
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getVersion <em>Version</em>}' attribute is set.
413
	 * <!-- begin-user-doc -->
414
	 * <!-- end-user-doc -->
415
	 * @return whether the value of the '<em>Version</em>' attribute is set.
416
	 * @see #unsetVersion()
417
	 * @see #getVersion()
418
	 * @see #setVersion(String)
419
	 * @generated
420
	 */
421
	boolean isSetVersion();
422
423
} // Connector
(-)jee-models/org/eclipse/jst/javaee/jca/ConfigProperty.java (+400 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.Description;
12
import org.eclipse.jst.javaee.core.JavaEEObject;
13
14
/**
15
 * <!-- begin-user-doc -->
16
 * A representation of the model object '<em><b>Config Property</b></em>'.
17
 * <!-- end-user-doc -->
18
 *
19
 * <!-- begin-model-doc -->
20
 * 
21
 * 
22
 *         The config-propertyType contains a declaration of a single
23
 *         configuration property that may be used for providing
24
 *         configuration information.
25
 *         
26
 *         The declaration consists of an optional description, name,
27
 *         type and an optional value of the configuration property. If
28
 *         the resource adapter provider does not specify a value than
29
 *         the deployer is responsible for providing a valid value for
30
 *         a configuration property.
31
 *         
32
 *         Any bounds or well-defined values of properties should be
33
 *         described in the description element.
34
 *         
35
 *         @since Java EE 6, Connector 1.6
36
 *       
37
 * <!-- end-model-doc -->
38
 *
39
 * <p>
40
 * The following features are supported:
41
 * <ul>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#getDescription <em>Description</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyName <em>Config Property Name</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyType <em>Config Property Type</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyValue <em>Config Property Value</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyIgnore <em>Config Property Ignore</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertySupportsDynamicUpdates <em>Config Property Supports Dynamic Updates</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyConfidential <em>Config Property Confidential</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.jca.ConfigProperty#getId <em>Id</em>}</li>
50
 * </ul>
51
 * </p>
52
 *
53
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty()
54
 * @extends JavaEEObject
55
 * @generated
56
 */
57
public interface ConfigProperty extends JavaEEObject {
58
	/**
59
	 * Returns the value of the '<em><b>Description</b></em>' containment reference list.
60
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
61
	 * <!-- begin-user-doc -->
62
	 * <p>
63
	 * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
64
	 * there really should be more of a description here...
65
	 * </p>
66
	 * <!-- end-user-doc -->
67
	 * @return the value of the '<em>Description</em>' containment reference list.
68
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_Description()
69
	 * @generated
70
	 */
71
	List<Description> getDescription();
72
73
	/**
74
	 * Returns the value of the '<em><b>Config Property Name</b></em>' attribute.
75
	 * <!-- begin-user-doc -->
76
	 * <p>
77
	 * If the meaning of the '<em>Config Property Name</em>' attribute isn't clear,
78
	 * there really should be more of a description here...
79
	 * </p>
80
	 * <!-- end-user-doc -->
81
	 * @return the value of the '<em>Config Property Name</em>' attribute.
82
	 * @see #setConfigPropertyName(String)
83
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_ConfigPropertyName()
84
	 * @generated
85
	 */
86
	String getConfigPropertyName();
87
88
	/**
89
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyName <em>Config Property Name</em>}' attribute.
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @param value the new value of the '<em>Config Property Name</em>' attribute.
93
	 * @see #getConfigPropertyName()
94
	 * @generated
95
	 */
96
	void setConfigPropertyName(String value);
97
98
	/**
99
	 * Returns the value of the '<em><b>Config Property Type</b></em>' attribute.
100
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.jca.ConfigPropertyTypeType}.
101
	 * <!-- begin-user-doc -->
102
	 * <p>
103
	 * If the meaning of the '<em>Config Property Type</em>' attribute isn't clear,
104
	 * there really should be more of a description here...
105
	 * </p>
106
	 * <!-- end-user-doc -->
107
	 * @return the value of the '<em>Config Property Type</em>' attribute.
108
	 * @see org.eclipse.jst.javaee.jca.ConfigPropertyTypeType
109
	 * @see #isSetConfigPropertyType()
110
	 * @see #unsetConfigPropertyType()
111
	 * @see #setConfigPropertyType(ConfigPropertyTypeType)
112
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_ConfigPropertyType()
113
	 * @generated
114
	 */
115
	ConfigPropertyTypeType getConfigPropertyType();
116
117
	/**
118
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyType <em>Config Property Type</em>}' attribute.
119
	 * <!-- begin-user-doc -->
120
	 * <!-- end-user-doc -->
121
	 * @param value the new value of the '<em>Config Property Type</em>' attribute.
122
	 * @see org.eclipse.jst.javaee.jca.ConfigPropertyTypeType
123
	 * @see #isSetConfigPropertyType()
124
	 * @see #unsetConfigPropertyType()
125
	 * @see #getConfigPropertyType()
126
	 * @generated
127
	 */
128
	void setConfigPropertyType(ConfigPropertyTypeType value);
129
130
	/**
131
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyType <em>Config Property Type</em>}' attribute.
132
	 * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
134
	 * @see #isSetConfigPropertyType()
135
	 * @see #getConfigPropertyType()
136
	 * @see #setConfigPropertyType(ConfigPropertyTypeType)
137
	 * @generated
138
	 */
139
	void unsetConfigPropertyType();
140
141
	/**
142
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyType <em>Config Property Type</em>}' attribute is set.
143
	 * <!-- begin-user-doc -->
144
	 * <!-- end-user-doc -->
145
	 * @return whether the value of the '<em>Config Property Type</em>' attribute is set.
146
	 * @see #unsetConfigPropertyType()
147
	 * @see #getConfigPropertyType()
148
	 * @see #setConfigPropertyType(ConfigPropertyTypeType)
149
	 * @generated
150
	 */
151
	boolean isSetConfigPropertyType();
152
153
	/**
154
	 * Returns the value of the '<em><b>Config Property Value</b></em>' attribute.
155
	 * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
157
	 * <!-- begin-model-doc -->
158
	 * 
159
	 * <![CDATA[[
160
	 *             The element config-property-value contains the value
161
	 *             of a configuration entry. Note, it is possible for a
162
	 *             resource adapter deployer to override this
163
	 *             configuration information during deployment.
164
	 *             
165
	 *             Example:
166
	 *             <config-property-value>WombatServer</config-property-value>
167
	 *             
168
	 * ]]>
169
	 * 			@since Java EE 6, Connector 1.6
170
	 *           
171
	 * <!-- end-model-doc -->
172
	 * @return the value of the '<em>Config Property Value</em>' attribute.
173
	 * @see #setConfigPropertyValue(String)
174
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_ConfigPropertyValue()
175
	 * @generated
176
	 */
177
	String getConfigPropertyValue();
178
179
	/**
180
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#getConfigPropertyValue <em>Config Property Value</em>}' attribute.
181
	 * <!-- begin-user-doc -->
182
	 * <!-- end-user-doc -->
183
	 * @param value the new value of the '<em>Config Property Value</em>' attribute.
184
	 * @see #getConfigPropertyValue()
185
	 * @generated
186
	 */
187
	void setConfigPropertyValue(String value);
188
189
	/**
190
	 * Returns the value of the '<em><b>Config Property Ignore</b></em>' attribute.
191
	 * <!-- begin-user-doc -->
192
	 * <!-- end-user-doc -->
193
	 * <!-- begin-model-doc -->
194
	 * 
195
	 * 
196
	 *             The element config-property-ignore is used to specify 
197
	 *             whether the configuration tools must ignore considering the 
198
	 *             configuration property during auto-discovery of
199
	 *             Configuration properties. See the Connector specification for
200
	 *             more details. If unspecified, the container must not ignore
201
	 *             the configuration property during auto-discovery.
202
	 *             This element must be one of the following, "true" or "false".
203
	 *             
204
	 *             @since Java EE 6, Connector 1.6
205
	 *           
206
	 * <!-- end-model-doc -->
207
	 * @return the value of the '<em>Config Property Ignore</em>' attribute.
208
	 * @see #isSetConfigPropertyIgnore()
209
	 * @see #unsetConfigPropertyIgnore()
210
	 * @see #setConfigPropertyIgnore(boolean)
211
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_ConfigPropertyIgnore()
212
	 * @generated
213
	 */
214
	boolean isConfigPropertyIgnore();
215
216
	/**
217
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyIgnore <em>Config Property Ignore</em>}' attribute.
218
	 * <!-- begin-user-doc -->
219
	 * <!-- end-user-doc -->
220
	 * @param value the new value of the '<em>Config Property Ignore</em>' attribute.
221
	 * @see #isSetConfigPropertyIgnore()
222
	 * @see #unsetConfigPropertyIgnore()
223
	 * @see #isConfigPropertyIgnore()
224
	 * @generated
225
	 */
226
	void setConfigPropertyIgnore(boolean value);
227
228
	/**
229
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyIgnore <em>Config Property Ignore</em>}' attribute.
230
	 * <!-- begin-user-doc -->
231
	 * <!-- end-user-doc -->
232
	 * @see #isSetConfigPropertyIgnore()
233
	 * @see #isConfigPropertyIgnore()
234
	 * @see #setConfigPropertyIgnore(boolean)
235
	 * @generated
236
	 */
237
	void unsetConfigPropertyIgnore();
238
239
	/**
240
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyIgnore <em>Config Property Ignore</em>}' attribute is set.
241
	 * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
243
	 * @return whether the value of the '<em>Config Property Ignore</em>' attribute is set.
244
	 * @see #unsetConfigPropertyIgnore()
245
	 * @see #isConfigPropertyIgnore()
246
	 * @see #setConfigPropertyIgnore(boolean)
247
	 * @generated
248
	 */
249
	boolean isSetConfigPropertyIgnore();
250
251
	/**
252
	 * Returns the value of the '<em><b>Config Property Supports Dynamic Updates</b></em>' attribute.
253
	 * <!-- begin-user-doc -->
254
	 * <!-- end-user-doc -->
255
	 * <!-- begin-model-doc -->
256
	 * 
257
	 * 
258
	 *             The element config-property-supports-dynamic-updates is used to specify 
259
	 *             whether the configuration property allows its value to be updated, by
260
	 *             application server's configuration tools, during the lifetime of
261
	 *             the JavaBean instance. See the Connector specification for
262
	 *             more details. If unspecified, the container must not dynamically
263
	 *             reconfigure the property.
264
	 *             This element must be one of the following, "true" or "false".
265
	 *             
266
	 *             @since Java EE 6, Connector 1.6
267
	 *           
268
	 * <!-- end-model-doc -->
269
	 * @return the value of the '<em>Config Property Supports Dynamic Updates</em>' attribute.
270
	 * @see #isSetConfigPropertySupportsDynamicUpdates()
271
	 * @see #unsetConfigPropertySupportsDynamicUpdates()
272
	 * @see #setConfigPropertySupportsDynamicUpdates(boolean)
273
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_ConfigPropertySupportsDynamicUpdates()
274
	 * @generated
275
	 */
276
	boolean isConfigPropertySupportsDynamicUpdates();
277
278
	/**
279
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertySupportsDynamicUpdates <em>Config Property Supports Dynamic Updates</em>}' attribute.
280
	 * <!-- begin-user-doc -->
281
	 * <!-- end-user-doc -->
282
	 * @param value the new value of the '<em>Config Property Supports Dynamic Updates</em>' attribute.
283
	 * @see #isSetConfigPropertySupportsDynamicUpdates()
284
	 * @see #unsetConfigPropertySupportsDynamicUpdates()
285
	 * @see #isConfigPropertySupportsDynamicUpdates()
286
	 * @generated
287
	 */
288
	void setConfigPropertySupportsDynamicUpdates(boolean value);
289
290
	/**
291
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertySupportsDynamicUpdates <em>Config Property Supports Dynamic Updates</em>}' attribute.
292
	 * <!-- begin-user-doc -->
293
	 * <!-- end-user-doc -->
294
	 * @see #isSetConfigPropertySupportsDynamicUpdates()
295
	 * @see #isConfigPropertySupportsDynamicUpdates()
296
	 * @see #setConfigPropertySupportsDynamicUpdates(boolean)
297
	 * @generated
298
	 */
299
	void unsetConfigPropertySupportsDynamicUpdates();
300
301
	/**
302
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertySupportsDynamicUpdates <em>Config Property Supports Dynamic Updates</em>}' attribute is set.
303
	 * <!-- begin-user-doc -->
304
	 * <!-- end-user-doc -->
305
	 * @return whether the value of the '<em>Config Property Supports Dynamic Updates</em>' attribute is set.
306
	 * @see #unsetConfigPropertySupportsDynamicUpdates()
307
	 * @see #isConfigPropertySupportsDynamicUpdates()
308
	 * @see #setConfigPropertySupportsDynamicUpdates(boolean)
309
	 * @generated
310
	 */
311
	boolean isSetConfigPropertySupportsDynamicUpdates();
312
313
	/**
314
	 * Returns the value of the '<em><b>Config Property Confidential</b></em>' attribute.
315
	 * <!-- begin-user-doc -->
316
	 * <!-- end-user-doc -->
317
	 * <!-- begin-model-doc -->
318
	 * 
319
	 * 
320
	 *             The element config-property-confidential is used to specify 
321
	 *             whether the configuration property is confidential and
322
	 *             recommends application server's configuration tools to use special 
323
	 *             visual aids for editing them. See the Connector specification for
324
	 *             more details. If unspecified, the container must not treat the
325
	 *             property as confidential.
326
	 *             This element must be one of the following, "true" or "false".
327
	 *             
328
	 *             @since Java EE 6, Connector 1.6
329
	 *           
330
	 * <!-- end-model-doc -->
331
	 * @return the value of the '<em>Config Property Confidential</em>' attribute.
332
	 * @see #isSetConfigPropertyConfidential()
333
	 * @see #unsetConfigPropertyConfidential()
334
	 * @see #setConfigPropertyConfidential(boolean)
335
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_ConfigPropertyConfidential()
336
	 * @generated
337
	 */
338
	boolean isConfigPropertyConfidential();
339
340
	/**
341
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyConfidential <em>Config Property Confidential</em>}' attribute.
342
	 * <!-- begin-user-doc -->
343
	 * <!-- end-user-doc -->
344
	 * @param value the new value of the '<em>Config Property Confidential</em>' attribute.
345
	 * @see #isSetConfigPropertyConfidential()
346
	 * @see #unsetConfigPropertyConfidential()
347
	 * @see #isConfigPropertyConfidential()
348
	 * @generated
349
	 */
350
	void setConfigPropertyConfidential(boolean value);
351
352
	/**
353
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyConfidential <em>Config Property Confidential</em>}' attribute.
354
	 * <!-- begin-user-doc -->
355
	 * <!-- end-user-doc -->
356
	 * @see #isSetConfigPropertyConfidential()
357
	 * @see #isConfigPropertyConfidential()
358
	 * @see #setConfigPropertyConfidential(boolean)
359
	 * @generated
360
	 */
361
	void unsetConfigPropertyConfidential();
362
363
	/**
364
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#isConfigPropertyConfidential <em>Config Property Confidential</em>}' attribute is set.
365
	 * <!-- begin-user-doc -->
366
	 * <!-- end-user-doc -->
367
	 * @return whether the value of the '<em>Config Property Confidential</em>' attribute is set.
368
	 * @see #unsetConfigPropertyConfidential()
369
	 * @see #isConfigPropertyConfidential()
370
	 * @see #setConfigPropertyConfidential(boolean)
371
	 * @generated
372
	 */
373
	boolean isSetConfigPropertyConfidential();
374
375
	/**
376
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
377
	 * <!-- begin-user-doc -->
378
	 * <p>
379
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
380
	 * there really should be more of a description here...
381
	 * </p>
382
	 * <!-- end-user-doc -->
383
	 * @return the value of the '<em>Id</em>' attribute.
384
	 * @see #setId(String)
385
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigProperty_Id()
386
	 * @generated
387
	 */
388
	String getId();
389
390
	/**
391
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConfigProperty#getId <em>Id</em>}' attribute.
392
	 * <!-- begin-user-doc -->
393
	 * <!-- end-user-doc -->
394
	 * @param value the new value of the '<em>Id</em>' attribute.
395
	 * @see #getId()
396
	 * @generated
397
	 */
398
	void setId(String value);
399
400
} // ConfigProperty
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/LicenseImpl.java (+317 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.core.Description;
27
28
import org.eclipse.jst.javaee.jca.License;
29
30
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
31
32
/**
33
 * <!-- begin-user-doc -->
34
 * An implementation of the model object '<em><b>License</b></em>'.
35
 * <!-- end-user-doc -->
36
 * <p>
37
 * The following features are implemented:
38
 * <ul>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.LicenseImpl#getDescription <em>Description</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.LicenseImpl#isLicenseRequired <em>License Required</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.LicenseImpl#getId <em>Id</em>}</li>
42
 * </ul>
43
 * </p>
44
 *
45
 * @generated
46
 */
47
public class LicenseImpl extends EObjectImpl implements License {
48
	/**
49
	 * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * @see #getDescription()
53
	 * @generated
54
	 * @ordered
55
	 */
56
	protected EList<Description> description;
57
58
	/**
59
	 * The default value of the '{@link #isLicenseRequired() <em>License Required</em>}' attribute.
60
	 * <!-- begin-user-doc -->
61
	 * <!-- end-user-doc -->
62
	 * @see #isLicenseRequired()
63
	 * @generated
64
	 * @ordered
65
	 */
66
	protected static final boolean LICENSE_REQUIRED_EDEFAULT = false;
67
68
	/**
69
	 * The cached value of the '{@link #isLicenseRequired() <em>License Required</em>}' attribute.
70
	 * <!-- begin-user-doc -->
71
	 * <!-- end-user-doc -->
72
	 * @see #isLicenseRequired()
73
	 * @generated
74
	 * @ordered
75
	 */
76
	protected boolean licenseRequired = LICENSE_REQUIRED_EDEFAULT;
77
78
	/**
79
	 * This is true if the License Required attribute has been set.
80
	 * <!-- begin-user-doc -->
81
	 * <!-- end-user-doc -->
82
	 * @generated
83
	 * @ordered
84
	 */
85
	protected boolean licenseRequiredESet;
86
87
	/**
88
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
89
	 * <!-- begin-user-doc -->
90
	 * <!-- end-user-doc -->
91
	 * @see #getId()
92
	 * @generated
93
	 * @ordered
94
	 */
95
	protected static final String ID_EDEFAULT = null;
96
97
	/**
98
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
99
	 * <!-- begin-user-doc -->
100
	 * <!-- end-user-doc -->
101
	 * @see #getId()
102
	 * @generated
103
	 * @ordered
104
	 */
105
	protected String id = ID_EDEFAULT;
106
107
	/**
108
	 * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
110
	 * @generated
111
	 */
112
	protected LicenseImpl() {
113
		super();
114
	}
115
116
	/**
117
	 * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
119
	 * @generated
120
	 */
121
	@Override
122
	protected EClass eStaticClass() {
123
		return JcaPackage.Literals.LICENSE;
124
	}
125
126
	/**
127
	 * <!-- begin-user-doc -->
128
	 * <!-- end-user-doc -->
129
	 * @generated
130
	 */
131
	public List<Description> getDescription() {
132
		if (description == null) {
133
			description = new EObjectContainmentEList<Description>(Description.class, this, JcaPackage.LICENSE__DESCRIPTION);
134
		}
135
		return description;
136
	}
137
138
	/**
139
	 * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
141
	 * @generated
142
	 */
143
	public boolean isLicenseRequired() {
144
		return licenseRequired;
145
	}
146
147
	/**
148
	 * <!-- begin-user-doc -->
149
	 * <!-- end-user-doc -->
150
	 * @generated
151
	 */
152
	public void setLicenseRequired(boolean newLicenseRequired) {
153
		boolean oldLicenseRequired = licenseRequired;
154
		licenseRequired = newLicenseRequired;
155
		boolean oldLicenseRequiredESet = licenseRequiredESet;
156
		licenseRequiredESet = true;
157
		if (eNotificationRequired())
158
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.LICENSE__LICENSE_REQUIRED, oldLicenseRequired, licenseRequired, !oldLicenseRequiredESet));
159
	}
160
161
	/**
162
	 * <!-- begin-user-doc -->
163
	 * <!-- end-user-doc -->
164
	 * @generated
165
	 */
166
	public void unsetLicenseRequired() {
167
		boolean oldLicenseRequired = licenseRequired;
168
		boolean oldLicenseRequiredESet = licenseRequiredESet;
169
		licenseRequired = LICENSE_REQUIRED_EDEFAULT;
170
		licenseRequiredESet = false;
171
		if (eNotificationRequired())
172
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.LICENSE__LICENSE_REQUIRED, oldLicenseRequired, LICENSE_REQUIRED_EDEFAULT, oldLicenseRequiredESet));
173
	}
174
175
	/**
176
	 * <!-- begin-user-doc -->
177
	 * <!-- end-user-doc -->
178
	 * @generated
179
	 */
180
	public boolean isSetLicenseRequired() {
181
		return licenseRequiredESet;
182
	}
183
184
	/**
185
	 * <!-- begin-user-doc -->
186
	 * <!-- end-user-doc -->
187
	 * @generated
188
	 */
189
	public String getId() {
190
		return id;
191
	}
192
193
	/**
194
	 * <!-- begin-user-doc -->
195
	 * <!-- end-user-doc -->
196
	 * @generated
197
	 */
198
	public void setId(String newId) {
199
		String oldId = id;
200
		id = newId;
201
		if (eNotificationRequired())
202
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.LICENSE__ID, oldId, id));
203
	}
204
205
	/**
206
	 * <!-- begin-user-doc -->
207
	 * <!-- end-user-doc -->
208
	 * @generated
209
	 */
210
	@Override
211
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
212
		switch (featureID) {
213
			case JcaPackage.LICENSE__DESCRIPTION:
214
				return ((InternalEList<?>)getDescription()).basicRemove(otherEnd, msgs);
215
		}
216
		return super.eInverseRemove(otherEnd, featureID, msgs);
217
	}
218
219
	/**
220
	 * <!-- begin-user-doc -->
221
	 * <!-- end-user-doc -->
222
	 * @generated
223
	 */
224
	@Override
225
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
226
		switch (featureID) {
227
			case JcaPackage.LICENSE__DESCRIPTION:
228
				return getDescription();
229
			case JcaPackage.LICENSE__LICENSE_REQUIRED:
230
				return isLicenseRequired();
231
			case JcaPackage.LICENSE__ID:
232
				return getId();
233
		}
234
		return super.eGet(featureID, resolve, coreType);
235
	}
236
237
	/**
238
	 * <!-- begin-user-doc -->
239
	 * <!-- end-user-doc -->
240
	 * @generated
241
	 */
242
	@SuppressWarnings("unchecked")
243
	@Override
244
	public void eSet(int featureID, Object newValue) {
245
		switch (featureID) {
246
			case JcaPackage.LICENSE__DESCRIPTION:
247
				getDescription().clear();
248
				getDescription().addAll((Collection<? extends Description>)newValue);
249
				return;
250
			case JcaPackage.LICENSE__LICENSE_REQUIRED:
251
				setLicenseRequired((Boolean)newValue);
252
				return;
253
			case JcaPackage.LICENSE__ID:
254
				setId((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
		switch (featureID) {
268
			case JcaPackage.LICENSE__DESCRIPTION:
269
				getDescription().clear();
270
				return;
271
			case JcaPackage.LICENSE__LICENSE_REQUIRED:
272
				unsetLicenseRequired();
273
				return;
274
			case JcaPackage.LICENSE__ID:
275
				setId(ID_EDEFAULT);
276
				return;
277
		}
278
		super.eUnset(featureID);
279
	}
280
281
	/**
282
	 * <!-- begin-user-doc -->
283
	 * <!-- end-user-doc -->
284
	 * @generated
285
	 */
286
	@Override
287
	public boolean eIsSet(int featureID) {
288
		switch (featureID) {
289
			case JcaPackage.LICENSE__DESCRIPTION:
290
				return description != null && !description.isEmpty();
291
			case JcaPackage.LICENSE__LICENSE_REQUIRED:
292
				return isSetLicenseRequired();
293
			case JcaPackage.LICENSE__ID:
294
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
295
		}
296
		return super.eIsSet(featureID);
297
	}
298
299
	/**
300
	 * <!-- begin-user-doc -->
301
	 * <!-- end-user-doc -->
302
	 * @generated
303
	 */
304
	@Override
305
	public String toString() {
306
		if (eIsProxy()) return super.toString();
307
308
		StringBuffer result = new StringBuffer(super.toString());
309
		result.append(" (licenseRequired: "); //$NON-NLS-1$
310
		if (licenseRequiredESet) result.append(licenseRequired); else result.append("<unset>"); //$NON-NLS-1$
311
		result.append(", id: "); //$NON-NLS-1$
312
		result.append(id);
313
		result.append(')');
314
		return result.toString();
315
	}
316
317
} //LicenseImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/ConnectorDeploymentDescriptorImpl.java (+289 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Map;
10
11
import org.eclipse.emf.common.notify.NotificationChain;
12
13
import org.eclipse.emf.common.util.EMap;
14
15
import org.eclipse.emf.ecore.EClass;
16
import org.eclipse.emf.ecore.EStructuralFeature;
17
import org.eclipse.emf.ecore.EcorePackage;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.EObjectImpl;
21
import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
22
23
import org.eclipse.emf.ecore.util.BasicFeatureMap;
24
import org.eclipse.emf.ecore.util.EcoreEMap;
25
import org.eclipse.emf.ecore.util.FeatureMap;
26
import org.eclipse.emf.ecore.util.InternalEList;
27
28
import org.eclipse.jst.javaee.jca.Connector;
29
import org.eclipse.jst.javaee.jca.ConnectorDeploymentDescriptor;
30
31
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
32
33
/**
34
 * <!-- begin-user-doc -->
35
 * An implementation of the model object '<em><b>Connector Deployment Descriptor</b></em>'.
36
 * <!-- end-user-doc -->
37
 * <p>
38
 * The following features are implemented:
39
 * <ul>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorDeploymentDescriptorImpl#getMixed <em>Mixed</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorDeploymentDescriptorImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorDeploymentDescriptorImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorDeploymentDescriptorImpl#getConnector <em>Connector</em>}</li>
44
 * </ul>
45
 * </p>
46
 *
47
 * @generated
48
 */
49
public class ConnectorDeploymentDescriptorImpl extends EObjectImpl implements ConnectorDeploymentDescriptor {
50
	/**
51
	 * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
52
	 * <!-- begin-user-doc -->
53
	 * <!-- end-user-doc -->
54
	 * @see #getMixed()
55
	 * @generated
56
	 * @ordered
57
	 */
58
	protected FeatureMap mixed;
59
60
	/**
61
	 * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
62
	 * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
64
	 * @see #getXMLNSPrefixMap()
65
	 * @generated
66
	 * @ordered
67
	 */
68
	protected EMap<String, String> xMLNSPrefixMap;
69
70
	/**
71
	 * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
72
	 * <!-- begin-user-doc -->
73
	 * <!-- end-user-doc -->
74
	 * @see #getXSISchemaLocation()
75
	 * @generated
76
	 * @ordered
77
	 */
78
	protected EMap<String, String> xSISchemaLocation;
79
80
	/**
81
	 * <!-- begin-user-doc -->
82
	 * <!-- end-user-doc -->
83
	 * @generated
84
	 */
85
	protected ConnectorDeploymentDescriptorImpl() {
86
		super();
87
	}
88
89
	/**
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @generated
93
	 */
94
	@Override
95
	protected EClass eStaticClass() {
96
		return JcaPackage.Literals.CONNECTOR_DEPLOYMENT_DESCRIPTOR;
97
	}
98
99
	/**
100
	 * <!-- begin-user-doc -->
101
	 * <!-- end-user-doc -->
102
	 * @generated
103
	 */
104
	public FeatureMap getMixed() {
105
		if (mixed == null) {
106
			mixed = new BasicFeatureMap(this, JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__MIXED);
107
		}
108
		return mixed;
109
	}
110
111
	/**
112
	 * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
114
	 * @generated
115
	 */
116
	public Map<String, String> getXMLNSPrefixMap() {
117
		if (xMLNSPrefixMap == null) {
118
			xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP);
119
		}
120
		return xMLNSPrefixMap.map();
121
	}
122
123
	/**
124
	 * <!-- begin-user-doc -->
125
	 * <!-- end-user-doc -->
126
	 * @generated
127
	 */
128
	public Map<String, String> getXSISchemaLocation() {
129
		if (xSISchemaLocation == null) {
130
			xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION);
131
		}
132
		return xSISchemaLocation.map();
133
	}
134
135
	/**
136
	 * <!-- begin-user-doc -->
137
	 * <!-- end-user-doc -->
138
	 * @generated
139
	 */
140
	public Connector getConnector() {
141
		return (Connector)getMixed().get(JcaPackage.Literals.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR, true);
142
	}
143
144
	/**
145
	 * <!-- begin-user-doc -->
146
	 * <!-- end-user-doc -->
147
	 * @generated
148
	 */
149
	public NotificationChain basicSetConnector(Connector newConnector, NotificationChain msgs) {
150
		return ((FeatureMap.Internal)getMixed()).basicAdd(JcaPackage.Literals.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR, newConnector, msgs);
151
	}
152
153
	/**
154
	 * <!-- begin-user-doc -->
155
	 * <!-- end-user-doc -->
156
	 * @generated
157
	 */
158
	public void setConnector(Connector newConnector) {
159
		((FeatureMap.Internal)getMixed()).set(JcaPackage.Literals.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR, newConnector);
160
	}
161
162
	/**
163
	 * <!-- begin-user-doc -->
164
	 * <!-- end-user-doc -->
165
	 * @generated
166
	 */
167
	@Override
168
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
169
		switch (featureID) {
170
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__MIXED:
171
				return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
172
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
173
				return ((InternalEList<?>)((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap()).basicRemove(otherEnd, msgs);
174
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
175
				return ((InternalEList<?>)((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap()).basicRemove(otherEnd, msgs);
176
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR:
177
				return basicSetConnector(null, msgs);
178
		}
179
		return super.eInverseRemove(otherEnd, featureID, msgs);
180
	}
181
182
	/**
183
	 * <!-- begin-user-doc -->
184
	 * <!-- end-user-doc -->
185
	 * @generated
186
	 */
187
	@Override
188
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
189
		switch (featureID) {
190
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__MIXED:
191
				if (coreType) return getMixed();
192
				return ((FeatureMap.Internal)getMixed()).getWrapper();
193
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
194
				if (coreType) return ((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap();
195
				else return getXMLNSPrefixMap();
196
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
197
				if (coreType) return ((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap();
198
				else return getXSISchemaLocation();
199
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR:
200
				return getConnector();
201
		}
202
		return super.eGet(featureID, resolve, coreType);
203
	}
204
205
	/**
206
	 * <!-- begin-user-doc -->
207
	 * <!-- end-user-doc -->
208
	 * @generated
209
	 */
210
	@Override
211
	public void eSet(int featureID, Object newValue) {
212
		switch (featureID) {
213
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__MIXED:
214
				((FeatureMap.Internal)getMixed()).set(newValue);
215
				return;
216
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
217
				((EStructuralFeature.Setting)((EMap.InternalMapView<String, String>)getXMLNSPrefixMap()).eMap()).set(newValue);
218
				return;
219
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
220
				((EStructuralFeature.Setting)((EMap.InternalMapView<String, String>)getXSISchemaLocation()).eMap()).set(newValue);
221
				return;
222
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR:
223
				setConnector((Connector)newValue);
224
				return;
225
		}
226
		super.eSet(featureID, newValue);
227
	}
228
229
	/**
230
	 * <!-- begin-user-doc -->
231
	 * <!-- end-user-doc -->
232
	 * @generated
233
	 */
234
	@Override
235
	public void eUnset(int featureID) {
236
		switch (featureID) {
237
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__MIXED:
238
				getMixed().clear();
239
				return;
240
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
241
				getXMLNSPrefixMap().clear();
242
				return;
243
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
244
				getXSISchemaLocation().clear();
245
				return;
246
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR:
247
				setConnector((Connector)null);
248
				return;
249
		}
250
		super.eUnset(featureID);
251
	}
252
253
	/**
254
	 * <!-- begin-user-doc -->
255
	 * <!-- end-user-doc -->
256
	 * @generated
257
	 */
258
	@Override
259
	public boolean eIsSet(int featureID) {
260
		switch (featureID) {
261
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__MIXED:
262
				return mixed != null && !mixed.isEmpty();
263
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP:
264
				return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
265
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION:
266
				return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
267
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR:
268
				return getConnector() != null;
269
		}
270
		return super.eIsSet(featureID);
271
	}
272
273
	/**
274
	 * <!-- begin-user-doc -->
275
	 * <!-- end-user-doc -->
276
	 * @generated
277
	 */
278
	@Override
279
	public String toString() {
280
		if (eIsProxy()) return super.toString();
281
282
		StringBuffer result = new StringBuffer(super.toString());
283
		result.append(" (mixed: "); //$NON-NLS-1$
284
		result.append(mixed);
285
		result.append(')');
286
		return result.toString();
287
	}
288
289
} //ConnectorDeploymentDescriptorImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/AuthenticationMechanismImpl.java (+372 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.core.Description;
27
28
import org.eclipse.jst.javaee.jca.AuthenticationMechanism;
29
import org.eclipse.jst.javaee.jca.CredentialInterfaceType;
30
31
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
32
33
/**
34
 * <!-- begin-user-doc -->
35
 * An implementation of the model object '<em><b>Authentication Mechanism</b></em>'.
36
 * <!-- end-user-doc -->
37
 * <p>
38
 * The following features are implemented:
39
 * <ul>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AuthenticationMechanismImpl#getDescription <em>Description</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AuthenticationMechanismImpl#getAuthenticationMechanismType <em>Authentication Mechanism Type</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AuthenticationMechanismImpl#getCredentialInterface <em>Credential Interface</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.AuthenticationMechanismImpl#getId <em>Id</em>}</li>
44
 * </ul>
45
 * </p>
46
 *
47
 * @generated
48
 */
49
public class AuthenticationMechanismImpl extends EObjectImpl implements AuthenticationMechanism {
50
	/**
51
	 * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
52
	 * <!-- begin-user-doc -->
53
	 * <!-- end-user-doc -->
54
	 * @see #getDescription()
55
	 * @generated
56
	 * @ordered
57
	 */
58
	protected EList<Description> description;
59
60
	/**
61
	 * The default value of the '{@link #getAuthenticationMechanismType() <em>Authentication Mechanism Type</em>}' attribute.
62
	 * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
64
	 * @see #getAuthenticationMechanismType()
65
	 * @generated
66
	 * @ordered
67
	 */
68
	protected static final String AUTHENTICATION_MECHANISM_TYPE_EDEFAULT = null;
69
70
	/**
71
	 * The cached value of the '{@link #getAuthenticationMechanismType() <em>Authentication Mechanism Type</em>}' attribute.
72
	 * <!-- begin-user-doc -->
73
	 * <!-- end-user-doc -->
74
	 * @see #getAuthenticationMechanismType()
75
	 * @generated
76
	 * @ordered
77
	 */
78
	protected String authenticationMechanismType = AUTHENTICATION_MECHANISM_TYPE_EDEFAULT;
79
80
	/**
81
	 * The default value of the '{@link #getCredentialInterface() <em>Credential Interface</em>}' attribute.
82
	 * <!-- begin-user-doc -->
83
	 * <!-- end-user-doc -->
84
	 * @see #getCredentialInterface()
85
	 * @generated
86
	 * @ordered
87
	 */
88
	protected static final CredentialInterfaceType CREDENTIAL_INTERFACE_EDEFAULT = CredentialInterfaceType.JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL;
89
90
	/**
91
	 * The cached value of the '{@link #getCredentialInterface() <em>Credential Interface</em>}' attribute.
92
	 * <!-- begin-user-doc -->
93
	 * <!-- end-user-doc -->
94
	 * @see #getCredentialInterface()
95
	 * @generated
96
	 * @ordered
97
	 */
98
	protected CredentialInterfaceType credentialInterface = CREDENTIAL_INTERFACE_EDEFAULT;
99
100
	/**
101
	 * This is true if the Credential Interface attribute has been set.
102
	 * <!-- begin-user-doc -->
103
	 * <!-- end-user-doc -->
104
	 * @generated
105
	 * @ordered
106
	 */
107
	protected boolean credentialInterfaceESet;
108
109
	/**
110
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
111
	 * <!-- begin-user-doc -->
112
	 * <!-- end-user-doc -->
113
	 * @see #getId()
114
	 * @generated
115
	 * @ordered
116
	 */
117
	protected static final String ID_EDEFAULT = null;
118
119
	/**
120
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
121
	 * <!-- begin-user-doc -->
122
	 * <!-- end-user-doc -->
123
	 * @see #getId()
124
	 * @generated
125
	 * @ordered
126
	 */
127
	protected String id = ID_EDEFAULT;
128
129
	/**
130
	 * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
132
	 * @generated
133
	 */
134
	protected AuthenticationMechanismImpl() {
135
		super();
136
	}
137
138
	/**
139
	 * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
141
	 * @generated
142
	 */
143
	@Override
144
	protected EClass eStaticClass() {
145
		return JcaPackage.Literals.AUTHENTICATION_MECHANISM;
146
	}
147
148
	/**
149
	 * <!-- begin-user-doc -->
150
	 * <!-- end-user-doc -->
151
	 * @generated
152
	 */
153
	public List<Description> getDescription() {
154
		if (description == null) {
155
			description = new EObjectContainmentEList<Description>(Description.class, this, JcaPackage.AUTHENTICATION_MECHANISM__DESCRIPTION);
156
		}
157
		return description;
158
	}
159
160
	/**
161
	 * <!-- begin-user-doc -->
162
	 * <!-- end-user-doc -->
163
	 * @generated
164
	 */
165
	public String getAuthenticationMechanismType() {
166
		return authenticationMechanismType;
167
	}
168
169
	/**
170
	 * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
172
	 * @generated
173
	 */
174
	public void setAuthenticationMechanismType(String newAuthenticationMechanismType) {
175
		String oldAuthenticationMechanismType = authenticationMechanismType;
176
		authenticationMechanismType = newAuthenticationMechanismType;
177
		if (eNotificationRequired())
178
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.AUTHENTICATION_MECHANISM__AUTHENTICATION_MECHANISM_TYPE, oldAuthenticationMechanismType, authenticationMechanismType));
179
	}
180
181
	/**
182
	 * <!-- begin-user-doc -->
183
	 * <!-- end-user-doc -->
184
	 * @generated
185
	 */
186
	public CredentialInterfaceType getCredentialInterface() {
187
		return credentialInterface;
188
	}
189
190
	/**
191
	 * <!-- begin-user-doc -->
192
	 * <!-- end-user-doc -->
193
	 * @generated
194
	 */
195
	public void setCredentialInterface(CredentialInterfaceType newCredentialInterface) {
196
		CredentialInterfaceType oldCredentialInterface = credentialInterface;
197
		credentialInterface = newCredentialInterface == null ? CREDENTIAL_INTERFACE_EDEFAULT : newCredentialInterface;
198
		boolean oldCredentialInterfaceESet = credentialInterfaceESet;
199
		credentialInterfaceESet = true;
200
		if (eNotificationRequired())
201
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.AUTHENTICATION_MECHANISM__CREDENTIAL_INTERFACE, oldCredentialInterface, credentialInterface, !oldCredentialInterfaceESet));
202
	}
203
204
	/**
205
	 * <!-- begin-user-doc -->
206
	 * <!-- end-user-doc -->
207
	 * @generated
208
	 */
209
	public void unsetCredentialInterface() {
210
		CredentialInterfaceType oldCredentialInterface = credentialInterface;
211
		boolean oldCredentialInterfaceESet = credentialInterfaceESet;
212
		credentialInterface = CREDENTIAL_INTERFACE_EDEFAULT;
213
		credentialInterfaceESet = false;
214
		if (eNotificationRequired())
215
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.AUTHENTICATION_MECHANISM__CREDENTIAL_INTERFACE, oldCredentialInterface, CREDENTIAL_INTERFACE_EDEFAULT, oldCredentialInterfaceESet));
216
	}
217
218
	/**
219
	 * <!-- begin-user-doc -->
220
	 * <!-- end-user-doc -->
221
	 * @generated
222
	 */
223
	public boolean isSetCredentialInterface() {
224
		return credentialInterfaceESet;
225
	}
226
227
	/**
228
	 * <!-- begin-user-doc -->
229
	 * <!-- end-user-doc -->
230
	 * @generated
231
	 */
232
	public String getId() {
233
		return id;
234
	}
235
236
	/**
237
	 * <!-- begin-user-doc -->
238
	 * <!-- end-user-doc -->
239
	 * @generated
240
	 */
241
	public void setId(String newId) {
242
		String oldId = id;
243
		id = newId;
244
		if (eNotificationRequired())
245
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.AUTHENTICATION_MECHANISM__ID, oldId, id));
246
	}
247
248
	/**
249
	 * <!-- begin-user-doc -->
250
	 * <!-- end-user-doc -->
251
	 * @generated
252
	 */
253
	@Override
254
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
255
		switch (featureID) {
256
			case JcaPackage.AUTHENTICATION_MECHANISM__DESCRIPTION:
257
				return ((InternalEList<?>)getDescription()).basicRemove(otherEnd, msgs);
258
		}
259
		return super.eInverseRemove(otherEnd, featureID, msgs);
260
	}
261
262
	/**
263
	 * <!-- begin-user-doc -->
264
	 * <!-- end-user-doc -->
265
	 * @generated
266
	 */
267
	@Override
268
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
269
		switch (featureID) {
270
			case JcaPackage.AUTHENTICATION_MECHANISM__DESCRIPTION:
271
				return getDescription();
272
			case JcaPackage.AUTHENTICATION_MECHANISM__AUTHENTICATION_MECHANISM_TYPE:
273
				return getAuthenticationMechanismType();
274
			case JcaPackage.AUTHENTICATION_MECHANISM__CREDENTIAL_INTERFACE:
275
				return getCredentialInterface();
276
			case JcaPackage.AUTHENTICATION_MECHANISM__ID:
277
				return getId();
278
		}
279
		return super.eGet(featureID, resolve, coreType);
280
	}
281
282
	/**
283
	 * <!-- begin-user-doc -->
284
	 * <!-- end-user-doc -->
285
	 * @generated
286
	 */
287
	@SuppressWarnings("unchecked")
288
	@Override
289
	public void eSet(int featureID, Object newValue) {
290
		switch (featureID) {
291
			case JcaPackage.AUTHENTICATION_MECHANISM__DESCRIPTION:
292
				getDescription().clear();
293
				getDescription().addAll((Collection<? extends Description>)newValue);
294
				return;
295
			case JcaPackage.AUTHENTICATION_MECHANISM__AUTHENTICATION_MECHANISM_TYPE:
296
				setAuthenticationMechanismType((String)newValue);
297
				return;
298
			case JcaPackage.AUTHENTICATION_MECHANISM__CREDENTIAL_INTERFACE:
299
				setCredentialInterface((CredentialInterfaceType)newValue);
300
				return;
301
			case JcaPackage.AUTHENTICATION_MECHANISM__ID:
302
				setId((String)newValue);
303
				return;
304
		}
305
		super.eSet(featureID, newValue);
306
	}
307
308
	/**
309
	 * <!-- begin-user-doc -->
310
	 * <!-- end-user-doc -->
311
	 * @generated
312
	 */
313
	@Override
314
	public void eUnset(int featureID) {
315
		switch (featureID) {
316
			case JcaPackage.AUTHENTICATION_MECHANISM__DESCRIPTION:
317
				getDescription().clear();
318
				return;
319
			case JcaPackage.AUTHENTICATION_MECHANISM__AUTHENTICATION_MECHANISM_TYPE:
320
				setAuthenticationMechanismType(AUTHENTICATION_MECHANISM_TYPE_EDEFAULT);
321
				return;
322
			case JcaPackage.AUTHENTICATION_MECHANISM__CREDENTIAL_INTERFACE:
323
				unsetCredentialInterface();
324
				return;
325
			case JcaPackage.AUTHENTICATION_MECHANISM__ID:
326
				setId(ID_EDEFAULT);
327
				return;
328
		}
329
		super.eUnset(featureID);
330
	}
331
332
	/**
333
	 * <!-- begin-user-doc -->
334
	 * <!-- end-user-doc -->
335
	 * @generated
336
	 */
337
	@Override
338
	public boolean eIsSet(int featureID) {
339
		switch (featureID) {
340
			case JcaPackage.AUTHENTICATION_MECHANISM__DESCRIPTION:
341
				return description != null && !description.isEmpty();
342
			case JcaPackage.AUTHENTICATION_MECHANISM__AUTHENTICATION_MECHANISM_TYPE:
343
				return AUTHENTICATION_MECHANISM_TYPE_EDEFAULT == null ? authenticationMechanismType != null : !AUTHENTICATION_MECHANISM_TYPE_EDEFAULT.equals(authenticationMechanismType);
344
			case JcaPackage.AUTHENTICATION_MECHANISM__CREDENTIAL_INTERFACE:
345
				return isSetCredentialInterface();
346
			case JcaPackage.AUTHENTICATION_MECHANISM__ID:
347
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
348
		}
349
		return super.eIsSet(featureID);
350
	}
351
352
	/**
353
	 * <!-- begin-user-doc -->
354
	 * <!-- end-user-doc -->
355
	 * @generated
356
	 */
357
	@Override
358
	public String toString() {
359
		if (eIsProxy()) return super.toString();
360
361
		StringBuffer result = new StringBuffer(super.toString());
362
		result.append(" (authenticationMechanismType: "); //$NON-NLS-1$
363
		result.append(authenticationMechanismType);
364
		result.append(", credentialInterface: "); //$NON-NLS-1$
365
		if (credentialInterfaceESet) result.append(credentialInterface); else result.append("<unset>"); //$NON-NLS-1$
366
		result.append(", id: "); //$NON-NLS-1$
367
		result.append(id);
368
		result.append(')');
369
		return result.toString();
370
	}
371
372
} //AuthenticationMechanismImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/RequiredConfigPropertyImpl.java (+283 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.core.Description;
27
28
import org.eclipse.jst.javaee.jca.RequiredConfigProperty;
29
30
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
31
32
/**
33
 * <!-- begin-user-doc -->
34
 * An implementation of the model object '<em><b>Required Config Property</b></em>'.
35
 * <!-- end-user-doc -->
36
 * <p>
37
 * The following features are implemented:
38
 * <ul>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.RequiredConfigPropertyImpl#getDescription <em>Description</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.RequiredConfigPropertyImpl#getConfigPropertyName <em>Config Property Name</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.RequiredConfigPropertyImpl#getId <em>Id</em>}</li>
42
 * </ul>
43
 * </p>
44
 *
45
 * @generated
46
 */
47
public class RequiredConfigPropertyImpl extends EObjectImpl implements RequiredConfigProperty {
48
	/**
49
	 * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * @see #getDescription()
53
	 * @generated
54
	 * @ordered
55
	 */
56
	protected EList<Description> description;
57
58
	/**
59
	 * The default value of the '{@link #getConfigPropertyName() <em>Config Property Name</em>}' attribute.
60
	 * <!-- begin-user-doc -->
61
	 * <!-- end-user-doc -->
62
	 * @see #getConfigPropertyName()
63
	 * @generated
64
	 * @ordered
65
	 */
66
	protected static final String CONFIG_PROPERTY_NAME_EDEFAULT = null;
67
68
	/**
69
	 * The cached value of the '{@link #getConfigPropertyName() <em>Config Property Name</em>}' attribute.
70
	 * <!-- begin-user-doc -->
71
	 * <!-- end-user-doc -->
72
	 * @see #getConfigPropertyName()
73
	 * @generated
74
	 * @ordered
75
	 */
76
	protected String configPropertyName = CONFIG_PROPERTY_NAME_EDEFAULT;
77
78
	/**
79
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
80
	 * <!-- begin-user-doc -->
81
	 * <!-- end-user-doc -->
82
	 * @see #getId()
83
	 * @generated
84
	 * @ordered
85
	 */
86
	protected static final String ID_EDEFAULT = null;
87
88
	/**
89
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @see #getId()
93
	 * @generated
94
	 * @ordered
95
	 */
96
	protected String id = ID_EDEFAULT;
97
98
	/**
99
	 * <!-- begin-user-doc -->
100
	 * <!-- end-user-doc -->
101
	 * @generated
102
	 */
103
	protected RequiredConfigPropertyImpl() {
104
		super();
105
	}
106
107
	/**
108
	 * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
110
	 * @generated
111
	 */
112
	@Override
113
	protected EClass eStaticClass() {
114
		return JcaPackage.Literals.REQUIRED_CONFIG_PROPERTY;
115
	}
116
117
	/**
118
	 * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
120
	 * @generated
121
	 */
122
	public List<Description> getDescription() {
123
		if (description == null) {
124
			description = new EObjectContainmentEList<Description>(Description.class, this, JcaPackage.REQUIRED_CONFIG_PROPERTY__DESCRIPTION);
125
		}
126
		return description;
127
	}
128
129
	/**
130
	 * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
132
	 * @generated
133
	 */
134
	public String getConfigPropertyName() {
135
		return configPropertyName;
136
	}
137
138
	/**
139
	 * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
141
	 * @generated
142
	 */
143
	public void setConfigPropertyName(String newConfigPropertyName) {
144
		String oldConfigPropertyName = configPropertyName;
145
		configPropertyName = newConfigPropertyName;
146
		if (eNotificationRequired())
147
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.REQUIRED_CONFIG_PROPERTY__CONFIG_PROPERTY_NAME, oldConfigPropertyName, configPropertyName));
148
	}
149
150
	/**
151
	 * <!-- begin-user-doc -->
152
	 * <!-- end-user-doc -->
153
	 * @generated
154
	 */
155
	public String getId() {
156
		return id;
157
	}
158
159
	/**
160
	 * <!-- begin-user-doc -->
161
	 * <!-- end-user-doc -->
162
	 * @generated
163
	 */
164
	public void setId(String newId) {
165
		String oldId = id;
166
		id = newId;
167
		if (eNotificationRequired())
168
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.REQUIRED_CONFIG_PROPERTY__ID, oldId, id));
169
	}
170
171
	/**
172
	 * <!-- begin-user-doc -->
173
	 * <!-- end-user-doc -->
174
	 * @generated
175
	 */
176
	@Override
177
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
178
		switch (featureID) {
179
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__DESCRIPTION:
180
				return ((InternalEList<?>)getDescription()).basicRemove(otherEnd, msgs);
181
		}
182
		return super.eInverseRemove(otherEnd, featureID, msgs);
183
	}
184
185
	/**
186
	 * <!-- begin-user-doc -->
187
	 * <!-- end-user-doc -->
188
	 * @generated
189
	 */
190
	@Override
191
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
192
		switch (featureID) {
193
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__DESCRIPTION:
194
				return getDescription();
195
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
196
				return getConfigPropertyName();
197
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__ID:
198
				return getId();
199
		}
200
		return super.eGet(featureID, resolve, coreType);
201
	}
202
203
	/**
204
	 * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
206
	 * @generated
207
	 */
208
	@SuppressWarnings("unchecked")
209
	@Override
210
	public void eSet(int featureID, Object newValue) {
211
		switch (featureID) {
212
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__DESCRIPTION:
213
				getDescription().clear();
214
				getDescription().addAll((Collection<? extends Description>)newValue);
215
				return;
216
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
217
				setConfigPropertyName((String)newValue);
218
				return;
219
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__ID:
220
				setId((String)newValue);
221
				return;
222
		}
223
		super.eSet(featureID, newValue);
224
	}
225
226
	/**
227
	 * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
229
	 * @generated
230
	 */
231
	@Override
232
	public void eUnset(int featureID) {
233
		switch (featureID) {
234
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__DESCRIPTION:
235
				getDescription().clear();
236
				return;
237
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
238
				setConfigPropertyName(CONFIG_PROPERTY_NAME_EDEFAULT);
239
				return;
240
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__ID:
241
				setId(ID_EDEFAULT);
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
		switch (featureID) {
255
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__DESCRIPTION:
256
				return description != null && !description.isEmpty();
257
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
258
				return CONFIG_PROPERTY_NAME_EDEFAULT == null ? configPropertyName != null : !CONFIG_PROPERTY_NAME_EDEFAULT.equals(configPropertyName);
259
			case JcaPackage.REQUIRED_CONFIG_PROPERTY__ID:
260
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
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
		if (eIsProxy()) return super.toString();
273
274
		StringBuffer result = new StringBuffer(super.toString());
275
		result.append(" (configPropertyName: "); //$NON-NLS-1$
276
		result.append(configPropertyName);
277
		result.append(", id: "); //$NON-NLS-1$
278
		result.append(id);
279
		result.append(')');
280
		return result.toString();
281
	}
282
283
} //RequiredConfigPropertyImpl
(-)jee-models/org/eclipse/jst/javaee/core/GenericBooleanType.java (+271 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core;
8
9
import java.util.Arrays;
10
import java.util.Collections;
11
import java.util.List;
12
13
import org.eclipse.emf.common.util.Enumerator;
14
15
/**
16
 * <!-- begin-user-doc -->
17
 * A representation of the literals of the enumeration '<em><b>Generic Boolean Type</b></em>',
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
22
 * 
23
 *         This type defines four different values which can designate
24
 *         boolean values. This includes values yes and no which are 
25
 *         not designated by xsd:boolean
26
 *         
27
 *         @since Java EE 5
28
 *       
29
 * <!-- end-model-doc -->
30
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getGenericBooleanType()
31
 * @generated
32
 */
33
public enum GenericBooleanType implements Enumerator {
34
	/**
35
	 * The '<em><b>True</b></em>' literal object.
36
	 * <!-- begin-user-doc -->
37
	 * <!-- end-user-doc -->
38
	 * @see #TRUE_VALUE
39
	 * @generated
40
	 * @ordered
41
	 */
42
	TRUE(0, "true", "true"), //$NON-NLS-1$ //$NON-NLS-2$
43
44
	/**
45
	 * The '<em><b>False</b></em>' literal object.
46
	 * <!-- begin-user-doc -->
47
	 * <!-- end-user-doc -->
48
	 * @see #FALSE_VALUE
49
	 * @generated
50
	 * @ordered
51
	 */
52
	FALSE(1, "false", "false"), //$NON-NLS-1$ //$NON-NLS-2$
53
54
	/**
55
	 * The '<em><b>Yes</b></em>' literal object.
56
	 * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
58
	 * @see #YES_VALUE
59
	 * @generated
60
	 * @ordered
61
	 */
62
	YES(2, "yes", "yes"), //$NON-NLS-1$ //$NON-NLS-2$
63
64
	/**
65
	 * The '<em><b>No</b></em>' literal object.
66
	 * <!-- begin-user-doc -->
67
	 * <!-- end-user-doc -->
68
	 * @see #NO_VALUE
69
	 * @generated
70
	 * @ordered
71
	 */
72
	NO(3, "no", "no"); //$NON-NLS-1$ //$NON-NLS-2$
73
74
	/**
75
	 * The '<em><b>True</b></em>' literal value.
76
	 * <!-- begin-user-doc -->
77
	 * <p>
78
	 * If the meaning of '<em><b>True</b></em>' literal object isn't clear,
79
	 * there really should be more of a description here...
80
	 * </p>
81
	 * <!-- end-user-doc -->
82
	 * @see #TRUE
83
	 * @generated
84
	 * @ordered
85
	 */
86
	public static final int TRUE_VALUE = 0;
87
88
	/**
89
	 * The '<em><b>False</b></em>' literal value.
90
	 * <!-- begin-user-doc -->
91
	 * <p>
92
	 * If the meaning of '<em><b>False</b></em>' literal object isn't clear,
93
	 * there really should be more of a description here...
94
	 * </p>
95
	 * <!-- end-user-doc -->
96
	 * @see #FALSE
97
	 * @generated
98
	 * @ordered
99
	 */
100
	public static final int FALSE_VALUE = 1;
101
102
	/**
103
	 * The '<em><b>Yes</b></em>' literal value.
104
	 * <!-- begin-user-doc -->
105
	 * <p>
106
	 * If the meaning of '<em><b>Yes</b></em>' literal object isn't clear,
107
	 * there really should be more of a description here...
108
	 * </p>
109
	 * <!-- end-user-doc -->
110
	 * @see #YES
111
	 * @generated
112
	 * @ordered
113
	 */
114
	public static final int YES_VALUE = 2;
115
116
	/**
117
	 * The '<em><b>No</b></em>' literal value.
118
	 * <!-- begin-user-doc -->
119
	 * <p>
120
	 * If the meaning of '<em><b>No</b></em>' literal object isn't clear,
121
	 * there really should be more of a description here...
122
	 * </p>
123
	 * <!-- end-user-doc -->
124
	 * @see #NO
125
	 * @generated
126
	 * @ordered
127
	 */
128
	public static final int NO_VALUE = 3;
129
130
	/**
131
	 * An array of all the '<em><b>Generic Boolean Type</b></em>' enumerators.
132
	 * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
134
	 * @generated
135
	 */
136
	private static final GenericBooleanType[] VALUES_ARRAY =
137
		new GenericBooleanType[] {
138
			TRUE,
139
			FALSE,
140
			YES,
141
			NO,
142
		};
143
144
	/**
145
	 * A public read-only list of all the '<em><b>Generic Boolean Type</b></em>' enumerators.
146
	 * <!-- begin-user-doc -->
147
	 * <!-- end-user-doc -->
148
	 * @generated
149
	 */
150
	public static final List<GenericBooleanType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
151
152
	/**
153
	 * Returns the '<em><b>Generic Boolean Type</b></em>' literal with the specified literal value.
154
	 * <!-- begin-user-doc -->
155
	 * <!-- end-user-doc -->
156
	 * @generated
157
	 */
158
	public static GenericBooleanType get(String literal) {
159
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
160
			GenericBooleanType result = VALUES_ARRAY[i];
161
			if (result.toString().equals(literal)) {
162
				return result;
163
			}
164
		}
165
		return null;
166
	}
167
168
	/**
169
	 * Returns the '<em><b>Generic Boolean Type</b></em>' literal with the specified name.
170
	 * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
172
	 * @generated
173
	 */
174
	public static GenericBooleanType getByName(String name) {
175
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
176
			GenericBooleanType result = VALUES_ARRAY[i];
177
			if (result.getName().equals(name)) {
178
				return result;
179
			}
180
		}
181
		return null;
182
	}
183
184
	/**
185
	 * Returns the '<em><b>Generic Boolean Type</b></em>' literal with the specified integer value.
186
	 * <!-- begin-user-doc -->
187
	 * <!-- end-user-doc -->
188
	 * @generated
189
	 */
190
	public static GenericBooleanType get(int value) {
191
		switch (value) {
192
			case TRUE_VALUE: return TRUE;
193
			case FALSE_VALUE: return FALSE;
194
			case YES_VALUE: return YES;
195
			case NO_VALUE: return NO;
196
		}
197
		return null;
198
	}
199
200
	/**
201
	 * <!-- begin-user-doc -->
202
	 * <!-- end-user-doc -->
203
	 * @generated
204
	 */
205
	private final int value;
206
207
	/**
208
	 * <!-- begin-user-doc -->
209
	 * <!-- end-user-doc -->
210
	 * @generated
211
	 */
212
	private final String name;
213
214
	/**
215
	 * <!-- begin-user-doc -->
216
	 * <!-- end-user-doc -->
217
	 * @generated
218
	 */
219
	private final String literal;
220
221
	/**
222
	 * Only this class can construct instances.
223
	 * <!-- begin-user-doc -->
224
	 * <!-- end-user-doc -->
225
	 * @generated
226
	 */
227
	private GenericBooleanType(int value, String name, String literal) {
228
		this.value = value;
229
		this.name = name;
230
		this.literal = literal;
231
	}
232
233
	/**
234
	 * <!-- begin-user-doc -->
235
	 * <!-- end-user-doc -->
236
	 * @generated
237
	 */
238
	public int getValue() {
239
	  return value;
240
	}
241
242
	/**
243
	 * <!-- begin-user-doc -->
244
	 * <!-- end-user-doc -->
245
	 * @generated
246
	 */
247
	public String getName() {
248
	  return name;
249
	}
250
251
	/**
252
	 * <!-- begin-user-doc -->
253
	 * <!-- end-user-doc -->
254
	 * @generated
255
	 */
256
	public String getLiteral() {
257
	  return literal;
258
	}
259
260
	/**
261
	 * Returns the literal value of the enumerator, which is its string representation.
262
	 * <!-- begin-user-doc -->
263
	 * <!-- end-user-doc -->
264
	 * @generated
265
	 */
266
	@Override
267
	public String toString() {
268
		return literal;
269
	}
270
	
271
} //GenericBooleanType
(-)jee-models/org/eclipse/jst/javaee/jca/License.java (+146 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.Description;
12
import org.eclipse.jst.javaee.core.JavaEEObject;
13
14
/**
15
 * <!-- begin-user-doc -->
16
 * A representation of the model object '<em><b>License</b></em>'.
17
 * <!-- end-user-doc -->
18
 *
19
 * <!-- begin-model-doc -->
20
 * 
21
 * 
22
 *         The licenseType specifies licensing requirements for the
23
 *         resource adapter module. This type specifies whether a
24
 *         license is required to deploy and use this resource adapter,
25
 *         and an optional description of the licensing terms
26
 *         (examples: duration of license, number of connection
27
 *         restrictions). It is used by the license element.
28
 *         
29
 *         @since Java EE 6, Connector 1.6
30
 *       
31
 * <!-- end-model-doc -->
32
 *
33
 * <p>
34
 * The following features are supported:
35
 * <ul>
36
 *   <li>{@link org.eclipse.jst.javaee.jca.License#getDescription <em>Description</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.jca.License#isLicenseRequired <em>License Required</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.License#getId <em>Id</em>}</li>
39
 * </ul>
40
 * </p>
41
 *
42
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getLicense()
43
 * @extends JavaEEObject
44
 * @generated
45
 */
46
public interface License extends JavaEEObject {
47
	/**
48
	 * Returns the value of the '<em><b>Description</b></em>' containment reference list.
49
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
50
	 * <!-- begin-user-doc -->
51
	 * <p>
52
	 * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
53
	 * there really should be more of a description here...
54
	 * </p>
55
	 * <!-- end-user-doc -->
56
	 * @return the value of the '<em>Description</em>' containment reference list.
57
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getLicense_Description()
58
	 * @generated
59
	 */
60
	List<Description> getDescription();
61
62
	/**
63
	 * Returns the value of the '<em><b>License Required</b></em>' attribute.
64
	 * <!-- begin-user-doc -->
65
	 * <!-- end-user-doc -->
66
	 * <!-- begin-model-doc -->
67
	 * 
68
	 * 
69
	 *             The element license-required specifies whether a
70
	 *             license is required to deploy and use the
71
	 *             resource adapter. This element must be one of
72
	 *             the following, "true" or "false".
73
	 *             
74
	 *             @since Java EE 6, Connector 1.6
75
	 *           
76
	 * <!-- end-model-doc -->
77
	 * @return the value of the '<em>License Required</em>' attribute.
78
	 * @see #isSetLicenseRequired()
79
	 * @see #unsetLicenseRequired()
80
	 * @see #setLicenseRequired(boolean)
81
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getLicense_LicenseRequired()
82
	 * @generated
83
	 */
84
	boolean isLicenseRequired();
85
86
	/**
87
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.License#isLicenseRequired <em>License Required</em>}' attribute.
88
	 * <!-- begin-user-doc -->
89
	 * <!-- end-user-doc -->
90
	 * @param value the new value of the '<em>License Required</em>' attribute.
91
	 * @see #isSetLicenseRequired()
92
	 * @see #unsetLicenseRequired()
93
	 * @see #isLicenseRequired()
94
	 * @generated
95
	 */
96
	void setLicenseRequired(boolean value);
97
98
	/**
99
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.License#isLicenseRequired <em>License Required</em>}' attribute.
100
	 * <!-- begin-user-doc -->
101
	 * <!-- end-user-doc -->
102
	 * @see #isSetLicenseRequired()
103
	 * @see #isLicenseRequired()
104
	 * @see #setLicenseRequired(boolean)
105
	 * @generated
106
	 */
107
	void unsetLicenseRequired();
108
109
	/**
110
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.License#isLicenseRequired <em>License Required</em>}' attribute is set.
111
	 * <!-- begin-user-doc -->
112
	 * <!-- end-user-doc -->
113
	 * @return whether the value of the '<em>License Required</em>' attribute is set.
114
	 * @see #unsetLicenseRequired()
115
	 * @see #isLicenseRequired()
116
	 * @see #setLicenseRequired(boolean)
117
	 * @generated
118
	 */
119
	boolean isSetLicenseRequired();
120
121
	/**
122
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
123
	 * <!-- begin-user-doc -->
124
	 * <p>
125
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
126
	 * there really should be more of a description here...
127
	 * </p>
128
	 * <!-- end-user-doc -->
129
	 * @return the value of the '<em>Id</em>' attribute.
130
	 * @see #setId(String)
131
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getLicense_Id()
132
	 * @generated
133
	 */
134
	String getId();
135
136
	/**
137
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.License#getId <em>Id</em>}' attribute.
138
	 * <!-- begin-user-doc -->
139
	 * <!-- end-user-doc -->
140
	 * @param value the new value of the '<em>Id</em>' attribute.
141
	 * @see #getId()
142
	 * @generated
143
	 */
144
	void setId(String value);
145
146
} // License
(-)jee-models/org/eclipse/jst/javaee/jca/AuthenticationMechanism.java (+191 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.Description;
12
import org.eclipse.jst.javaee.core.JavaEEObject;
13
14
/**
15
 * <!-- begin-user-doc -->
16
 * A representation of the model object '<em><b>Authentication Mechanism</b></em>'.
17
 * <!-- end-user-doc -->
18
 *
19
 * <!-- begin-model-doc -->
20
 * 
21
 * 
22
 *         The authentication-mechanismType specifies an authentication
23
 *         mechanism supported by the resource adapter. Note that this
24
 *         support is for the resource adapter and not for the
25
 *         underlying EIS instance. The optional description specifies
26
 *         any resource adapter specific requirement for the support of
27
 *         security contract and authentication mechanism.
28
 *         
29
 *         Note that BasicPassword mechanism type should support the
30
 *         javax.resource.spi.security.PasswordCredential interface.
31
 *         The Kerbv5 mechanism type should support the
32
 *         org.ietf.jgss.GSSCredential interface or the deprecated
33
 *         javax.resource.spi.security.GenericCredential interface.
34
 *         
35
 *         @since Java EE 6, Connector 1.6
36
 *       
37
 * <!-- end-model-doc -->
38
 *
39
 * <p>
40
 * The following features are supported:
41
 * <ul>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getDescription <em>Description</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getAuthenticationMechanismType <em>Authentication Mechanism Type</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getCredentialInterface <em>Credential Interface</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getId <em>Id</em>}</li>
46
 * </ul>
47
 * </p>
48
 *
49
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAuthenticationMechanism()
50
 * @extends JavaEEObject
51
 * @generated
52
 */
53
public interface AuthenticationMechanism extends JavaEEObject {
54
	/**
55
	 * Returns the value of the '<em><b>Description</b></em>' containment reference list.
56
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
57
	 * <!-- begin-user-doc -->
58
	 * <p>
59
	 * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
60
	 * there really should be more of a description here...
61
	 * </p>
62
	 * <!-- end-user-doc -->
63
	 * @return the value of the '<em>Description</em>' containment reference list.
64
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAuthenticationMechanism_Description()
65
	 * @generated
66
	 */
67
	List<Description> getDescription();
68
69
	/**
70
	 * Returns the value of the '<em><b>Authentication Mechanism Type</b></em>' attribute.
71
	 * <!-- begin-user-doc -->
72
	 * <!-- end-user-doc -->
73
	 * <!-- begin-model-doc -->
74
	 * 
75
	 * <![CDATA[[
76
	 *             The element authentication-mechanism-type specifies
77
	 *             type of an authentication mechanism.
78
	 *             
79
	 *             The example values are:
80
	 *             
81
	 *             <authentication-mechanism-type>BasicPassword
82
	 *             </authentication-mechanism-type>
83
	 *             
84
	 *             <authentication-mechanism-type>Kerbv5
85
	 *             </authentication-mechanism-type>
86
	 *             
87
	 *             Any additional security mechanisms are outside the
88
	 *             scope of the Connector architecture specification.
89
	 *             
90
	 * ]]>
91
	 * 			@since Java EE 6, Connector 1.6
92
	 *           
93
	 * <!-- end-model-doc -->
94
	 * @return the value of the '<em>Authentication Mechanism Type</em>' attribute.
95
	 * @see #setAuthenticationMechanismType(String)
96
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAuthenticationMechanism_AuthenticationMechanismType()
97
	 * @generated
98
	 */
99
	String getAuthenticationMechanismType();
100
101
	/**
102
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getAuthenticationMechanismType <em>Authentication Mechanism Type</em>}' attribute.
103
	 * <!-- begin-user-doc -->
104
	 * <!-- end-user-doc -->
105
	 * @param value the new value of the '<em>Authentication Mechanism Type</em>' attribute.
106
	 * @see #getAuthenticationMechanismType()
107
	 * @generated
108
	 */
109
	void setAuthenticationMechanismType(String value);
110
111
	/**
112
	 * Returns the value of the '<em><b>Credential Interface</b></em>' attribute.
113
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.jca.CredentialInterfaceType}.
114
	 * <!-- begin-user-doc -->
115
	 * <p>
116
	 * If the meaning of the '<em>Credential Interface</em>' attribute isn't clear,
117
	 * there really should be more of a description here...
118
	 * </p>
119
	 * <!-- end-user-doc -->
120
	 * @return the value of the '<em>Credential Interface</em>' attribute.
121
	 * @see org.eclipse.jst.javaee.jca.CredentialInterfaceType
122
	 * @see #isSetCredentialInterface()
123
	 * @see #unsetCredentialInterface()
124
	 * @see #setCredentialInterface(CredentialInterfaceType)
125
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAuthenticationMechanism_CredentialInterface()
126
	 * @generated
127
	 */
128
	CredentialInterfaceType getCredentialInterface();
129
130
	/**
131
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getCredentialInterface <em>Credential Interface</em>}' attribute.
132
	 * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
134
	 * @param value the new value of the '<em>Credential Interface</em>' attribute.
135
	 * @see org.eclipse.jst.javaee.jca.CredentialInterfaceType
136
	 * @see #isSetCredentialInterface()
137
	 * @see #unsetCredentialInterface()
138
	 * @see #getCredentialInterface()
139
	 * @generated
140
	 */
141
	void setCredentialInterface(CredentialInterfaceType value);
142
143
	/**
144
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getCredentialInterface <em>Credential Interface</em>}' attribute.
145
	 * <!-- begin-user-doc -->
146
	 * <!-- end-user-doc -->
147
	 * @see #isSetCredentialInterface()
148
	 * @see #getCredentialInterface()
149
	 * @see #setCredentialInterface(CredentialInterfaceType)
150
	 * @generated
151
	 */
152
	void unsetCredentialInterface();
153
154
	/**
155
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getCredentialInterface <em>Credential Interface</em>}' attribute is set.
156
	 * <!-- begin-user-doc -->
157
	 * <!-- end-user-doc -->
158
	 * @return whether the value of the '<em>Credential Interface</em>' attribute is set.
159
	 * @see #unsetCredentialInterface()
160
	 * @see #getCredentialInterface()
161
	 * @see #setCredentialInterface(CredentialInterfaceType)
162
	 * @generated
163
	 */
164
	boolean isSetCredentialInterface();
165
166
	/**
167
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
168
	 * <!-- begin-user-doc -->
169
	 * <p>
170
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
171
	 * there really should be more of a description here...
172
	 * </p>
173
	 * <!-- end-user-doc -->
174
	 * @return the value of the '<em>Id</em>' attribute.
175
	 * @see #setId(String)
176
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getAuthenticationMechanism_Id()
177
	 * @generated
178
	 */
179
	String getId();
180
181
	/**
182
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.AuthenticationMechanism#getId <em>Id</em>}' attribute.
183
	 * <!-- begin-user-doc -->
184
	 * <!-- end-user-doc -->
185
	 * @param value the new value of the '<em>Id</em>' attribute.
186
	 * @see #getId()
187
	 * @generated
188
	 */
189
	void setId(String value);
190
191
} // AuthenticationMechanism
(-)jee-models/org/eclipse/jst/javaee/jca/ConnectorDeploymentDescriptor.java (+117 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.Map;
10
11
import org.eclipse.emf.ecore.util.FeatureMap;
12
13
import org.eclipse.jst.javaee.core.JavaEEObject;
14
15
/**
16
 * <!-- begin-user-doc -->
17
 * A representation of the model object '<em><b>Connector Deployment Descriptor</b></em>'.
18
 * <!-- end-user-doc -->
19
 *
20
 * <p>
21
 * The following features are supported:
22
 * <ul>
23
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectorDeploymentDescriptor#getMixed <em>Mixed</em>}</li>
24
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectorDeploymentDescriptor#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
25
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectorDeploymentDescriptor#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
26
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectorDeploymentDescriptor#getConnector <em>Connector</em>}</li>
27
 * </ul>
28
 * </p>
29
 *
30
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectorDeploymentDescriptor()
31
 * @extends JavaEEObject
32
 * @generated
33
 */
34
public interface ConnectorDeploymentDescriptor extends JavaEEObject {
35
	/**
36
	 * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
37
	 * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
38
	 * <!-- begin-user-doc -->
39
	 * <p>
40
	 * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
41
	 * there really should be more of a description here...
42
	 * </p>
43
	 * <!-- end-user-doc -->
44
	 * @return the value of the '<em>Mixed</em>' attribute list.
45
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectorDeploymentDescriptor_Mixed()
46
	 * @generated
47
	 */
48
	FeatureMap getMixed();
49
50
	/**
51
	 * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
52
	 * The key is of type {@link java.lang.String},
53
	 * and the value is of type {@link java.lang.String},
54
	 * <!-- begin-user-doc -->
55
	 * <p>
56
	 * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
57
	 * there really should be more of a description here...
58
	 * </p>
59
	 * <!-- end-user-doc -->
60
	 * @return the value of the '<em>XMLNS Prefix Map</em>' map.
61
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectorDeploymentDescriptor_XMLNSPrefixMap()
62
	 * @generated
63
	 */
64
	Map<String, String> getXMLNSPrefixMap();
65
66
	/**
67
	 * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
68
	 * The key is of type {@link java.lang.String},
69
	 * and the value is of type {@link java.lang.String},
70
	 * <!-- begin-user-doc -->
71
	 * <p>
72
	 * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
73
	 * there really should be more of a description here...
74
	 * </p>
75
	 * <!-- end-user-doc -->
76
	 * @return the value of the '<em>XSI Schema Location</em>' map.
77
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectorDeploymentDescriptor_XSISchemaLocation()
78
	 * @generated
79
	 */
80
	Map<String, String> getXSISchemaLocation();
81
82
	/**
83
	 * Returns the value of the '<em><b>Connector</b></em>' containment reference.
84
	 * <!-- begin-user-doc -->
85
	 * <!-- end-user-doc -->
86
	 * <!-- begin-model-doc -->
87
	 * 
88
	 * 
89
	 *         The connector element is the root element of the deployment
90
	 *         descriptor for the resource adapter. This element includes
91
	 *         general information - vendor name, resource adapter version,
92
	 *         icon - about the resource adapter module. It also includes
93
	 *         information specific to the implementation of the resource
94
	 *         adapter library as specified through the element
95
	 *         resourceadapter.
96
	 *         
97
	 *         @since Java EE 6, Connector 1.6
98
	 *       
99
	 * <!-- end-model-doc -->
100
	 * @return the value of the '<em>Connector</em>' containment reference.
101
	 * @see #setConnector(Connector)
102
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectorDeploymentDescriptor_Connector()
103
	 * @generated
104
	 */
105
	Connector getConnector();
106
107
	/**
108
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConnectorDeploymentDescriptor#getConnector <em>Connector</em>}' containment reference.
109
	 * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
111
	 * @param value the new value of the '<em>Connector</em>' containment reference.
112
	 * @see #getConnector()
113
	 * @generated
114
	 */
115
	void setConnector(Connector value);
116
117
} // ConnectorDeploymentDescriptor
(-)jee-models/org/eclipse/jst/javaee/jca/ActivationSpec.java (+149 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.JavaEEObject;
12
13
/**
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Activation Spec</b></em>'.
16
 * <!-- end-user-doc -->
17
 *
18
 * <!-- begin-model-doc -->
19
 * 
20
 * 
21
 *         The activationspecType specifies an activation
22
 *         specification.  The information includes fully qualified
23
 *         Java class name of an activation specification and a set of
24
 *         required configuration property names.
25
 *         
26
 *         @since Java EE 6, Connector 1.6
27
 *       
28
 * <!-- end-model-doc -->
29
 *
30
 * <p>
31
 * The following features are supported:
32
 * <ul>
33
 *   <li>{@link org.eclipse.jst.javaee.jca.ActivationSpec#getActivationspecClass <em>Activationspec Class</em>}</li>
34
 *   <li>{@link org.eclipse.jst.javaee.jca.ActivationSpec#getRequiredConfigProperty <em>Required Config Property</em>}</li>
35
 *   <li>{@link org.eclipse.jst.javaee.jca.ActivationSpec#getConfigProperty <em>Config Property</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.jca.ActivationSpec#getId <em>Id</em>}</li>
37
 * </ul>
38
 * </p>
39
 *
40
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getActivationSpec()
41
 * @extends JavaEEObject
42
 * @generated
43
 */
44
public interface ActivationSpec extends JavaEEObject {
45
	/**
46
	 * Returns the value of the '<em><b>Activationspec Class</b></em>' attribute.
47
	 * <!-- begin-user-doc -->
48
	 * <!-- end-user-doc -->
49
	 * <!-- begin-model-doc -->
50
	 * 
51
	 * <![CDATA[[
52
	 *             The element activationspec-class specifies the fully
53
	 *             qualified Java class name of the activation
54
	 *             specification class. This class must implement the
55
	 *             javax.resource.spi.ActivationSpec interface. The
56
	 *             implementation of this class is required to be a
57
	 *             JavaBean.
58
	 *             
59
	 *             Example:
60
	 *             	  <activationspec-class>com.wombat.ActivationSpecImpl
61
	 *             	  </activationspec-class>
62
	 *             
63
	 * ]]>
64
	 * 			@since Java EE 6, Connector 1.6
65
	 *           
66
	 * <!-- end-model-doc -->
67
	 * @return the value of the '<em>Activationspec Class</em>' attribute.
68
	 * @see #setActivationspecClass(String)
69
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getActivationSpec_ActivationspecClass()
70
	 * @generated
71
	 */
72
	String getActivationspecClass();
73
74
	/**
75
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ActivationSpec#getActivationspecClass <em>Activationspec Class</em>}' attribute.
76
	 * <!-- begin-user-doc -->
77
	 * <!-- end-user-doc -->
78
	 * @param value the new value of the '<em>Activationspec Class</em>' attribute.
79
	 * @see #getActivationspecClass()
80
	 * @generated
81
	 */
82
	void setActivationspecClass(String value);
83
84
	/**
85
	 * Returns the value of the '<em><b>Required Config Property</b></em>' containment reference list.
86
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.RequiredConfigProperty}.
87
	 * <!-- begin-user-doc -->
88
	 * <!-- end-user-doc -->
89
	 * <!-- begin-model-doc -->
90
	 * 
91
	 * 
92
	 *             The required-config-property element is deprecated since
93
	 *             Connectors 1.6 specification. The resource adapter 
94
	 *             implementation is recommended to use the @NotNull
95
	 *             Bean Validation annotation or its XML validation
96
	 *             descriptor equivalent to indicate that a configuration
97
	 *             property is required to be specified by the deployer.
98
	 *             See the Connectors specification for more information. 
99
	 *             
100
	 *             @since Java EE 6, Connector 1.6
101
	 *           
102
	 * <!-- end-model-doc -->
103
	 * @return the value of the '<em>Required Config Property</em>' containment reference list.
104
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getActivationSpec_RequiredConfigProperty()
105
	 * @generated
106
	 */
107
	List<RequiredConfigProperty> getRequiredConfigProperty();
108
109
	/**
110
	 * Returns the value of the '<em><b>Config Property</b></em>' containment reference list.
111
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.ConfigProperty}.
112
	 * <!-- begin-user-doc -->
113
	 * <p>
114
	 * If the meaning of the '<em>Config Property</em>' containment reference list isn't clear,
115
	 * there really should be more of a description here...
116
	 * </p>
117
	 * <!-- end-user-doc -->
118
	 * @return the value of the '<em>Config Property</em>' containment reference list.
119
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getActivationSpec_ConfigProperty()
120
	 * @generated
121
	 */
122
	List<ConfigProperty> getConfigProperty();
123
124
	/**
125
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
126
	 * <!-- begin-user-doc -->
127
	 * <p>
128
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
129
	 * there really should be more of a description here...
130
	 * </p>
131
	 * <!-- end-user-doc -->
132
	 * @return the value of the '<em>Id</em>' attribute.
133
	 * @see #setId(String)
134
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getActivationSpec_Id()
135
	 * @generated
136
	 */
137
	String getId();
138
139
	/**
140
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ActivationSpec#getId <em>Id</em>}' attribute.
141
	 * <!-- begin-user-doc -->
142
	 * <!-- end-user-doc -->
143
	 * @param value the new value of the '<em>Id</em>' attribute.
144
	 * @see #getId()
145
	 * @generated
146
	 */
147
	void setId(String value);
148
149
} // ActivationSpec
(-)jee-models/org/eclipse/jst/javaee/core/AddressingType.java (+218 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core;
8
9
10
/**
11
 * <!-- begin-user-doc -->
12
 * A representation of the model object '<em><b>Addressing Type</b></em>'.
13
 * <!-- end-user-doc -->
14
 *
15
 * <!-- begin-model-doc -->
16
 * 
17
 * 
18
 *         This specifies the WS-Addressing requirements for a JAX-WS web service.
19
 *         It corresponds to javax.xml.ws.soap.Addressing annotation or its
20
 *         feature javax.xml.ws.soap.AddressingFeature.
21
 *         
22
 *         If the "enabled" element is "true", WS-Addressing is enabled.
23
 *         It means that the endpoint supports WS-Addressing but does not require
24
 *         its use. The default value for "enabled" is "true".
25
 *         
26
 *         If the WS-Addressing is enabled and the "required" element is "true",
27
 *         it means that the endpoint requires WS-Addressing. The default value
28
 *         for "required" is "false".
29
 *         
30
 *         If WS-Addressing is enabled, the "responses" element determines
31
 *         if an endpoint requires the use of only anonymous responses,
32
 *         or only non-anonymous responses, or all. The value of the "responses"
33
 *         element must be one of the following:
34
 *         
35
 *         ANONYMOUS
36
 *         NON_ANONYMOUS
37
 *         ALL
38
 *         
39
 *         The default value for the "responses" is ALL.
40
 *         
41
 *         @since Java EE 6, Web Services Client 1.3
42
 *       
43
 * <!-- end-model-doc -->
44
 *
45
 * <p>
46
 * The following features are supported:
47
 * <ul>
48
 *   <li>{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}</li>
51
 * </ul>
52
 * </p>
53
 *
54
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType()
55
 * @extends JavaEEObject
56
 * @generated
57
 */
58
public interface AddressingType extends JavaEEObject {
59
	/**
60
	 * Returns the value of the '<em><b>Enabled</b></em>' attribute.
61
	 * <!-- begin-user-doc -->
62
	 * <p>
63
	 * If the meaning of the '<em>Enabled</em>' attribute isn't clear,
64
	 * there really should be more of a description here...
65
	 * </p>
66
	 * <!-- end-user-doc -->
67
	 * @return the value of the '<em>Enabled</em>' attribute.
68
	 * @see #isSetEnabled()
69
	 * @see #unsetEnabled()
70
	 * @see #setEnabled(boolean)
71
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType_Enabled()
72
	 * @generated
73
	 */
74
	boolean isEnabled();
75
76
	/**
77
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}' attribute.
78
	 * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
80
	 * @param value the new value of the '<em>Enabled</em>' attribute.
81
	 * @see #isSetEnabled()
82
	 * @see #unsetEnabled()
83
	 * @see #isEnabled()
84
	 * @generated
85
	 */
86
	void setEnabled(boolean value);
87
88
	/**
89
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}' attribute.
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @see #isSetEnabled()
93
	 * @see #isEnabled()
94
	 * @see #setEnabled(boolean)
95
	 * @generated
96
	 */
97
	void unsetEnabled();
98
99
	/**
100
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}' attribute is set.
101
	 * <!-- begin-user-doc -->
102
	 * <!-- end-user-doc -->
103
	 * @return whether the value of the '<em>Enabled</em>' attribute is set.
104
	 * @see #unsetEnabled()
105
	 * @see #isEnabled()
106
	 * @see #setEnabled(boolean)
107
	 * @generated
108
	 */
109
	boolean isSetEnabled();
110
111
	/**
112
	 * Returns the value of the '<em><b>Required</b></em>' attribute.
113
	 * <!-- begin-user-doc -->
114
	 * <p>
115
	 * If the meaning of the '<em>Required</em>' attribute isn't clear,
116
	 * there really should be more of a description here...
117
	 * </p>
118
	 * <!-- end-user-doc -->
119
	 * @return the value of the '<em>Required</em>' attribute.
120
	 * @see #isSetRequired()
121
	 * @see #unsetRequired()
122
	 * @see #setRequired(boolean)
123
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType_Required()
124
	 * @generated
125
	 */
126
	boolean isRequired();
127
128
	/**
129
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}' attribute.
130
	 * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
132
	 * @param value the new value of the '<em>Required</em>' attribute.
133
	 * @see #isSetRequired()
134
	 * @see #unsetRequired()
135
	 * @see #isRequired()
136
	 * @generated
137
	 */
138
	void setRequired(boolean value);
139
140
	/**
141
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}' attribute.
142
	 * <!-- begin-user-doc -->
143
	 * <!-- end-user-doc -->
144
	 * @see #isSetRequired()
145
	 * @see #isRequired()
146
	 * @see #setRequired(boolean)
147
	 * @generated
148
	 */
149
	void unsetRequired();
150
151
	/**
152
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}' attribute is set.
153
	 * <!-- begin-user-doc -->
154
	 * <!-- end-user-doc -->
155
	 * @return whether the value of the '<em>Required</em>' attribute is set.
156
	 * @see #unsetRequired()
157
	 * @see #isRequired()
158
	 * @see #setRequired(boolean)
159
	 * @generated
160
	 */
161
	boolean isSetRequired();
162
163
	/**
164
	 * Returns the value of the '<em><b>Responses</b></em>' attribute.
165
	 * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.AddressingResponsesType}.
166
	 * <!-- begin-user-doc -->
167
	 * <p>
168
	 * If the meaning of the '<em>Responses</em>' attribute isn't clear,
169
	 * there really should be more of a description here...
170
	 * </p>
171
	 * <!-- end-user-doc -->
172
	 * @return the value of the '<em>Responses</em>' attribute.
173
	 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
174
	 * @see #isSetResponses()
175
	 * @see #unsetResponses()
176
	 * @see #setResponses(AddressingResponsesType)
177
	 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType_Responses()
178
	 * @generated
179
	 */
180
	AddressingResponsesType getResponses();
181
182
	/**
183
	 * Sets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}' attribute.
184
	 * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
186
	 * @param value the new value of the '<em>Responses</em>' attribute.
187
	 * @see org.eclipse.jst.javaee.core.AddressingResponsesType
188
	 * @see #isSetResponses()
189
	 * @see #unsetResponses()
190
	 * @see #getResponses()
191
	 * @generated
192
	 */
193
	void setResponses(AddressingResponsesType value);
194
195
	/**
196
	 * Unsets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}' attribute.
197
	 * <!-- begin-user-doc -->
198
	 * <!-- end-user-doc -->
199
	 * @see #isSetResponses()
200
	 * @see #getResponses()
201
	 * @see #setResponses(AddressingResponsesType)
202
	 * @generated
203
	 */
204
	void unsetResponses();
205
206
	/**
207
	 * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}' attribute is set.
208
	 * <!-- begin-user-doc -->
209
	 * <!-- end-user-doc -->
210
	 * @return whether the value of the '<em>Responses</em>' attribute is set.
211
	 * @see #unsetResponses()
212
	 * @see #getResponses()
213
	 * @see #setResponses(AddressingResponsesType)
214
	 * @generated
215
	 */
216
	boolean isSetResponses();
217
218
} // AddressingType
(-)jee-models/org/eclipse/jst/javaee/jca/SecurityPermission.java (+125 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.Description;
12
import org.eclipse.jst.javaee.core.JavaEEObject;
13
14
/**
15
 * <!-- begin-user-doc -->
16
 * A representation of the model object '<em><b>Security Permission</b></em>'.
17
 * <!-- end-user-doc -->
18
 *
19
 * <!-- begin-model-doc -->
20
 * 
21
 * 
22
 *         The security-permissionType specifies a security
23
 *         permission that is required by the resource adapter code.
24
 *         
25
 *         The security permission listed in the deployment descriptor
26
 *         are ones that are different from those required by the
27
 *         default permission set as specified in the connector
28
 *         specification. The optional description can mention specific
29
 *         reason that resource adapter requires a given security
30
 *         permission.
31
 *         
32
 *         @since Java EE 6, Connector 1.6
33
 *       
34
 * <!-- end-model-doc -->
35
 *
36
 * <p>
37
 * The following features are supported:
38
 * <ul>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.SecurityPermission#getDescription <em>Description</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.SecurityPermission#getSecurityPermissionSpec <em>Security Permission Spec</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.SecurityPermission#getId <em>Id</em>}</li>
42
 * </ul>
43
 * </p>
44
 *
45
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getSecurityPermission()
46
 * @extends JavaEEObject
47
 * @generated
48
 */
49
public interface SecurityPermission extends JavaEEObject {
50
	/**
51
	 * Returns the value of the '<em><b>Description</b></em>' containment reference list.
52
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
53
	 * <!-- begin-user-doc -->
54
	 * <p>
55
	 * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
56
	 * there really should be more of a description here...
57
	 * </p>
58
	 * <!-- end-user-doc -->
59
	 * @return the value of the '<em>Description</em>' containment reference list.
60
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getSecurityPermission_Description()
61
	 * @generated
62
	 */
63
	List<Description> getDescription();
64
65
	/**
66
	 * Returns the value of the '<em><b>Security Permission Spec</b></em>' attribute.
67
	 * <!-- begin-user-doc -->
68
	 * <!-- end-user-doc -->
69
	 * <!-- begin-model-doc -->
70
	 * 
71
	 * 
72
	 *             The element security-permission-spec specifies a security
73
	 *             permission based on the Security policy file
74
	 *             syntax. Refer to the following URL for Sun's
75
	 *             implementation of the security permission
76
	 *             specification:
77
	 *             
78
	 *             http://java.sun.com/products/jdk/1.4/docs/guide/security/PolicyFiles.html#FileSyntax
79
	 *             
80
	 *             @since Java EE 6, Connector 1.6
81
	 *           
82
	 * <!-- end-model-doc -->
83
	 * @return the value of the '<em>Security Permission Spec</em>' attribute.
84
	 * @see #setSecurityPermissionSpec(String)
85
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getSecurityPermission_SecurityPermissionSpec()
86
	 * @generated
87
	 */
88
	String getSecurityPermissionSpec();
89
90
	/**
91
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.SecurityPermission#getSecurityPermissionSpec <em>Security Permission Spec</em>}' attribute.
92
	 * <!-- begin-user-doc -->
93
	 * <!-- end-user-doc -->
94
	 * @param value the new value of the '<em>Security Permission Spec</em>' attribute.
95
	 * @see #getSecurityPermissionSpec()
96
	 * @generated
97
	 */
98
	void setSecurityPermissionSpec(String value);
99
100
	/**
101
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
102
	 * <!-- begin-user-doc -->
103
	 * <p>
104
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
105
	 * there really should be more of a description here...
106
	 * </p>
107
	 * <!-- end-user-doc -->
108
	 * @return the value of the '<em>Id</em>' attribute.
109
	 * @see #setId(String)
110
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getSecurityPermission_Id()
111
	 * @generated
112
	 */
113
	String getId();
114
115
	/**
116
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.SecurityPermission#getId <em>Id</em>}' attribute.
117
	 * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
119
	 * @param value the new value of the '<em>Id</em>' attribute.
120
	 * @see #getId()
121
	 * @generated
122
	 */
123
	void setId(String value);
124
125
} // SecurityPermission
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/ConnectionDefinitionImpl.java (+498 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.jca.ConfigProperty;
27
import org.eclipse.jst.javaee.jca.ConnectionDefinition;
28
29
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
30
31
/**
32
 * <!-- begin-user-doc -->
33
 * An implementation of the model object '<em><b>Connection Definition</b></em>'.
34
 * <!-- end-user-doc -->
35
 * <p>
36
 * The following features are implemented:
37
 * <ul>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectionDefinitionImpl#getManagedconnectionfactoryClass <em>Managedconnectionfactory Class</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectionDefinitionImpl#getConfigProperty <em>Config Property</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectionDefinitionImpl#getConnectionfactoryInterface <em>Connectionfactory Interface</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectionDefinitionImpl#getConnectionfactoryImplClass <em>Connectionfactory Impl Class</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectionDefinitionImpl#getConnectionInterface <em>Connection Interface</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectionDefinitionImpl#getConnectionImplClass <em>Connection Impl Class</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectionDefinitionImpl#getId <em>Id</em>}</li>
45
 * </ul>
46
 * </p>
47
 *
48
 * @generated
49
 */
50
public class ConnectionDefinitionImpl extends EObjectImpl implements ConnectionDefinition {
51
	/**
52
	 * The default value of the '{@link #getManagedconnectionfactoryClass() <em>Managedconnectionfactory Class</em>}' attribute.
53
	 * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
55
	 * @see #getManagedconnectionfactoryClass()
56
	 * @generated
57
	 * @ordered
58
	 */
59
	protected static final String MANAGEDCONNECTIONFACTORY_CLASS_EDEFAULT = null;
60
61
	/**
62
	 * The cached value of the '{@link #getManagedconnectionfactoryClass() <em>Managedconnectionfactory Class</em>}' attribute.
63
	 * <!-- begin-user-doc -->
64
	 * <!-- end-user-doc -->
65
	 * @see #getManagedconnectionfactoryClass()
66
	 * @generated
67
	 * @ordered
68
	 */
69
	protected String managedconnectionfactoryClass = MANAGEDCONNECTIONFACTORY_CLASS_EDEFAULT;
70
71
	/**
72
	 * The cached value of the '{@link #getConfigProperty() <em>Config Property</em>}' containment reference list.
73
	 * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
75
	 * @see #getConfigProperty()
76
	 * @generated
77
	 * @ordered
78
	 */
79
	protected EList<ConfigProperty> configProperty;
80
81
	/**
82
	 * The default value of the '{@link #getConnectionfactoryInterface() <em>Connectionfactory Interface</em>}' attribute.
83
	 * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
85
	 * @see #getConnectionfactoryInterface()
86
	 * @generated
87
	 * @ordered
88
	 */
89
	protected static final String CONNECTIONFACTORY_INTERFACE_EDEFAULT = null;
90
91
	/**
92
	 * The cached value of the '{@link #getConnectionfactoryInterface() <em>Connectionfactory Interface</em>}' attribute.
93
	 * <!-- begin-user-doc -->
94
	 * <!-- end-user-doc -->
95
	 * @see #getConnectionfactoryInterface()
96
	 * @generated
97
	 * @ordered
98
	 */
99
	protected String connectionfactoryInterface = CONNECTIONFACTORY_INTERFACE_EDEFAULT;
100
101
	/**
102
	 * The default value of the '{@link #getConnectionfactoryImplClass() <em>Connectionfactory Impl Class</em>}' attribute.
103
	 * <!-- begin-user-doc -->
104
	 * <!-- end-user-doc -->
105
	 * @see #getConnectionfactoryImplClass()
106
	 * @generated
107
	 * @ordered
108
	 */
109
	protected static final String CONNECTIONFACTORY_IMPL_CLASS_EDEFAULT = null;
110
111
	/**
112
	 * The cached value of the '{@link #getConnectionfactoryImplClass() <em>Connectionfactory Impl Class</em>}' attribute.
113
	 * <!-- begin-user-doc -->
114
	 * <!-- end-user-doc -->
115
	 * @see #getConnectionfactoryImplClass()
116
	 * @generated
117
	 * @ordered
118
	 */
119
	protected String connectionfactoryImplClass = CONNECTIONFACTORY_IMPL_CLASS_EDEFAULT;
120
121
	/**
122
	 * The default value of the '{@link #getConnectionInterface() <em>Connection Interface</em>}' attribute.
123
	 * <!-- begin-user-doc -->
124
	 * <!-- end-user-doc -->
125
	 * @see #getConnectionInterface()
126
	 * @generated
127
	 * @ordered
128
	 */
129
	protected static final String CONNECTION_INTERFACE_EDEFAULT = null;
130
131
	/**
132
	 * The cached value of the '{@link #getConnectionInterface() <em>Connection Interface</em>}' attribute.
133
	 * <!-- begin-user-doc -->
134
	 * <!-- end-user-doc -->
135
	 * @see #getConnectionInterface()
136
	 * @generated
137
	 * @ordered
138
	 */
139
	protected String connectionInterface = CONNECTION_INTERFACE_EDEFAULT;
140
141
	/**
142
	 * The default value of the '{@link #getConnectionImplClass() <em>Connection Impl Class</em>}' attribute.
143
	 * <!-- begin-user-doc -->
144
	 * <!-- end-user-doc -->
145
	 * @see #getConnectionImplClass()
146
	 * @generated
147
	 * @ordered
148
	 */
149
	protected static final String CONNECTION_IMPL_CLASS_EDEFAULT = null;
150
151
	/**
152
	 * The cached value of the '{@link #getConnectionImplClass() <em>Connection Impl Class</em>}' attribute.
153
	 * <!-- begin-user-doc -->
154
	 * <!-- end-user-doc -->
155
	 * @see #getConnectionImplClass()
156
	 * @generated
157
	 * @ordered
158
	 */
159
	protected String connectionImplClass = CONNECTION_IMPL_CLASS_EDEFAULT;
160
161
	/**
162
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
163
	 * <!-- begin-user-doc -->
164
	 * <!-- end-user-doc -->
165
	 * @see #getId()
166
	 * @generated
167
	 * @ordered
168
	 */
169
	protected static final String ID_EDEFAULT = null;
170
171
	/**
172
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
173
	 * <!-- begin-user-doc -->
174
	 * <!-- end-user-doc -->
175
	 * @see #getId()
176
	 * @generated
177
	 * @ordered
178
	 */
179
	protected String id = ID_EDEFAULT;
180
181
	/**
182
	 * <!-- begin-user-doc -->
183
	 * <!-- end-user-doc -->
184
	 * @generated
185
	 */
186
	protected ConnectionDefinitionImpl() {
187
		super();
188
	}
189
190
	/**
191
	 * <!-- begin-user-doc -->
192
	 * <!-- end-user-doc -->
193
	 * @generated
194
	 */
195
	@Override
196
	protected EClass eStaticClass() {
197
		return JcaPackage.Literals.CONNECTION_DEFINITION;
198
	}
199
200
	/**
201
	 * <!-- begin-user-doc -->
202
	 * <!-- end-user-doc -->
203
	 * @generated
204
	 */
205
	public String getManagedconnectionfactoryClass() {
206
		return managedconnectionfactoryClass;
207
	}
208
209
	/**
210
	 * <!-- begin-user-doc -->
211
	 * <!-- end-user-doc -->
212
	 * @generated
213
	 */
214
	public void setManagedconnectionfactoryClass(String newManagedconnectionfactoryClass) {
215
		String oldManagedconnectionfactoryClass = managedconnectionfactoryClass;
216
		managedconnectionfactoryClass = newManagedconnectionfactoryClass;
217
		if (eNotificationRequired())
218
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTION_DEFINITION__MANAGEDCONNECTIONFACTORY_CLASS, oldManagedconnectionfactoryClass, managedconnectionfactoryClass));
219
	}
220
221
	/**
222
	 * <!-- begin-user-doc -->
223
	 * <!-- end-user-doc -->
224
	 * @generated
225
	 */
226
	public List<ConfigProperty> getConfigProperty() {
227
		if (configProperty == null) {
228
			configProperty = new EObjectContainmentEList<ConfigProperty>(ConfigProperty.class, this, JcaPackage.CONNECTION_DEFINITION__CONFIG_PROPERTY);
229
		}
230
		return configProperty;
231
	}
232
233
	/**
234
	 * <!-- begin-user-doc -->
235
	 * <!-- end-user-doc -->
236
	 * @generated
237
	 */
238
	public String getConnectionfactoryInterface() {
239
		return connectionfactoryInterface;
240
	}
241
242
	/**
243
	 * <!-- begin-user-doc -->
244
	 * <!-- end-user-doc -->
245
	 * @generated
246
	 */
247
	public void setConnectionfactoryInterface(String newConnectionfactoryInterface) {
248
		String oldConnectionfactoryInterface = connectionfactoryInterface;
249
		connectionfactoryInterface = newConnectionfactoryInterface;
250
		if (eNotificationRequired())
251
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_INTERFACE, oldConnectionfactoryInterface, connectionfactoryInterface));
252
	}
253
254
	/**
255
	 * <!-- begin-user-doc -->
256
	 * <!-- end-user-doc -->
257
	 * @generated
258
	 */
259
	public String getConnectionfactoryImplClass() {
260
		return connectionfactoryImplClass;
261
	}
262
263
	/**
264
	 * <!-- begin-user-doc -->
265
	 * <!-- end-user-doc -->
266
	 * @generated
267
	 */
268
	public void setConnectionfactoryImplClass(String newConnectionfactoryImplClass) {
269
		String oldConnectionfactoryImplClass = connectionfactoryImplClass;
270
		connectionfactoryImplClass = newConnectionfactoryImplClass;
271
		if (eNotificationRequired())
272
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_IMPL_CLASS, oldConnectionfactoryImplClass, connectionfactoryImplClass));
273
	}
274
275
	/**
276
	 * <!-- begin-user-doc -->
277
	 * <!-- end-user-doc -->
278
	 * @generated
279
	 */
280
	public String getConnectionInterface() {
281
		return connectionInterface;
282
	}
283
284
	/**
285
	 * <!-- begin-user-doc -->
286
	 * <!-- end-user-doc -->
287
	 * @generated
288
	 */
289
	public void setConnectionInterface(String newConnectionInterface) {
290
		String oldConnectionInterface = connectionInterface;
291
		connectionInterface = newConnectionInterface;
292
		if (eNotificationRequired())
293
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTION_DEFINITION__CONNECTION_INTERFACE, oldConnectionInterface, connectionInterface));
294
	}
295
296
	/**
297
	 * <!-- begin-user-doc -->
298
	 * <!-- end-user-doc -->
299
	 * @generated
300
	 */
301
	public String getConnectionImplClass() {
302
		return connectionImplClass;
303
	}
304
305
	/**
306
	 * <!-- begin-user-doc -->
307
	 * <!-- end-user-doc -->
308
	 * @generated
309
	 */
310
	public void setConnectionImplClass(String newConnectionImplClass) {
311
		String oldConnectionImplClass = connectionImplClass;
312
		connectionImplClass = newConnectionImplClass;
313
		if (eNotificationRequired())
314
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTION_DEFINITION__CONNECTION_IMPL_CLASS, oldConnectionImplClass, connectionImplClass));
315
	}
316
317
	/**
318
	 * <!-- begin-user-doc -->
319
	 * <!-- end-user-doc -->
320
	 * @generated
321
	 */
322
	public String getId() {
323
		return id;
324
	}
325
326
	/**
327
	 * <!-- begin-user-doc -->
328
	 * <!-- end-user-doc -->
329
	 * @generated
330
	 */
331
	public void setId(String newId) {
332
		String oldId = id;
333
		id = newId;
334
		if (eNotificationRequired())
335
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONNECTION_DEFINITION__ID, oldId, id));
336
	}
337
338
	/**
339
	 * <!-- begin-user-doc -->
340
	 * <!-- end-user-doc -->
341
	 * @generated
342
	 */
343
	@Override
344
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
345
		switch (featureID) {
346
			case JcaPackage.CONNECTION_DEFINITION__CONFIG_PROPERTY:
347
				return ((InternalEList<?>)getConfigProperty()).basicRemove(otherEnd, msgs);
348
		}
349
		return super.eInverseRemove(otherEnd, featureID, msgs);
350
	}
351
352
	/**
353
	 * <!-- begin-user-doc -->
354
	 * <!-- end-user-doc -->
355
	 * @generated
356
	 */
357
	@Override
358
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
359
		switch (featureID) {
360
			case JcaPackage.CONNECTION_DEFINITION__MANAGEDCONNECTIONFACTORY_CLASS:
361
				return getManagedconnectionfactoryClass();
362
			case JcaPackage.CONNECTION_DEFINITION__CONFIG_PROPERTY:
363
				return getConfigProperty();
364
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_INTERFACE:
365
				return getConnectionfactoryInterface();
366
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_IMPL_CLASS:
367
				return getConnectionfactoryImplClass();
368
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_INTERFACE:
369
				return getConnectionInterface();
370
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_IMPL_CLASS:
371
				return getConnectionImplClass();
372
			case JcaPackage.CONNECTION_DEFINITION__ID:
373
				return getId();
374
		}
375
		return super.eGet(featureID, resolve, coreType);
376
	}
377
378
	/**
379
	 * <!-- begin-user-doc -->
380
	 * <!-- end-user-doc -->
381
	 * @generated
382
	 */
383
	@SuppressWarnings("unchecked")
384
	@Override
385
	public void eSet(int featureID, Object newValue) {
386
		switch (featureID) {
387
			case JcaPackage.CONNECTION_DEFINITION__MANAGEDCONNECTIONFACTORY_CLASS:
388
				setManagedconnectionfactoryClass((String)newValue);
389
				return;
390
			case JcaPackage.CONNECTION_DEFINITION__CONFIG_PROPERTY:
391
				getConfigProperty().clear();
392
				getConfigProperty().addAll((Collection<? extends ConfigProperty>)newValue);
393
				return;
394
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_INTERFACE:
395
				setConnectionfactoryInterface((String)newValue);
396
				return;
397
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_IMPL_CLASS:
398
				setConnectionfactoryImplClass((String)newValue);
399
				return;
400
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_INTERFACE:
401
				setConnectionInterface((String)newValue);
402
				return;
403
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_IMPL_CLASS:
404
				setConnectionImplClass((String)newValue);
405
				return;
406
			case JcaPackage.CONNECTION_DEFINITION__ID:
407
				setId((String)newValue);
408
				return;
409
		}
410
		super.eSet(featureID, newValue);
411
	}
412
413
	/**
414
	 * <!-- begin-user-doc -->
415
	 * <!-- end-user-doc -->
416
	 * @generated
417
	 */
418
	@Override
419
	public void eUnset(int featureID) {
420
		switch (featureID) {
421
			case JcaPackage.CONNECTION_DEFINITION__MANAGEDCONNECTIONFACTORY_CLASS:
422
				setManagedconnectionfactoryClass(MANAGEDCONNECTIONFACTORY_CLASS_EDEFAULT);
423
				return;
424
			case JcaPackage.CONNECTION_DEFINITION__CONFIG_PROPERTY:
425
				getConfigProperty().clear();
426
				return;
427
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_INTERFACE:
428
				setConnectionfactoryInterface(CONNECTIONFACTORY_INTERFACE_EDEFAULT);
429
				return;
430
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_IMPL_CLASS:
431
				setConnectionfactoryImplClass(CONNECTIONFACTORY_IMPL_CLASS_EDEFAULT);
432
				return;
433
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_INTERFACE:
434
				setConnectionInterface(CONNECTION_INTERFACE_EDEFAULT);
435
				return;
436
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_IMPL_CLASS:
437
				setConnectionImplClass(CONNECTION_IMPL_CLASS_EDEFAULT);
438
				return;
439
			case JcaPackage.CONNECTION_DEFINITION__ID:
440
				setId(ID_EDEFAULT);
441
				return;
442
		}
443
		super.eUnset(featureID);
444
	}
445
446
	/**
447
	 * <!-- begin-user-doc -->
448
	 * <!-- end-user-doc -->
449
	 * @generated
450
	 */
451
	@Override
452
	public boolean eIsSet(int featureID) {
453
		switch (featureID) {
454
			case JcaPackage.CONNECTION_DEFINITION__MANAGEDCONNECTIONFACTORY_CLASS:
455
				return MANAGEDCONNECTIONFACTORY_CLASS_EDEFAULT == null ? managedconnectionfactoryClass != null : !MANAGEDCONNECTIONFACTORY_CLASS_EDEFAULT.equals(managedconnectionfactoryClass);
456
			case JcaPackage.CONNECTION_DEFINITION__CONFIG_PROPERTY:
457
				return configProperty != null && !configProperty.isEmpty();
458
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_INTERFACE:
459
				return CONNECTIONFACTORY_INTERFACE_EDEFAULT == null ? connectionfactoryInterface != null : !CONNECTIONFACTORY_INTERFACE_EDEFAULT.equals(connectionfactoryInterface);
460
			case JcaPackage.CONNECTION_DEFINITION__CONNECTIONFACTORY_IMPL_CLASS:
461
				return CONNECTIONFACTORY_IMPL_CLASS_EDEFAULT == null ? connectionfactoryImplClass != null : !CONNECTIONFACTORY_IMPL_CLASS_EDEFAULT.equals(connectionfactoryImplClass);
462
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_INTERFACE:
463
				return CONNECTION_INTERFACE_EDEFAULT == null ? connectionInterface != null : !CONNECTION_INTERFACE_EDEFAULT.equals(connectionInterface);
464
			case JcaPackage.CONNECTION_DEFINITION__CONNECTION_IMPL_CLASS:
465
				return CONNECTION_IMPL_CLASS_EDEFAULT == null ? connectionImplClass != null : !CONNECTION_IMPL_CLASS_EDEFAULT.equals(connectionImplClass);
466
			case JcaPackage.CONNECTION_DEFINITION__ID:
467
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
468
		}
469
		return super.eIsSet(featureID);
470
	}
471
472
	/**
473
	 * <!-- begin-user-doc -->
474
	 * <!-- end-user-doc -->
475
	 * @generated
476
	 */
477
	@Override
478
	public String toString() {
479
		if (eIsProxy()) return super.toString();
480
481
		StringBuffer result = new StringBuffer(super.toString());
482
		result.append(" (managedconnectionfactoryClass: "); //$NON-NLS-1$
483
		result.append(managedconnectionfactoryClass);
484
		result.append(", connectionfactoryInterface: "); //$NON-NLS-1$
485
		result.append(connectionfactoryInterface);
486
		result.append(", connectionfactoryImplClass: "); //$NON-NLS-1$
487
		result.append(connectionfactoryImplClass);
488
		result.append(", connectionInterface: "); //$NON-NLS-1$
489
		result.append(connectionInterface);
490
		result.append(", connectionImplClass: "); //$NON-NLS-1$
491
		result.append(connectionImplClass);
492
		result.append(", id: "); //$NON-NLS-1$
493
		result.append(id);
494
		result.append(')');
495
		return result.toString();
496
	}
497
498
} //ConnectionDefinitionImpl
(-)jee-models/org/eclipse/jst/javaee/jca/TransactionSupportType.java (+251 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.Arrays;
10
import java.util.Collections;
11
import java.util.List;
12
13
import org.eclipse.emf.common.util.Enumerator;
14
15
/**
16
 * <!-- begin-user-doc -->
17
 * A representation of the literals of the enumeration '<em><b>Transaction Support Type</b></em>',
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
22
 * 
23
 *         The transaction-supportType specifies the level of
24
 *         transaction support provided by the resource adapter. It is
25
 *         used by transaction-support elements.
26
 *         
27
 *         The value must be one of the following:
28
 *         
29
 *         NoTransaction
30
 *         LocalTransaction
31
 *         XATransaction
32
 *         
33
 *         @since Java EE 6, Connector 1.6
34
 *       
35
 * <!-- end-model-doc -->
36
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getTransactionSupportType()
37
 * @generated
38
 */
39
public enum TransactionSupportType implements Enumerator {
40
	/**
41
	 * The '<em><b>No Transaction</b></em>' literal object.
42
	 * <!-- begin-user-doc -->
43
	 * <!-- end-user-doc -->
44
	 * @see #NO_TRANSACTION_VALUE
45
	 * @generated
46
	 * @ordered
47
	 */
48
	NO_TRANSACTION(0, "NoTransaction", "NoTransaction"), //$NON-NLS-1$ //$NON-NLS-2$
49
50
	/**
51
	 * The '<em><b>Local Transaction</b></em>' literal object.
52
	 * <!-- begin-user-doc -->
53
	 * <!-- end-user-doc -->
54
	 * @see #LOCAL_TRANSACTION_VALUE
55
	 * @generated
56
	 * @ordered
57
	 */
58
	LOCAL_TRANSACTION(1, "LocalTransaction", "LocalTransaction"), //$NON-NLS-1$ //$NON-NLS-2$
59
60
	/**
61
	 * The '<em><b>XA Transaction</b></em>' literal object.
62
	 * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
64
	 * @see #XA_TRANSACTION_VALUE
65
	 * @generated
66
	 * @ordered
67
	 */
68
	XA_TRANSACTION(2, "XATransaction", "XATransaction"); //$NON-NLS-1$ //$NON-NLS-2$
69
70
	/**
71
	 * The '<em><b>No Transaction</b></em>' literal value.
72
	 * <!-- begin-user-doc -->
73
	 * <p>
74
	 * If the meaning of '<em><b>No Transaction</b></em>' literal object isn't clear,
75
	 * there really should be more of a description here...
76
	 * </p>
77
	 * <!-- end-user-doc -->
78
	 * @see #NO_TRANSACTION
79
	 * @generated
80
	 * @ordered
81
	 */
82
	public static final int NO_TRANSACTION_VALUE = 0;
83
84
	/**
85
	 * The '<em><b>Local Transaction</b></em>' literal value.
86
	 * <!-- begin-user-doc -->
87
	 * <p>
88
	 * If the meaning of '<em><b>Local Transaction</b></em>' literal object isn't clear,
89
	 * there really should be more of a description here...
90
	 * </p>
91
	 * <!-- end-user-doc -->
92
	 * @see #LOCAL_TRANSACTION
93
	 * @generated
94
	 * @ordered
95
	 */
96
	public static final int LOCAL_TRANSACTION_VALUE = 1;
97
98
	/**
99
	 * The '<em><b>XA Transaction</b></em>' literal value.
100
	 * <!-- begin-user-doc -->
101
	 * <p>
102
	 * If the meaning of '<em><b>XA Transaction</b></em>' literal object isn't clear,
103
	 * there really should be more of a description here...
104
	 * </p>
105
	 * <!-- end-user-doc -->
106
	 * @see #XA_TRANSACTION
107
	 * @generated
108
	 * @ordered
109
	 */
110
	public static final int XA_TRANSACTION_VALUE = 2;
111
112
	/**
113
	 * An array of all the '<em><b>Transaction Support Type</b></em>' enumerators.
114
	 * <!-- begin-user-doc -->
115
	 * <!-- end-user-doc -->
116
	 * @generated
117
	 */
118
	private static final TransactionSupportType[] VALUES_ARRAY =
119
		new TransactionSupportType[] {
120
			NO_TRANSACTION,
121
			LOCAL_TRANSACTION,
122
			XA_TRANSACTION,
123
		};
124
125
	/**
126
	 * A public read-only list of all the '<em><b>Transaction Support Type</b></em>' enumerators.
127
	 * <!-- begin-user-doc -->
128
	 * <!-- end-user-doc -->
129
	 * @generated
130
	 */
131
	public static final List<TransactionSupportType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
132
133
	/**
134
	 * Returns the '<em><b>Transaction Support Type</b></em>' literal with the specified literal value.
135
	 * <!-- begin-user-doc -->
136
	 * <!-- end-user-doc -->
137
	 * @generated
138
	 */
139
	public static TransactionSupportType get(String literal) {
140
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
141
			TransactionSupportType result = VALUES_ARRAY[i];
142
			if (result.toString().equals(literal)) {
143
				return result;
144
			}
145
		}
146
		return null;
147
	}
148
149
	/**
150
	 * Returns the '<em><b>Transaction Support Type</b></em>' literal with the specified name.
151
	 * <!-- begin-user-doc -->
152
	 * <!-- end-user-doc -->
153
	 * @generated
154
	 */
155
	public static TransactionSupportType getByName(String name) {
156
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
157
			TransactionSupportType result = VALUES_ARRAY[i];
158
			if (result.getName().equals(name)) {
159
				return result;
160
			}
161
		}
162
		return null;
163
	}
164
165
	/**
166
	 * Returns the '<em><b>Transaction Support Type</b></em>' literal with the specified integer value.
167
	 * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
169
	 * @generated
170
	 */
171
	public static TransactionSupportType get(int value) {
172
		switch (value) {
173
			case NO_TRANSACTION_VALUE: return NO_TRANSACTION;
174
			case LOCAL_TRANSACTION_VALUE: return LOCAL_TRANSACTION;
175
			case XA_TRANSACTION_VALUE: return XA_TRANSACTION;
176
		}
177
		return null;
178
	}
179
180
	/**
181
	 * <!-- begin-user-doc -->
182
	 * <!-- end-user-doc -->
183
	 * @generated
184
	 */
185
	private final int value;
186
187
	/**
188
	 * <!-- begin-user-doc -->
189
	 * <!-- end-user-doc -->
190
	 * @generated
191
	 */
192
	private final String name;
193
194
	/**
195
	 * <!-- begin-user-doc -->
196
	 * <!-- end-user-doc -->
197
	 * @generated
198
	 */
199
	private final String literal;
200
201
	/**
202
	 * Only this class can construct instances.
203
	 * <!-- begin-user-doc -->
204
	 * <!-- end-user-doc -->
205
	 * @generated
206
	 */
207
	private TransactionSupportType(int value, String name, String literal) {
208
		this.value = value;
209
		this.name = name;
210
		this.literal = literal;
211
	}
212
213
	/**
214
	 * <!-- begin-user-doc -->
215
	 * <!-- end-user-doc -->
216
	 * @generated
217
	 */
218
	public int getValue() {
219
	  return value;
220
	}
221
222
	/**
223
	 * <!-- begin-user-doc -->
224
	 * <!-- end-user-doc -->
225
	 * @generated
226
	 */
227
	public String getName() {
228
	  return name;
229
	}
230
231
	/**
232
	 * <!-- begin-user-doc -->
233
	 * <!-- end-user-doc -->
234
	 * @generated
235
	 */
236
	public String getLiteral() {
237
	  return literal;
238
	}
239
240
	/**
241
	 * Returns the literal value of the enumerator, which is its string representation.
242
	 * <!-- begin-user-doc -->
243
	 * <!-- end-user-doc -->
244
	 * @generated
245
	 */
246
	@Override
247
	public String toString() {
248
		return literal;
249
	}
250
	
251
} //TransactionSupportType
(-)jee-models/org/eclipse/jst/javaee/jca/ConfigPropertyTypeType.java (+411 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.Arrays;
10
import java.util.Collections;
11
import java.util.List;
12
13
import org.eclipse.emf.common.util.Enumerator;
14
15
/**
16
 * <!-- begin-user-doc -->
17
 * A representation of the literals of the enumeration '<em><b>Config Property Type Type</b></em>',
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
22
 * <![CDATA[[
23
 *         The config-property-typeType contains the fully
24
 *         qualified Java type of a configuration property.
25
 *         
26
 *         The following are the legal values:
27
 *         java.lang.Boolean, java.lang.String, java.lang.Integer,
28
 *         java.lang.Double, java.lang.Byte, java.lang.Short,
29
 *         java.lang.Long, java.lang.Float, java.lang.Character
30
 *         
31
 *         Used in: config-property
32
 *         
33
 *         Example:
34
 *         <config-property-type>java.lang.String</config-property-type>
35
 *         
36
 * ]]>
37
 * 		@since Java EE 6, Connector 1.6
38
 *       
39
 * <!-- end-model-doc -->
40
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConfigPropertyTypeType()
41
 * @generated
42
 */
43
public enum ConfigPropertyTypeType implements Enumerator {
44
	/**
45
	 * The '<em><b>Java Lang Boolean</b></em>' literal object.
46
	 * <!-- begin-user-doc -->
47
	 * <!-- end-user-doc -->
48
	 * @see #JAVA_LANG_BOOLEAN_VALUE
49
	 * @generated
50
	 * @ordered
51
	 */
52
	JAVA_LANG_BOOLEAN(0, "javaLangBoolean", "java.lang.Boolean"), //$NON-NLS-1$ //$NON-NLS-2$
53
54
	/**
55
	 * The '<em><b>Java Lang String</b></em>' literal object.
56
	 * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
58
	 * @see #JAVA_LANG_STRING_VALUE
59
	 * @generated
60
	 * @ordered
61
	 */
62
	JAVA_LANG_STRING(1, "javaLangString", "java.lang.String"), //$NON-NLS-1$ //$NON-NLS-2$
63
64
	/**
65
	 * The '<em><b>Java Lang Integer</b></em>' literal object.
66
	 * <!-- begin-user-doc -->
67
	 * <!-- end-user-doc -->
68
	 * @see #JAVA_LANG_INTEGER_VALUE
69
	 * @generated
70
	 * @ordered
71
	 */
72
	JAVA_LANG_INTEGER(2, "javaLangInteger", "java.lang.Integer"), //$NON-NLS-1$ //$NON-NLS-2$
73
74
	/**
75
	 * The '<em><b>Java Lang Double</b></em>' literal object.
76
	 * <!-- begin-user-doc -->
77
	 * <!-- end-user-doc -->
78
	 * @see #JAVA_LANG_DOUBLE_VALUE
79
	 * @generated
80
	 * @ordered
81
	 */
82
	JAVA_LANG_DOUBLE(3, "javaLangDouble", "java.lang.Double"), //$NON-NLS-1$ //$NON-NLS-2$
83
84
	/**
85
	 * The '<em><b>Java Lang Byte</b></em>' literal object.
86
	 * <!-- begin-user-doc -->
87
	 * <!-- end-user-doc -->
88
	 * @see #JAVA_LANG_BYTE_VALUE
89
	 * @generated
90
	 * @ordered
91
	 */
92
	JAVA_LANG_BYTE(4, "javaLangByte", "java.lang.Byte"), //$NON-NLS-1$ //$NON-NLS-2$
93
94
	/**
95
	 * The '<em><b>Java Lang Short</b></em>' literal object.
96
	 * <!-- begin-user-doc -->
97
	 * <!-- end-user-doc -->
98
	 * @see #JAVA_LANG_SHORT_VALUE
99
	 * @generated
100
	 * @ordered
101
	 */
102
	JAVA_LANG_SHORT(5, "javaLangShort", "java.lang.Short"), //$NON-NLS-1$ //$NON-NLS-2$
103
104
	/**
105
	 * The '<em><b>Java Lang Long</b></em>' literal object.
106
	 * <!-- begin-user-doc -->
107
	 * <!-- end-user-doc -->
108
	 * @see #JAVA_LANG_LONG_VALUE
109
	 * @generated
110
	 * @ordered
111
	 */
112
	JAVA_LANG_LONG(6, "javaLangLong", "java.lang.Long"), //$NON-NLS-1$ //$NON-NLS-2$
113
114
	/**
115
	 * The '<em><b>Java Lang Float</b></em>' literal object.
116
	 * <!-- begin-user-doc -->
117
	 * <!-- end-user-doc -->
118
	 * @see #JAVA_LANG_FLOAT_VALUE
119
	 * @generated
120
	 * @ordered
121
	 */
122
	JAVA_LANG_FLOAT(7, "javaLangFloat", "java.lang.Float"), //$NON-NLS-1$ //$NON-NLS-2$
123
124
	/**
125
	 * The '<em><b>Java Lang Character</b></em>' literal object.
126
	 * <!-- begin-user-doc -->
127
	 * <!-- end-user-doc -->
128
	 * @see #JAVA_LANG_CHARACTER_VALUE
129
	 * @generated
130
	 * @ordered
131
	 */
132
	JAVA_LANG_CHARACTER(8, "javaLangCharacter", "java.lang.Character"); //$NON-NLS-1$ //$NON-NLS-2$
133
134
	/**
135
	 * The '<em><b>Java Lang Boolean</b></em>' literal value.
136
	 * <!-- begin-user-doc -->
137
	 * <p>
138
	 * If the meaning of '<em><b>Java Lang Boolean</b></em>' literal object isn't clear,
139
	 * there really should be more of a description here...
140
	 * </p>
141
	 * <!-- end-user-doc -->
142
	 * @see #JAVA_LANG_BOOLEAN
143
	 * @generated
144
	 * @ordered
145
	 */
146
	public static final int JAVA_LANG_BOOLEAN_VALUE = 0;
147
148
	/**
149
	 * The '<em><b>Java Lang String</b></em>' literal value.
150
	 * <!-- begin-user-doc -->
151
	 * <p>
152
	 * If the meaning of '<em><b>Java Lang String</b></em>' literal object isn't clear,
153
	 * there really should be more of a description here...
154
	 * </p>
155
	 * <!-- end-user-doc -->
156
	 * @see #JAVA_LANG_STRING
157
	 * @generated
158
	 * @ordered
159
	 */
160
	public static final int JAVA_LANG_STRING_VALUE = 1;
161
162
	/**
163
	 * The '<em><b>Java Lang Integer</b></em>' literal value.
164
	 * <!-- begin-user-doc -->
165
	 * <p>
166
	 * If the meaning of '<em><b>Java Lang Integer</b></em>' literal object isn't clear,
167
	 * there really should be more of a description here...
168
	 * </p>
169
	 * <!-- end-user-doc -->
170
	 * @see #JAVA_LANG_INTEGER
171
	 * @generated
172
	 * @ordered
173
	 */
174
	public static final int JAVA_LANG_INTEGER_VALUE = 2;
175
176
	/**
177
	 * The '<em><b>Java Lang Double</b></em>' literal value.
178
	 * <!-- begin-user-doc -->
179
	 * <p>
180
	 * If the meaning of '<em><b>Java Lang Double</b></em>' literal object isn't clear,
181
	 * there really should be more of a description here...
182
	 * </p>
183
	 * <!-- end-user-doc -->
184
	 * @see #JAVA_LANG_DOUBLE
185
	 * @generated
186
	 * @ordered
187
	 */
188
	public static final int JAVA_LANG_DOUBLE_VALUE = 3;
189
190
	/**
191
	 * The '<em><b>Java Lang Byte</b></em>' literal value.
192
	 * <!-- begin-user-doc -->
193
	 * <p>
194
	 * If the meaning of '<em><b>Java Lang Byte</b></em>' literal object isn't clear,
195
	 * there really should be more of a description here...
196
	 * </p>
197
	 * <!-- end-user-doc -->
198
	 * @see #JAVA_LANG_BYTE
199
	 * @generated
200
	 * @ordered
201
	 */
202
	public static final int JAVA_LANG_BYTE_VALUE = 4;
203
204
	/**
205
	 * The '<em><b>Java Lang Short</b></em>' literal value.
206
	 * <!-- begin-user-doc -->
207
	 * <p>
208
	 * If the meaning of '<em><b>Java Lang Short</b></em>' literal object isn't clear,
209
	 * there really should be more of a description here...
210
	 * </p>
211
	 * <!-- end-user-doc -->
212
	 * @see #JAVA_LANG_SHORT
213
	 * @generated
214
	 * @ordered
215
	 */
216
	public static final int JAVA_LANG_SHORT_VALUE = 5;
217
218
	/**
219
	 * The '<em><b>Java Lang Long</b></em>' literal value.
220
	 * <!-- begin-user-doc -->
221
	 * <p>
222
	 * If the meaning of '<em><b>Java Lang Long</b></em>' literal object isn't clear,
223
	 * there really should be more of a description here...
224
	 * </p>
225
	 * <!-- end-user-doc -->
226
	 * @see #JAVA_LANG_LONG
227
	 * @generated
228
	 * @ordered
229
	 */
230
	public static final int JAVA_LANG_LONG_VALUE = 6;
231
232
	/**
233
	 * The '<em><b>Java Lang Float</b></em>' literal value.
234
	 * <!-- begin-user-doc -->
235
	 * <p>
236
	 * If the meaning of '<em><b>Java Lang Float</b></em>' literal object isn't clear,
237
	 * there really should be more of a description here...
238
	 * </p>
239
	 * <!-- end-user-doc -->
240
	 * @see #JAVA_LANG_FLOAT
241
	 * @generated
242
	 * @ordered
243
	 */
244
	public static final int JAVA_LANG_FLOAT_VALUE = 7;
245
246
	/**
247
	 * The '<em><b>Java Lang Character</b></em>' literal value.
248
	 * <!-- begin-user-doc -->
249
	 * <p>
250
	 * If the meaning of '<em><b>Java Lang Character</b></em>' literal object isn't clear,
251
	 * there really should be more of a description here...
252
	 * </p>
253
	 * <!-- end-user-doc -->
254
	 * @see #JAVA_LANG_CHARACTER
255
	 * @generated
256
	 * @ordered
257
	 */
258
	public static final int JAVA_LANG_CHARACTER_VALUE = 8;
259
260
	/**
261
	 * An array of all the '<em><b>Config Property Type Type</b></em>' enumerators.
262
	 * <!-- begin-user-doc -->
263
	 * <!-- end-user-doc -->
264
	 * @generated
265
	 */
266
	private static final ConfigPropertyTypeType[] VALUES_ARRAY =
267
		new ConfigPropertyTypeType[] {
268
			JAVA_LANG_BOOLEAN,
269
			JAVA_LANG_STRING,
270
			JAVA_LANG_INTEGER,
271
			JAVA_LANG_DOUBLE,
272
			JAVA_LANG_BYTE,
273
			JAVA_LANG_SHORT,
274
			JAVA_LANG_LONG,
275
			JAVA_LANG_FLOAT,
276
			JAVA_LANG_CHARACTER,
277
		};
278
279
	/**
280
	 * A public read-only list of all the '<em><b>Config Property Type Type</b></em>' enumerators.
281
	 * <!-- begin-user-doc -->
282
	 * <!-- end-user-doc -->
283
	 * @generated
284
	 */
285
	public static final List<ConfigPropertyTypeType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
286
287
	/**
288
	 * Returns the '<em><b>Config Property Type Type</b></em>' literal with the specified literal value.
289
	 * <!-- begin-user-doc -->
290
	 * <!-- end-user-doc -->
291
	 * @generated
292
	 */
293
	public static ConfigPropertyTypeType get(String literal) {
294
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
295
			ConfigPropertyTypeType result = VALUES_ARRAY[i];
296
			if (result.toString().equals(literal)) {
297
				return result;
298
			}
299
		}
300
		return null;
301
	}
302
303
	/**
304
	 * Returns the '<em><b>Config Property Type Type</b></em>' literal with the specified name.
305
	 * <!-- begin-user-doc -->
306
	 * <!-- end-user-doc -->
307
	 * @generated
308
	 */
309
	public static ConfigPropertyTypeType getByName(String name) {
310
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
311
			ConfigPropertyTypeType result = VALUES_ARRAY[i];
312
			if (result.getName().equals(name)) {
313
				return result;
314
			}
315
		}
316
		return null;
317
	}
318
319
	/**
320
	 * Returns the '<em><b>Config Property Type Type</b></em>' literal with the specified integer value.
321
	 * <!-- begin-user-doc -->
322
	 * <!-- end-user-doc -->
323
	 * @generated
324
	 */
325
	public static ConfigPropertyTypeType get(int value) {
326
		switch (value) {
327
			case JAVA_LANG_BOOLEAN_VALUE: return JAVA_LANG_BOOLEAN;
328
			case JAVA_LANG_STRING_VALUE: return JAVA_LANG_STRING;
329
			case JAVA_LANG_INTEGER_VALUE: return JAVA_LANG_INTEGER;
330
			case JAVA_LANG_DOUBLE_VALUE: return JAVA_LANG_DOUBLE;
331
			case JAVA_LANG_BYTE_VALUE: return JAVA_LANG_BYTE;
332
			case JAVA_LANG_SHORT_VALUE: return JAVA_LANG_SHORT;
333
			case JAVA_LANG_LONG_VALUE: return JAVA_LANG_LONG;
334
			case JAVA_LANG_FLOAT_VALUE: return JAVA_LANG_FLOAT;
335
			case JAVA_LANG_CHARACTER_VALUE: return JAVA_LANG_CHARACTER;
336
		}
337
		return null;
338
	}
339
340
	/**
341
	 * <!-- begin-user-doc -->
342
	 * <!-- end-user-doc -->
343
	 * @generated
344
	 */
345
	private final int value;
346
347
	/**
348
	 * <!-- begin-user-doc -->
349
	 * <!-- end-user-doc -->
350
	 * @generated
351
	 */
352
	private final String name;
353
354
	/**
355
	 * <!-- begin-user-doc -->
356
	 * <!-- end-user-doc -->
357
	 * @generated
358
	 */
359
	private final String literal;
360
361
	/**
362
	 * Only this class can construct instances.
363
	 * <!-- begin-user-doc -->
364
	 * <!-- end-user-doc -->
365
	 * @generated
366
	 */
367
	private ConfigPropertyTypeType(int value, String name, String literal) {
368
		this.value = value;
369
		this.name = name;
370
		this.literal = literal;
371
	}
372
373
	/**
374
	 * <!-- begin-user-doc -->
375
	 * <!-- end-user-doc -->
376
	 * @generated
377
	 */
378
	public int getValue() {
379
	  return value;
380
	}
381
382
	/**
383
	 * <!-- begin-user-doc -->
384
	 * <!-- end-user-doc -->
385
	 * @generated
386
	 */
387
	public String getName() {
388
	  return name;
389
	}
390
391
	/**
392
	 * <!-- begin-user-doc -->
393
	 * <!-- end-user-doc -->
394
	 * @generated
395
	 */
396
	public String getLiteral() {
397
	  return literal;
398
	}
399
400
	/**
401
	 * Returns the literal value of the enumerator, which is its string representation.
402
	 * <!-- begin-user-doc -->
403
	 * <!-- end-user-doc -->
404
	 * @generated
405
	 */
406
	@Override
407
	public String toString() {
408
		return literal;
409
	}
410
	
411
} //ConfigPropertyTypeType
(-)jee-models/org/eclipse/jst/javaee/jca/MessageAdapter.java (+84 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.JavaEEObject;
12
13
/**
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Message Adapter</b></em>'.
16
 * <!-- end-user-doc -->
17
 *
18
 * <!-- begin-model-doc -->
19
 * 
20
 * 
21
 *         The messageadapterType specifies information about the
22
 *         messaging capabilities of the resource adapter. This
23
 *         contains information specific to the implementation of the
24
 *         resource adapter library as specified through the
25
 *         messagelistener element.
26
 *         
27
 *         @since Java EE 6, Connector 1.6
28
 *       
29
 * <!-- end-model-doc -->
30
 *
31
 * <p>
32
 * The following features are supported:
33
 * <ul>
34
 *   <li>{@link org.eclipse.jst.javaee.jca.MessageAdapter#getMessagelistener <em>Messagelistener</em>}</li>
35
 *   <li>{@link org.eclipse.jst.javaee.jca.MessageAdapter#getId <em>Id</em>}</li>
36
 * </ul>
37
 * </p>
38
 *
39
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getMessageAdapter()
40
 * @extends JavaEEObject
41
 * @generated
42
 */
43
public interface MessageAdapter extends JavaEEObject {
44
	/**
45
	 * Returns the value of the '<em><b>Messagelistener</b></em>' containment reference list.
46
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.MessageListener}.
47
	 * <!-- begin-user-doc -->
48
	 * <p>
49
	 * If the meaning of the '<em>Messagelistener</em>' containment reference list isn't clear,
50
	 * there really should be more of a description here...
51
	 * </p>
52
	 * <!-- end-user-doc -->
53
	 * @return the value of the '<em>Messagelistener</em>' containment reference list.
54
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getMessageAdapter_Messagelistener()
55
	 * @generated
56
	 */
57
	List<MessageListener> getMessagelistener();
58
59
	/**
60
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
61
	 * <!-- begin-user-doc -->
62
	 * <p>
63
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
64
	 * there really should be more of a description here...
65
	 * </p>
66
	 * <!-- end-user-doc -->
67
	 * @return the value of the '<em>Id</em>' attribute.
68
	 * @see #setId(String)
69
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getMessageAdapter_Id()
70
	 * @generated
71
	 */
72
	String getId();
73
74
	/**
75
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.MessageAdapter#getId <em>Id</em>}' attribute.
76
	 * <!-- begin-user-doc -->
77
	 * <!-- end-user-doc -->
78
	 * @param value the new value of the '<em>Id</em>' attribute.
79
	 * @see #getId()
80
	 * @generated
81
	 */
82
	void setId(String value);
83
84
} // MessageAdapter
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/InboundResourceAdapterImpl.java (+249 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import org.eclipse.emf.common.notify.Notification;
10
import org.eclipse.emf.common.notify.NotificationChain;
11
12
import org.eclipse.emf.ecore.EClass;
13
import org.eclipse.emf.ecore.InternalEObject;
14
15
import org.eclipse.emf.ecore.impl.ENotificationImpl;
16
import org.eclipse.emf.ecore.impl.EObjectImpl;
17
18
import org.eclipse.jst.javaee.jca.InboundResourceAdapter;
19
import org.eclipse.jst.javaee.jca.MessageAdapter;
20
21
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
22
23
/**
24
 * <!-- begin-user-doc -->
25
 * An implementation of the model object '<em><b>Inbound Resource Adapter</b></em>'.
26
 * <!-- end-user-doc -->
27
 * <p>
28
 * The following features are implemented:
29
 * <ul>
30
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.InboundResourceAdapterImpl#getMessageadapter <em>Messageadapter</em>}</li>
31
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.InboundResourceAdapterImpl#getId <em>Id</em>}</li>
32
 * </ul>
33
 * </p>
34
 *
35
 * @generated
36
 */
37
public class InboundResourceAdapterImpl extends EObjectImpl implements InboundResourceAdapter {
38
	/**
39
	 * The cached value of the '{@link #getMessageadapter() <em>Messageadapter</em>}' containment reference.
40
	 * <!-- begin-user-doc -->
41
	 * <!-- end-user-doc -->
42
	 * @see #getMessageadapter()
43
	 * @generated
44
	 * @ordered
45
	 */
46
	protected MessageAdapter messageadapter;
47
48
	/**
49
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * @see #getId()
53
	 * @generated
54
	 * @ordered
55
	 */
56
	protected static final String ID_EDEFAULT = null;
57
58
	/**
59
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
60
	 * <!-- begin-user-doc -->
61
	 * <!-- end-user-doc -->
62
	 * @see #getId()
63
	 * @generated
64
	 * @ordered
65
	 */
66
	protected String id = ID_EDEFAULT;
67
68
	/**
69
	 * <!-- begin-user-doc -->
70
	 * <!-- end-user-doc -->
71
	 * @generated
72
	 */
73
	protected InboundResourceAdapterImpl() {
74
		super();
75
	}
76
77
	/**
78
	 * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
80
	 * @generated
81
	 */
82
	@Override
83
	protected EClass eStaticClass() {
84
		return JcaPackage.Literals.INBOUND_RESOURCE_ADAPTER;
85
	}
86
87
	/**
88
	 * <!-- begin-user-doc -->
89
	 * <!-- end-user-doc -->
90
	 * @generated
91
	 */
92
	public MessageAdapter getMessageadapter() {
93
		return messageadapter;
94
	}
95
96
	/**
97
	 * <!-- begin-user-doc -->
98
	 * <!-- end-user-doc -->
99
	 * @generated
100
	 */
101
	public NotificationChain basicSetMessageadapter(MessageAdapter newMessageadapter, NotificationChain msgs) {
102
		MessageAdapter oldMessageadapter = messageadapter;
103
		messageadapter = newMessageadapter;
104
		if (eNotificationRequired()) {
105
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER, oldMessageadapter, newMessageadapter);
106
			if (msgs == null) msgs = notification; else msgs.add(notification);
107
		}
108
		return msgs;
109
	}
110
111
	/**
112
	 * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
114
	 * @generated
115
	 */
116
	public void setMessageadapter(MessageAdapter newMessageadapter) {
117
		if (newMessageadapter != messageadapter) {
118
			NotificationChain msgs = null;
119
			if (messageadapter != null)
120
				msgs = ((InternalEObject)messageadapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER, null, msgs);
121
			if (newMessageadapter != null)
122
				msgs = ((InternalEObject)newMessageadapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER, null, msgs);
123
			msgs = basicSetMessageadapter(newMessageadapter, msgs);
124
			if (msgs != null) msgs.dispatch();
125
		}
126
		else if (eNotificationRequired())
127
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER, newMessageadapter, newMessageadapter));
128
	}
129
130
	/**
131
	 * <!-- begin-user-doc -->
132
	 * <!-- end-user-doc -->
133
	 * @generated
134
	 */
135
	public String getId() {
136
		return id;
137
	}
138
139
	/**
140
	 * <!-- begin-user-doc -->
141
	 * <!-- end-user-doc -->
142
	 * @generated
143
	 */
144
	public void setId(String newId) {
145
		String oldId = id;
146
		id = newId;
147
		if (eNotificationRequired())
148
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.INBOUND_RESOURCE_ADAPTER__ID, oldId, id));
149
	}
150
151
	/**
152
	 * <!-- begin-user-doc -->
153
	 * <!-- end-user-doc -->
154
	 * @generated
155
	 */
156
	@Override
157
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
158
		switch (featureID) {
159
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER:
160
				return basicSetMessageadapter(null, msgs);
161
		}
162
		return super.eInverseRemove(otherEnd, featureID, msgs);
163
	}
164
165
	/**
166
	 * <!-- begin-user-doc -->
167
	 * <!-- end-user-doc -->
168
	 * @generated
169
	 */
170
	@Override
171
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
172
		switch (featureID) {
173
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER:
174
				return getMessageadapter();
175
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__ID:
176
				return getId();
177
		}
178
		return super.eGet(featureID, resolve, coreType);
179
	}
180
181
	/**
182
	 * <!-- begin-user-doc -->
183
	 * <!-- end-user-doc -->
184
	 * @generated
185
	 */
186
	@Override
187
	public void eSet(int featureID, Object newValue) {
188
		switch (featureID) {
189
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER:
190
				setMessageadapter((MessageAdapter)newValue);
191
				return;
192
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__ID:
193
				setId((String)newValue);
194
				return;
195
		}
196
		super.eSet(featureID, newValue);
197
	}
198
199
	/**
200
	 * <!-- begin-user-doc -->
201
	 * <!-- end-user-doc -->
202
	 * @generated
203
	 */
204
	@Override
205
	public void eUnset(int featureID) {
206
		switch (featureID) {
207
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER:
208
				setMessageadapter((MessageAdapter)null);
209
				return;
210
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__ID:
211
				setId(ID_EDEFAULT);
212
				return;
213
		}
214
		super.eUnset(featureID);
215
	}
216
217
	/**
218
	 * <!-- begin-user-doc -->
219
	 * <!-- end-user-doc -->
220
	 * @generated
221
	 */
222
	@Override
223
	public boolean eIsSet(int featureID) {
224
		switch (featureID) {
225
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER:
226
				return messageadapter != null;
227
			case JcaPackage.INBOUND_RESOURCE_ADAPTER__ID:
228
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
229
		}
230
		return super.eIsSet(featureID);
231
	}
232
233
	/**
234
	 * <!-- begin-user-doc -->
235
	 * <!-- end-user-doc -->
236
	 * @generated
237
	 */
238
	@Override
239
	public String toString() {
240
		if (eIsProxy()) return super.toString();
241
242
		StringBuffer result = new StringBuffer(super.toString());
243
		result.append(" (id: "); //$NON-NLS-1$
244
		result.append(id);
245
		result.append(')');
246
		return result.toString();
247
	}
248
249
} //InboundResourceAdapterImpl
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java (+1230 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core.internal.impl;
8
9
import java.math.BigInteger;
10
11
import java.util.Collection;
12
import java.util.List;
13
14
import org.eclipse.emf.common.notify.Notification;
15
import org.eclipse.emf.common.notify.NotificationChain;
16
17
import org.eclipse.emf.common.util.EList;
18
19
import org.eclipse.emf.ecore.EClass;
20
import org.eclipse.emf.ecore.InternalEObject;
21
22
import org.eclipse.emf.ecore.impl.ENotificationImpl;
23
import org.eclipse.emf.ecore.impl.EObjectImpl;
24
25
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
26
import org.eclipse.emf.ecore.util.InternalEList;
27
28
import org.eclipse.jst.javaee.core.DataSourceType;
29
import org.eclipse.jst.javaee.core.Description;
30
import org.eclipse.jst.javaee.core.IsolationLevelType;
31
import org.eclipse.jst.javaee.core.PropertyType;
32
33
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
34
35
/**
36
 * <!-- begin-user-doc -->
37
 * An implementation of the model object '<em><b>Data Source Type</b></em>'.
38
 * <!-- end-user-doc -->
39
 * <p>
40
 * The following features are implemented:
41
 * <ul>
42
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getDescription <em>Description</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getName <em>Name</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getClassName <em>Class Name</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getServerName <em>Server Name</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getPortNumber <em>Port Number</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getDatabaseName <em>Database Name</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getUrl <em>Url</em>}</li>
49
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getUser <em>User</em>}</li>
50
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getPassword <em>Password</em>}</li>
51
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getProperty <em>Property</em>}</li>
52
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getLoginTimeout <em>Login Timeout</em>}</li>
53
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#isTransactional <em>Transactional</em>}</li>
54
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getIsolationLevel <em>Isolation Level</em>}</li>
55
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getInitialPoolSize <em>Initial Pool Size</em>}</li>
56
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMaxPoolSize <em>Max Pool Size</em>}</li>
57
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMinPoolSize <em>Min Pool Size</em>}</li>
58
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMaxIdleTime <em>Max Idle Time</em>}</li>
59
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMaxStatements <em>Max Statements</em>}</li>
60
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getId <em>Id</em>}</li>
61
 * </ul>
62
 * </p>
63
 *
64
 * @generated
65
 */
66
public class DataSourceTypeImpl extends EObjectImpl implements DataSourceType {
67
	/**
68
	 * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference.
69
	 * <!-- begin-user-doc -->
70
	 * <!-- end-user-doc -->
71
	 * @see #getDescription()
72
	 * @generated
73
	 * @ordered
74
	 */
75
	protected Description description;
76
77
	/**
78
	 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
79
	 * <!-- begin-user-doc -->
80
	 * <!-- end-user-doc -->
81
	 * @see #getName()
82
	 * @generated
83
	 * @ordered
84
	 */
85
	protected static final String NAME_EDEFAULT = null;
86
87
	/**
88
	 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
89
	 * <!-- begin-user-doc -->
90
	 * <!-- end-user-doc -->
91
	 * @see #getName()
92
	 * @generated
93
	 * @ordered
94
	 */
95
	protected String name = NAME_EDEFAULT;
96
97
	/**
98
	 * The default value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
99
	 * <!-- begin-user-doc -->
100
	 * <!-- end-user-doc -->
101
	 * @see #getClassName()
102
	 * @generated
103
	 * @ordered
104
	 */
105
	protected static final String CLASS_NAME_EDEFAULT = null;
106
107
	/**
108
	 * The cached value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
109
	 * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
111
	 * @see #getClassName()
112
	 * @generated
113
	 * @ordered
114
	 */
115
	protected String className = CLASS_NAME_EDEFAULT;
116
117
	/**
118
	 * The default value of the '{@link #getServerName() <em>Server Name</em>}' attribute.
119
	 * <!-- begin-user-doc -->
120
	 * <!-- end-user-doc -->
121
	 * @see #getServerName()
122
	 * @generated
123
	 * @ordered
124
	 */
125
	protected static final String SERVER_NAME_EDEFAULT = null;
126
127
	/**
128
	 * The cached value of the '{@link #getServerName() <em>Server Name</em>}' attribute.
129
	 * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
131
	 * @see #getServerName()
132
	 * @generated
133
	 * @ordered
134
	 */
135
	protected String serverName = SERVER_NAME_EDEFAULT;
136
137
	/**
138
	 * The default value of the '{@link #getPortNumber() <em>Port Number</em>}' attribute.
139
	 * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
141
	 * @see #getPortNumber()
142
	 * @generated
143
	 * @ordered
144
	 */
145
	protected static final BigInteger PORT_NUMBER_EDEFAULT = null;
146
147
	/**
148
	 * The cached value of the '{@link #getPortNumber() <em>Port Number</em>}' attribute.
149
	 * <!-- begin-user-doc -->
150
	 * <!-- end-user-doc -->
151
	 * @see #getPortNumber()
152
	 * @generated
153
	 * @ordered
154
	 */
155
	protected BigInteger portNumber = PORT_NUMBER_EDEFAULT;
156
157
	/**
158
	 * The default value of the '{@link #getDatabaseName() <em>Database Name</em>}' attribute.
159
	 * <!-- begin-user-doc -->
160
	 * <!-- end-user-doc -->
161
	 * @see #getDatabaseName()
162
	 * @generated
163
	 * @ordered
164
	 */
165
	protected static final String DATABASE_NAME_EDEFAULT = null;
166
167
	/**
168
	 * The cached value of the '{@link #getDatabaseName() <em>Database Name</em>}' attribute.
169
	 * <!-- begin-user-doc -->
170
	 * <!-- end-user-doc -->
171
	 * @see #getDatabaseName()
172
	 * @generated
173
	 * @ordered
174
	 */
175
	protected String databaseName = DATABASE_NAME_EDEFAULT;
176
177
	/**
178
	 * The default value of the '{@link #getUrl() <em>Url</em>}' attribute.
179
	 * <!-- begin-user-doc -->
180
	 * <!-- end-user-doc -->
181
	 * @see #getUrl()
182
	 * @generated
183
	 * @ordered
184
	 */
185
	protected static final String URL_EDEFAULT = null;
186
187
	/**
188
	 * The cached value of the '{@link #getUrl() <em>Url</em>}' attribute.
189
	 * <!-- begin-user-doc -->
190
	 * <!-- end-user-doc -->
191
	 * @see #getUrl()
192
	 * @generated
193
	 * @ordered
194
	 */
195
	protected String url = URL_EDEFAULT;
196
197
	/**
198
	 * The default value of the '{@link #getUser() <em>User</em>}' attribute.
199
	 * <!-- begin-user-doc -->
200
	 * <!-- end-user-doc -->
201
	 * @see #getUser()
202
	 * @generated
203
	 * @ordered
204
	 */
205
	protected static final String USER_EDEFAULT = null;
206
207
	/**
208
	 * The cached value of the '{@link #getUser() <em>User</em>}' attribute.
209
	 * <!-- begin-user-doc -->
210
	 * <!-- end-user-doc -->
211
	 * @see #getUser()
212
	 * @generated
213
	 * @ordered
214
	 */
215
	protected String user = USER_EDEFAULT;
216
217
	/**
218
	 * The default value of the '{@link #getPassword() <em>Password</em>}' attribute.
219
	 * <!-- begin-user-doc -->
220
	 * <!-- end-user-doc -->
221
	 * @see #getPassword()
222
	 * @generated
223
	 * @ordered
224
	 */
225
	protected static final String PASSWORD_EDEFAULT = null;
226
227
	/**
228
	 * The cached value of the '{@link #getPassword() <em>Password</em>}' attribute.
229
	 * <!-- begin-user-doc -->
230
	 * <!-- end-user-doc -->
231
	 * @see #getPassword()
232
	 * @generated
233
	 * @ordered
234
	 */
235
	protected String password = PASSWORD_EDEFAULT;
236
237
	/**
238
	 * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
239
	 * <!-- begin-user-doc -->
240
	 * <!-- end-user-doc -->
241
	 * @see #getProperty()
242
	 * @generated
243
	 * @ordered
244
	 */
245
	protected EList<PropertyType> property;
246
247
	/**
248
	 * The default value of the '{@link #getLoginTimeout() <em>Login Timeout</em>}' attribute.
249
	 * <!-- begin-user-doc -->
250
	 * <!-- end-user-doc -->
251
	 * @see #getLoginTimeout()
252
	 * @generated
253
	 * @ordered
254
	 */
255
	protected static final BigInteger LOGIN_TIMEOUT_EDEFAULT = null;
256
257
	/**
258
	 * The cached value of the '{@link #getLoginTimeout() <em>Login Timeout</em>}' attribute.
259
	 * <!-- begin-user-doc -->
260
	 * <!-- end-user-doc -->
261
	 * @see #getLoginTimeout()
262
	 * @generated
263
	 * @ordered
264
	 */
265
	protected BigInteger loginTimeout = LOGIN_TIMEOUT_EDEFAULT;
266
267
	/**
268
	 * The default value of the '{@link #isTransactional() <em>Transactional</em>}' attribute.
269
	 * <!-- begin-user-doc -->
270
	 * <!-- end-user-doc -->
271
	 * @see #isTransactional()
272
	 * @generated
273
	 * @ordered
274
	 */
275
	protected static final boolean TRANSACTIONAL_EDEFAULT = false;
276
277
	/**
278
	 * The cached value of the '{@link #isTransactional() <em>Transactional</em>}' attribute.
279
	 * <!-- begin-user-doc -->
280
	 * <!-- end-user-doc -->
281
	 * @see #isTransactional()
282
	 * @generated
283
	 * @ordered
284
	 */
285
	protected boolean transactional = TRANSACTIONAL_EDEFAULT;
286
287
	/**
288
	 * This is true if the Transactional attribute has been set.
289
	 * <!-- begin-user-doc -->
290
	 * <!-- end-user-doc -->
291
	 * @generated
292
	 * @ordered
293
	 */
294
	protected boolean transactionalESet;
295
296
	/**
297
	 * The default value of the '{@link #getIsolationLevel() <em>Isolation Level</em>}' attribute.
298
	 * <!-- begin-user-doc -->
299
	 * <!-- end-user-doc -->
300
	 * @see #getIsolationLevel()
301
	 * @generated
302
	 * @ordered
303
	 */
304
	protected static final IsolationLevelType ISOLATION_LEVEL_EDEFAULT = IsolationLevelType.TRANSACTIONNONE;
305
306
	/**
307
	 * The cached value of the '{@link #getIsolationLevel() <em>Isolation Level</em>}' attribute.
308
	 * <!-- begin-user-doc -->
309
	 * <!-- end-user-doc -->
310
	 * @see #getIsolationLevel()
311
	 * @generated
312
	 * @ordered
313
	 */
314
	protected IsolationLevelType isolationLevel = ISOLATION_LEVEL_EDEFAULT;
315
316
	/**
317
	 * This is true if the Isolation Level attribute has been set.
318
	 * <!-- begin-user-doc -->
319
	 * <!-- end-user-doc -->
320
	 * @generated
321
	 * @ordered
322
	 */
323
	protected boolean isolationLevelESet;
324
325
	/**
326
	 * The default value of the '{@link #getInitialPoolSize() <em>Initial Pool Size</em>}' attribute.
327
	 * <!-- begin-user-doc -->
328
	 * <!-- end-user-doc -->
329
	 * @see #getInitialPoolSize()
330
	 * @generated
331
	 * @ordered
332
	 */
333
	protected static final BigInteger INITIAL_POOL_SIZE_EDEFAULT = null;
334
335
	/**
336
	 * The cached value of the '{@link #getInitialPoolSize() <em>Initial Pool Size</em>}' attribute.
337
	 * <!-- begin-user-doc -->
338
	 * <!-- end-user-doc -->
339
	 * @see #getInitialPoolSize()
340
	 * @generated
341
	 * @ordered
342
	 */
343
	protected BigInteger initialPoolSize = INITIAL_POOL_SIZE_EDEFAULT;
344
345
	/**
346
	 * The default value of the '{@link #getMaxPoolSize() <em>Max Pool Size</em>}' attribute.
347
	 * <!-- begin-user-doc -->
348
	 * <!-- end-user-doc -->
349
	 * @see #getMaxPoolSize()
350
	 * @generated
351
	 * @ordered
352
	 */
353
	protected static final BigInteger MAX_POOL_SIZE_EDEFAULT = null;
354
355
	/**
356
	 * The cached value of the '{@link #getMaxPoolSize() <em>Max Pool Size</em>}' attribute.
357
	 * <!-- begin-user-doc -->
358
	 * <!-- end-user-doc -->
359
	 * @see #getMaxPoolSize()
360
	 * @generated
361
	 * @ordered
362
	 */
363
	protected BigInteger maxPoolSize = MAX_POOL_SIZE_EDEFAULT;
364
365
	/**
366
	 * The default value of the '{@link #getMinPoolSize() <em>Min Pool Size</em>}' attribute.
367
	 * <!-- begin-user-doc -->
368
	 * <!-- end-user-doc -->
369
	 * @see #getMinPoolSize()
370
	 * @generated
371
	 * @ordered
372
	 */
373
	protected static final BigInteger MIN_POOL_SIZE_EDEFAULT = null;
374
375
	/**
376
	 * The cached value of the '{@link #getMinPoolSize() <em>Min Pool Size</em>}' attribute.
377
	 * <!-- begin-user-doc -->
378
	 * <!-- end-user-doc -->
379
	 * @see #getMinPoolSize()
380
	 * @generated
381
	 * @ordered
382
	 */
383
	protected BigInteger minPoolSize = MIN_POOL_SIZE_EDEFAULT;
384
385
	/**
386
	 * The default value of the '{@link #getMaxIdleTime() <em>Max Idle Time</em>}' attribute.
387
	 * <!-- begin-user-doc -->
388
	 * <!-- end-user-doc -->
389
	 * @see #getMaxIdleTime()
390
	 * @generated
391
	 * @ordered
392
	 */
393
	protected static final BigInteger MAX_IDLE_TIME_EDEFAULT = null;
394
395
	/**
396
	 * The cached value of the '{@link #getMaxIdleTime() <em>Max Idle Time</em>}' attribute.
397
	 * <!-- begin-user-doc -->
398
	 * <!-- end-user-doc -->
399
	 * @see #getMaxIdleTime()
400
	 * @generated
401
	 * @ordered
402
	 */
403
	protected BigInteger maxIdleTime = MAX_IDLE_TIME_EDEFAULT;
404
405
	/**
406
	 * The default value of the '{@link #getMaxStatements() <em>Max Statements</em>}' attribute.
407
	 * <!-- begin-user-doc -->
408
	 * <!-- end-user-doc -->
409
	 * @see #getMaxStatements()
410
	 * @generated
411
	 * @ordered
412
	 */
413
	protected static final BigInteger MAX_STATEMENTS_EDEFAULT = null;
414
415
	/**
416
	 * The cached value of the '{@link #getMaxStatements() <em>Max Statements</em>}' attribute.
417
	 * <!-- begin-user-doc -->
418
	 * <!-- end-user-doc -->
419
	 * @see #getMaxStatements()
420
	 * @generated
421
	 * @ordered
422
	 */
423
	protected BigInteger maxStatements = MAX_STATEMENTS_EDEFAULT;
424
425
	/**
426
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
427
	 * <!-- begin-user-doc -->
428
	 * <!-- end-user-doc -->
429
	 * @see #getId()
430
	 * @generated
431
	 * @ordered
432
	 */
433
	protected static final String ID_EDEFAULT = null;
434
435
	/**
436
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
437
	 * <!-- begin-user-doc -->
438
	 * <!-- end-user-doc -->
439
	 * @see #getId()
440
	 * @generated
441
	 * @ordered
442
	 */
443
	protected String id = ID_EDEFAULT;
444
445
	/**
446
	 * <!-- begin-user-doc -->
447
	 * <!-- end-user-doc -->
448
	 * @generated
449
	 */
450
	protected DataSourceTypeImpl() {
451
		super();
452
	}
453
454
	/**
455
	 * <!-- begin-user-doc -->
456
	 * <!-- end-user-doc -->
457
	 * @generated
458
	 */
459
	@Override
460
	protected EClass eStaticClass() {
461
		return JavaeePackage.Literals.DATA_SOURCE_TYPE;
462
	}
463
464
	/**
465
	 * <!-- begin-user-doc -->
466
	 * <!-- end-user-doc -->
467
	 * @generated
468
	 */
469
	public Description getDescription() {
470
		return description;
471
	}
472
473
	/**
474
	 * <!-- begin-user-doc -->
475
	 * <!-- end-user-doc -->
476
	 * @generated
477
	 */
478
	public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
479
		Description oldDescription = description;
480
		description = newDescription;
481
		if (eNotificationRequired()) {
482
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, oldDescription, newDescription);
483
			if (msgs == null) msgs = notification; else msgs.add(notification);
484
		}
485
		return msgs;
486
	}
487
488
	/**
489
	 * <!-- begin-user-doc -->
490
	 * <!-- end-user-doc -->
491
	 * @generated
492
	 */
493
	public void setDescription(Description newDescription) {
494
		if (newDescription != description) {
495
			NotificationChain msgs = null;
496
			if (description != null)
497
				msgs = ((InternalEObject)description).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, null, msgs);
498
			if (newDescription != null)
499
				msgs = ((InternalEObject)newDescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, null, msgs);
500
			msgs = basicSetDescription(newDescription, msgs);
501
			if (msgs != null) msgs.dispatch();
502
		}
503
		else if (eNotificationRequired())
504
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, newDescription, newDescription));
505
	}
506
507
	/**
508
	 * <!-- begin-user-doc -->
509
	 * <!-- end-user-doc -->
510
	 * @generated
511
	 */
512
	public String getName() {
513
		return name;
514
	}
515
516
	/**
517
	 * <!-- begin-user-doc -->
518
	 * <!-- end-user-doc -->
519
	 * @generated
520
	 */
521
	public void setName(String newName) {
522
		String oldName = name;
523
		name = newName;
524
		if (eNotificationRequired())
525
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__NAME, oldName, name));
526
	}
527
528
	/**
529
	 * <!-- begin-user-doc -->
530
	 * <!-- end-user-doc -->
531
	 * @generated
532
	 */
533
	public String getClassName() {
534
		return className;
535
	}
536
537
	/**
538
	 * <!-- begin-user-doc -->
539
	 * <!-- end-user-doc -->
540
	 * @generated
541
	 */
542
	public void setClassName(String newClassName) {
543
		String oldClassName = className;
544
		className = newClassName;
545
		if (eNotificationRequired())
546
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME, oldClassName, className));
547
	}
548
549
	/**
550
	 * <!-- begin-user-doc -->
551
	 * <!-- end-user-doc -->
552
	 * @generated
553
	 */
554
	public String getServerName() {
555
		return serverName;
556
	}
557
558
	/**
559
	 * <!-- begin-user-doc -->
560
	 * <!-- end-user-doc -->
561
	 * @generated
562
	 */
563
	public void setServerName(String newServerName) {
564
		String oldServerName = serverName;
565
		serverName = newServerName;
566
		if (eNotificationRequired())
567
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME, oldServerName, serverName));
568
	}
569
570
	/**
571
	 * <!-- begin-user-doc -->
572
	 * <!-- end-user-doc -->
573
	 * @generated
574
	 */
575
	public BigInteger getPortNumber() {
576
		return portNumber;
577
	}
578
579
	/**
580
	 * <!-- begin-user-doc -->
581
	 * <!-- end-user-doc -->
582
	 * @generated
583
	 */
584
	public void setPortNumber(BigInteger newPortNumber) {
585
		BigInteger oldPortNumber = portNumber;
586
		portNumber = newPortNumber;
587
		if (eNotificationRequired())
588
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER, oldPortNumber, portNumber));
589
	}
590
591
	/**
592
	 * <!-- begin-user-doc -->
593
	 * <!-- end-user-doc -->
594
	 * @generated
595
	 */
596
	public String getDatabaseName() {
597
		return databaseName;
598
	}
599
600
	/**
601
	 * <!-- begin-user-doc -->
602
	 * <!-- end-user-doc -->
603
	 * @generated
604
	 */
605
	public void setDatabaseName(String newDatabaseName) {
606
		String oldDatabaseName = databaseName;
607
		databaseName = newDatabaseName;
608
		if (eNotificationRequired())
609
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME, oldDatabaseName, databaseName));
610
	}
611
612
	/**
613
	 * <!-- begin-user-doc -->
614
	 * <!-- end-user-doc -->
615
	 * @generated
616
	 */
617
	public String getUrl() {
618
		return url;
619
	}
620
621
	/**
622
	 * <!-- begin-user-doc -->
623
	 * <!-- end-user-doc -->
624
	 * @generated
625
	 */
626
	public void setUrl(String newUrl) {
627
		String oldUrl = url;
628
		url = newUrl;
629
		if (eNotificationRequired())
630
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__URL, oldUrl, url));
631
	}
632
633
	/**
634
	 * <!-- begin-user-doc -->
635
	 * <!-- end-user-doc -->
636
	 * @generated
637
	 */
638
	public String getUser() {
639
		return user;
640
	}
641
642
	/**
643
	 * <!-- begin-user-doc -->
644
	 * <!-- end-user-doc -->
645
	 * @generated
646
	 */
647
	public void setUser(String newUser) {
648
		String oldUser = user;
649
		user = newUser;
650
		if (eNotificationRequired())
651
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__USER, oldUser, user));
652
	}
653
654
	/**
655
	 * <!-- begin-user-doc -->
656
	 * <!-- end-user-doc -->
657
	 * @generated
658
	 */
659
	public String getPassword() {
660
		return password;
661
	}
662
663
	/**
664
	 * <!-- begin-user-doc -->
665
	 * <!-- end-user-doc -->
666
	 * @generated
667
	 */
668
	public void setPassword(String newPassword) {
669
		String oldPassword = password;
670
		password = newPassword;
671
		if (eNotificationRequired())
672
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__PASSWORD, oldPassword, password));
673
	}
674
675
	/**
676
	 * <!-- begin-user-doc -->
677
	 * <!-- end-user-doc -->
678
	 * @generated
679
	 */
680
	public List<PropertyType> getProperty() {
681
		if (property == null) {
682
			property = new EObjectContainmentEList<PropertyType>(PropertyType.class, this, JavaeePackage.DATA_SOURCE_TYPE__PROPERTY);
683
		}
684
		return property;
685
	}
686
687
	/**
688
	 * <!-- begin-user-doc -->
689
	 * <!-- end-user-doc -->
690
	 * @generated
691
	 */
692
	public BigInteger getLoginTimeout() {
693
		return loginTimeout;
694
	}
695
696
	/**
697
	 * <!-- begin-user-doc -->
698
	 * <!-- end-user-doc -->
699
	 * @generated
700
	 */
701
	public void setLoginTimeout(BigInteger newLoginTimeout) {
702
		BigInteger oldLoginTimeout = loginTimeout;
703
		loginTimeout = newLoginTimeout;
704
		if (eNotificationRequired())
705
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT, oldLoginTimeout, loginTimeout));
706
	}
707
708
	/**
709
	 * <!-- begin-user-doc -->
710
	 * <!-- end-user-doc -->
711
	 * @generated
712
	 */
713
	public boolean isTransactional() {
714
		return transactional;
715
	}
716
717
	/**
718
	 * <!-- begin-user-doc -->
719
	 * <!-- end-user-doc -->
720
	 * @generated
721
	 */
722
	public void setTransactional(boolean newTransactional) {
723
		boolean oldTransactional = transactional;
724
		transactional = newTransactional;
725
		boolean oldTransactionalESet = transactionalESet;
726
		transactionalESet = true;
727
		if (eNotificationRequired())
728
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL, oldTransactional, transactional, !oldTransactionalESet));
729
	}
730
731
	/**
732
	 * <!-- begin-user-doc -->
733
	 * <!-- end-user-doc -->
734
	 * @generated
735
	 */
736
	public void unsetTransactional() {
737
		boolean oldTransactional = transactional;
738
		boolean oldTransactionalESet = transactionalESet;
739
		transactional = TRANSACTIONAL_EDEFAULT;
740
		transactionalESet = false;
741
		if (eNotificationRequired())
742
			eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL, oldTransactional, TRANSACTIONAL_EDEFAULT, oldTransactionalESet));
743
	}
744
745
	/**
746
	 * <!-- begin-user-doc -->
747
	 * <!-- end-user-doc -->
748
	 * @generated
749
	 */
750
	public boolean isSetTransactional() {
751
		return transactionalESet;
752
	}
753
754
	/**
755
	 * <!-- begin-user-doc -->
756
	 * <!-- end-user-doc -->
757
	 * @generated
758
	 */
759
	public IsolationLevelType getIsolationLevel() {
760
		return isolationLevel;
761
	}
762
763
	/**
764
	 * <!-- begin-user-doc -->
765
	 * <!-- end-user-doc -->
766
	 * @generated
767
	 */
768
	public void setIsolationLevel(IsolationLevelType newIsolationLevel) {
769
		IsolationLevelType oldIsolationLevel = isolationLevel;
770
		isolationLevel = newIsolationLevel == null ? ISOLATION_LEVEL_EDEFAULT : newIsolationLevel;
771
		boolean oldIsolationLevelESet = isolationLevelESet;
772
		isolationLevelESet = true;
773
		if (eNotificationRequired())
774
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL, oldIsolationLevel, isolationLevel, !oldIsolationLevelESet));
775
	}
776
777
	/**
778
	 * <!-- begin-user-doc -->
779
	 * <!-- end-user-doc -->
780
	 * @generated
781
	 */
782
	public void unsetIsolationLevel() {
783
		IsolationLevelType oldIsolationLevel = isolationLevel;
784
		boolean oldIsolationLevelESet = isolationLevelESet;
785
		isolationLevel = ISOLATION_LEVEL_EDEFAULT;
786
		isolationLevelESet = false;
787
		if (eNotificationRequired())
788
			eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL, oldIsolationLevel, ISOLATION_LEVEL_EDEFAULT, oldIsolationLevelESet));
789
	}
790
791
	/**
792
	 * <!-- begin-user-doc -->
793
	 * <!-- end-user-doc -->
794
	 * @generated
795
	 */
796
	public boolean isSetIsolationLevel() {
797
		return isolationLevelESet;
798
	}
799
800
	/**
801
	 * <!-- begin-user-doc -->
802
	 * <!-- end-user-doc -->
803
	 * @generated
804
	 */
805
	public BigInteger getInitialPoolSize() {
806
		return initialPoolSize;
807
	}
808
809
	/**
810
	 * <!-- begin-user-doc -->
811
	 * <!-- end-user-doc -->
812
	 * @generated
813
	 */
814
	public void setInitialPoolSize(BigInteger newInitialPoolSize) {
815
		BigInteger oldInitialPoolSize = initialPoolSize;
816
		initialPoolSize = newInitialPoolSize;
817
		if (eNotificationRequired())
818
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE, oldInitialPoolSize, initialPoolSize));
819
	}
820
821
	/**
822
	 * <!-- begin-user-doc -->
823
	 * <!-- end-user-doc -->
824
	 * @generated
825
	 */
826
	public BigInteger getMaxPoolSize() {
827
		return maxPoolSize;
828
	}
829
830
	/**
831
	 * <!-- begin-user-doc -->
832
	 * <!-- end-user-doc -->
833
	 * @generated
834
	 */
835
	public void setMaxPoolSize(BigInteger newMaxPoolSize) {
836
		BigInteger oldMaxPoolSize = maxPoolSize;
837
		maxPoolSize = newMaxPoolSize;
838
		if (eNotificationRequired())
839
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE, oldMaxPoolSize, maxPoolSize));
840
	}
841
842
	/**
843
	 * <!-- begin-user-doc -->
844
	 * <!-- end-user-doc -->
845
	 * @generated
846
	 */
847
	public BigInteger getMinPoolSize() {
848
		return minPoolSize;
849
	}
850
851
	/**
852
	 * <!-- begin-user-doc -->
853
	 * <!-- end-user-doc -->
854
	 * @generated
855
	 */
856
	public void setMinPoolSize(BigInteger newMinPoolSize) {
857
		BigInteger oldMinPoolSize = minPoolSize;
858
		minPoolSize = newMinPoolSize;
859
		if (eNotificationRequired())
860
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE, oldMinPoolSize, minPoolSize));
861
	}
862
863
	/**
864
	 * <!-- begin-user-doc -->
865
	 * <!-- end-user-doc -->
866
	 * @generated
867
	 */
868
	public BigInteger getMaxIdleTime() {
869
		return maxIdleTime;
870
	}
871
872
	/**
873
	 * <!-- begin-user-doc -->
874
	 * <!-- end-user-doc -->
875
	 * @generated
876
	 */
877
	public void setMaxIdleTime(BigInteger newMaxIdleTime) {
878
		BigInteger oldMaxIdleTime = maxIdleTime;
879
		maxIdleTime = newMaxIdleTime;
880
		if (eNotificationRequired())
881
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME, oldMaxIdleTime, maxIdleTime));
882
	}
883
884
	/**
885
	 * <!-- begin-user-doc -->
886
	 * <!-- end-user-doc -->
887
	 * @generated
888
	 */
889
	public BigInteger getMaxStatements() {
890
		return maxStatements;
891
	}
892
893
	/**
894
	 * <!-- begin-user-doc -->
895
	 * <!-- end-user-doc -->
896
	 * @generated
897
	 */
898
	public void setMaxStatements(BigInteger newMaxStatements) {
899
		BigInteger oldMaxStatements = maxStatements;
900
		maxStatements = newMaxStatements;
901
		if (eNotificationRequired())
902
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS, oldMaxStatements, maxStatements));
903
	}
904
905
	/**
906
	 * <!-- begin-user-doc -->
907
	 * <!-- end-user-doc -->
908
	 * @generated
909
	 */
910
	public String getId() {
911
		return id;
912
	}
913
914
	/**
915
	 * <!-- begin-user-doc -->
916
	 * <!-- end-user-doc -->
917
	 * @generated
918
	 */
919
	public void setId(String newId) {
920
		String oldId = id;
921
		id = newId;
922
		if (eNotificationRequired())
923
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__ID, oldId, id));
924
	}
925
926
	/**
927
	 * <!-- begin-user-doc -->
928
	 * <!-- end-user-doc -->
929
	 * @generated
930
	 */
931
	@Override
932
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
933
		switch (featureID) {
934
			case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION:
935
				return basicSetDescription(null, msgs);
936
			case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY:
937
				return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs);
938
		}
939
		return super.eInverseRemove(otherEnd, featureID, msgs);
940
	}
941
942
	/**
943
	 * <!-- begin-user-doc -->
944
	 * <!-- end-user-doc -->
945
	 * @generated
946
	 */
947
	@Override
948
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
949
		switch (featureID) {
950
			case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION:
951
				return getDescription();
952
			case JavaeePackage.DATA_SOURCE_TYPE__NAME:
953
				return getName();
954
			case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME:
955
				return getClassName();
956
			case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME:
957
				return getServerName();
958
			case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER:
959
				return getPortNumber();
960
			case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME:
961
				return getDatabaseName();
962
			case JavaeePackage.DATA_SOURCE_TYPE__URL:
963
				return getUrl();
964
			case JavaeePackage.DATA_SOURCE_TYPE__USER:
965
				return getUser();
966
			case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD:
967
				return getPassword();
968
			case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY:
969
				return getProperty();
970
			case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT:
971
				return getLoginTimeout();
972
			case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL:
973
				return isTransactional();
974
			case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL:
975
				return getIsolationLevel();
976
			case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE:
977
				return getInitialPoolSize();
978
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE:
979
				return getMaxPoolSize();
980
			case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE:
981
				return getMinPoolSize();
982
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME:
983
				return getMaxIdleTime();
984
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS:
985
				return getMaxStatements();
986
			case JavaeePackage.DATA_SOURCE_TYPE__ID:
987
				return getId();
988
		}
989
		return super.eGet(featureID, resolve, coreType);
990
	}
991
992
	/**
993
	 * <!-- begin-user-doc -->
994
	 * <!-- end-user-doc -->
995
	 * @generated
996
	 */
997
	@SuppressWarnings("unchecked")
998
	@Override
999
	public void eSet(int featureID, Object newValue) {
1000
		switch (featureID) {
1001
			case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION:
1002
				setDescription((Description)newValue);
1003
				return;
1004
			case JavaeePackage.DATA_SOURCE_TYPE__NAME:
1005
				setName((String)newValue);
1006
				return;
1007
			case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME:
1008
				setClassName((String)newValue);
1009
				return;
1010
			case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME:
1011
				setServerName((String)newValue);
1012
				return;
1013
			case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER:
1014
				setPortNumber((BigInteger)newValue);
1015
				return;
1016
			case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME:
1017
				setDatabaseName((String)newValue);
1018
				return;
1019
			case JavaeePackage.DATA_SOURCE_TYPE__URL:
1020
				setUrl((String)newValue);
1021
				return;
1022
			case JavaeePackage.DATA_SOURCE_TYPE__USER:
1023
				setUser((String)newValue);
1024
				return;
1025
			case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD:
1026
				setPassword((String)newValue);
1027
				return;
1028
			case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY:
1029
				getProperty().clear();
1030
				getProperty().addAll((Collection<? extends PropertyType>)newValue);
1031
				return;
1032
			case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT:
1033
				setLoginTimeout((BigInteger)newValue);
1034
				return;
1035
			case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL:
1036
				setTransactional((Boolean)newValue);
1037
				return;
1038
			case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL:
1039
				setIsolationLevel((IsolationLevelType)newValue);
1040
				return;
1041
			case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE:
1042
				setInitialPoolSize((BigInteger)newValue);
1043
				return;
1044
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE:
1045
				setMaxPoolSize((BigInteger)newValue);
1046
				return;
1047
			case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE:
1048
				setMinPoolSize((BigInteger)newValue);
1049
				return;
1050
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME:
1051
				setMaxIdleTime((BigInteger)newValue);
1052
				return;
1053
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS:
1054
				setMaxStatements((BigInteger)newValue);
1055
				return;
1056
			case JavaeePackage.DATA_SOURCE_TYPE__ID:
1057
				setId((String)newValue);
1058
				return;
1059
		}
1060
		super.eSet(featureID, newValue);
1061
	}
1062
1063
	/**
1064
	 * <!-- begin-user-doc -->
1065
	 * <!-- end-user-doc -->
1066
	 * @generated
1067
	 */
1068
	@Override
1069
	public void eUnset(int featureID) {
1070
		switch (featureID) {
1071
			case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION:
1072
				setDescription((Description)null);
1073
				return;
1074
			case JavaeePackage.DATA_SOURCE_TYPE__NAME:
1075
				setName(NAME_EDEFAULT);
1076
				return;
1077
			case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME:
1078
				setClassName(CLASS_NAME_EDEFAULT);
1079
				return;
1080
			case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME:
1081
				setServerName(SERVER_NAME_EDEFAULT);
1082
				return;
1083
			case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER:
1084
				setPortNumber(PORT_NUMBER_EDEFAULT);
1085
				return;
1086
			case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME:
1087
				setDatabaseName(DATABASE_NAME_EDEFAULT);
1088
				return;
1089
			case JavaeePackage.DATA_SOURCE_TYPE__URL:
1090
				setUrl(URL_EDEFAULT);
1091
				return;
1092
			case JavaeePackage.DATA_SOURCE_TYPE__USER:
1093
				setUser(USER_EDEFAULT);
1094
				return;
1095
			case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD:
1096
				setPassword(PASSWORD_EDEFAULT);
1097
				return;
1098
			case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY:
1099
				getProperty().clear();
1100
				return;
1101
			case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT:
1102
				setLoginTimeout(LOGIN_TIMEOUT_EDEFAULT);
1103
				return;
1104
			case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL:
1105
				unsetTransactional();
1106
				return;
1107
			case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL:
1108
				unsetIsolationLevel();
1109
				return;
1110
			case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE:
1111
				setInitialPoolSize(INITIAL_POOL_SIZE_EDEFAULT);
1112
				return;
1113
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE:
1114
				setMaxPoolSize(MAX_POOL_SIZE_EDEFAULT);
1115
				return;
1116
			case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE:
1117
				setMinPoolSize(MIN_POOL_SIZE_EDEFAULT);
1118
				return;
1119
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME:
1120
				setMaxIdleTime(MAX_IDLE_TIME_EDEFAULT);
1121
				return;
1122
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS:
1123
				setMaxStatements(MAX_STATEMENTS_EDEFAULT);
1124
				return;
1125
			case JavaeePackage.DATA_SOURCE_TYPE__ID:
1126
				setId(ID_EDEFAULT);
1127
				return;
1128
		}
1129
		super.eUnset(featureID);
1130
	}
1131
1132
	/**
1133
	 * <!-- begin-user-doc -->
1134
	 * <!-- end-user-doc -->
1135
	 * @generated
1136
	 */
1137
	@Override
1138
	public boolean eIsSet(int featureID) {
1139
		switch (featureID) {
1140
			case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION:
1141
				return description != null;
1142
			case JavaeePackage.DATA_SOURCE_TYPE__NAME:
1143
				return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
1144
			case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME:
1145
				return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
1146
			case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME:
1147
				return SERVER_NAME_EDEFAULT == null ? serverName != null : !SERVER_NAME_EDEFAULT.equals(serverName);
1148
			case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER:
1149
				return PORT_NUMBER_EDEFAULT == null ? portNumber != null : !PORT_NUMBER_EDEFAULT.equals(portNumber);
1150
			case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME:
1151
				return DATABASE_NAME_EDEFAULT == null ? databaseName != null : !DATABASE_NAME_EDEFAULT.equals(databaseName);
1152
			case JavaeePackage.DATA_SOURCE_TYPE__URL:
1153
				return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url);
1154
			case JavaeePackage.DATA_SOURCE_TYPE__USER:
1155
				return USER_EDEFAULT == null ? user != null : !USER_EDEFAULT.equals(user);
1156
			case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD:
1157
				return PASSWORD_EDEFAULT == null ? password != null : !PASSWORD_EDEFAULT.equals(password);
1158
			case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY:
1159
				return property != null && !property.isEmpty();
1160
			case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT:
1161
				return LOGIN_TIMEOUT_EDEFAULT == null ? loginTimeout != null : !LOGIN_TIMEOUT_EDEFAULT.equals(loginTimeout);
1162
			case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL:
1163
				return isSetTransactional();
1164
			case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL:
1165
				return isSetIsolationLevel();
1166
			case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE:
1167
				return INITIAL_POOL_SIZE_EDEFAULT == null ? initialPoolSize != null : !INITIAL_POOL_SIZE_EDEFAULT.equals(initialPoolSize);
1168
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE:
1169
				return MAX_POOL_SIZE_EDEFAULT == null ? maxPoolSize != null : !MAX_POOL_SIZE_EDEFAULT.equals(maxPoolSize);
1170
			case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE:
1171
				return MIN_POOL_SIZE_EDEFAULT == null ? minPoolSize != null : !MIN_POOL_SIZE_EDEFAULT.equals(minPoolSize);
1172
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME:
1173
				return MAX_IDLE_TIME_EDEFAULT == null ? maxIdleTime != null : !MAX_IDLE_TIME_EDEFAULT.equals(maxIdleTime);
1174
			case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS:
1175
				return MAX_STATEMENTS_EDEFAULT == null ? maxStatements != null : !MAX_STATEMENTS_EDEFAULT.equals(maxStatements);
1176
			case JavaeePackage.DATA_SOURCE_TYPE__ID:
1177
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
1178
		}
1179
		return super.eIsSet(featureID);
1180
	}
1181
1182
	/**
1183
	 * <!-- begin-user-doc -->
1184
	 * <!-- end-user-doc -->
1185
	 * @generated
1186
	 */
1187
	@Override
1188
	public String toString() {
1189
		if (eIsProxy()) return super.toString();
1190
1191
		StringBuffer result = new StringBuffer(super.toString());
1192
		result.append(" (name: "); //$NON-NLS-1$
1193
		result.append(name);
1194
		result.append(", className: "); //$NON-NLS-1$
1195
		result.append(className);
1196
		result.append(", serverName: "); //$NON-NLS-1$
1197
		result.append(serverName);
1198
		result.append(", portNumber: "); //$NON-NLS-1$
1199
		result.append(portNumber);
1200
		result.append(", databaseName: "); //$NON-NLS-1$
1201
		result.append(databaseName);
1202
		result.append(", url: "); //$NON-NLS-1$
1203
		result.append(url);
1204
		result.append(", user: "); //$NON-NLS-1$
1205
		result.append(user);
1206
		result.append(", password: "); //$NON-NLS-1$
1207
		result.append(password);
1208
		result.append(", loginTimeout: "); //$NON-NLS-1$
1209
		result.append(loginTimeout);
1210
		result.append(", transactional: "); //$NON-NLS-1$
1211
		if (transactionalESet) result.append(transactional); else result.append("<unset>"); //$NON-NLS-1$
1212
		result.append(", isolationLevel: "); //$NON-NLS-1$
1213
		if (isolationLevelESet) result.append(isolationLevel); else result.append("<unset>"); //$NON-NLS-1$
1214
		result.append(", initialPoolSize: "); //$NON-NLS-1$
1215
		result.append(initialPoolSize);
1216
		result.append(", maxPoolSize: "); //$NON-NLS-1$
1217
		result.append(maxPoolSize);
1218
		result.append(", minPoolSize: "); //$NON-NLS-1$
1219
		result.append(minPoolSize);
1220
		result.append(", maxIdleTime: "); //$NON-NLS-1$
1221
		result.append(maxIdleTime);
1222
		result.append(", maxStatements: "); //$NON-NLS-1$
1223
		result.append(maxStatements);
1224
		result.append(", id: "); //$NON-NLS-1$
1225
		result.append(id);
1226
		result.append(')');
1227
		return result.toString();
1228
	}
1229
1230
} //DataSourceTypeImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/JcaFactoryImpl.java (+446 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import org.eclipse.emf.ecore.EClass;
10
import org.eclipse.emf.ecore.EDataType;
11
import org.eclipse.emf.ecore.EObject;
12
import org.eclipse.emf.ecore.EPackage;
13
14
import org.eclipse.emf.ecore.impl.EFactoryImpl;
15
16
import org.eclipse.emf.ecore.plugin.EcorePlugin;
17
18
import org.eclipse.emf.ecore.xml.type.XMLTypeFactory;
19
import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
20
21
import org.eclipse.jst.javaee.jca.*;
22
23
import org.eclipse.jst.javaee.jca.internal.metadata.JcaFactory;
24
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
25
26
/**
27
 * <!-- begin-user-doc -->
28
 * An implementation of the model <b>Factory</b>.
29
 * <!-- end-user-doc -->
30
 * @generated
31
 */
32
public class JcaFactoryImpl extends EFactoryImpl implements JcaFactory {
33
	/**
34
	 * Creates the default factory implementation.
35
	 * <!-- begin-user-doc -->
36
	 * <!-- end-user-doc -->
37
	 * @generated
38
	 */
39
	public static JcaFactory init() {
40
		try {
41
			JcaFactory theJcaFactory = (JcaFactory)EPackage.Registry.INSTANCE.getEFactory("http://java.sun.com/xml/ns/javaee/jca"); //$NON-NLS-1$ 
42
			if (theJcaFactory != null) {
43
				return theJcaFactory;
44
			}
45
		}
46
		catch (Exception exception) {
47
			EcorePlugin.INSTANCE.log(exception);
48
		}
49
		return new JcaFactoryImpl();
50
	}
51
52
	/**
53
	 * Creates an instance of the factory.
54
	 * <!-- begin-user-doc -->
55
	 * <!-- end-user-doc -->
56
	 * @generated
57
	 */
58
	public JcaFactoryImpl() {
59
		super();
60
	}
61
62
	/**
63
	 * <!-- begin-user-doc -->
64
	 * <!-- end-user-doc -->
65
	 * @generated
66
	 */
67
	@Override
68
	public EObject create(EClass eClass) {
69
		switch (eClass.getClassifierID()) {
70
			case JcaPackage.ACTIVATION_SPEC: return (EObject)createActivationSpec();
71
			case JcaPackage.ADMIN_OBJECT: return (EObject)createAdminObject();
72
			case JcaPackage.AUTHENTICATION_MECHANISM: return (EObject)createAuthenticationMechanism();
73
			case JcaPackage.CONFIG_PROPERTY: return (EObject)createConfigProperty();
74
			case JcaPackage.CONNECTION_DEFINITION: return (EObject)createConnectionDefinition();
75
			case JcaPackage.CONNECTOR: return (EObject)createConnector();
76
			case JcaPackage.CONNECTOR_DEPLOYMENT_DESCRIPTOR: return (EObject)createConnectorDeploymentDescriptor();
77
			case JcaPackage.INBOUND_RESOURCE_ADAPTER: return (EObject)createInboundResourceAdapter();
78
			case JcaPackage.LICENSE: return (EObject)createLicense();
79
			case JcaPackage.MESSAGE_ADAPTER: return (EObject)createMessageAdapter();
80
			case JcaPackage.MESSAGE_LISTENER: return (EObject)createMessageListener();
81
			case JcaPackage.OUTBOUND_RESOURCE_ADAPTER: return (EObject)createOutboundResourceAdapter();
82
			case JcaPackage.REQUIRED_CONFIG_PROPERTY: return (EObject)createRequiredConfigProperty();
83
			case JcaPackage.RESOURCE_ADAPTER: return (EObject)createResourceAdapter();
84
			case JcaPackage.SECURITY_PERMISSION: return (EObject)createSecurityPermission();
85
			default:
86
				throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$
87
		}
88
	}
89
90
	/**
91
	 * <!-- begin-user-doc -->
92
	 * <!-- end-user-doc -->
93
	 * @generated
94
	 */
95
	@Override
96
	public Object createFromString(EDataType eDataType, String initialValue) {
97
		switch (eDataType.getClassifierID()) {
98
			case JcaPackage.CONFIG_PROPERTY_TYPE_TYPE:
99
				return createConfigPropertyTypeTypeFromString(eDataType, initialValue);
100
			case JcaPackage.CREDENTIAL_INTERFACE_TYPE:
101
				return createCredentialInterfaceTypeFromString(eDataType, initialValue);
102
			case JcaPackage.TRANSACTION_SUPPORT_TYPE:
103
				return createTransactionSupportTypeFromString(eDataType, initialValue);
104
			case JcaPackage.CONFIG_PROPERTY_NAME_TYPE:
105
				return createConfigPropertyNameTypeFromString(eDataType, initialValue);
106
			case JcaPackage.CONFIG_PROPERTY_TYPE_TYPE_OBJECT:
107
				return createConfigPropertyTypeTypeObjectFromString(eDataType, initialValue);
108
			case JcaPackage.CREDENTIAL_INTERFACE_TYPE_OBJECT:
109
				return createCredentialInterfaceTypeObjectFromString(eDataType, initialValue);
110
			case JcaPackage.TRANSACTION_SUPPORT_TYPE_OBJECT:
111
				return createTransactionSupportTypeObjectFromString(eDataType, initialValue);
112
			default:
113
				throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$
114
		}
115
	}
116
117
	/**
118
	 * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
120
	 * @generated
121
	 */
122
	@Override
123
	public String convertToString(EDataType eDataType, Object instanceValue) {
124
		switch (eDataType.getClassifierID()) {
125
			case JcaPackage.CONFIG_PROPERTY_TYPE_TYPE:
126
				return convertConfigPropertyTypeTypeToString(eDataType, instanceValue);
127
			case JcaPackage.CREDENTIAL_INTERFACE_TYPE:
128
				return convertCredentialInterfaceTypeToString(eDataType, instanceValue);
129
			case JcaPackage.TRANSACTION_SUPPORT_TYPE:
130
				return convertTransactionSupportTypeToString(eDataType, instanceValue);
131
			case JcaPackage.CONFIG_PROPERTY_NAME_TYPE:
132
				return convertConfigPropertyNameTypeToString(eDataType, instanceValue);
133
			case JcaPackage.CONFIG_PROPERTY_TYPE_TYPE_OBJECT:
134
				return convertConfigPropertyTypeTypeObjectToString(eDataType, instanceValue);
135
			case JcaPackage.CREDENTIAL_INTERFACE_TYPE_OBJECT:
136
				return convertCredentialInterfaceTypeObjectToString(eDataType, instanceValue);
137
			case JcaPackage.TRANSACTION_SUPPORT_TYPE_OBJECT:
138
				return convertTransactionSupportTypeObjectToString(eDataType, instanceValue);
139
			default:
140
				throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$
141
		}
142
	}
143
144
	/**
145
	 * <!-- begin-user-doc -->
146
	 * <!-- end-user-doc -->
147
	 * @generated
148
	 */
149
	public ActivationSpec createActivationSpec() {
150
		ActivationSpecImpl activationSpec = new ActivationSpecImpl();
151
		return activationSpec;
152
	}
153
154
	/**
155
	 * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
157
	 * @generated
158
	 */
159
	public AdminObject createAdminObject() {
160
		AdminObjectImpl adminObject = new AdminObjectImpl();
161
		return adminObject;
162
	}
163
164
	/**
165
	 * <!-- begin-user-doc -->
166
	 * <!-- end-user-doc -->
167
	 * @generated
168
	 */
169
	public AuthenticationMechanism createAuthenticationMechanism() {
170
		AuthenticationMechanismImpl authenticationMechanism = new AuthenticationMechanismImpl();
171
		return authenticationMechanism;
172
	}
173
174
	/**
175
	 * <!-- begin-user-doc -->
176
	 * <!-- end-user-doc -->
177
	 * @generated
178
	 */
179
	public ConfigProperty createConfigProperty() {
180
		ConfigPropertyImpl configProperty = new ConfigPropertyImpl();
181
		return configProperty;
182
	}
183
184
	/**
185
	 * <!-- begin-user-doc -->
186
	 * <!-- end-user-doc -->
187
	 * @generated
188
	 */
189
	public ConnectionDefinition createConnectionDefinition() {
190
		ConnectionDefinitionImpl connectionDefinition = new ConnectionDefinitionImpl();
191
		return connectionDefinition;
192
	}
193
194
	/**
195
	 * <!-- begin-user-doc -->
196
	 * <!-- end-user-doc -->
197
	 * @generated
198
	 */
199
	public Connector createConnector() {
200
		ConnectorImpl connector = new ConnectorImpl();
201
		return connector;
202
	}
203
204
	/**
205
	 * <!-- begin-user-doc -->
206
	 * <!-- end-user-doc -->
207
	 * @generated
208
	 */
209
	public ConnectorDeploymentDescriptor createConnectorDeploymentDescriptor() {
210
		ConnectorDeploymentDescriptorImpl connectorDeploymentDescriptor = new ConnectorDeploymentDescriptorImpl();
211
		return connectorDeploymentDescriptor;
212
	}
213
214
	/**
215
	 * <!-- begin-user-doc -->
216
	 * <!-- end-user-doc -->
217
	 * @generated
218
	 */
219
	public InboundResourceAdapter createInboundResourceAdapter() {
220
		InboundResourceAdapterImpl inboundResourceAdapter = new InboundResourceAdapterImpl();
221
		return inboundResourceAdapter;
222
	}
223
224
	/**
225
	 * <!-- begin-user-doc -->
226
	 * <!-- end-user-doc -->
227
	 * @generated
228
	 */
229
	public License createLicense() {
230
		LicenseImpl license = new LicenseImpl();
231
		return license;
232
	}
233
234
	/**
235
	 * <!-- begin-user-doc -->
236
	 * <!-- end-user-doc -->
237
	 * @generated
238
	 */
239
	public MessageAdapter createMessageAdapter() {
240
		MessageAdapterImpl messageAdapter = new MessageAdapterImpl();
241
		return messageAdapter;
242
	}
243
244
	/**
245
	 * <!-- begin-user-doc -->
246
	 * <!-- end-user-doc -->
247
	 * @generated
248
	 */
249
	public MessageListener createMessageListener() {
250
		MessageListenerImpl messageListener = new MessageListenerImpl();
251
		return messageListener;
252
	}
253
254
	/**
255
	 * <!-- begin-user-doc -->
256
	 * <!-- end-user-doc -->
257
	 * @generated
258
	 */
259
	public OutboundResourceAdapter createOutboundResourceAdapter() {
260
		OutboundResourceAdapterImpl outboundResourceAdapter = new OutboundResourceAdapterImpl();
261
		return outboundResourceAdapter;
262
	}
263
264
	/**
265
	 * <!-- begin-user-doc -->
266
	 * <!-- end-user-doc -->
267
	 * @generated
268
	 */
269
	public RequiredConfigProperty createRequiredConfigProperty() {
270
		RequiredConfigPropertyImpl requiredConfigProperty = new RequiredConfigPropertyImpl();
271
		return requiredConfigProperty;
272
	}
273
274
	/**
275
	 * <!-- begin-user-doc -->
276
	 * <!-- end-user-doc -->
277
	 * @generated
278
	 */
279
	public ResourceAdapter createResourceAdapter() {
280
		ResourceAdapterImpl resourceAdapter = new ResourceAdapterImpl();
281
		return resourceAdapter;
282
	}
283
284
	/**
285
	 * <!-- begin-user-doc -->
286
	 * <!-- end-user-doc -->
287
	 * @generated
288
	 */
289
	public SecurityPermission createSecurityPermission() {
290
		SecurityPermissionImpl securityPermission = new SecurityPermissionImpl();
291
		return securityPermission;
292
	}
293
294
	/**
295
	 * <!-- begin-user-doc -->
296
	 * <!-- end-user-doc -->
297
	 * @generated
298
	 */
299
	public ConfigPropertyTypeType createConfigPropertyTypeTypeFromString(EDataType eDataType, String initialValue) {
300
		ConfigPropertyTypeType result = ConfigPropertyTypeType.get(initialValue);
301
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
302
		return result;
303
	}
304
305
	/**
306
	 * <!-- begin-user-doc -->
307
	 * <!-- end-user-doc -->
308
	 * @generated
309
	 */
310
	public String convertConfigPropertyTypeTypeToString(EDataType eDataType, Object instanceValue) {
311
		return instanceValue == null ? null : instanceValue.toString();
312
	}
313
314
	/**
315
	 * <!-- begin-user-doc -->
316
	 * <!-- end-user-doc -->
317
	 * @generated
318
	 */
319
	public CredentialInterfaceType createCredentialInterfaceTypeFromString(EDataType eDataType, String initialValue) {
320
		CredentialInterfaceType result = CredentialInterfaceType.get(initialValue);
321
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
322
		return result;
323
	}
324
325
	/**
326
	 * <!-- begin-user-doc -->
327
	 * <!-- end-user-doc -->
328
	 * @generated
329
	 */
330
	public String convertCredentialInterfaceTypeToString(EDataType eDataType, Object instanceValue) {
331
		return instanceValue == null ? null : instanceValue.toString();
332
	}
333
334
	/**
335
	 * <!-- begin-user-doc -->
336
	 * <!-- end-user-doc -->
337
	 * @generated
338
	 */
339
	public TransactionSupportType createTransactionSupportTypeFromString(EDataType eDataType, String initialValue) {
340
		TransactionSupportType result = TransactionSupportType.get(initialValue);
341
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
342
		return result;
343
	}
344
345
	/**
346
	 * <!-- begin-user-doc -->
347
	 * <!-- end-user-doc -->
348
	 * @generated
349
	 */
350
	public String convertTransactionSupportTypeToString(EDataType eDataType, Object instanceValue) {
351
		return instanceValue == null ? null : instanceValue.toString();
352
	}
353
354
	/**
355
	 * <!-- begin-user-doc -->
356
	 * <!-- end-user-doc -->
357
	 * @generated
358
	 */
359
	public String createConfigPropertyNameTypeFromString(EDataType eDataType, String initialValue) {
360
		return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, initialValue);
361
	}
362
363
	/**
364
	 * <!-- begin-user-doc -->
365
	 * <!-- end-user-doc -->
366
	 * @generated
367
	 */
368
	public String convertConfigPropertyNameTypeToString(EDataType eDataType, Object instanceValue) {
369
		return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, instanceValue);
370
	}
371
372
	/**
373
	 * <!-- begin-user-doc -->
374
	 * <!-- end-user-doc -->
375
	 * @generated
376
	 */
377
	public ConfigPropertyTypeType createConfigPropertyTypeTypeObjectFromString(EDataType eDataType, String initialValue) {
378
		return createConfigPropertyTypeTypeFromString(JcaPackage.Literals.CONFIG_PROPERTY_TYPE_TYPE, initialValue);
379
	}
380
381
	/**
382
	 * <!-- begin-user-doc -->
383
	 * <!-- end-user-doc -->
384
	 * @generated
385
	 */
386
	public String convertConfigPropertyTypeTypeObjectToString(EDataType eDataType, Object instanceValue) {
387
		return convertConfigPropertyTypeTypeToString(JcaPackage.Literals.CONFIG_PROPERTY_TYPE_TYPE, instanceValue);
388
	}
389
390
	/**
391
	 * <!-- begin-user-doc -->
392
	 * <!-- end-user-doc -->
393
	 * @generated
394
	 */
395
	public CredentialInterfaceType createCredentialInterfaceTypeObjectFromString(EDataType eDataType, String initialValue) {
396
		return createCredentialInterfaceTypeFromString(JcaPackage.Literals.CREDENTIAL_INTERFACE_TYPE, initialValue);
397
	}
398
399
	/**
400
	 * <!-- begin-user-doc -->
401
	 * <!-- end-user-doc -->
402
	 * @generated
403
	 */
404
	public String convertCredentialInterfaceTypeObjectToString(EDataType eDataType, Object instanceValue) {
405
		return convertCredentialInterfaceTypeToString(JcaPackage.Literals.CREDENTIAL_INTERFACE_TYPE, instanceValue);
406
	}
407
408
	/**
409
	 * <!-- begin-user-doc -->
410
	 * <!-- end-user-doc -->
411
	 * @generated
412
	 */
413
	public TransactionSupportType createTransactionSupportTypeObjectFromString(EDataType eDataType, String initialValue) {
414
		return createTransactionSupportTypeFromString(JcaPackage.Literals.TRANSACTION_SUPPORT_TYPE, initialValue);
415
	}
416
417
	/**
418
	 * <!-- begin-user-doc -->
419
	 * <!-- end-user-doc -->
420
	 * @generated
421
	 */
422
	public String convertTransactionSupportTypeObjectToString(EDataType eDataType, Object instanceValue) {
423
		return convertTransactionSupportTypeToString(JcaPackage.Literals.TRANSACTION_SUPPORT_TYPE, instanceValue);
424
	}
425
426
	/**
427
	 * <!-- begin-user-doc -->
428
	 * <!-- end-user-doc -->
429
	 * @generated
430
	 */
431
	public JcaPackage getJcaPackage() {
432
		return (JcaPackage)getEPackage();
433
	}
434
435
	/**
436
	 * <!-- begin-user-doc -->
437
	 * <!-- end-user-doc -->
438
	 * @deprecated
439
	 * @generated
440
	 */
441
	@Deprecated
442
	public static JcaPackage getPackage() {
443
		return JcaPackage.eINSTANCE;
444
	}
445
446
} //JcaFactoryImpl
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/RespectBindingTypeImpl.java (+202 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core.internal.impl;
8
9
import org.eclipse.emf.common.notify.Notification;
10
11
import org.eclipse.emf.ecore.EClass;
12
13
import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
import org.eclipse.emf.ecore.impl.EObjectImpl;
15
16
import org.eclipse.jst.javaee.core.RespectBindingType;
17
18
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
19
20
/**
21
 * <!-- begin-user-doc -->
22
 * An implementation of the model object '<em><b>Respect Binding Type</b></em>'.
23
 * <!-- end-user-doc -->
24
 * <p>
25
 * The following features are implemented:
26
 * <ul>
27
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl#isEnabled <em>Enabled</em>}</li>
28
 * </ul>
29
 * </p>
30
 *
31
 * @generated
32
 */
33
public class RespectBindingTypeImpl extends EObjectImpl implements RespectBindingType {
34
	/**
35
	 * The default value of the '{@link #isEnabled() <em>Enabled</em>}' attribute.
36
	 * <!-- begin-user-doc -->
37
	 * <!-- end-user-doc -->
38
	 * @see #isEnabled()
39
	 * @generated
40
	 * @ordered
41
	 */
42
	protected static final boolean ENABLED_EDEFAULT = false;
43
44
	/**
45
	 * The cached value of the '{@link #isEnabled() <em>Enabled</em>}' attribute.
46
	 * <!-- begin-user-doc -->
47
	 * <!-- end-user-doc -->
48
	 * @see #isEnabled()
49
	 * @generated
50
	 * @ordered
51
	 */
52
	protected boolean enabled = ENABLED_EDEFAULT;
53
54
	/**
55
	 * This is true if the Enabled attribute has been set.
56
	 * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
58
	 * @generated
59
	 * @ordered
60
	 */
61
	protected boolean enabledESet;
62
63
	/**
64
	 * <!-- begin-user-doc -->
65
	 * <!-- end-user-doc -->
66
	 * @generated
67
	 */
68
	protected RespectBindingTypeImpl() {
69
		super();
70
	}
71
72
	/**
73
	 * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
75
	 * @generated
76
	 */
77
	@Override
78
	protected EClass eStaticClass() {
79
		return JavaeePackage.Literals.RESPECT_BINDING_TYPE;
80
	}
81
82
	/**
83
	 * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
85
	 * @generated
86
	 */
87
	public boolean isEnabled() {
88
		return enabled;
89
	}
90
91
	/**
92
	 * <!-- begin-user-doc -->
93
	 * <!-- end-user-doc -->
94
	 * @generated
95
	 */
96
	public void setEnabled(boolean newEnabled) {
97
		boolean oldEnabled = enabled;
98
		enabled = newEnabled;
99
		boolean oldEnabledESet = enabledESet;
100
		enabledESet = true;
101
		if (eNotificationRequired())
102
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESPECT_BINDING_TYPE__ENABLED, oldEnabled, enabled, !oldEnabledESet));
103
	}
104
105
	/**
106
	 * <!-- begin-user-doc -->
107
	 * <!-- end-user-doc -->
108
	 * @generated
109
	 */
110
	public void unsetEnabled() {
111
		boolean oldEnabled = enabled;
112
		boolean oldEnabledESet = enabledESet;
113
		enabled = ENABLED_EDEFAULT;
114
		enabledESet = false;
115
		if (eNotificationRequired())
116
			eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.RESPECT_BINDING_TYPE__ENABLED, oldEnabled, ENABLED_EDEFAULT, oldEnabledESet));
117
	}
118
119
	/**
120
	 * <!-- begin-user-doc -->
121
	 * <!-- end-user-doc -->
122
	 * @generated
123
	 */
124
	public boolean isSetEnabled() {
125
		return enabledESet;
126
	}
127
128
	/**
129
	 * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
131
	 * @generated
132
	 */
133
	@Override
134
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
135
		switch (featureID) {
136
			case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED:
137
				return isEnabled();
138
		}
139
		return super.eGet(featureID, resolve, coreType);
140
	}
141
142
	/**
143
	 * <!-- begin-user-doc -->
144
	 * <!-- end-user-doc -->
145
	 * @generated
146
	 */
147
	@Override
148
	public void eSet(int featureID, Object newValue) {
149
		switch (featureID) {
150
			case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED:
151
				setEnabled((Boolean)newValue);
152
				return;
153
		}
154
		super.eSet(featureID, newValue);
155
	}
156
157
	/**
158
	 * <!-- begin-user-doc -->
159
	 * <!-- end-user-doc -->
160
	 * @generated
161
	 */
162
	@Override
163
	public void eUnset(int featureID) {
164
		switch (featureID) {
165
			case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED:
166
				unsetEnabled();
167
				return;
168
		}
169
		super.eUnset(featureID);
170
	}
171
172
	/**
173
	 * <!-- begin-user-doc -->
174
	 * <!-- end-user-doc -->
175
	 * @generated
176
	 */
177
	@Override
178
	public boolean eIsSet(int featureID) {
179
		switch (featureID) {
180
			case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED:
181
				return isSetEnabled();
182
		}
183
		return super.eIsSet(featureID);
184
	}
185
186
	/**
187
	 * <!-- begin-user-doc -->
188
	 * <!-- end-user-doc -->
189
	 * @generated
190
	 */
191
	@Override
192
	public String toString() {
193
		if (eIsProxy()) return super.toString();
194
195
		StringBuffer result = new StringBuffer(super.toString());
196
		result.append(" (enabled: "); //$NON-NLS-1$
197
		if (enabledESet) result.append(enabled); else result.append("<unset>"); //$NON-NLS-1$
198
		result.append(')');
199
		return result.toString();
200
	}
201
202
} //RespectBindingTypeImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/JcaPackageImpl.java (+2187 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import org.eclipse.emf.ecore.EAttribute;
10
import org.eclipse.emf.ecore.EClass;
11
import org.eclipse.emf.ecore.EDataType;
12
import org.eclipse.emf.ecore.EEnum;
13
import org.eclipse.emf.ecore.EPackage;
14
import org.eclipse.emf.ecore.EReference;
15
16
import org.eclipse.emf.ecore.impl.EPackageImpl;
17
18
import org.eclipse.emf.ecore.xml.namespace.XMLNamespacePackage;
19
20
import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
21
22
import org.eclipse.jst.javaee.application.internal.impl.ApplicationPackageImpl;
23
24
import org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage;
25
26
import org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationclientPackageImpl;
27
28
import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage;
29
30
import org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl;
31
32
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
33
34
import org.eclipse.jst.javaee.ejb.internal.impl.EjbPackageImpl;
35
36
import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage;
37
38
import org.eclipse.jst.javaee.jca.ActivationSpec;
39
import org.eclipse.jst.javaee.jca.AdminObject;
40
import org.eclipse.jst.javaee.jca.AuthenticationMechanism;
41
import org.eclipse.jst.javaee.jca.ConfigProperty;
42
import org.eclipse.jst.javaee.jca.ConfigPropertyTypeType;
43
import org.eclipse.jst.javaee.jca.ConnectionDefinition;
44
import org.eclipse.jst.javaee.jca.Connector;
45
import org.eclipse.jst.javaee.jca.ConnectorDeploymentDescriptor;
46
import org.eclipse.jst.javaee.jca.CredentialInterfaceType;
47
import org.eclipse.jst.javaee.jca.InboundResourceAdapter;
48
import org.eclipse.jst.javaee.jca.License;
49
import org.eclipse.jst.javaee.jca.MessageAdapter;
50
import org.eclipse.jst.javaee.jca.MessageListener;
51
import org.eclipse.jst.javaee.jca.OutboundResourceAdapter;
52
import org.eclipse.jst.javaee.jca.RequiredConfigProperty;
53
import org.eclipse.jst.javaee.jca.ResourceAdapter;
54
import org.eclipse.jst.javaee.jca.SecurityPermission;
55
import org.eclipse.jst.javaee.jca.TransactionSupportType;
56
57
import org.eclipse.jst.javaee.jca.internal.metadata.JcaFactory;
58
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
59
60
import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl;
61
62
import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage;
63
64
import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl;
65
66
import org.eclipse.jst.javaee.web.internal.metadata.WebPackage;
67
68
import org.eclipse.jst.javaee.webapp.internal.impl.WebappPackageImpl;
69
70
import org.eclipse.jst.javaee.webapp.internal.metadata.WebappPackage;
71
72
import org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl;
73
74
import org.eclipse.jst.javaee.webfragment.internal.metadata.WebfragmentPackage;
75
76
/**
77
 * <!-- begin-user-doc -->
78
 * An implementation of the model <b>Package</b>.
79
 * <!-- end-user-doc -->
80
 * @generated
81
 */
82
public class JcaPackageImpl extends EPackageImpl implements JcaPackage {
83
	/**
84
	 * <!-- begin-user-doc -->
85
	 * <!-- end-user-doc -->
86
	 * @generated
87
	 */
88
	private EClass activationSpecEClass = null;
89
90
	/**
91
	 * <!-- begin-user-doc -->
92
	 * <!-- end-user-doc -->
93
	 * @generated
94
	 */
95
	private EClass adminObjectEClass = null;
96
97
	/**
98
	 * <!-- begin-user-doc -->
99
	 * <!-- end-user-doc -->
100
	 * @generated
101
	 */
102
	private EClass authenticationMechanismEClass = null;
103
104
	/**
105
	 * <!-- begin-user-doc -->
106
	 * <!-- end-user-doc -->
107
	 * @generated
108
	 */
109
	private EClass configPropertyEClass = null;
110
111
	/**
112
	 * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
114
	 * @generated
115
	 */
116
	private EClass connectionDefinitionEClass = null;
117
118
	/**
119
	 * <!-- begin-user-doc -->
120
	 * <!-- end-user-doc -->
121
	 * @generated
122
	 */
123
	private EClass connectorEClass = null;
124
125
	/**
126
	 * <!-- begin-user-doc -->
127
	 * <!-- end-user-doc -->
128
	 * @generated
129
	 */
130
	private EClass connectorDeploymentDescriptorEClass = null;
131
132
	/**
133
	 * <!-- begin-user-doc -->
134
	 * <!-- end-user-doc -->
135
	 * @generated
136
	 */
137
	private EClass inboundResourceAdapterEClass = null;
138
139
	/**
140
	 * <!-- begin-user-doc -->
141
	 * <!-- end-user-doc -->
142
	 * @generated
143
	 */
144
	private EClass licenseEClass = null;
145
146
	/**
147
	 * <!-- begin-user-doc -->
148
	 * <!-- end-user-doc -->
149
	 * @generated
150
	 */
151
	private EClass messageAdapterEClass = null;
152
153
	/**
154
	 * <!-- begin-user-doc -->
155
	 * <!-- end-user-doc -->
156
	 * @generated
157
	 */
158
	private EClass messageListenerEClass = null;
159
160
	/**
161
	 * <!-- begin-user-doc -->
162
	 * <!-- end-user-doc -->
163
	 * @generated
164
	 */
165
	private EClass outboundResourceAdapterEClass = null;
166
167
	/**
168
	 * <!-- begin-user-doc -->
169
	 * <!-- end-user-doc -->
170
	 * @generated
171
	 */
172
	private EClass requiredConfigPropertyEClass = null;
173
174
	/**
175
	 * <!-- begin-user-doc -->
176
	 * <!-- end-user-doc -->
177
	 * @generated
178
	 */
179
	private EClass resourceAdapterEClass = null;
180
181
	/**
182
	 * <!-- begin-user-doc -->
183
	 * <!-- end-user-doc -->
184
	 * @generated
185
	 */
186
	private EClass securityPermissionEClass = null;
187
188
	/**
189
	 * <!-- begin-user-doc -->
190
	 * <!-- end-user-doc -->
191
	 * @generated
192
	 */
193
	private EEnum configPropertyTypeTypeEEnum = null;
194
195
	/**
196
	 * <!-- begin-user-doc -->
197
	 * <!-- end-user-doc -->
198
	 * @generated
199
	 */
200
	private EEnum credentialInterfaceTypeEEnum = null;
201
202
	/**
203
	 * <!-- begin-user-doc -->
204
	 * <!-- end-user-doc -->
205
	 * @generated
206
	 */
207
	private EEnum transactionSupportTypeEEnum = null;
208
209
	/**
210
	 * <!-- begin-user-doc -->
211
	 * <!-- end-user-doc -->
212
	 * @generated
213
	 */
214
	private EDataType configPropertyNameTypeEDataType = null;
215
216
	/**
217
	 * <!-- begin-user-doc -->
218
	 * <!-- end-user-doc -->
219
	 * @generated
220
	 */
221
	private EDataType configPropertyTypeTypeObjectEDataType = null;
222
223
	/**
224
	 * <!-- begin-user-doc -->
225
	 * <!-- end-user-doc -->
226
	 * @generated
227
	 */
228
	private EDataType credentialInterfaceTypeObjectEDataType = null;
229
230
	/**
231
	 * <!-- begin-user-doc -->
232
	 * <!-- end-user-doc -->
233
	 * @generated
234
	 */
235
	private EDataType transactionSupportTypeObjectEDataType = null;
236
237
	/**
238
	 * Creates an instance of the model <b>Package</b>, registered with
239
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
240
	 * package URI value.
241
	 * <p>Note: the correct way to create the package is via the static
242
	 * factory method {@link #init init()}, which also performs
243
	 * initialization of the package, or returns the registered package,
244
	 * if one already exists.
245
	 * <!-- begin-user-doc -->
246
	 * <!-- end-user-doc -->
247
	 * @see org.eclipse.emf.ecore.EPackage.Registry
248
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#eNS_URI
249
	 * @see #init()
250
	 * @generated
251
	 */
252
	private JcaPackageImpl() {
253
		super(eNS_URI, JcaFactory.eINSTANCE);
254
	}
255
256
	/**
257
	 * <!-- begin-user-doc -->
258
	 * <!-- end-user-doc -->
259
	 * @generated
260
	 */
261
	private static boolean isInited = false;
262
263
	/**
264
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
265
	 * 
266
	 * <p>This method is used to initialize {@link JcaPackage#eINSTANCE} when that field is accessed.
267
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
268
	 * <!-- begin-user-doc -->
269
	 * <!-- end-user-doc -->
270
	 * @see #eNS_URI
271
	 * @see #createPackageContents()
272
	 * @see #initializePackageContents()
273
	 * @generated
274
	 */
275
	public static JcaPackage init() {
276
		if (isInited) return (JcaPackage)EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI);
277
278
		// Obtain or create and register package
279
		JcaPackageImpl theJcaPackage = (JcaPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof JcaPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new JcaPackageImpl());
280
281
		isInited = true;
282
283
		// Initialize simple dependencies
284
		XMLNamespacePackage.eINSTANCE.eClass();
285
		XMLTypePackage.eINSTANCE.eClass();
286
287
		// Obtain or create and register interdependencies
288
		ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
289
		JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI) : JavaeePackage.eINSTANCE);
290
		ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE);
291
		EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
292
		JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
293
		WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE);
294
		WebappPackageImpl theWebappPackage = (WebappPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) instanceof WebappPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebappPackage.eNS_URI) : WebappPackage.eINSTANCE);
295
		WebfragmentPackageImpl theWebfragmentPackage = (WebfragmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) instanceof WebfragmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebfragmentPackage.eNS_URI) : WebfragmentPackage.eINSTANCE);
296
297
		// Create package meta-data objects
298
		theJcaPackage.createPackageContents();
299
		theApplicationPackage.createPackageContents();
300
		theJavaeePackage.createPackageContents();
301
		theApplicationclientPackage.createPackageContents();
302
		theEjbPackage.createPackageContents();
303
		theJspPackage.createPackageContents();
304
		theWebPackage.createPackageContents();
305
		theWebappPackage.createPackageContents();
306
		theWebfragmentPackage.createPackageContents();
307
308
		// Initialize created meta-data
309
		theJcaPackage.initializePackageContents();
310
		theApplicationPackage.initializePackageContents();
311
		theJavaeePackage.initializePackageContents();
312
		theApplicationclientPackage.initializePackageContents();
313
		theEjbPackage.initializePackageContents();
314
		theJspPackage.initializePackageContents();
315
		theWebPackage.initializePackageContents();
316
		theWebappPackage.initializePackageContents();
317
		theWebfragmentPackage.initializePackageContents();
318
319
		// Mark meta-data to indicate it can't be changed
320
		theJcaPackage.freeze();
321
322
  
323
		// Update the registry and return the package
324
		EPackage.Registry.INSTANCE.put(JcaPackage.eNS_URI, theJcaPackage);
325
		return theJcaPackage;
326
	}
327
328
	/**
329
	 * <!-- begin-user-doc -->
330
	 * <!-- end-user-doc -->
331
	 * @generated
332
	 */
333
	public EClass getActivationSpec() {
334
		return activationSpecEClass;
335
	}
336
337
	/**
338
	 * <!-- begin-user-doc -->
339
	 * <!-- end-user-doc -->
340
	 * @generated
341
	 */
342
	public EAttribute getActivationSpec_ActivationspecClass() {
343
		return (EAttribute)activationSpecEClass.getEStructuralFeatures().get(0);
344
	}
345
346
	/**
347
	 * <!-- begin-user-doc -->
348
	 * <!-- end-user-doc -->
349
	 * @generated
350
	 */
351
	public EReference getActivationSpec_RequiredConfigProperty() {
352
		return (EReference)activationSpecEClass.getEStructuralFeatures().get(1);
353
	}
354
355
	/**
356
	 * <!-- begin-user-doc -->
357
	 * <!-- end-user-doc -->
358
	 * @generated
359
	 */
360
	public EReference getActivationSpec_ConfigProperty() {
361
		return (EReference)activationSpecEClass.getEStructuralFeatures().get(2);
362
	}
363
364
	/**
365
	 * <!-- begin-user-doc -->
366
	 * <!-- end-user-doc -->
367
	 * @generated
368
	 */
369
	public EAttribute getActivationSpec_Id() {
370
		return (EAttribute)activationSpecEClass.getEStructuralFeatures().get(3);
371
	}
372
373
	/**
374
	 * <!-- begin-user-doc -->
375
	 * <!-- end-user-doc -->
376
	 * @generated
377
	 */
378
	public EClass getAdminObject() {
379
		return adminObjectEClass;
380
	}
381
382
	/**
383
	 * <!-- begin-user-doc -->
384
	 * <!-- end-user-doc -->
385
	 * @generated
386
	 */
387
	public EAttribute getAdminObject_AdminobjectInterface() {
388
		return (EAttribute)adminObjectEClass.getEStructuralFeatures().get(0);
389
	}
390
391
	/**
392
	 * <!-- begin-user-doc -->
393
	 * <!-- end-user-doc -->
394
	 * @generated
395
	 */
396
	public EAttribute getAdminObject_AdminobjectClass() {
397
		return (EAttribute)adminObjectEClass.getEStructuralFeatures().get(1);
398
	}
399
400
	/**
401
	 * <!-- begin-user-doc -->
402
	 * <!-- end-user-doc -->
403
	 * @generated
404
	 */
405
	public EReference getAdminObject_ConfigProperty() {
406
		return (EReference)adminObjectEClass.getEStructuralFeatures().get(2);
407
	}
408
409
	/**
410
	 * <!-- begin-user-doc -->
411
	 * <!-- end-user-doc -->
412
	 * @generated
413
	 */
414
	public EAttribute getAdminObject_Id() {
415
		return (EAttribute)adminObjectEClass.getEStructuralFeatures().get(3);
416
	}
417
418
	/**
419
	 * <!-- begin-user-doc -->
420
	 * <!-- end-user-doc -->
421
	 * @generated
422
	 */
423
	public EClass getAuthenticationMechanism() {
424
		return authenticationMechanismEClass;
425
	}
426
427
	/**
428
	 * <!-- begin-user-doc -->
429
	 * <!-- end-user-doc -->
430
	 * @generated
431
	 */
432
	public EReference getAuthenticationMechanism_Description() {
433
		return (EReference)authenticationMechanismEClass.getEStructuralFeatures().get(0);
434
	}
435
436
	/**
437
	 * <!-- begin-user-doc -->
438
	 * <!-- end-user-doc -->
439
	 * @generated
440
	 */
441
	public EAttribute getAuthenticationMechanism_AuthenticationMechanismType() {
442
		return (EAttribute)authenticationMechanismEClass.getEStructuralFeatures().get(1);
443
	}
444
445
	/**
446
	 * <!-- begin-user-doc -->
447
	 * <!-- end-user-doc -->
448
	 * @generated
449
	 */
450
	public EAttribute getAuthenticationMechanism_CredentialInterface() {
451
		return (EAttribute)authenticationMechanismEClass.getEStructuralFeatures().get(2);
452
	}
453
454
	/**
455
	 * <!-- begin-user-doc -->
456
	 * <!-- end-user-doc -->
457
	 * @generated
458
	 */
459
	public EAttribute getAuthenticationMechanism_Id() {
460
		return (EAttribute)authenticationMechanismEClass.getEStructuralFeatures().get(3);
461
	}
462
463
	/**
464
	 * <!-- begin-user-doc -->
465
	 * <!-- end-user-doc -->
466
	 * @generated
467
	 */
468
	public EClass getConfigProperty() {
469
		return configPropertyEClass;
470
	}
471
472
	/**
473
	 * <!-- begin-user-doc -->
474
	 * <!-- end-user-doc -->
475
	 * @generated
476
	 */
477
	public EReference getConfigProperty_Description() {
478
		return (EReference)configPropertyEClass.getEStructuralFeatures().get(0);
479
	}
480
481
	/**
482
	 * <!-- begin-user-doc -->
483
	 * <!-- end-user-doc -->
484
	 * @generated
485
	 */
486
	public EAttribute getConfigProperty_ConfigPropertyName() {
487
		return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(1);
488
	}
489
490
	/**
491
	 * <!-- begin-user-doc -->
492
	 * <!-- end-user-doc -->
493
	 * @generated
494
	 */
495
	public EAttribute getConfigProperty_ConfigPropertyType() {
496
		return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(2);
497
	}
498
499
	/**
500
	 * <!-- begin-user-doc -->
501
	 * <!-- end-user-doc -->
502
	 * @generated
503
	 */
504
	public EAttribute getConfigProperty_ConfigPropertyValue() {
505
		return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(3);
506
	}
507
508
	/**
509
	 * <!-- begin-user-doc -->
510
	 * <!-- end-user-doc -->
511
	 * @generated
512
	 */
513
	public EAttribute getConfigProperty_ConfigPropertyIgnore() {
514
		return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(4);
515
	}
516
517
	/**
518
	 * <!-- begin-user-doc -->
519
	 * <!-- end-user-doc -->
520
	 * @generated
521
	 */
522
	public EAttribute getConfigProperty_ConfigPropertySupportsDynamicUpdates() {
523
		return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(5);
524
	}
525
526
	/**
527
	 * <!-- begin-user-doc -->
528
	 * <!-- end-user-doc -->
529
	 * @generated
530
	 */
531
	public EAttribute getConfigProperty_ConfigPropertyConfidential() {
532
		return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(6);
533
	}
534
535
	/**
536
	 * <!-- begin-user-doc -->
537
	 * <!-- end-user-doc -->
538
	 * @generated
539
	 */
540
	public EAttribute getConfigProperty_Id() {
541
		return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(7);
542
	}
543
544
	/**
545
	 * <!-- begin-user-doc -->
546
	 * <!-- end-user-doc -->
547
	 * @generated
548
	 */
549
	public EClass getConnectionDefinition() {
550
		return connectionDefinitionEClass;
551
	}
552
553
	/**
554
	 * <!-- begin-user-doc -->
555
	 * <!-- end-user-doc -->
556
	 * @generated
557
	 */
558
	public EAttribute getConnectionDefinition_ManagedconnectionfactoryClass() {
559
		return (EAttribute)connectionDefinitionEClass.getEStructuralFeatures().get(0);
560
	}
561
562
	/**
563
	 * <!-- begin-user-doc -->
564
	 * <!-- end-user-doc -->
565
	 * @generated
566
	 */
567
	public EReference getConnectionDefinition_ConfigProperty() {
568
		return (EReference)connectionDefinitionEClass.getEStructuralFeatures().get(1);
569
	}
570
571
	/**
572
	 * <!-- begin-user-doc -->
573
	 * <!-- end-user-doc -->
574
	 * @generated
575
	 */
576
	public EAttribute getConnectionDefinition_ConnectionfactoryInterface() {
577
		return (EAttribute)connectionDefinitionEClass.getEStructuralFeatures().get(2);
578
	}
579
580
	/**
581
	 * <!-- begin-user-doc -->
582
	 * <!-- end-user-doc -->
583
	 * @generated
584
	 */
585
	public EAttribute getConnectionDefinition_ConnectionfactoryImplClass() {
586
		return (EAttribute)connectionDefinitionEClass.getEStructuralFeatures().get(3);
587
	}
588
589
	/**
590
	 * <!-- begin-user-doc -->
591
	 * <!-- end-user-doc -->
592
	 * @generated
593
	 */
594
	public EAttribute getConnectionDefinition_ConnectionInterface() {
595
		return (EAttribute)connectionDefinitionEClass.getEStructuralFeatures().get(4);
596
	}
597
598
	/**
599
	 * <!-- begin-user-doc -->
600
	 * <!-- end-user-doc -->
601
	 * @generated
602
	 */
603
	public EAttribute getConnectionDefinition_ConnectionImplClass() {
604
		return (EAttribute)connectionDefinitionEClass.getEStructuralFeatures().get(5);
605
	}
606
607
	/**
608
	 * <!-- begin-user-doc -->
609
	 * <!-- end-user-doc -->
610
	 * @generated
611
	 */
612
	public EAttribute getConnectionDefinition_Id() {
613
		return (EAttribute)connectionDefinitionEClass.getEStructuralFeatures().get(6);
614
	}
615
616
	/**
617
	 * <!-- begin-user-doc -->
618
	 * <!-- end-user-doc -->
619
	 * @generated
620
	 */
621
	public EClass getConnector() {
622
		return connectorEClass;
623
	}
624
625
	/**
626
	 * <!-- begin-user-doc -->
627
	 * <!-- end-user-doc -->
628
	 * @generated
629
	 */
630
	public EReference getConnector_Descriptions() {
631
		return (EReference)connectorEClass.getEStructuralFeatures().get(0);
632
	}
633
634
	/**
635
	 * <!-- begin-user-doc -->
636
	 * <!-- end-user-doc -->
637
	 * @generated
638
	 */
639
	public EReference getConnector_DisplayNames() {
640
		return (EReference)connectorEClass.getEStructuralFeatures().get(1);
641
	}
642
643
	/**
644
	 * <!-- begin-user-doc -->
645
	 * <!-- end-user-doc -->
646
	 * @generated
647
	 */
648
	public EReference getConnector_Icons() {
649
		return (EReference)connectorEClass.getEStructuralFeatures().get(2);
650
	}
651
652
	/**
653
	 * <!-- begin-user-doc -->
654
	 * <!-- end-user-doc -->
655
	 * @generated
656
	 */
657
	public EAttribute getConnector_VendorName() {
658
		return (EAttribute)connectorEClass.getEStructuralFeatures().get(3);
659
	}
660
661
	/**
662
	 * <!-- begin-user-doc -->
663
	 * <!-- end-user-doc -->
664
	 * @generated
665
	 */
666
	public EAttribute getConnector_EisType() {
667
		return (EAttribute)connectorEClass.getEStructuralFeatures().get(4);
668
	}
669
670
	/**
671
	 * <!-- begin-user-doc -->
672
	 * <!-- end-user-doc -->
673
	 * @generated
674
	 */
675
	public EAttribute getConnector_ResourceadapterVersion() {
676
		return (EAttribute)connectorEClass.getEStructuralFeatures().get(5);
677
	}
678
679
	/**
680
	 * <!-- begin-user-doc -->
681
	 * <!-- end-user-doc -->
682
	 * @generated
683
	 */
684
	public EReference getConnector_License() {
685
		return (EReference)connectorEClass.getEStructuralFeatures().get(6);
686
	}
687
688
	/**
689
	 * <!-- begin-user-doc -->
690
	 * <!-- end-user-doc -->
691
	 * @generated
692
	 */
693
	public EReference getConnector_Resourceadapter() {
694
		return (EReference)connectorEClass.getEStructuralFeatures().get(7);
695
	}
696
697
	/**
698
	 * <!-- begin-user-doc -->
699
	 * <!-- end-user-doc -->
700
	 * @generated
701
	 */
702
	public EAttribute getConnector_RequiredWorkContext() {
703
		return (EAttribute)connectorEClass.getEStructuralFeatures().get(8);
704
	}
705
706
	/**
707
	 * <!-- begin-user-doc -->
708
	 * <!-- end-user-doc -->
709
	 * @generated
710
	 */
711
	public EAttribute getConnector_Id() {
712
		return (EAttribute)connectorEClass.getEStructuralFeatures().get(9);
713
	}
714
715
	/**
716
	 * <!-- begin-user-doc -->
717
	 * <!-- end-user-doc -->
718
	 * @generated
719
	 */
720
	public EAttribute getConnector_MetadataComplete() {
721
		return (EAttribute)connectorEClass.getEStructuralFeatures().get(10);
722
	}
723
724
	/**
725
	 * <!-- begin-user-doc -->
726
	 * <!-- end-user-doc -->
727
	 * @generated
728
	 */
729
	public EAttribute getConnector_Version() {
730
		return (EAttribute)connectorEClass.getEStructuralFeatures().get(11);
731
	}
732
733
	/**
734
	 * <!-- begin-user-doc -->
735
	 * <!-- end-user-doc -->
736
	 * @generated
737
	 */
738
	public EClass getConnectorDeploymentDescriptor() {
739
		return connectorDeploymentDescriptorEClass;
740
	}
741
742
	/**
743
	 * <!-- begin-user-doc -->
744
	 * <!-- end-user-doc -->
745
	 * @generated
746
	 */
747
	public EAttribute getConnectorDeploymentDescriptor_Mixed() {
748
		return (EAttribute)connectorDeploymentDescriptorEClass.getEStructuralFeatures().get(0);
749
	}
750
751
	/**
752
	 * <!-- begin-user-doc -->
753
	 * <!-- end-user-doc -->
754
	 * @generated
755
	 */
756
	public EReference getConnectorDeploymentDescriptor_XMLNSPrefixMap() {
757
		return (EReference)connectorDeploymentDescriptorEClass.getEStructuralFeatures().get(1);
758
	}
759
760
	/**
761
	 * <!-- begin-user-doc -->
762
	 * <!-- end-user-doc -->
763
	 * @generated
764
	 */
765
	public EReference getConnectorDeploymentDescriptor_XSISchemaLocation() {
766
		return (EReference)connectorDeploymentDescriptorEClass.getEStructuralFeatures().get(2);
767
	}
768
769
	/**
770
	 * <!-- begin-user-doc -->
771
	 * <!-- end-user-doc -->
772
	 * @generated
773
	 */
774
	public EReference getConnectorDeploymentDescriptor_Connector() {
775
		return (EReference)connectorDeploymentDescriptorEClass.getEStructuralFeatures().get(3);
776
	}
777
778
	/**
779
	 * <!-- begin-user-doc -->
780
	 * <!-- end-user-doc -->
781
	 * @generated
782
	 */
783
	public EClass getInboundResourceAdapter() {
784
		return inboundResourceAdapterEClass;
785
	}
786
787
	/**
788
	 * <!-- begin-user-doc -->
789
	 * <!-- end-user-doc -->
790
	 * @generated
791
	 */
792
	public EReference getInboundResourceAdapter_Messageadapter() {
793
		return (EReference)inboundResourceAdapterEClass.getEStructuralFeatures().get(0);
794
	}
795
796
	/**
797
	 * <!-- begin-user-doc -->
798
	 * <!-- end-user-doc -->
799
	 * @generated
800
	 */
801
	public EAttribute getInboundResourceAdapter_Id() {
802
		return (EAttribute)inboundResourceAdapterEClass.getEStructuralFeatures().get(1);
803
	}
804
805
	/**
806
	 * <!-- begin-user-doc -->
807
	 * <!-- end-user-doc -->
808
	 * @generated
809
	 */
810
	public EClass getLicense() {
811
		return licenseEClass;
812
	}
813
814
	/**
815
	 * <!-- begin-user-doc -->
816
	 * <!-- end-user-doc -->
817
	 * @generated
818
	 */
819
	public EReference getLicense_Description() {
820
		return (EReference)licenseEClass.getEStructuralFeatures().get(0);
821
	}
822
823
	/**
824
	 * <!-- begin-user-doc -->
825
	 * <!-- end-user-doc -->
826
	 * @generated
827
	 */
828
	public EAttribute getLicense_LicenseRequired() {
829
		return (EAttribute)licenseEClass.getEStructuralFeatures().get(1);
830
	}
831
832
	/**
833
	 * <!-- begin-user-doc -->
834
	 * <!-- end-user-doc -->
835
	 * @generated
836
	 */
837
	public EAttribute getLicense_Id() {
838
		return (EAttribute)licenseEClass.getEStructuralFeatures().get(2);
839
	}
840
841
	/**
842
	 * <!-- begin-user-doc -->
843
	 * <!-- end-user-doc -->
844
	 * @generated
845
	 */
846
	public EClass getMessageAdapter() {
847
		return messageAdapterEClass;
848
	}
849
850
	/**
851
	 * <!-- begin-user-doc -->
852
	 * <!-- end-user-doc -->
853
	 * @generated
854
	 */
855
	public EReference getMessageAdapter_Messagelistener() {
856
		return (EReference)messageAdapterEClass.getEStructuralFeatures().get(0);
857
	}
858
859
	/**
860
	 * <!-- begin-user-doc -->
861
	 * <!-- end-user-doc -->
862
	 * @generated
863
	 */
864
	public EAttribute getMessageAdapter_Id() {
865
		return (EAttribute)messageAdapterEClass.getEStructuralFeatures().get(1);
866
	}
867
868
	/**
869
	 * <!-- begin-user-doc -->
870
	 * <!-- end-user-doc -->
871
	 * @generated
872
	 */
873
	public EClass getMessageListener() {
874
		return messageListenerEClass;
875
	}
876
877
	/**
878
	 * <!-- begin-user-doc -->
879
	 * <!-- end-user-doc -->
880
	 * @generated
881
	 */
882
	public EAttribute getMessageListener_MessagelistenerType() {
883
		return (EAttribute)messageListenerEClass.getEStructuralFeatures().get(0);
884
	}
885
886
	/**
887
	 * <!-- begin-user-doc -->
888
	 * <!-- end-user-doc -->
889
	 * @generated
890
	 */
891
	public EReference getMessageListener_Activationspec() {
892
		return (EReference)messageListenerEClass.getEStructuralFeatures().get(1);
893
	}
894
895
	/**
896
	 * <!-- begin-user-doc -->
897
	 * <!-- end-user-doc -->
898
	 * @generated
899
	 */
900
	public EAttribute getMessageListener_Id() {
901
		return (EAttribute)messageListenerEClass.getEStructuralFeatures().get(2);
902
	}
903
904
	/**
905
	 * <!-- begin-user-doc -->
906
	 * <!-- end-user-doc -->
907
	 * @generated
908
	 */
909
	public EClass getOutboundResourceAdapter() {
910
		return outboundResourceAdapterEClass;
911
	}
912
913
	/**
914
	 * <!-- begin-user-doc -->
915
	 * <!-- end-user-doc -->
916
	 * @generated
917
	 */
918
	public EReference getOutboundResourceAdapter_ConnectionDefinition() {
919
		return (EReference)outboundResourceAdapterEClass.getEStructuralFeatures().get(0);
920
	}
921
922
	/**
923
	 * <!-- begin-user-doc -->
924
	 * <!-- end-user-doc -->
925
	 * @generated
926
	 */
927
	public EAttribute getOutboundResourceAdapter_TransactionSupport() {
928
		return (EAttribute)outboundResourceAdapterEClass.getEStructuralFeatures().get(1);
929
	}
930
931
	/**
932
	 * <!-- begin-user-doc -->
933
	 * <!-- end-user-doc -->
934
	 * @generated
935
	 */
936
	public EReference getOutboundResourceAdapter_AuthenticationMechanism() {
937
		return (EReference)outboundResourceAdapterEClass.getEStructuralFeatures().get(2);
938
	}
939
940
	/**
941
	 * <!-- begin-user-doc -->
942
	 * <!-- end-user-doc -->
943
	 * @generated
944
	 */
945
	public EAttribute getOutboundResourceAdapter_ReauthenticationSupport() {
946
		return (EAttribute)outboundResourceAdapterEClass.getEStructuralFeatures().get(3);
947
	}
948
949
	/**
950
	 * <!-- begin-user-doc -->
951
	 * <!-- end-user-doc -->
952
	 * @generated
953
	 */
954
	public EAttribute getOutboundResourceAdapter_Id() {
955
		return (EAttribute)outboundResourceAdapterEClass.getEStructuralFeatures().get(4);
956
	}
957
958
	/**
959
	 * <!-- begin-user-doc -->
960
	 * <!-- end-user-doc -->
961
	 * @generated
962
	 */
963
	public EClass getRequiredConfigProperty() {
964
		return requiredConfigPropertyEClass;
965
	}
966
967
	/**
968
	 * <!-- begin-user-doc -->
969
	 * <!-- end-user-doc -->
970
	 * @generated
971
	 */
972
	public EReference getRequiredConfigProperty_Description() {
973
		return (EReference)requiredConfigPropertyEClass.getEStructuralFeatures().get(0);
974
	}
975
976
	/**
977
	 * <!-- begin-user-doc -->
978
	 * <!-- end-user-doc -->
979
	 * @generated
980
	 */
981
	public EAttribute getRequiredConfigProperty_ConfigPropertyName() {
982
		return (EAttribute)requiredConfigPropertyEClass.getEStructuralFeatures().get(1);
983
	}
984
985
	/**
986
	 * <!-- begin-user-doc -->
987
	 * <!-- end-user-doc -->
988
	 * @generated
989
	 */
990
	public EAttribute getRequiredConfigProperty_Id() {
991
		return (EAttribute)requiredConfigPropertyEClass.getEStructuralFeatures().get(2);
992
	}
993
994
	/**
995
	 * <!-- begin-user-doc -->
996
	 * <!-- end-user-doc -->
997
	 * @generated
998
	 */
999
	public EClass getResourceAdapter() {
1000
		return resourceAdapterEClass;
1001
	}
1002
1003
	/**
1004
	 * <!-- begin-user-doc -->
1005
	 * <!-- end-user-doc -->
1006
	 * @generated
1007
	 */
1008
	public EAttribute getResourceAdapter_ResourceadapterClass() {
1009
		return (EAttribute)resourceAdapterEClass.getEStructuralFeatures().get(0);
1010
	}
1011
1012
	/**
1013
	 * <!-- begin-user-doc -->
1014
	 * <!-- end-user-doc -->
1015
	 * @generated
1016
	 */
1017
	public EReference getResourceAdapter_ConfigProperty() {
1018
		return (EReference)resourceAdapterEClass.getEStructuralFeatures().get(1);
1019
	}
1020
1021
	/**
1022
	 * <!-- begin-user-doc -->
1023
	 * <!-- end-user-doc -->
1024
	 * @generated
1025
	 */
1026
	public EReference getResourceAdapter_OutboundResourceadapter() {
1027
		return (EReference)resourceAdapterEClass.getEStructuralFeatures().get(2);
1028
	}
1029
1030
	/**
1031
	 * <!-- begin-user-doc -->
1032
	 * <!-- end-user-doc -->
1033
	 * @generated
1034
	 */
1035
	public EReference getResourceAdapter_InboundResourceadapter() {
1036
		return (EReference)resourceAdapterEClass.getEStructuralFeatures().get(3);
1037
	}
1038
1039
	/**
1040
	 * <!-- begin-user-doc -->
1041
	 * <!-- end-user-doc -->
1042
	 * @generated
1043
	 */
1044
	public EReference getResourceAdapter_Adminobject() {
1045
		return (EReference)resourceAdapterEClass.getEStructuralFeatures().get(4);
1046
	}
1047
1048
	/**
1049
	 * <!-- begin-user-doc -->
1050
	 * <!-- end-user-doc -->
1051
	 * @generated
1052
	 */
1053
	public EReference getResourceAdapter_SecurityPermission() {
1054
		return (EReference)resourceAdapterEClass.getEStructuralFeatures().get(5);
1055
	}
1056
1057
	/**
1058
	 * <!-- begin-user-doc -->
1059
	 * <!-- end-user-doc -->
1060
	 * @generated
1061
	 */
1062
	public EAttribute getResourceAdapter_Id() {
1063
		return (EAttribute)resourceAdapterEClass.getEStructuralFeatures().get(6);
1064
	}
1065
1066
	/**
1067
	 * <!-- begin-user-doc -->
1068
	 * <!-- end-user-doc -->
1069
	 * @generated
1070
	 */
1071
	public EClass getSecurityPermission() {
1072
		return securityPermissionEClass;
1073
	}
1074
1075
	/**
1076
	 * <!-- begin-user-doc -->
1077
	 * <!-- end-user-doc -->
1078
	 * @generated
1079
	 */
1080
	public EReference getSecurityPermission_Description() {
1081
		return (EReference)securityPermissionEClass.getEStructuralFeatures().get(0);
1082
	}
1083
1084
	/**
1085
	 * <!-- begin-user-doc -->
1086
	 * <!-- end-user-doc -->
1087
	 * @generated
1088
	 */
1089
	public EAttribute getSecurityPermission_SecurityPermissionSpec() {
1090
		return (EAttribute)securityPermissionEClass.getEStructuralFeatures().get(1);
1091
	}
1092
1093
	/**
1094
	 * <!-- begin-user-doc -->
1095
	 * <!-- end-user-doc -->
1096
	 * @generated
1097
	 */
1098
	public EAttribute getSecurityPermission_Id() {
1099
		return (EAttribute)securityPermissionEClass.getEStructuralFeatures().get(2);
1100
	}
1101
1102
	/**
1103
	 * <!-- begin-user-doc -->
1104
	 * <!-- end-user-doc -->
1105
	 * @generated
1106
	 */
1107
	public EEnum getConfigPropertyTypeType() {
1108
		return configPropertyTypeTypeEEnum;
1109
	}
1110
1111
	/**
1112
	 * <!-- begin-user-doc -->
1113
	 * <!-- end-user-doc -->
1114
	 * @generated
1115
	 */
1116
	public EEnum getCredentialInterfaceType() {
1117
		return credentialInterfaceTypeEEnum;
1118
	}
1119
1120
	/**
1121
	 * <!-- begin-user-doc -->
1122
	 * <!-- end-user-doc -->
1123
	 * @generated
1124
	 */
1125
	public EEnum getTransactionSupportType() {
1126
		return transactionSupportTypeEEnum;
1127
	}
1128
1129
	/**
1130
	 * <!-- begin-user-doc -->
1131
	 * <!-- end-user-doc -->
1132
	 * @generated
1133
	 */
1134
	public EDataType getConfigPropertyNameType() {
1135
		return configPropertyNameTypeEDataType;
1136
	}
1137
1138
	/**
1139
	 * <!-- begin-user-doc -->
1140
	 * <!-- end-user-doc -->
1141
	 * @generated
1142
	 */
1143
	public EDataType getConfigPropertyTypeTypeObject() {
1144
		return configPropertyTypeTypeObjectEDataType;
1145
	}
1146
1147
	/**
1148
	 * <!-- begin-user-doc -->
1149
	 * <!-- end-user-doc -->
1150
	 * @generated
1151
	 */
1152
	public EDataType getCredentialInterfaceTypeObject() {
1153
		return credentialInterfaceTypeObjectEDataType;
1154
	}
1155
1156
	/**
1157
	 * <!-- begin-user-doc -->
1158
	 * <!-- end-user-doc -->
1159
	 * @generated
1160
	 */
1161
	public EDataType getTransactionSupportTypeObject() {
1162
		return transactionSupportTypeObjectEDataType;
1163
	}
1164
1165
	/**
1166
	 * <!-- begin-user-doc -->
1167
	 * <!-- end-user-doc -->
1168
	 * @generated
1169
	 */
1170
	public JcaFactory getJcaFactory() {
1171
		return (JcaFactory)getEFactoryInstance();
1172
	}
1173
1174
	/**
1175
	 * <!-- begin-user-doc -->
1176
	 * <!-- end-user-doc -->
1177
	 * @generated
1178
	 */
1179
	private boolean isCreated = false;
1180
1181
	/**
1182
	 * Creates the meta-model objects for the package.  This method is
1183
	 * guarded to have no affect on any invocation but its first.
1184
	 * <!-- begin-user-doc -->
1185
	 * <!-- end-user-doc -->
1186
	 * @generated
1187
	 */
1188
	public void createPackageContents() {
1189
		if (isCreated) return;
1190
		isCreated = true;
1191
1192
		// Create classes and their features
1193
		activationSpecEClass = createEClass(ACTIVATION_SPEC);
1194
		createEAttribute(activationSpecEClass, ACTIVATION_SPEC__ACTIVATIONSPEC_CLASS);
1195
		createEReference(activationSpecEClass, ACTIVATION_SPEC__REQUIRED_CONFIG_PROPERTY);
1196
		createEReference(activationSpecEClass, ACTIVATION_SPEC__CONFIG_PROPERTY);
1197
		createEAttribute(activationSpecEClass, ACTIVATION_SPEC__ID);
1198
1199
		adminObjectEClass = createEClass(ADMIN_OBJECT);
1200
		createEAttribute(adminObjectEClass, ADMIN_OBJECT__ADMINOBJECT_INTERFACE);
1201
		createEAttribute(adminObjectEClass, ADMIN_OBJECT__ADMINOBJECT_CLASS);
1202
		createEReference(adminObjectEClass, ADMIN_OBJECT__CONFIG_PROPERTY);
1203
		createEAttribute(adminObjectEClass, ADMIN_OBJECT__ID);
1204
1205
		authenticationMechanismEClass = createEClass(AUTHENTICATION_MECHANISM);
1206
		createEReference(authenticationMechanismEClass, AUTHENTICATION_MECHANISM__DESCRIPTION);
1207
		createEAttribute(authenticationMechanismEClass, AUTHENTICATION_MECHANISM__AUTHENTICATION_MECHANISM_TYPE);
1208
		createEAttribute(authenticationMechanismEClass, AUTHENTICATION_MECHANISM__CREDENTIAL_INTERFACE);
1209
		createEAttribute(authenticationMechanismEClass, AUTHENTICATION_MECHANISM__ID);
1210
1211
		configPropertyEClass = createEClass(CONFIG_PROPERTY);
1212
		createEReference(configPropertyEClass, CONFIG_PROPERTY__DESCRIPTION);
1213
		createEAttribute(configPropertyEClass, CONFIG_PROPERTY__CONFIG_PROPERTY_NAME);
1214
		createEAttribute(configPropertyEClass, CONFIG_PROPERTY__CONFIG_PROPERTY_TYPE);
1215
		createEAttribute(configPropertyEClass, CONFIG_PROPERTY__CONFIG_PROPERTY_VALUE);
1216
		createEAttribute(configPropertyEClass, CONFIG_PROPERTY__CONFIG_PROPERTY_IGNORE);
1217
		createEAttribute(configPropertyEClass, CONFIG_PROPERTY__CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES);
1218
		createEAttribute(configPropertyEClass, CONFIG_PROPERTY__CONFIG_PROPERTY_CONFIDENTIAL);
1219
		createEAttribute(configPropertyEClass, CONFIG_PROPERTY__ID);
1220
1221
		connectionDefinitionEClass = createEClass(CONNECTION_DEFINITION);
1222
		createEAttribute(connectionDefinitionEClass, CONNECTION_DEFINITION__MANAGEDCONNECTIONFACTORY_CLASS);
1223
		createEReference(connectionDefinitionEClass, CONNECTION_DEFINITION__CONFIG_PROPERTY);
1224
		createEAttribute(connectionDefinitionEClass, CONNECTION_DEFINITION__CONNECTIONFACTORY_INTERFACE);
1225
		createEAttribute(connectionDefinitionEClass, CONNECTION_DEFINITION__CONNECTIONFACTORY_IMPL_CLASS);
1226
		createEAttribute(connectionDefinitionEClass, CONNECTION_DEFINITION__CONNECTION_INTERFACE);
1227
		createEAttribute(connectionDefinitionEClass, CONNECTION_DEFINITION__CONNECTION_IMPL_CLASS);
1228
		createEAttribute(connectionDefinitionEClass, CONNECTION_DEFINITION__ID);
1229
1230
		connectorEClass = createEClass(CONNECTOR);
1231
		createEReference(connectorEClass, CONNECTOR__DESCRIPTIONS);
1232
		createEReference(connectorEClass, CONNECTOR__DISPLAY_NAMES);
1233
		createEReference(connectorEClass, CONNECTOR__ICONS);
1234
		createEAttribute(connectorEClass, CONNECTOR__VENDOR_NAME);
1235
		createEAttribute(connectorEClass, CONNECTOR__EIS_TYPE);
1236
		createEAttribute(connectorEClass, CONNECTOR__RESOURCEADAPTER_VERSION);
1237
		createEReference(connectorEClass, CONNECTOR__LICENSE);
1238
		createEReference(connectorEClass, CONNECTOR__RESOURCEADAPTER);
1239
		createEAttribute(connectorEClass, CONNECTOR__REQUIRED_WORK_CONTEXT);
1240
		createEAttribute(connectorEClass, CONNECTOR__ID);
1241
		createEAttribute(connectorEClass, CONNECTOR__METADATA_COMPLETE);
1242
		createEAttribute(connectorEClass, CONNECTOR__VERSION);
1243
1244
		connectorDeploymentDescriptorEClass = createEClass(CONNECTOR_DEPLOYMENT_DESCRIPTOR);
1245
		createEAttribute(connectorDeploymentDescriptorEClass, CONNECTOR_DEPLOYMENT_DESCRIPTOR__MIXED);
1246
		createEReference(connectorDeploymentDescriptorEClass, CONNECTOR_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP);
1247
		createEReference(connectorDeploymentDescriptorEClass, CONNECTOR_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION);
1248
		createEReference(connectorDeploymentDescriptorEClass, CONNECTOR_DEPLOYMENT_DESCRIPTOR__CONNECTOR);
1249
1250
		inboundResourceAdapterEClass = createEClass(INBOUND_RESOURCE_ADAPTER);
1251
		createEReference(inboundResourceAdapterEClass, INBOUND_RESOURCE_ADAPTER__MESSAGEADAPTER);
1252
		createEAttribute(inboundResourceAdapterEClass, INBOUND_RESOURCE_ADAPTER__ID);
1253
1254
		licenseEClass = createEClass(LICENSE);
1255
		createEReference(licenseEClass, LICENSE__DESCRIPTION);
1256
		createEAttribute(licenseEClass, LICENSE__LICENSE_REQUIRED);
1257
		createEAttribute(licenseEClass, LICENSE__ID);
1258
1259
		messageAdapterEClass = createEClass(MESSAGE_ADAPTER);
1260
		createEReference(messageAdapterEClass, MESSAGE_ADAPTER__MESSAGELISTENER);
1261
		createEAttribute(messageAdapterEClass, MESSAGE_ADAPTER__ID);
1262
1263
		messageListenerEClass = createEClass(MESSAGE_LISTENER);
1264
		createEAttribute(messageListenerEClass, MESSAGE_LISTENER__MESSAGELISTENER_TYPE);
1265
		createEReference(messageListenerEClass, MESSAGE_LISTENER__ACTIVATIONSPEC);
1266
		createEAttribute(messageListenerEClass, MESSAGE_LISTENER__ID);
1267
1268
		outboundResourceAdapterEClass = createEClass(OUTBOUND_RESOURCE_ADAPTER);
1269
		createEReference(outboundResourceAdapterEClass, OUTBOUND_RESOURCE_ADAPTER__CONNECTION_DEFINITION);
1270
		createEAttribute(outboundResourceAdapterEClass, OUTBOUND_RESOURCE_ADAPTER__TRANSACTION_SUPPORT);
1271
		createEReference(outboundResourceAdapterEClass, OUTBOUND_RESOURCE_ADAPTER__AUTHENTICATION_MECHANISM);
1272
		createEAttribute(outboundResourceAdapterEClass, OUTBOUND_RESOURCE_ADAPTER__REAUTHENTICATION_SUPPORT);
1273
		createEAttribute(outboundResourceAdapterEClass, OUTBOUND_RESOURCE_ADAPTER__ID);
1274
1275
		requiredConfigPropertyEClass = createEClass(REQUIRED_CONFIG_PROPERTY);
1276
		createEReference(requiredConfigPropertyEClass, REQUIRED_CONFIG_PROPERTY__DESCRIPTION);
1277
		createEAttribute(requiredConfigPropertyEClass, REQUIRED_CONFIG_PROPERTY__CONFIG_PROPERTY_NAME);
1278
		createEAttribute(requiredConfigPropertyEClass, REQUIRED_CONFIG_PROPERTY__ID);
1279
1280
		resourceAdapterEClass = createEClass(RESOURCE_ADAPTER);
1281
		createEAttribute(resourceAdapterEClass, RESOURCE_ADAPTER__RESOURCEADAPTER_CLASS);
1282
		createEReference(resourceAdapterEClass, RESOURCE_ADAPTER__CONFIG_PROPERTY);
1283
		createEReference(resourceAdapterEClass, RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER);
1284
		createEReference(resourceAdapterEClass, RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER);
1285
		createEReference(resourceAdapterEClass, RESOURCE_ADAPTER__ADMINOBJECT);
1286
		createEReference(resourceAdapterEClass, RESOURCE_ADAPTER__SECURITY_PERMISSION);
1287
		createEAttribute(resourceAdapterEClass, RESOURCE_ADAPTER__ID);
1288
1289
		securityPermissionEClass = createEClass(SECURITY_PERMISSION);
1290
		createEReference(securityPermissionEClass, SECURITY_PERMISSION__DESCRIPTION);
1291
		createEAttribute(securityPermissionEClass, SECURITY_PERMISSION__SECURITY_PERMISSION_SPEC);
1292
		createEAttribute(securityPermissionEClass, SECURITY_PERMISSION__ID);
1293
1294
		// Create enums
1295
		configPropertyTypeTypeEEnum = createEEnum(CONFIG_PROPERTY_TYPE_TYPE);
1296
		credentialInterfaceTypeEEnum = createEEnum(CREDENTIAL_INTERFACE_TYPE);
1297
		transactionSupportTypeEEnum = createEEnum(TRANSACTION_SUPPORT_TYPE);
1298
1299
		// Create data types
1300
		configPropertyNameTypeEDataType = createEDataType(CONFIG_PROPERTY_NAME_TYPE);
1301
		configPropertyTypeTypeObjectEDataType = createEDataType(CONFIG_PROPERTY_TYPE_TYPE_OBJECT);
1302
		credentialInterfaceTypeObjectEDataType = createEDataType(CREDENTIAL_INTERFACE_TYPE_OBJECT);
1303
		transactionSupportTypeObjectEDataType = createEDataType(TRANSACTION_SUPPORT_TYPE_OBJECT);
1304
	}
1305
1306
	/**
1307
	 * <!-- begin-user-doc -->
1308
	 * <!-- end-user-doc -->
1309
	 * @generated
1310
	 */
1311
	private boolean isInitialized = false;
1312
1313
	/**
1314
	 * Complete the initialization of the package and its meta-model.  This
1315
	 * method is guarded to have no affect on any invocation but its first.
1316
	 * <!-- begin-user-doc -->
1317
	 * <!-- end-user-doc -->
1318
	 * @generated
1319
	 */
1320
	public void initializePackageContents() {
1321
		if (isInitialized) return;
1322
		isInitialized = true;
1323
1324
		// Initialize package
1325
		setName(eNAME);
1326
		setNsPrefix(eNS_PREFIX);
1327
		setNsURI(eNS_URI);
1328
1329
		// Obtain other dependent packages
1330
		JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI);
1331
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
1332
1333
		// Create type parameters
1334
1335
		// Set bounds for type parameters
1336
1337
		// Add supertypes to classes
1338
1339
		// Initialize classes and features; add operations and parameters
1340
		initEClass(activationSpecEClass, ActivationSpec.class, "ActivationSpec", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1341
		initEAttribute(getActivationSpec_ActivationspecClass(), theJavaeePackage.getFullyQualifiedClassType(), "activationspecClass", null, 1, 1, ActivationSpec.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1342
		initEReference(getActivationSpec_RequiredConfigProperty(), this.getRequiredConfigProperty(), null, "requiredConfigProperty", null, 0, -1, ActivationSpec.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1343
		initEReference(getActivationSpec_ConfigProperty(), this.getConfigProperty(), null, "configProperty", null, 0, -1, ActivationSpec.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1344
		initEAttribute(getActivationSpec_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ActivationSpec.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1345
1346
		initEClass(adminObjectEClass, AdminObject.class, "AdminObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1347
		initEAttribute(getAdminObject_AdminobjectInterface(), theJavaeePackage.getFullyQualifiedClassType(), "adminobjectInterface", null, 1, 1, AdminObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1348
		initEAttribute(getAdminObject_AdminobjectClass(), theJavaeePackage.getFullyQualifiedClassType(), "adminobjectClass", null, 1, 1, AdminObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1349
		initEReference(getAdminObject_ConfigProperty(), this.getConfigProperty(), null, "configProperty", null, 0, -1, AdminObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1350
		initEAttribute(getAdminObject_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, AdminObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1351
1352
		initEClass(authenticationMechanismEClass, AuthenticationMechanism.class, "AuthenticationMechanism", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1353
		initEReference(getAuthenticationMechanism_Description(), theJavaeePackage.getDescription(), null, "description", null, 0, -1, AuthenticationMechanism.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1354
		initEAttribute(getAuthenticationMechanism_AuthenticationMechanismType(), theXMLTypePackage.getString(), "authenticationMechanismType", null, 1, 1, AuthenticationMechanism.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1355
		initEAttribute(getAuthenticationMechanism_CredentialInterface(), this.getCredentialInterfaceType(), "credentialInterface", null, 1, 1, AuthenticationMechanism.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1356
		initEAttribute(getAuthenticationMechanism_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, AuthenticationMechanism.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1357
1358
		initEClass(configPropertyEClass, ConfigProperty.class, "ConfigProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1359
		initEReference(getConfigProperty_Description(), theJavaeePackage.getDescription(), null, "description", null, 0, -1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1360
		initEAttribute(getConfigProperty_ConfigPropertyName(), this.getConfigPropertyNameType(), "configPropertyName", null, 1, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1361
		initEAttribute(getConfigProperty_ConfigPropertyType(), this.getConfigPropertyTypeType(), "configPropertyType", null, 1, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1362
		initEAttribute(getConfigProperty_ConfigPropertyValue(), theXMLTypePackage.getString(), "configPropertyValue", null, 0, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1363
		initEAttribute(getConfigProperty_ConfigPropertyIgnore(), theJavaeePackage.getTrueFalseType(), "configPropertyIgnore", null, 0, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1364
		initEAttribute(getConfigProperty_ConfigPropertySupportsDynamicUpdates(), theJavaeePackage.getTrueFalseType(), "configPropertySupportsDynamicUpdates", null, 0, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1365
		initEAttribute(getConfigProperty_ConfigPropertyConfidential(), theJavaeePackage.getTrueFalseType(), "configPropertyConfidential", null, 0, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1366
		initEAttribute(getConfigProperty_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1367
1368
		initEClass(connectionDefinitionEClass, ConnectionDefinition.class, "ConnectionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1369
		initEAttribute(getConnectionDefinition_ManagedconnectionfactoryClass(), theJavaeePackage.getFullyQualifiedClassType(), "managedconnectionfactoryClass", null, 1, 1, ConnectionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1370
		initEReference(getConnectionDefinition_ConfigProperty(), this.getConfigProperty(), null, "configProperty", null, 0, -1, ConnectionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1371
		initEAttribute(getConnectionDefinition_ConnectionfactoryInterface(), theJavaeePackage.getFullyQualifiedClassType(), "connectionfactoryInterface", null, 1, 1, ConnectionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1372
		initEAttribute(getConnectionDefinition_ConnectionfactoryImplClass(), theJavaeePackage.getFullyQualifiedClassType(), "connectionfactoryImplClass", null, 1, 1, ConnectionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1373
		initEAttribute(getConnectionDefinition_ConnectionInterface(), theJavaeePackage.getFullyQualifiedClassType(), "connectionInterface", null, 1, 1, ConnectionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1374
		initEAttribute(getConnectionDefinition_ConnectionImplClass(), theJavaeePackage.getFullyQualifiedClassType(), "connectionImplClass", null, 1, 1, ConnectionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1375
		initEAttribute(getConnectionDefinition_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ConnectionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1376
1377
		initEClass(connectorEClass, Connector.class, "Connector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1378
		initEReference(getConnector_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1379
		initEReference(getConnector_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1380
		initEReference(getConnector_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1381
		initEAttribute(getConnector_VendorName(), theXMLTypePackage.getString(), "vendorName", null, 1, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1382
		initEAttribute(getConnector_EisType(), theXMLTypePackage.getString(), "eisType", null, 1, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1383
		initEAttribute(getConnector_ResourceadapterVersion(), theXMLTypePackage.getString(), "resourceadapterVersion", null, 1, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1384
		initEReference(getConnector_License(), this.getLicense(), null, "license", null, 0, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1385
		initEReference(getConnector_Resourceadapter(), this.getResourceAdapter(), null, "resourceadapter", null, 1, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1386
		initEAttribute(getConnector_RequiredWorkContext(), theJavaeePackage.getFullyQualifiedClassType(), "requiredWorkContext", null, 0, -1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1387
		initEAttribute(getConnector_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1388
		initEAttribute(getConnector_MetadataComplete(), theXMLTypePackage.getBoolean(), "metadataComplete", null, 0, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1389
		initEAttribute(getConnector_Version(), theJavaeePackage.getDeweyVersionType(), "version", "1.6", 1, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
1390
1391
		initEClass(connectorDeploymentDescriptorEClass, ConnectorDeploymentDescriptor.class, "ConnectorDeploymentDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1392
		initEAttribute(getConnectorDeploymentDescriptor_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1393
		initEReference(getConnectorDeploymentDescriptor_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1394
		initEReference(getConnectorDeploymentDescriptor_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1395
		initEReference(getConnectorDeploymentDescriptor_Connector(), this.getConnector(), null, "connector", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1396
1397
		initEClass(inboundResourceAdapterEClass, InboundResourceAdapter.class, "InboundResourceAdapter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1398
		initEReference(getInboundResourceAdapter_Messageadapter(), this.getMessageAdapter(), null, "messageadapter", null, 0, 1, InboundResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1399
		initEAttribute(getInboundResourceAdapter_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, InboundResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1400
1401
		initEClass(licenseEClass, License.class, "License", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1402
		initEReference(getLicense_Description(), theJavaeePackage.getDescription(), null, "description", null, 0, -1, License.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1403
		initEAttribute(getLicense_LicenseRequired(), theJavaeePackage.getTrueFalseType(), "licenseRequired", null, 1, 1, License.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1404
		initEAttribute(getLicense_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, License.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1405
1406
		initEClass(messageAdapterEClass, MessageAdapter.class, "MessageAdapter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1407
		initEReference(getMessageAdapter_Messagelistener(), this.getMessageListener(), null, "messagelistener", null, 1, -1, MessageAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1408
		initEAttribute(getMessageAdapter_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1409
1410
		initEClass(messageListenerEClass, MessageListener.class, "MessageListener", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1411
		initEAttribute(getMessageListener_MessagelistenerType(), theJavaeePackage.getFullyQualifiedClassType(), "messagelistenerType", null, 1, 1, MessageListener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1412
		initEReference(getMessageListener_Activationspec(), this.getActivationSpec(), null, "activationspec", null, 1, 1, MessageListener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1413
		initEAttribute(getMessageListener_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageListener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1414
1415
		initEClass(outboundResourceAdapterEClass, OutboundResourceAdapter.class, "OutboundResourceAdapter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1416
		initEReference(getOutboundResourceAdapter_ConnectionDefinition(), this.getConnectionDefinition(), null, "connectionDefinition", null, 1, -1, OutboundResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1417
		initEAttribute(getOutboundResourceAdapter_TransactionSupport(), this.getTransactionSupportType(), "transactionSupport", null, 1, 1, OutboundResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1418
		initEReference(getOutboundResourceAdapter_AuthenticationMechanism(), this.getAuthenticationMechanism(), null, "authenticationMechanism", null, 0, -1, OutboundResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1419
		initEAttribute(getOutboundResourceAdapter_ReauthenticationSupport(), theJavaeePackage.getTrueFalseType(), "reauthenticationSupport", null, 1, 1, OutboundResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1420
		initEAttribute(getOutboundResourceAdapter_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, OutboundResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1421
1422
		initEClass(requiredConfigPropertyEClass, RequiredConfigProperty.class, "RequiredConfigProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1423
		initEReference(getRequiredConfigProperty_Description(), theJavaeePackage.getDescription(), null, "description", null, 0, -1, RequiredConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1424
		initEAttribute(getRequiredConfigProperty_ConfigPropertyName(), this.getConfigPropertyNameType(), "configPropertyName", null, 1, 1, RequiredConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1425
		initEAttribute(getRequiredConfigProperty_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RequiredConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1426
1427
		initEClass(resourceAdapterEClass, ResourceAdapter.class, "ResourceAdapter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1428
		initEAttribute(getResourceAdapter_ResourceadapterClass(), theJavaeePackage.getFullyQualifiedClassType(), "resourceadapterClass", null, 0, 1, ResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1429
		initEReference(getResourceAdapter_ConfigProperty(), this.getConfigProperty(), null, "configProperty", null, 0, -1, ResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1430
		initEReference(getResourceAdapter_OutboundResourceadapter(), this.getOutboundResourceAdapter(), null, "outboundResourceadapter", null, 0, 1, ResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1431
		initEReference(getResourceAdapter_InboundResourceadapter(), this.getInboundResourceAdapter(), null, "inboundResourceadapter", null, 0, 1, ResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1432
		initEReference(getResourceAdapter_Adminobject(), this.getAdminObject(), null, "adminobject", null, 0, -1, ResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1433
		initEReference(getResourceAdapter_SecurityPermission(), this.getSecurityPermission(), null, "securityPermission", null, 0, -1, ResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1434
		initEAttribute(getResourceAdapter_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1435
1436
		initEClass(securityPermissionEClass, SecurityPermission.class, "SecurityPermission", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1437
		initEReference(getSecurityPermission_Description(), theJavaeePackage.getDescription(), null, "description", null, 0, -1, SecurityPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1438
		initEAttribute(getSecurityPermission_SecurityPermissionSpec(), theXMLTypePackage.getString(), "securityPermissionSpec", null, 1, 1, SecurityPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1439
		initEAttribute(getSecurityPermission_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SecurityPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1440
1441
		// Initialize enums and add enum literals
1442
		initEEnum(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.class, "ConfigPropertyTypeType"); //$NON-NLS-1$
1443
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_BOOLEAN);
1444
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_STRING);
1445
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_INTEGER);
1446
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_DOUBLE);
1447
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_BYTE);
1448
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_SHORT);
1449
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_LONG);
1450
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_FLOAT);
1451
		addEEnumLiteral(configPropertyTypeTypeEEnum, ConfigPropertyTypeType.JAVA_LANG_CHARACTER);
1452
1453
		initEEnum(credentialInterfaceTypeEEnum, CredentialInterfaceType.class, "CredentialInterfaceType"); //$NON-NLS-1$
1454
		addEEnumLiteral(credentialInterfaceTypeEEnum, CredentialInterfaceType.JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL);
1455
		addEEnumLiteral(credentialInterfaceTypeEEnum, CredentialInterfaceType.ORG_IETF_JGSS_GSS_CREDENTIAL);
1456
		addEEnumLiteral(credentialInterfaceTypeEEnum, CredentialInterfaceType.JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL);
1457
1458
		initEEnum(transactionSupportTypeEEnum, TransactionSupportType.class, "TransactionSupportType"); //$NON-NLS-1$
1459
		addEEnumLiteral(transactionSupportTypeEEnum, TransactionSupportType.NO_TRANSACTION);
1460
		addEEnumLiteral(transactionSupportTypeEEnum, TransactionSupportType.LOCAL_TRANSACTION);
1461
		addEEnumLiteral(transactionSupportTypeEEnum, TransactionSupportType.XA_TRANSACTION);
1462
1463
		// Initialize data types
1464
		initEDataType(configPropertyNameTypeEDataType, String.class, "ConfigPropertyNameType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1465
		initEDataType(configPropertyTypeTypeObjectEDataType, ConfigPropertyTypeType.class, "ConfigPropertyTypeTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1466
		initEDataType(credentialInterfaceTypeObjectEDataType, CredentialInterfaceType.class, "CredentialInterfaceTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1467
		initEDataType(transactionSupportTypeObjectEDataType, TransactionSupportType.class, "TransactionSupportTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1468
1469
		// Create resource
1470
		createResource(eNS_URI);
1471
1472
		// Create annotations
1473
		// http:///org/eclipse/emf/ecore/util/ExtendedMetaData
1474
		createExtendedMetaDataAnnotations();
1475
	}
1476
1477
	/**
1478
	 * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
1479
	 * <!-- begin-user-doc -->
1480
	 * <!-- end-user-doc -->
1481
	 * @generated
1482
	 */
1483
	protected void createExtendedMetaDataAnnotations() {
1484
		String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$				
1485
		addAnnotation
1486
		  (activationSpecEClass, 
1487
		   source, 
1488
		   new String[] {
1489
			 "name", "activationspecType", //$NON-NLS-1$ //$NON-NLS-2$
1490
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1491
		   });			
1492
		addAnnotation
1493
		  (getActivationSpec_ActivationspecClass(), 
1494
		   source, 
1495
		   new String[] {
1496
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1497
			 "name", "activationspec-class", //$NON-NLS-1$ //$NON-NLS-2$
1498
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1499
		   });			
1500
		addAnnotation
1501
		  (getActivationSpec_RequiredConfigProperty(), 
1502
		   source, 
1503
		   new String[] {
1504
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1505
			 "name", "required-config-property", //$NON-NLS-1$ //$NON-NLS-2$
1506
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1507
		   });		
1508
		addAnnotation
1509
		  (getActivationSpec_ConfigProperty(), 
1510
		   source, 
1511
		   new String[] {
1512
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1513
			 "name", "config-property", //$NON-NLS-1$ //$NON-NLS-2$
1514
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1515
		   });		
1516
		addAnnotation
1517
		  (getActivationSpec_Id(), 
1518
		   source, 
1519
		   new String[] {
1520
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1521
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1522
		   });			
1523
		addAnnotation
1524
		  (adminObjectEClass, 
1525
		   source, 
1526
		   new String[] {
1527
			 "name", "adminobjectType", //$NON-NLS-1$ //$NON-NLS-2$
1528
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1529
		   });			
1530
		addAnnotation
1531
		  (getAdminObject_AdminobjectInterface(), 
1532
		   source, 
1533
		   new String[] {
1534
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1535
			 "name", "adminobject-interface", //$NON-NLS-1$ //$NON-NLS-2$
1536
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1537
		   });			
1538
		addAnnotation
1539
		  (getAdminObject_AdminobjectClass(), 
1540
		   source, 
1541
		   new String[] {
1542
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1543
			 "name", "adminobject-class", //$NON-NLS-1$ //$NON-NLS-2$
1544
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1545
		   });		
1546
		addAnnotation
1547
		  (getAdminObject_ConfigProperty(), 
1548
		   source, 
1549
		   new String[] {
1550
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1551
			 "name", "config-property", //$NON-NLS-1$ //$NON-NLS-2$
1552
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1553
		   });		
1554
		addAnnotation
1555
		  (getAdminObject_Id(), 
1556
		   source, 
1557
		   new String[] {
1558
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1559
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1560
		   });			
1561
		addAnnotation
1562
		  (authenticationMechanismEClass, 
1563
		   source, 
1564
		   new String[] {
1565
			 "name", "authentication-mechanismType", //$NON-NLS-1$ //$NON-NLS-2$
1566
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1567
		   });		
1568
		addAnnotation
1569
		  (getAuthenticationMechanism_Description(), 
1570
		   source, 
1571
		   new String[] {
1572
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1573
			 "name", "description", //$NON-NLS-1$ //$NON-NLS-2$
1574
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1575
		   });			
1576
		addAnnotation
1577
		  (getAuthenticationMechanism_AuthenticationMechanismType(), 
1578
		   source, 
1579
		   new String[] {
1580
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1581
			 "name", "authentication-mechanism-type", //$NON-NLS-1$ //$NON-NLS-2$
1582
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1583
		   });		
1584
		addAnnotation
1585
		  (getAuthenticationMechanism_CredentialInterface(), 
1586
		   source, 
1587
		   new String[] {
1588
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1589
			 "name", "credential-interface", //$NON-NLS-1$ //$NON-NLS-2$
1590
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1591
		   });		
1592
		addAnnotation
1593
		  (getAuthenticationMechanism_Id(), 
1594
		   source, 
1595
		   new String[] {
1596
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1597
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1598
		   });			
1599
		addAnnotation
1600
		  (configPropertyEClass, 
1601
		   source, 
1602
		   new String[] {
1603
			 "name", "config-propertyType", //$NON-NLS-1$ //$NON-NLS-2$
1604
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1605
		   });		
1606
		addAnnotation
1607
		  (getConfigProperty_Description(), 
1608
		   source, 
1609
		   new String[] {
1610
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1611
			 "name", "description", //$NON-NLS-1$ //$NON-NLS-2$
1612
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1613
		   });		
1614
		addAnnotation
1615
		  (getConfigProperty_ConfigPropertyName(), 
1616
		   source, 
1617
		   new String[] {
1618
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1619
			 "name", "config-property-name", //$NON-NLS-1$ //$NON-NLS-2$
1620
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1621
		   });		
1622
		addAnnotation
1623
		  (getConfigProperty_ConfigPropertyType(), 
1624
		   source, 
1625
		   new String[] {
1626
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1627
			 "name", "config-property-type", //$NON-NLS-1$ //$NON-NLS-2$
1628
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1629
		   });			
1630
		addAnnotation
1631
		  (getConfigProperty_ConfigPropertyValue(), 
1632
		   source, 
1633
		   new String[] {
1634
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1635
			 "name", "config-property-value", //$NON-NLS-1$ //$NON-NLS-2$
1636
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1637
		   });			
1638
		addAnnotation
1639
		  (getConfigProperty_ConfigPropertyIgnore(), 
1640
		   source, 
1641
		   new String[] {
1642
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1643
			 "name", "config-property-ignore", //$NON-NLS-1$ //$NON-NLS-2$
1644
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1645
		   });			
1646
		addAnnotation
1647
		  (getConfigProperty_ConfigPropertySupportsDynamicUpdates(), 
1648
		   source, 
1649
		   new String[] {
1650
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1651
			 "name", "config-property-supports-dynamic-updates", //$NON-NLS-1$ //$NON-NLS-2$
1652
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1653
		   });			
1654
		addAnnotation
1655
		  (getConfigProperty_ConfigPropertyConfidential(), 
1656
		   source, 
1657
		   new String[] {
1658
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1659
			 "name", "config-property-confidential", //$NON-NLS-1$ //$NON-NLS-2$
1660
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1661
		   });		
1662
		addAnnotation
1663
		  (getConfigProperty_Id(), 
1664
		   source, 
1665
		   new String[] {
1666
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1667
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1668
		   });			
1669
		addAnnotation
1670
		  (configPropertyNameTypeEDataType, 
1671
		   source, 
1672
		   new String[] {
1673
			 "name", "config-property-nameType", //$NON-NLS-1$ //$NON-NLS-2$
1674
			 "baseType", "http://www.eclipse.org/emf/2003/XMLType#string" //$NON-NLS-1$ //$NON-NLS-2$
1675
		   });			
1676
		addAnnotation
1677
		  (configPropertyTypeTypeEEnum, 
1678
		   source, 
1679
		   new String[] {
1680
			 "name", "config-property-typeType" //$NON-NLS-1$ //$NON-NLS-2$
1681
		   });		
1682
		addAnnotation
1683
		  (configPropertyTypeTypeObjectEDataType, 
1684
		   source, 
1685
		   new String[] {
1686
			 "name", "config-property-typeType:Object", //$NON-NLS-1$ //$NON-NLS-2$
1687
			 "baseType", "config-property-typeType" //$NON-NLS-1$ //$NON-NLS-2$
1688
		   });			
1689
		addAnnotation
1690
		  (connectionDefinitionEClass, 
1691
		   source, 
1692
		   new String[] {
1693
			 "name", "connection-definitionType", //$NON-NLS-1$ //$NON-NLS-2$
1694
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1695
		   });			
1696
		addAnnotation
1697
		  (getConnectionDefinition_ManagedconnectionfactoryClass(), 
1698
		   source, 
1699
		   new String[] {
1700
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1701
			 "name", "managedconnectionfactory-class", //$NON-NLS-1$ //$NON-NLS-2$
1702
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1703
		   });		
1704
		addAnnotation
1705
		  (getConnectionDefinition_ConfigProperty(), 
1706
		   source, 
1707
		   new String[] {
1708
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1709
			 "name", "config-property", //$NON-NLS-1$ //$NON-NLS-2$
1710
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1711
		   });			
1712
		addAnnotation
1713
		  (getConnectionDefinition_ConnectionfactoryInterface(), 
1714
		   source, 
1715
		   new String[] {
1716
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1717
			 "name", "connectionfactory-interface", //$NON-NLS-1$ //$NON-NLS-2$
1718
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1719
		   });			
1720
		addAnnotation
1721
		  (getConnectionDefinition_ConnectionfactoryImplClass(), 
1722
		   source, 
1723
		   new String[] {
1724
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1725
			 "name", "connectionfactory-impl-class", //$NON-NLS-1$ //$NON-NLS-2$
1726
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1727
		   });			
1728
		addAnnotation
1729
		  (getConnectionDefinition_ConnectionInterface(), 
1730
		   source, 
1731
		   new String[] {
1732
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1733
			 "name", "connection-interface", //$NON-NLS-1$ //$NON-NLS-2$
1734
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1735
		   });			
1736
		addAnnotation
1737
		  (getConnectionDefinition_ConnectionImplClass(), 
1738
		   source, 
1739
		   new String[] {
1740
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1741
			 "name", "connection-impl-class", //$NON-NLS-1$ //$NON-NLS-2$
1742
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1743
		   });		
1744
		addAnnotation
1745
		  (getConnectionDefinition_Id(), 
1746
		   source, 
1747
		   new String[] {
1748
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1749
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1750
		   });			
1751
		addAnnotation
1752
		  (connectorEClass, 
1753
		   source, 
1754
		   new String[] {
1755
			 "name", "connectorType", //$NON-NLS-1$ //$NON-NLS-2$
1756
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1757
		   });		
1758
		addAnnotation
1759
		  (getConnector_Descriptions(), 
1760
		   source, 
1761
		   new String[] {
1762
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1763
			 "name", "description", //$NON-NLS-1$ //$NON-NLS-2$
1764
			 "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$
1765
		   });		
1766
		addAnnotation
1767
		  (getConnector_DisplayNames(), 
1768
		   source, 
1769
		   new String[] {
1770
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1771
			 "name", "display-name", //$NON-NLS-1$ //$NON-NLS-2$
1772
			 "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$
1773
		   });		
1774
		addAnnotation
1775
		  (getConnector_Icons(), 
1776
		   source, 
1777
		   new String[] {
1778
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1779
			 "name", "icon", //$NON-NLS-1$ //$NON-NLS-2$
1780
			 "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$
1781
		   });			
1782
		addAnnotation
1783
		  (getConnector_VendorName(), 
1784
		   source, 
1785
		   new String[] {
1786
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1787
			 "name", "vendor-name", //$NON-NLS-1$ //$NON-NLS-2$
1788
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1789
		   });			
1790
		addAnnotation
1791
		  (getConnector_EisType(), 
1792
		   source, 
1793
		   new String[] {
1794
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1795
			 "name", "eis-type", //$NON-NLS-1$ //$NON-NLS-2$
1796
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1797
		   });			
1798
		addAnnotation
1799
		  (getConnector_ResourceadapterVersion(), 
1800
		   source, 
1801
		   new String[] {
1802
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1803
			 "name", "resourceadapter-version", //$NON-NLS-1$ //$NON-NLS-2$
1804
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1805
		   });		
1806
		addAnnotation
1807
		  (getConnector_License(), 
1808
		   source, 
1809
		   new String[] {
1810
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1811
			 "name", "license", //$NON-NLS-1$ //$NON-NLS-2$
1812
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1813
		   });		
1814
		addAnnotation
1815
		  (getConnector_Resourceadapter(), 
1816
		   source, 
1817
		   new String[] {
1818
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1819
			 "name", "resourceadapter", //$NON-NLS-1$ //$NON-NLS-2$
1820
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1821
		   });			
1822
		addAnnotation
1823
		  (getConnector_RequiredWorkContext(), 
1824
		   source, 
1825
		   new String[] {
1826
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1827
			 "name", "required-work-context", //$NON-NLS-1$ //$NON-NLS-2$
1828
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1829
		   });		
1830
		addAnnotation
1831
		  (getConnector_Id(), 
1832
		   source, 
1833
		   new String[] {
1834
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1835
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1836
		   });			
1837
		addAnnotation
1838
		  (getConnector_MetadataComplete(), 
1839
		   source, 
1840
		   new String[] {
1841
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1842
			 "name", "metadata-complete" //$NON-NLS-1$ //$NON-NLS-2$
1843
		   });			
1844
		addAnnotation
1845
		  (getConnector_Version(), 
1846
		   source, 
1847
		   new String[] {
1848
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1849
			 "name", "version" //$NON-NLS-1$ //$NON-NLS-2$
1850
		   });		
1851
		addAnnotation
1852
		  (connectorDeploymentDescriptorEClass, 
1853
		   source, 
1854
		   new String[] {
1855
			 "name", "", //$NON-NLS-1$ //$NON-NLS-2$
1856
			 "kind", "mixed" //$NON-NLS-1$ //$NON-NLS-2$
1857
		   });		
1858
		addAnnotation
1859
		  (getConnectorDeploymentDescriptor_Mixed(), 
1860
		   source, 
1861
		   new String[] {
1862
			 "kind", "elementWildcard", //$NON-NLS-1$ //$NON-NLS-2$
1863
			 "name", ":mixed" //$NON-NLS-1$ //$NON-NLS-2$
1864
		   });		
1865
		addAnnotation
1866
		  (getConnectorDeploymentDescriptor_XMLNSPrefixMap(), 
1867
		   source, 
1868
		   new String[] {
1869
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1870
			 "name", "xmlns:prefix" //$NON-NLS-1$ //$NON-NLS-2$
1871
		   });		
1872
		addAnnotation
1873
		  (getConnectorDeploymentDescriptor_XSISchemaLocation(), 
1874
		   source, 
1875
		   new String[] {
1876
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1877
			 "name", "xsi:schemaLocation" //$NON-NLS-1$ //$NON-NLS-2$
1878
		   });			
1879
		addAnnotation
1880
		  (getConnectorDeploymentDescriptor_Connector(), 
1881
		   source, 
1882
		   new String[] {
1883
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1884
			 "name", "connector", //$NON-NLS-1$ //$NON-NLS-2$
1885
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1886
		   });			
1887
		addAnnotation
1888
		  (credentialInterfaceTypeEEnum, 
1889
		   source, 
1890
		   new String[] {
1891
			 "name", "credential-interfaceType" //$NON-NLS-1$ //$NON-NLS-2$
1892
		   });		
1893
		addAnnotation
1894
		  (credentialInterfaceTypeObjectEDataType, 
1895
		   source, 
1896
		   new String[] {
1897
			 "name", "credential-interfaceType:Object", //$NON-NLS-1$ //$NON-NLS-2$
1898
			 "baseType", "credential-interfaceType" //$NON-NLS-1$ //$NON-NLS-2$
1899
		   });			
1900
		addAnnotation
1901
		  (inboundResourceAdapterEClass, 
1902
		   source, 
1903
		   new String[] {
1904
			 "name", "inbound-resourceadapterType", //$NON-NLS-1$ //$NON-NLS-2$
1905
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1906
		   });		
1907
		addAnnotation
1908
		  (getInboundResourceAdapter_Messageadapter(), 
1909
		   source, 
1910
		   new String[] {
1911
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1912
			 "name", "messageadapter", //$NON-NLS-1$ //$NON-NLS-2$
1913
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1914
		   });		
1915
		addAnnotation
1916
		  (getInboundResourceAdapter_Id(), 
1917
		   source, 
1918
		   new String[] {
1919
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1920
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1921
		   });			
1922
		addAnnotation
1923
		  (licenseEClass, 
1924
		   source, 
1925
		   new String[] {
1926
			 "name", "licenseType", //$NON-NLS-1$ //$NON-NLS-2$
1927
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1928
		   });		
1929
		addAnnotation
1930
		  (getLicense_Description(), 
1931
		   source, 
1932
		   new String[] {
1933
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1934
			 "name", "description", //$NON-NLS-1$ //$NON-NLS-2$
1935
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1936
		   });			
1937
		addAnnotation
1938
		  (getLicense_LicenseRequired(), 
1939
		   source, 
1940
		   new String[] {
1941
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1942
			 "name", "license-required", //$NON-NLS-1$ //$NON-NLS-2$
1943
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1944
		   });		
1945
		addAnnotation
1946
		  (getLicense_Id(), 
1947
		   source, 
1948
		   new String[] {
1949
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1950
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1951
		   });			
1952
		addAnnotation
1953
		  (messageAdapterEClass, 
1954
		   source, 
1955
		   new String[] {
1956
			 "name", "messageadapterType", //$NON-NLS-1$ //$NON-NLS-2$
1957
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1958
		   });		
1959
		addAnnotation
1960
		  (getMessageAdapter_Messagelistener(), 
1961
		   source, 
1962
		   new String[] {
1963
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1964
			 "name", "messagelistener", //$NON-NLS-1$ //$NON-NLS-2$
1965
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1966
		   });		
1967
		addAnnotation
1968
		  (getMessageAdapter_Id(), 
1969
		   source, 
1970
		   new String[] {
1971
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
1972
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
1973
		   });			
1974
		addAnnotation
1975
		  (messageListenerEClass, 
1976
		   source, 
1977
		   new String[] {
1978
			 "name", "messagelistenerType", //$NON-NLS-1$ //$NON-NLS-2$
1979
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
1980
		   });			
1981
		addAnnotation
1982
		  (getMessageListener_MessagelistenerType(), 
1983
		   source, 
1984
		   new String[] {
1985
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1986
			 "name", "messagelistener-type", //$NON-NLS-1$ //$NON-NLS-2$
1987
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1988
		   });		
1989
		addAnnotation
1990
		  (getMessageListener_Activationspec(), 
1991
		   source, 
1992
		   new String[] {
1993
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
1994
			 "name", "activationspec", //$NON-NLS-1$ //$NON-NLS-2$
1995
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
1996
		   });		
1997
		addAnnotation
1998
		  (getMessageListener_Id(), 
1999
		   source, 
2000
		   new String[] {
2001
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
2002
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
2003
		   });			
2004
		addAnnotation
2005
		  (outboundResourceAdapterEClass, 
2006
		   source, 
2007
		   new String[] {
2008
			 "name", "outbound-resourceadapterType", //$NON-NLS-1$ //$NON-NLS-2$
2009
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
2010
		   });		
2011
		addAnnotation
2012
		  (getOutboundResourceAdapter_ConnectionDefinition(), 
2013
		   source, 
2014
		   new String[] {
2015
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2016
			 "name", "connection-definition", //$NON-NLS-1$ //$NON-NLS-2$
2017
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2018
		   });		
2019
		addAnnotation
2020
		  (getOutboundResourceAdapter_TransactionSupport(), 
2021
		   source, 
2022
		   new String[] {
2023
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2024
			 "name", "transaction-support", //$NON-NLS-1$ //$NON-NLS-2$
2025
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2026
		   });		
2027
		addAnnotation
2028
		  (getOutboundResourceAdapter_AuthenticationMechanism(), 
2029
		   source, 
2030
		   new String[] {
2031
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2032
			 "name", "authentication-mechanism", //$NON-NLS-1$ //$NON-NLS-2$
2033
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2034
		   });			
2035
		addAnnotation
2036
		  (getOutboundResourceAdapter_ReauthenticationSupport(), 
2037
		   source, 
2038
		   new String[] {
2039
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2040
			 "name", "reauthentication-support", //$NON-NLS-1$ //$NON-NLS-2$
2041
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2042
		   });		
2043
		addAnnotation
2044
		  (getOutboundResourceAdapter_Id(), 
2045
		   source, 
2046
		   new String[] {
2047
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
2048
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
2049
		   });			
2050
		addAnnotation
2051
		  (requiredConfigPropertyEClass, 
2052
		   source, 
2053
		   new String[] {
2054
			 "name", "required-config-propertyType", //$NON-NLS-1$ //$NON-NLS-2$
2055
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
2056
		   });		
2057
		addAnnotation
2058
		  (getRequiredConfigProperty_Description(), 
2059
		   source, 
2060
		   new String[] {
2061
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2062
			 "name", "description", //$NON-NLS-1$ //$NON-NLS-2$
2063
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2064
		   });		
2065
		addAnnotation
2066
		  (getRequiredConfigProperty_ConfigPropertyName(), 
2067
		   source, 
2068
		   new String[] {
2069
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2070
			 "name", "config-property-name", //$NON-NLS-1$ //$NON-NLS-2$
2071
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2072
		   });		
2073
		addAnnotation
2074
		  (getRequiredConfigProperty_Id(), 
2075
		   source, 
2076
		   new String[] {
2077
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
2078
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
2079
		   });			
2080
		addAnnotation
2081
		  (resourceAdapterEClass, 
2082
		   source, 
2083
		   new String[] {
2084
			 "name", "resourceadapterType", //$NON-NLS-1$ //$NON-NLS-2$
2085
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
2086
		   });			
2087
		addAnnotation
2088
		  (getResourceAdapter_ResourceadapterClass(), 
2089
		   source, 
2090
		   new String[] {
2091
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2092
			 "name", "resourceadapter-class", //$NON-NLS-1$ //$NON-NLS-2$
2093
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2094
		   });		
2095
		addAnnotation
2096
		  (getResourceAdapter_ConfigProperty(), 
2097
		   source, 
2098
		   new String[] {
2099
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2100
			 "name", "config-property", //$NON-NLS-1$ //$NON-NLS-2$
2101
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2102
		   });		
2103
		addAnnotation
2104
		  (getResourceAdapter_OutboundResourceadapter(), 
2105
		   source, 
2106
		   new String[] {
2107
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2108
			 "name", "outbound-resourceadapter", //$NON-NLS-1$ //$NON-NLS-2$
2109
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2110
		   });		
2111
		addAnnotation
2112
		  (getResourceAdapter_InboundResourceadapter(), 
2113
		   source, 
2114
		   new String[] {
2115
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2116
			 "name", "inbound-resourceadapter", //$NON-NLS-1$ //$NON-NLS-2$
2117
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2118
		   });		
2119
		addAnnotation
2120
		  (getResourceAdapter_Adminobject(), 
2121
		   source, 
2122
		   new String[] {
2123
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2124
			 "name", "adminobject", //$NON-NLS-1$ //$NON-NLS-2$
2125
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2126
		   });		
2127
		addAnnotation
2128
		  (getResourceAdapter_SecurityPermission(), 
2129
		   source, 
2130
		   new String[] {
2131
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2132
			 "name", "security-permission", //$NON-NLS-1$ //$NON-NLS-2$
2133
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2134
		   });		
2135
		addAnnotation
2136
		  (getResourceAdapter_Id(), 
2137
		   source, 
2138
		   new String[] {
2139
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
2140
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
2141
		   });			
2142
		addAnnotation
2143
		  (securityPermissionEClass, 
2144
		   source, 
2145
		   new String[] {
2146
			 "name", "security-permissionType", //$NON-NLS-1$ //$NON-NLS-2$
2147
			 "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
2148
		   });		
2149
		addAnnotation
2150
		  (getSecurityPermission_Description(), 
2151
		   source, 
2152
		   new String[] {
2153
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2154
			 "name", "description", //$NON-NLS-1$ //$NON-NLS-2$
2155
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2156
		   });			
2157
		addAnnotation
2158
		  (getSecurityPermission_SecurityPermissionSpec(), 
2159
		   source, 
2160
		   new String[] {
2161
			 "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
2162
			 "name", "security-permission-spec", //$NON-NLS-1$ //$NON-NLS-2$
2163
			 "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
2164
		   });		
2165
		addAnnotation
2166
		  (getSecurityPermission_Id(), 
2167
		   source, 
2168
		   new String[] {
2169
			 "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
2170
			 "name", "id" //$NON-NLS-1$ //$NON-NLS-2$
2171
		   });			
2172
		addAnnotation
2173
		  (transactionSupportTypeEEnum, 
2174
		   source, 
2175
		   new String[] {
2176
			 "name", "transaction-supportType" //$NON-NLS-1$ //$NON-NLS-2$
2177
		   });		
2178
		addAnnotation
2179
		  (transactionSupportTypeObjectEDataType, 
2180
		   source, 
2181
		   new String[] {
2182
			 "name", "transaction-supportType:Object", //$NON-NLS-1$ //$NON-NLS-2$
2183
			 "baseType", "transaction-supportType" //$NON-NLS-1$ //$NON-NLS-2$
2184
		   });
2185
	}
2186
2187
} //JcaPackageImpl
(-)jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java (+297 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core;
8
9
import java.util.Arrays;
10
import java.util.Collections;
11
import java.util.List;
12
13
import org.eclipse.emf.common.util.Enumerator;
14
15
/**
16
 * <!-- begin-user-doc -->
17
 * A representation of the literals of the enumeration '<em><b>Isolation Level Type</b></em>',
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
22
 * 
23
 *         public enum isolation-level-type { TRANSACTION_NONE,
24
 *         TRANSACTION_READ_UNCOMMITTED, TRANSACTION_READ_COMMITTED,
25
 *         TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE };
26
 *         
27
 *         @since Java EE 6
28
 *       
29
 * <!-- end-model-doc -->
30
 * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getIsolationLevelType()
31
 * @generated
32
 */
33
public enum IsolationLevelType implements Enumerator {
34
	/**
35
	 * The '<em><b>TRANSACTIONNONE</b></em>' literal object.
36
	 * <!-- begin-user-doc -->
37
	 * <!-- end-user-doc -->
38
	 * @see #TRANSACTIONNONE_VALUE
39
	 * @generated
40
	 * @ordered
41
	 */
42
	TRANSACTIONNONE(0, "TRANSACTIONNONE", "TRANSACTION_NONE"), //$NON-NLS-1$ //$NON-NLS-2$
43
44
	/**
45
	 * The '<em><b>TRANSACTIONREADUNCOMMITTED</b></em>' literal object.
46
	 * <!-- begin-user-doc -->
47
	 * <!-- end-user-doc -->
48
	 * @see #TRANSACTIONREADUNCOMMITTED_VALUE
49
	 * @generated
50
	 * @ordered
51
	 */
52
	TRANSACTIONREADUNCOMMITTED(1, "TRANSACTIONREADUNCOMMITTED", "TRANSACTION_READ_UNCOMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$
53
54
	/**
55
	 * The '<em><b>TRANSACTIONREADCOMMITTED</b></em>' literal object.
56
	 * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
58
	 * @see #TRANSACTIONREADCOMMITTED_VALUE
59
	 * @generated
60
	 * @ordered
61
	 */
62
	TRANSACTIONREADCOMMITTED(2, "TRANSACTIONREADCOMMITTED", "TRANSACTION_READ_COMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$
63
64
	/**
65
	 * The '<em><b>TRANSACTIONREPEATABLEREAD</b></em>' literal object.
66
	 * <!-- begin-user-doc -->
67
	 * <!-- end-user-doc -->
68
	 * @see #TRANSACTIONREPEATABLEREAD_VALUE
69
	 * @generated
70
	 * @ordered
71
	 */
72
	TRANSACTIONREPEATABLEREAD(3, "TRANSACTIONREPEATABLEREAD", "TRANSACTION_REPEATABLE_READ"), //$NON-NLS-1$ //$NON-NLS-2$
73
74
	/**
75
	 * The '<em><b>TRANSACTIONSERIALIZABLE</b></em>' literal object.
76
	 * <!-- begin-user-doc -->
77
	 * <!-- end-user-doc -->
78
	 * @see #TRANSACTIONSERIALIZABLE_VALUE
79
	 * @generated
80
	 * @ordered
81
	 */
82
	TRANSACTIONSERIALIZABLE(4, "TRANSACTIONSERIALIZABLE", "TRANSACTION_SERIALIZABLE"); //$NON-NLS-1$ //$NON-NLS-2$
83
84
	/**
85
	 * The '<em><b>TRANSACTIONNONE</b></em>' literal value.
86
	 * <!-- begin-user-doc -->
87
	 * <p>
88
	 * If the meaning of '<em><b>TRANSACTIONNONE</b></em>' literal object isn't clear,
89
	 * there really should be more of a description here...
90
	 * </p>
91
	 * <!-- end-user-doc -->
92
	 * @see #TRANSACTIONNONE
93
	 * @generated
94
	 * @ordered
95
	 */
96
	public static final int TRANSACTIONNONE_VALUE = 0;
97
98
	/**
99
	 * The '<em><b>TRANSACTIONREADUNCOMMITTED</b></em>' literal value.
100
	 * <!-- begin-user-doc -->
101
	 * <p>
102
	 * If the meaning of '<em><b>TRANSACTIONREADUNCOMMITTED</b></em>' literal object isn't clear,
103
	 * there really should be more of a description here...
104
	 * </p>
105
	 * <!-- end-user-doc -->
106
	 * @see #TRANSACTIONREADUNCOMMITTED
107
	 * @generated
108
	 * @ordered
109
	 */
110
	public static final int TRANSACTIONREADUNCOMMITTED_VALUE = 1;
111
112
	/**
113
	 * The '<em><b>TRANSACTIONREADCOMMITTED</b></em>' literal value.
114
	 * <!-- begin-user-doc -->
115
	 * <p>
116
	 * If the meaning of '<em><b>TRANSACTIONREADCOMMITTED</b></em>' literal object isn't clear,
117
	 * there really should be more of a description here...
118
	 * </p>
119
	 * <!-- end-user-doc -->
120
	 * @see #TRANSACTIONREADCOMMITTED
121
	 * @generated
122
	 * @ordered
123
	 */
124
	public static final int TRANSACTIONREADCOMMITTED_VALUE = 2;
125
126
	/**
127
	 * The '<em><b>TRANSACTIONREPEATABLEREAD</b></em>' literal value.
128
	 * <!-- begin-user-doc -->
129
	 * <p>
130
	 * If the meaning of '<em><b>TRANSACTIONREPEATABLEREAD</b></em>' literal object isn't clear,
131
	 * there really should be more of a description here...
132
	 * </p>
133
	 * <!-- end-user-doc -->
134
	 * @see #TRANSACTIONREPEATABLEREAD
135
	 * @generated
136
	 * @ordered
137
	 */
138
	public static final int TRANSACTIONREPEATABLEREAD_VALUE = 3;
139
140
	/**
141
	 * The '<em><b>TRANSACTIONSERIALIZABLE</b></em>' literal value.
142
	 * <!-- begin-user-doc -->
143
	 * <p>
144
	 * If the meaning of '<em><b>TRANSACTIONSERIALIZABLE</b></em>' literal object isn't clear,
145
	 * there really should be more of a description here...
146
	 * </p>
147
	 * <!-- end-user-doc -->
148
	 * @see #TRANSACTIONSERIALIZABLE
149
	 * @generated
150
	 * @ordered
151
	 */
152
	public static final int TRANSACTIONSERIALIZABLE_VALUE = 4;
153
154
	/**
155
	 * An array of all the '<em><b>Isolation Level Type</b></em>' enumerators.
156
	 * <!-- begin-user-doc -->
157
	 * <!-- end-user-doc -->
158
	 * @generated
159
	 */
160
	private static final IsolationLevelType[] VALUES_ARRAY =
161
		new IsolationLevelType[] {
162
			TRANSACTIONNONE,
163
			TRANSACTIONREADUNCOMMITTED,
164
			TRANSACTIONREADCOMMITTED,
165
			TRANSACTIONREPEATABLEREAD,
166
			TRANSACTIONSERIALIZABLE,
167
		};
168
169
	/**
170
	 * A public read-only list of all the '<em><b>Isolation Level Type</b></em>' enumerators.
171
	 * <!-- begin-user-doc -->
172
	 * <!-- end-user-doc -->
173
	 * @generated
174
	 */
175
	public static final List<IsolationLevelType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
176
177
	/**
178
	 * Returns the '<em><b>Isolation Level Type</b></em>' literal with the specified literal value.
179
	 * <!-- begin-user-doc -->
180
	 * <!-- end-user-doc -->
181
	 * @generated
182
	 */
183
	public static IsolationLevelType get(String literal) {
184
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
185
			IsolationLevelType result = VALUES_ARRAY[i];
186
			if (result.toString().equals(literal)) {
187
				return result;
188
			}
189
		}
190
		return null;
191
	}
192
193
	/**
194
	 * Returns the '<em><b>Isolation Level Type</b></em>' literal with the specified name.
195
	 * <!-- begin-user-doc -->
196
	 * <!-- end-user-doc -->
197
	 * @generated
198
	 */
199
	public static IsolationLevelType getByName(String name) {
200
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
201
			IsolationLevelType result = VALUES_ARRAY[i];
202
			if (result.getName().equals(name)) {
203
				return result;
204
			}
205
		}
206
		return null;
207
	}
208
209
	/**
210
	 * Returns the '<em><b>Isolation Level Type</b></em>' literal with the specified integer value.
211
	 * <!-- begin-user-doc -->
212
	 * <!-- end-user-doc -->
213
	 * @generated
214
	 */
215
	public static IsolationLevelType get(int value) {
216
		switch (value) {
217
			case TRANSACTIONNONE_VALUE: return TRANSACTIONNONE;
218
			case TRANSACTIONREADUNCOMMITTED_VALUE: return TRANSACTIONREADUNCOMMITTED;
219
			case TRANSACTIONREADCOMMITTED_VALUE: return TRANSACTIONREADCOMMITTED;
220
			case TRANSACTIONREPEATABLEREAD_VALUE: return TRANSACTIONREPEATABLEREAD;
221
			case TRANSACTIONSERIALIZABLE_VALUE: return TRANSACTIONSERIALIZABLE;
222
		}
223
		return null;
224
	}
225
226
	/**
227
	 * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
229
	 * @generated
230
	 */
231
	private final int value;
232
233
	/**
234
	 * <!-- begin-user-doc -->
235
	 * <!-- end-user-doc -->
236
	 * @generated
237
	 */
238
	private final String name;
239
240
	/**
241
	 * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
243
	 * @generated
244
	 */
245
	private final String literal;
246
247
	/**
248
	 * Only this class can construct instances.
249
	 * <!-- begin-user-doc -->
250
	 * <!-- end-user-doc -->
251
	 * @generated
252
	 */
253
	private IsolationLevelType(int value, String name, String literal) {
254
		this.value = value;
255
		this.name = name;
256
		this.literal = literal;
257
	}
258
259
	/**
260
	 * <!-- begin-user-doc -->
261
	 * <!-- end-user-doc -->
262
	 * @generated
263
	 */
264
	public int getValue() {
265
	  return value;
266
	}
267
268
	/**
269
	 * <!-- begin-user-doc -->
270
	 * <!-- end-user-doc -->
271
	 * @generated
272
	 */
273
	public String getName() {
274
	  return name;
275
	}
276
277
	/**
278
	 * <!-- begin-user-doc -->
279
	 * <!-- end-user-doc -->
280
	 * @generated
281
	 */
282
	public String getLiteral() {
283
	  return literal;
284
	}
285
286
	/**
287
	 * Returns the literal value of the enumerator, which is its string representation.
288
	 * <!-- begin-user-doc -->
289
	 * <!-- end-user-doc -->
290
	 * @generated
291
	 */
292
	@Override
293
	public String toString() {
294
		return literal;
295
	}
296
	
297
} //IsolationLevelType
(-)jee-models/org/eclipse/jst/javaee/jca/RequiredConfigProperty.java (+120 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.Description;
12
import org.eclipse.jst.javaee.core.JavaEEObject;
13
14
/**
15
 * <!-- begin-user-doc -->
16
 * A representation of the model object '<em><b>Required Config Property</b></em>'.
17
 * <!-- end-user-doc -->
18
 *
19
 * <!-- begin-model-doc -->
20
 * 
21
 * <![CDATA[[
22
 *         The required-config-propertyType contains a declaration
23
 *         of a single configuration property used for specifying a
24
 *         required configuration property name. It is used
25
 *         by required-config-property elements.
26
 *         
27
 *         Usage of this type is deprecated from Connectors 1.6 specification. 
28
 *         Refer to required-config-property element for more information.
29
 *         
30
 *         Example:
31
 *         
32
 *         <required-config-property>
33
 *         <config-property-name>Destination</config-property-name>
34
 *         </required-config-property>
35
 *         
36
 * ]]>
37
 * 		@since Java EE 6, Connector 1.6
38
 *       
39
 * <!-- end-model-doc -->
40
 *
41
 * <p>
42
 * The following features are supported:
43
 * <ul>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.RequiredConfigProperty#getDescription <em>Description</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.jca.RequiredConfigProperty#getConfigPropertyName <em>Config Property Name</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.jca.RequiredConfigProperty#getId <em>Id</em>}</li>
47
 * </ul>
48
 * </p>
49
 *
50
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getRequiredConfigProperty()
51
 * @extends JavaEEObject
52
 * @generated
53
 */
54
public interface RequiredConfigProperty extends JavaEEObject {
55
	/**
56
	 * Returns the value of the '<em><b>Description</b></em>' containment reference list.
57
	 * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
58
	 * <!-- begin-user-doc -->
59
	 * <p>
60
	 * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
61
	 * there really should be more of a description here...
62
	 * </p>
63
	 * <!-- end-user-doc -->
64
	 * @return the value of the '<em>Description</em>' containment reference list.
65
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getRequiredConfigProperty_Description()
66
	 * @generated
67
	 */
68
	List<Description> getDescription();
69
70
	/**
71
	 * Returns the value of the '<em><b>Config Property Name</b></em>' attribute.
72
	 * <!-- begin-user-doc -->
73
	 * <p>
74
	 * If the meaning of the '<em>Config Property Name</em>' attribute isn't clear,
75
	 * there really should be more of a description here...
76
	 * </p>
77
	 * <!-- end-user-doc -->
78
	 * @return the value of the '<em>Config Property Name</em>' attribute.
79
	 * @see #setConfigPropertyName(String)
80
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getRequiredConfigProperty_ConfigPropertyName()
81
	 * @generated
82
	 */
83
	String getConfigPropertyName();
84
85
	/**
86
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.RequiredConfigProperty#getConfigPropertyName <em>Config Property Name</em>}' attribute.
87
	 * <!-- begin-user-doc -->
88
	 * <!-- end-user-doc -->
89
	 * @param value the new value of the '<em>Config Property Name</em>' attribute.
90
	 * @see #getConfigPropertyName()
91
	 * @generated
92
	 */
93
	void setConfigPropertyName(String value);
94
95
	/**
96
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
97
	 * <!-- begin-user-doc -->
98
	 * <p>
99
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
100
	 * there really should be more of a description here...
101
	 * </p>
102
	 * <!-- end-user-doc -->
103
	 * @return the value of the '<em>Id</em>' attribute.
104
	 * @see #setId(String)
105
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getRequiredConfigProperty_Id()
106
	 * @generated
107
	 */
108
	String getId();
109
110
	/**
111
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.RequiredConfigProperty#getId <em>Id</em>}' attribute.
112
	 * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
114
	 * @param value the new value of the '<em>Id</em>' attribute.
115
	 * @see #getId()
116
	 * @generated
117
	 */
118
	void setId(String value);
119
120
} // RequiredConfigProperty
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/ConfigPropertyImpl.java (+690 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.core.Description;
27
28
import org.eclipse.jst.javaee.jca.ConfigProperty;
29
import org.eclipse.jst.javaee.jca.ConfigPropertyTypeType;
30
31
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
32
33
/**
34
 * <!-- begin-user-doc -->
35
 * An implementation of the model object '<em><b>Config Property</b></em>'.
36
 * <!-- end-user-doc -->
37
 * <p>
38
 * The following features are implemented:
39
 * <ul>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#getDescription <em>Description</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#getConfigPropertyName <em>Config Property Name</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#getConfigPropertyType <em>Config Property Type</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#getConfigPropertyValue <em>Config Property Value</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#isConfigPropertyIgnore <em>Config Property Ignore</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#isConfigPropertySupportsDynamicUpdates <em>Config Property Supports Dynamic Updates</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#isConfigPropertyConfidential <em>Config Property Confidential</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ConfigPropertyImpl#getId <em>Id</em>}</li>
48
 * </ul>
49
 * </p>
50
 *
51
 * @generated
52
 */
53
public class ConfigPropertyImpl extends EObjectImpl implements ConfigProperty {
54
	/**
55
	 * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
56
	 * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
58
	 * @see #getDescription()
59
	 * @generated
60
	 * @ordered
61
	 */
62
	protected EList<Description> description;
63
64
	/**
65
	 * The default value of the '{@link #getConfigPropertyName() <em>Config Property Name</em>}' attribute.
66
	 * <!-- begin-user-doc -->
67
	 * <!-- end-user-doc -->
68
	 * @see #getConfigPropertyName()
69
	 * @generated
70
	 * @ordered
71
	 */
72
	protected static final String CONFIG_PROPERTY_NAME_EDEFAULT = null;
73
74
	/**
75
	 * The cached value of the '{@link #getConfigPropertyName() <em>Config Property Name</em>}' attribute.
76
	 * <!-- begin-user-doc -->
77
	 * <!-- end-user-doc -->
78
	 * @see #getConfigPropertyName()
79
	 * @generated
80
	 * @ordered
81
	 */
82
	protected String configPropertyName = CONFIG_PROPERTY_NAME_EDEFAULT;
83
84
	/**
85
	 * The default value of the '{@link #getConfigPropertyType() <em>Config Property Type</em>}' attribute.
86
	 * <!-- begin-user-doc -->
87
	 * <!-- end-user-doc -->
88
	 * @see #getConfigPropertyType()
89
	 * @generated
90
	 * @ordered
91
	 */
92
	protected static final ConfigPropertyTypeType CONFIG_PROPERTY_TYPE_EDEFAULT = ConfigPropertyTypeType.JAVA_LANG_BOOLEAN;
93
94
	/**
95
	 * The cached value of the '{@link #getConfigPropertyType() <em>Config Property Type</em>}' attribute.
96
	 * <!-- begin-user-doc -->
97
	 * <!-- end-user-doc -->
98
	 * @see #getConfigPropertyType()
99
	 * @generated
100
	 * @ordered
101
	 */
102
	protected ConfigPropertyTypeType configPropertyType = CONFIG_PROPERTY_TYPE_EDEFAULT;
103
104
	/**
105
	 * This is true if the Config Property Type attribute has been set.
106
	 * <!-- begin-user-doc -->
107
	 * <!-- end-user-doc -->
108
	 * @generated
109
	 * @ordered
110
	 */
111
	protected boolean configPropertyTypeESet;
112
113
	/**
114
	 * The default value of the '{@link #getConfigPropertyValue() <em>Config Property Value</em>}' attribute.
115
	 * <!-- begin-user-doc -->
116
	 * <!-- end-user-doc -->
117
	 * @see #getConfigPropertyValue()
118
	 * @generated
119
	 * @ordered
120
	 */
121
	protected static final String CONFIG_PROPERTY_VALUE_EDEFAULT = null;
122
123
	/**
124
	 * The cached value of the '{@link #getConfigPropertyValue() <em>Config Property Value</em>}' attribute.
125
	 * <!-- begin-user-doc -->
126
	 * <!-- end-user-doc -->
127
	 * @see #getConfigPropertyValue()
128
	 * @generated
129
	 * @ordered
130
	 */
131
	protected String configPropertyValue = CONFIG_PROPERTY_VALUE_EDEFAULT;
132
133
	/**
134
	 * The default value of the '{@link #isConfigPropertyIgnore() <em>Config Property Ignore</em>}' attribute.
135
	 * <!-- begin-user-doc -->
136
	 * <!-- end-user-doc -->
137
	 * @see #isConfigPropertyIgnore()
138
	 * @generated
139
	 * @ordered
140
	 */
141
	protected static final boolean CONFIG_PROPERTY_IGNORE_EDEFAULT = false;
142
143
	/**
144
	 * The cached value of the '{@link #isConfigPropertyIgnore() <em>Config Property Ignore</em>}' attribute.
145
	 * <!-- begin-user-doc -->
146
	 * <!-- end-user-doc -->
147
	 * @see #isConfigPropertyIgnore()
148
	 * @generated
149
	 * @ordered
150
	 */
151
	protected boolean configPropertyIgnore = CONFIG_PROPERTY_IGNORE_EDEFAULT;
152
153
	/**
154
	 * This is true if the Config Property Ignore attribute has been set.
155
	 * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
157
	 * @generated
158
	 * @ordered
159
	 */
160
	protected boolean configPropertyIgnoreESet;
161
162
	/**
163
	 * The default value of the '{@link #isConfigPropertySupportsDynamicUpdates() <em>Config Property Supports Dynamic Updates</em>}' attribute.
164
	 * <!-- begin-user-doc -->
165
	 * <!-- end-user-doc -->
166
	 * @see #isConfigPropertySupportsDynamicUpdates()
167
	 * @generated
168
	 * @ordered
169
	 */
170
	protected static final boolean CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES_EDEFAULT = false;
171
172
	/**
173
	 * The cached value of the '{@link #isConfigPropertySupportsDynamicUpdates() <em>Config Property Supports Dynamic Updates</em>}' attribute.
174
	 * <!-- begin-user-doc -->
175
	 * <!-- end-user-doc -->
176
	 * @see #isConfigPropertySupportsDynamicUpdates()
177
	 * @generated
178
	 * @ordered
179
	 */
180
	protected boolean configPropertySupportsDynamicUpdates = CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES_EDEFAULT;
181
182
	/**
183
	 * This is true if the Config Property Supports Dynamic Updates attribute has been set.
184
	 * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
186
	 * @generated
187
	 * @ordered
188
	 */
189
	protected boolean configPropertySupportsDynamicUpdatesESet;
190
191
	/**
192
	 * The default value of the '{@link #isConfigPropertyConfidential() <em>Config Property Confidential</em>}' attribute.
193
	 * <!-- begin-user-doc -->
194
	 * <!-- end-user-doc -->
195
	 * @see #isConfigPropertyConfidential()
196
	 * @generated
197
	 * @ordered
198
	 */
199
	protected static final boolean CONFIG_PROPERTY_CONFIDENTIAL_EDEFAULT = false;
200
201
	/**
202
	 * The cached value of the '{@link #isConfigPropertyConfidential() <em>Config Property Confidential</em>}' attribute.
203
	 * <!-- begin-user-doc -->
204
	 * <!-- end-user-doc -->
205
	 * @see #isConfigPropertyConfidential()
206
	 * @generated
207
	 * @ordered
208
	 */
209
	protected boolean configPropertyConfidential = CONFIG_PROPERTY_CONFIDENTIAL_EDEFAULT;
210
211
	/**
212
	 * This is true if the Config Property Confidential attribute has been set.
213
	 * <!-- begin-user-doc -->
214
	 * <!-- end-user-doc -->
215
	 * @generated
216
	 * @ordered
217
	 */
218
	protected boolean configPropertyConfidentialESet;
219
220
	/**
221
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
222
	 * <!-- begin-user-doc -->
223
	 * <!-- end-user-doc -->
224
	 * @see #getId()
225
	 * @generated
226
	 * @ordered
227
	 */
228
	protected static final String ID_EDEFAULT = null;
229
230
	/**
231
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
232
	 * <!-- begin-user-doc -->
233
	 * <!-- end-user-doc -->
234
	 * @see #getId()
235
	 * @generated
236
	 * @ordered
237
	 */
238
	protected String id = ID_EDEFAULT;
239
240
	/**
241
	 * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
243
	 * @generated
244
	 */
245
	protected ConfigPropertyImpl() {
246
		super();
247
	}
248
249
	/**
250
	 * <!-- begin-user-doc -->
251
	 * <!-- end-user-doc -->
252
	 * @generated
253
	 */
254
	@Override
255
	protected EClass eStaticClass() {
256
		return JcaPackage.Literals.CONFIG_PROPERTY;
257
	}
258
259
	/**
260
	 * <!-- begin-user-doc -->
261
	 * <!-- end-user-doc -->
262
	 * @generated
263
	 */
264
	public List<Description> getDescription() {
265
		if (description == null) {
266
			description = new EObjectContainmentEList<Description>(Description.class, this, JcaPackage.CONFIG_PROPERTY__DESCRIPTION);
267
		}
268
		return description;
269
	}
270
271
	/**
272
	 * <!-- begin-user-doc -->
273
	 * <!-- end-user-doc -->
274
	 * @generated
275
	 */
276
	public String getConfigPropertyName() {
277
		return configPropertyName;
278
	}
279
280
	/**
281
	 * <!-- begin-user-doc -->
282
	 * <!-- end-user-doc -->
283
	 * @generated
284
	 */
285
	public void setConfigPropertyName(String newConfigPropertyName) {
286
		String oldConfigPropertyName = configPropertyName;
287
		configPropertyName = newConfigPropertyName;
288
		if (eNotificationRequired())
289
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_NAME, oldConfigPropertyName, configPropertyName));
290
	}
291
292
	/**
293
	 * <!-- begin-user-doc -->
294
	 * <!-- end-user-doc -->
295
	 * @generated
296
	 */
297
	public ConfigPropertyTypeType getConfigPropertyType() {
298
		return configPropertyType;
299
	}
300
301
	/**
302
	 * <!-- begin-user-doc -->
303
	 * <!-- end-user-doc -->
304
	 * @generated
305
	 */
306
	public void setConfigPropertyType(ConfigPropertyTypeType newConfigPropertyType) {
307
		ConfigPropertyTypeType oldConfigPropertyType = configPropertyType;
308
		configPropertyType = newConfigPropertyType == null ? CONFIG_PROPERTY_TYPE_EDEFAULT : newConfigPropertyType;
309
		boolean oldConfigPropertyTypeESet = configPropertyTypeESet;
310
		configPropertyTypeESet = true;
311
		if (eNotificationRequired())
312
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_TYPE, oldConfigPropertyType, configPropertyType, !oldConfigPropertyTypeESet));
313
	}
314
315
	/**
316
	 * <!-- begin-user-doc -->
317
	 * <!-- end-user-doc -->
318
	 * @generated
319
	 */
320
	public void unsetConfigPropertyType() {
321
		ConfigPropertyTypeType oldConfigPropertyType = configPropertyType;
322
		boolean oldConfigPropertyTypeESet = configPropertyTypeESet;
323
		configPropertyType = CONFIG_PROPERTY_TYPE_EDEFAULT;
324
		configPropertyTypeESet = false;
325
		if (eNotificationRequired())
326
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_TYPE, oldConfigPropertyType, CONFIG_PROPERTY_TYPE_EDEFAULT, oldConfigPropertyTypeESet));
327
	}
328
329
	/**
330
	 * <!-- begin-user-doc -->
331
	 * <!-- end-user-doc -->
332
	 * @generated
333
	 */
334
	public boolean isSetConfigPropertyType() {
335
		return configPropertyTypeESet;
336
	}
337
338
	/**
339
	 * <!-- begin-user-doc -->
340
	 * <!-- end-user-doc -->
341
	 * @generated
342
	 */
343
	public String getConfigPropertyValue() {
344
		return configPropertyValue;
345
	}
346
347
	/**
348
	 * <!-- begin-user-doc -->
349
	 * <!-- end-user-doc -->
350
	 * @generated
351
	 */
352
	public void setConfigPropertyValue(String newConfigPropertyValue) {
353
		String oldConfigPropertyValue = configPropertyValue;
354
		configPropertyValue = newConfigPropertyValue;
355
		if (eNotificationRequired())
356
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_VALUE, oldConfigPropertyValue, configPropertyValue));
357
	}
358
359
	/**
360
	 * <!-- begin-user-doc -->
361
	 * <!-- end-user-doc -->
362
	 * @generated
363
	 */
364
	public boolean isConfigPropertyIgnore() {
365
		return configPropertyIgnore;
366
	}
367
368
	/**
369
	 * <!-- begin-user-doc -->
370
	 * <!-- end-user-doc -->
371
	 * @generated
372
	 */
373
	public void setConfigPropertyIgnore(boolean newConfigPropertyIgnore) {
374
		boolean oldConfigPropertyIgnore = configPropertyIgnore;
375
		configPropertyIgnore = newConfigPropertyIgnore;
376
		boolean oldConfigPropertyIgnoreESet = configPropertyIgnoreESet;
377
		configPropertyIgnoreESet = true;
378
		if (eNotificationRequired())
379
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_IGNORE, oldConfigPropertyIgnore, configPropertyIgnore, !oldConfigPropertyIgnoreESet));
380
	}
381
382
	/**
383
	 * <!-- begin-user-doc -->
384
	 * <!-- end-user-doc -->
385
	 * @generated
386
	 */
387
	public void unsetConfigPropertyIgnore() {
388
		boolean oldConfigPropertyIgnore = configPropertyIgnore;
389
		boolean oldConfigPropertyIgnoreESet = configPropertyIgnoreESet;
390
		configPropertyIgnore = CONFIG_PROPERTY_IGNORE_EDEFAULT;
391
		configPropertyIgnoreESet = false;
392
		if (eNotificationRequired())
393
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_IGNORE, oldConfigPropertyIgnore, CONFIG_PROPERTY_IGNORE_EDEFAULT, oldConfigPropertyIgnoreESet));
394
	}
395
396
	/**
397
	 * <!-- begin-user-doc -->
398
	 * <!-- end-user-doc -->
399
	 * @generated
400
	 */
401
	public boolean isSetConfigPropertyIgnore() {
402
		return configPropertyIgnoreESet;
403
	}
404
405
	/**
406
	 * <!-- begin-user-doc -->
407
	 * <!-- end-user-doc -->
408
	 * @generated
409
	 */
410
	public boolean isConfigPropertySupportsDynamicUpdates() {
411
		return configPropertySupportsDynamicUpdates;
412
	}
413
414
	/**
415
	 * <!-- begin-user-doc -->
416
	 * <!-- end-user-doc -->
417
	 * @generated
418
	 */
419
	public void setConfigPropertySupportsDynamicUpdates(boolean newConfigPropertySupportsDynamicUpdates) {
420
		boolean oldConfigPropertySupportsDynamicUpdates = configPropertySupportsDynamicUpdates;
421
		configPropertySupportsDynamicUpdates = newConfigPropertySupportsDynamicUpdates;
422
		boolean oldConfigPropertySupportsDynamicUpdatesESet = configPropertySupportsDynamicUpdatesESet;
423
		configPropertySupportsDynamicUpdatesESet = true;
424
		if (eNotificationRequired())
425
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES, oldConfigPropertySupportsDynamicUpdates, configPropertySupportsDynamicUpdates, !oldConfigPropertySupportsDynamicUpdatesESet));
426
	}
427
428
	/**
429
	 * <!-- begin-user-doc -->
430
	 * <!-- end-user-doc -->
431
	 * @generated
432
	 */
433
	public void unsetConfigPropertySupportsDynamicUpdates() {
434
		boolean oldConfigPropertySupportsDynamicUpdates = configPropertySupportsDynamicUpdates;
435
		boolean oldConfigPropertySupportsDynamicUpdatesESet = configPropertySupportsDynamicUpdatesESet;
436
		configPropertySupportsDynamicUpdates = CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES_EDEFAULT;
437
		configPropertySupportsDynamicUpdatesESet = false;
438
		if (eNotificationRequired())
439
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES, oldConfigPropertySupportsDynamicUpdates, CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES_EDEFAULT, oldConfigPropertySupportsDynamicUpdatesESet));
440
	}
441
442
	/**
443
	 * <!-- begin-user-doc -->
444
	 * <!-- end-user-doc -->
445
	 * @generated
446
	 */
447
	public boolean isSetConfigPropertySupportsDynamicUpdates() {
448
		return configPropertySupportsDynamicUpdatesESet;
449
	}
450
451
	/**
452
	 * <!-- begin-user-doc -->
453
	 * <!-- end-user-doc -->
454
	 * @generated
455
	 */
456
	public boolean isConfigPropertyConfidential() {
457
		return configPropertyConfidential;
458
	}
459
460
	/**
461
	 * <!-- begin-user-doc -->
462
	 * <!-- end-user-doc -->
463
	 * @generated
464
	 */
465
	public void setConfigPropertyConfidential(boolean newConfigPropertyConfidential) {
466
		boolean oldConfigPropertyConfidential = configPropertyConfidential;
467
		configPropertyConfidential = newConfigPropertyConfidential;
468
		boolean oldConfigPropertyConfidentialESet = configPropertyConfidentialESet;
469
		configPropertyConfidentialESet = true;
470
		if (eNotificationRequired())
471
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_CONFIDENTIAL, oldConfigPropertyConfidential, configPropertyConfidential, !oldConfigPropertyConfidentialESet));
472
	}
473
474
	/**
475
	 * <!-- begin-user-doc -->
476
	 * <!-- end-user-doc -->
477
	 * @generated
478
	 */
479
	public void unsetConfigPropertyConfidential() {
480
		boolean oldConfigPropertyConfidential = configPropertyConfidential;
481
		boolean oldConfigPropertyConfidentialESet = configPropertyConfidentialESet;
482
		configPropertyConfidential = CONFIG_PROPERTY_CONFIDENTIAL_EDEFAULT;
483
		configPropertyConfidentialESet = false;
484
		if (eNotificationRequired())
485
			eNotify(new ENotificationImpl(this, Notification.UNSET, JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_CONFIDENTIAL, oldConfigPropertyConfidential, CONFIG_PROPERTY_CONFIDENTIAL_EDEFAULT, oldConfigPropertyConfidentialESet));
486
	}
487
488
	/**
489
	 * <!-- begin-user-doc -->
490
	 * <!-- end-user-doc -->
491
	 * @generated
492
	 */
493
	public boolean isSetConfigPropertyConfidential() {
494
		return configPropertyConfidentialESet;
495
	}
496
497
	/**
498
	 * <!-- begin-user-doc -->
499
	 * <!-- end-user-doc -->
500
	 * @generated
501
	 */
502
	public String getId() {
503
		return id;
504
	}
505
506
	/**
507
	 * <!-- begin-user-doc -->
508
	 * <!-- end-user-doc -->
509
	 * @generated
510
	 */
511
	public void setId(String newId) {
512
		String oldId = id;
513
		id = newId;
514
		if (eNotificationRequired())
515
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.CONFIG_PROPERTY__ID, oldId, id));
516
	}
517
518
	/**
519
	 * <!-- begin-user-doc -->
520
	 * <!-- end-user-doc -->
521
	 * @generated
522
	 */
523
	@Override
524
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
525
		switch (featureID) {
526
			case JcaPackage.CONFIG_PROPERTY__DESCRIPTION:
527
				return ((InternalEList<?>)getDescription()).basicRemove(otherEnd, msgs);
528
		}
529
		return super.eInverseRemove(otherEnd, featureID, msgs);
530
	}
531
532
	/**
533
	 * <!-- begin-user-doc -->
534
	 * <!-- end-user-doc -->
535
	 * @generated
536
	 */
537
	@Override
538
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
539
		switch (featureID) {
540
			case JcaPackage.CONFIG_PROPERTY__DESCRIPTION:
541
				return getDescription();
542
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
543
				return getConfigPropertyName();
544
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_TYPE:
545
				return getConfigPropertyType();
546
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_VALUE:
547
				return getConfigPropertyValue();
548
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_IGNORE:
549
				return isConfigPropertyIgnore();
550
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES:
551
				return isConfigPropertySupportsDynamicUpdates();
552
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_CONFIDENTIAL:
553
				return isConfigPropertyConfidential();
554
			case JcaPackage.CONFIG_PROPERTY__ID:
555
				return getId();
556
		}
557
		return super.eGet(featureID, resolve, coreType);
558
	}
559
560
	/**
561
	 * <!-- begin-user-doc -->
562
	 * <!-- end-user-doc -->
563
	 * @generated
564
	 */
565
	@SuppressWarnings("unchecked")
566
	@Override
567
	public void eSet(int featureID, Object newValue) {
568
		switch (featureID) {
569
			case JcaPackage.CONFIG_PROPERTY__DESCRIPTION:
570
				getDescription().clear();
571
				getDescription().addAll((Collection<? extends Description>)newValue);
572
				return;
573
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
574
				setConfigPropertyName((String)newValue);
575
				return;
576
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_TYPE:
577
				setConfigPropertyType((ConfigPropertyTypeType)newValue);
578
				return;
579
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_VALUE:
580
				setConfigPropertyValue((String)newValue);
581
				return;
582
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_IGNORE:
583
				setConfigPropertyIgnore((Boolean)newValue);
584
				return;
585
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES:
586
				setConfigPropertySupportsDynamicUpdates((Boolean)newValue);
587
				return;
588
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_CONFIDENTIAL:
589
				setConfigPropertyConfidential((Boolean)newValue);
590
				return;
591
			case JcaPackage.CONFIG_PROPERTY__ID:
592
				setId((String)newValue);
593
				return;
594
		}
595
		super.eSet(featureID, newValue);
596
	}
597
598
	/**
599
	 * <!-- begin-user-doc -->
600
	 * <!-- end-user-doc -->
601
	 * @generated
602
	 */
603
	@Override
604
	public void eUnset(int featureID) {
605
		switch (featureID) {
606
			case JcaPackage.CONFIG_PROPERTY__DESCRIPTION:
607
				getDescription().clear();
608
				return;
609
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
610
				setConfigPropertyName(CONFIG_PROPERTY_NAME_EDEFAULT);
611
				return;
612
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_TYPE:
613
				unsetConfigPropertyType();
614
				return;
615
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_VALUE:
616
				setConfigPropertyValue(CONFIG_PROPERTY_VALUE_EDEFAULT);
617
				return;
618
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_IGNORE:
619
				unsetConfigPropertyIgnore();
620
				return;
621
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES:
622
				unsetConfigPropertySupportsDynamicUpdates();
623
				return;
624
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_CONFIDENTIAL:
625
				unsetConfigPropertyConfidential();
626
				return;
627
			case JcaPackage.CONFIG_PROPERTY__ID:
628
				setId(ID_EDEFAULT);
629
				return;
630
		}
631
		super.eUnset(featureID);
632
	}
633
634
	/**
635
	 * <!-- begin-user-doc -->
636
	 * <!-- end-user-doc -->
637
	 * @generated
638
	 */
639
	@Override
640
	public boolean eIsSet(int featureID) {
641
		switch (featureID) {
642
			case JcaPackage.CONFIG_PROPERTY__DESCRIPTION:
643
				return description != null && !description.isEmpty();
644
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_NAME:
645
				return CONFIG_PROPERTY_NAME_EDEFAULT == null ? configPropertyName != null : !CONFIG_PROPERTY_NAME_EDEFAULT.equals(configPropertyName);
646
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_TYPE:
647
				return isSetConfigPropertyType();
648
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_VALUE:
649
				return CONFIG_PROPERTY_VALUE_EDEFAULT == null ? configPropertyValue != null : !CONFIG_PROPERTY_VALUE_EDEFAULT.equals(configPropertyValue);
650
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_IGNORE:
651
				return isSetConfigPropertyIgnore();
652
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_SUPPORTS_DYNAMIC_UPDATES:
653
				return isSetConfigPropertySupportsDynamicUpdates();
654
			case JcaPackage.CONFIG_PROPERTY__CONFIG_PROPERTY_CONFIDENTIAL:
655
				return isSetConfigPropertyConfidential();
656
			case JcaPackage.CONFIG_PROPERTY__ID:
657
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
658
		}
659
		return super.eIsSet(featureID);
660
	}
661
662
	/**
663
	 * <!-- begin-user-doc -->
664
	 * <!-- end-user-doc -->
665
	 * @generated
666
	 */
667
	@Override
668
	public String toString() {
669
		if (eIsProxy()) return super.toString();
670
671
		StringBuffer result = new StringBuffer(super.toString());
672
		result.append(" (configPropertyName: "); //$NON-NLS-1$
673
		result.append(configPropertyName);
674
		result.append(", configPropertyType: "); //$NON-NLS-1$
675
		if (configPropertyTypeESet) result.append(configPropertyType); else result.append("<unset>"); //$NON-NLS-1$
676
		result.append(", configPropertyValue: "); //$NON-NLS-1$
677
		result.append(configPropertyValue);
678
		result.append(", configPropertyIgnore: "); //$NON-NLS-1$
679
		if (configPropertyIgnoreESet) result.append(configPropertyIgnore); else result.append("<unset>"); //$NON-NLS-1$
680
		result.append(", configPropertySupportsDynamicUpdates: "); //$NON-NLS-1$
681
		if (configPropertySupportsDynamicUpdatesESet) result.append(configPropertySupportsDynamicUpdates); else result.append("<unset>"); //$NON-NLS-1$
682
		result.append(", configPropertyConfidential: "); //$NON-NLS-1$
683
		if (configPropertyConfidentialESet) result.append(configPropertyConfidential); else result.append("<unset>"); //$NON-NLS-1$
684
		result.append(", id: "); //$NON-NLS-1$
685
		result.append(id);
686
		result.append(')');
687
		return result.toString();
688
	}
689
690
} //ConfigPropertyImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/ResourceAdapterImpl.java (+490 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.jca.AdminObject;
27
import org.eclipse.jst.javaee.jca.ConfigProperty;
28
import org.eclipse.jst.javaee.jca.InboundResourceAdapter;
29
import org.eclipse.jst.javaee.jca.OutboundResourceAdapter;
30
import org.eclipse.jst.javaee.jca.ResourceAdapter;
31
import org.eclipse.jst.javaee.jca.SecurityPermission;
32
33
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
34
35
/**
36
 * <!-- begin-user-doc -->
37
 * An implementation of the model object '<em><b>Resource Adapter</b></em>'.
38
 * <!-- end-user-doc -->
39
 * <p>
40
 * The following features are implemented:
41
 * <ul>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ResourceAdapterImpl#getResourceadapterClass <em>Resourceadapter Class</em>}</li>
43
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ResourceAdapterImpl#getConfigProperty <em>Config Property</em>}</li>
44
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ResourceAdapterImpl#getOutboundResourceadapter <em>Outbound Resourceadapter</em>}</li>
45
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ResourceAdapterImpl#getInboundResourceadapter <em>Inbound Resourceadapter</em>}</li>
46
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ResourceAdapterImpl#getAdminobject <em>Adminobject</em>}</li>
47
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ResourceAdapterImpl#getSecurityPermission <em>Security Permission</em>}</li>
48
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ResourceAdapterImpl#getId <em>Id</em>}</li>
49
 * </ul>
50
 * </p>
51
 *
52
 * @generated
53
 */
54
public class ResourceAdapterImpl extends EObjectImpl implements ResourceAdapter {
55
	/**
56
	 * The default value of the '{@link #getResourceadapterClass() <em>Resourceadapter Class</em>}' attribute.
57
	 * <!-- begin-user-doc -->
58
	 * <!-- end-user-doc -->
59
	 * @see #getResourceadapterClass()
60
	 * @generated
61
	 * @ordered
62
	 */
63
	protected static final String RESOURCEADAPTER_CLASS_EDEFAULT = null;
64
65
	/**
66
	 * The cached value of the '{@link #getResourceadapterClass() <em>Resourceadapter Class</em>}' attribute.
67
	 * <!-- begin-user-doc -->
68
	 * <!-- end-user-doc -->
69
	 * @see #getResourceadapterClass()
70
	 * @generated
71
	 * @ordered
72
	 */
73
	protected String resourceadapterClass = RESOURCEADAPTER_CLASS_EDEFAULT;
74
75
	/**
76
	 * The cached value of the '{@link #getConfigProperty() <em>Config Property</em>}' containment reference list.
77
	 * <!-- begin-user-doc -->
78
	 * <!-- end-user-doc -->
79
	 * @see #getConfigProperty()
80
	 * @generated
81
	 * @ordered
82
	 */
83
	protected EList<ConfigProperty> configProperty;
84
85
	/**
86
	 * The cached value of the '{@link #getOutboundResourceadapter() <em>Outbound Resourceadapter</em>}' containment reference.
87
	 * <!-- begin-user-doc -->
88
	 * <!-- end-user-doc -->
89
	 * @see #getOutboundResourceadapter()
90
	 * @generated
91
	 * @ordered
92
	 */
93
	protected OutboundResourceAdapter outboundResourceadapter;
94
95
	/**
96
	 * The cached value of the '{@link #getInboundResourceadapter() <em>Inbound Resourceadapter</em>}' containment reference.
97
	 * <!-- begin-user-doc -->
98
	 * <!-- end-user-doc -->
99
	 * @see #getInboundResourceadapter()
100
	 * @generated
101
	 * @ordered
102
	 */
103
	protected InboundResourceAdapter inboundResourceadapter;
104
105
	/**
106
	 * The cached value of the '{@link #getAdminobject() <em>Adminobject</em>}' containment reference list.
107
	 * <!-- begin-user-doc -->
108
	 * <!-- end-user-doc -->
109
	 * @see #getAdminobject()
110
	 * @generated
111
	 * @ordered
112
	 */
113
	protected EList<AdminObject> adminobject;
114
115
	/**
116
	 * The cached value of the '{@link #getSecurityPermission() <em>Security Permission</em>}' containment reference list.
117
	 * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
119
	 * @see #getSecurityPermission()
120
	 * @generated
121
	 * @ordered
122
	 */
123
	protected EList<SecurityPermission> securityPermission;
124
125
	/**
126
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
127
	 * <!-- begin-user-doc -->
128
	 * <!-- end-user-doc -->
129
	 * @see #getId()
130
	 * @generated
131
	 * @ordered
132
	 */
133
	protected static final String ID_EDEFAULT = null;
134
135
	/**
136
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
137
	 * <!-- begin-user-doc -->
138
	 * <!-- end-user-doc -->
139
	 * @see #getId()
140
	 * @generated
141
	 * @ordered
142
	 */
143
	protected String id = ID_EDEFAULT;
144
145
	/**
146
	 * <!-- begin-user-doc -->
147
	 * <!-- end-user-doc -->
148
	 * @generated
149
	 */
150
	protected ResourceAdapterImpl() {
151
		super();
152
	}
153
154
	/**
155
	 * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
157
	 * @generated
158
	 */
159
	@Override
160
	protected EClass eStaticClass() {
161
		return JcaPackage.Literals.RESOURCE_ADAPTER;
162
	}
163
164
	/**
165
	 * <!-- begin-user-doc -->
166
	 * <!-- end-user-doc -->
167
	 * @generated
168
	 */
169
	public String getResourceadapterClass() {
170
		return resourceadapterClass;
171
	}
172
173
	/**
174
	 * <!-- begin-user-doc -->
175
	 * <!-- end-user-doc -->
176
	 * @generated
177
	 */
178
	public void setResourceadapterClass(String newResourceadapterClass) {
179
		String oldResourceadapterClass = resourceadapterClass;
180
		resourceadapterClass = newResourceadapterClass;
181
		if (eNotificationRequired())
182
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.RESOURCE_ADAPTER__RESOURCEADAPTER_CLASS, oldResourceadapterClass, resourceadapterClass));
183
	}
184
185
	/**
186
	 * <!-- begin-user-doc -->
187
	 * <!-- end-user-doc -->
188
	 * @generated
189
	 */
190
	public List<ConfigProperty> getConfigProperty() {
191
		if (configProperty == null) {
192
			configProperty = new EObjectContainmentEList<ConfigProperty>(ConfigProperty.class, this, JcaPackage.RESOURCE_ADAPTER__CONFIG_PROPERTY);
193
		}
194
		return configProperty;
195
	}
196
197
	/**
198
	 * <!-- begin-user-doc -->
199
	 * <!-- end-user-doc -->
200
	 * @generated
201
	 */
202
	public OutboundResourceAdapter getOutboundResourceadapter() {
203
		return outboundResourceadapter;
204
	}
205
206
	/**
207
	 * <!-- begin-user-doc -->
208
	 * <!-- end-user-doc -->
209
	 * @generated
210
	 */
211
	public NotificationChain basicSetOutboundResourceadapter(OutboundResourceAdapter newOutboundResourceadapter, NotificationChain msgs) {
212
		OutboundResourceAdapter oldOutboundResourceadapter = outboundResourceadapter;
213
		outboundResourceadapter = newOutboundResourceadapter;
214
		if (eNotificationRequired()) {
215
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER, oldOutboundResourceadapter, newOutboundResourceadapter);
216
			if (msgs == null) msgs = notification; else msgs.add(notification);
217
		}
218
		return msgs;
219
	}
220
221
	/**
222
	 * <!-- begin-user-doc -->
223
	 * <!-- end-user-doc -->
224
	 * @generated
225
	 */
226
	public void setOutboundResourceadapter(OutboundResourceAdapter newOutboundResourceadapter) {
227
		if (newOutboundResourceadapter != outboundResourceadapter) {
228
			NotificationChain msgs = null;
229
			if (outboundResourceadapter != null)
230
				msgs = ((InternalEObject)outboundResourceadapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER, null, msgs);
231
			if (newOutboundResourceadapter != null)
232
				msgs = ((InternalEObject)newOutboundResourceadapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER, null, msgs);
233
			msgs = basicSetOutboundResourceadapter(newOutboundResourceadapter, msgs);
234
			if (msgs != null) msgs.dispatch();
235
		}
236
		else if (eNotificationRequired())
237
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER, newOutboundResourceadapter, newOutboundResourceadapter));
238
	}
239
240
	/**
241
	 * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
243
	 * @generated
244
	 */
245
	public InboundResourceAdapter getInboundResourceadapter() {
246
		return inboundResourceadapter;
247
	}
248
249
	/**
250
	 * <!-- begin-user-doc -->
251
	 * <!-- end-user-doc -->
252
	 * @generated
253
	 */
254
	public NotificationChain basicSetInboundResourceadapter(InboundResourceAdapter newInboundResourceadapter, NotificationChain msgs) {
255
		InboundResourceAdapter oldInboundResourceadapter = inboundResourceadapter;
256
		inboundResourceadapter = newInboundResourceadapter;
257
		if (eNotificationRequired()) {
258
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER, oldInboundResourceadapter, newInboundResourceadapter);
259
			if (msgs == null) msgs = notification; else msgs.add(notification);
260
		}
261
		return msgs;
262
	}
263
264
	/**
265
	 * <!-- begin-user-doc -->
266
	 * <!-- end-user-doc -->
267
	 * @generated
268
	 */
269
	public void setInboundResourceadapter(InboundResourceAdapter newInboundResourceadapter) {
270
		if (newInboundResourceadapter != inboundResourceadapter) {
271
			NotificationChain msgs = null;
272
			if (inboundResourceadapter != null)
273
				msgs = ((InternalEObject)inboundResourceadapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER, null, msgs);
274
			if (newInboundResourceadapter != null)
275
				msgs = ((InternalEObject)newInboundResourceadapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER, null, msgs);
276
			msgs = basicSetInboundResourceadapter(newInboundResourceadapter, msgs);
277
			if (msgs != null) msgs.dispatch();
278
		}
279
		else if (eNotificationRequired())
280
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER, newInboundResourceadapter, newInboundResourceadapter));
281
	}
282
283
	/**
284
	 * <!-- begin-user-doc -->
285
	 * <!-- end-user-doc -->
286
	 * @generated
287
	 */
288
	public List<AdminObject> getAdminobject() {
289
		if (adminobject == null) {
290
			adminobject = new EObjectContainmentEList<AdminObject>(AdminObject.class, this, JcaPackage.RESOURCE_ADAPTER__ADMINOBJECT);
291
		}
292
		return adminobject;
293
	}
294
295
	/**
296
	 * <!-- begin-user-doc -->
297
	 * <!-- end-user-doc -->
298
	 * @generated
299
	 */
300
	public List<SecurityPermission> getSecurityPermission() {
301
		if (securityPermission == null) {
302
			securityPermission = new EObjectContainmentEList<SecurityPermission>(SecurityPermission.class, this, JcaPackage.RESOURCE_ADAPTER__SECURITY_PERMISSION);
303
		}
304
		return securityPermission;
305
	}
306
307
	/**
308
	 * <!-- begin-user-doc -->
309
	 * <!-- end-user-doc -->
310
	 * @generated
311
	 */
312
	public String getId() {
313
		return id;
314
	}
315
316
	/**
317
	 * <!-- begin-user-doc -->
318
	 * <!-- end-user-doc -->
319
	 * @generated
320
	 */
321
	public void setId(String newId) {
322
		String oldId = id;
323
		id = newId;
324
		if (eNotificationRequired())
325
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.RESOURCE_ADAPTER__ID, oldId, id));
326
	}
327
328
	/**
329
	 * <!-- begin-user-doc -->
330
	 * <!-- end-user-doc -->
331
	 * @generated
332
	 */
333
	@Override
334
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
335
		switch (featureID) {
336
			case JcaPackage.RESOURCE_ADAPTER__CONFIG_PROPERTY:
337
				return ((InternalEList<?>)getConfigProperty()).basicRemove(otherEnd, msgs);
338
			case JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER:
339
				return basicSetOutboundResourceadapter(null, msgs);
340
			case JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER:
341
				return basicSetInboundResourceadapter(null, msgs);
342
			case JcaPackage.RESOURCE_ADAPTER__ADMINOBJECT:
343
				return ((InternalEList<?>)getAdminobject()).basicRemove(otherEnd, msgs);
344
			case JcaPackage.RESOURCE_ADAPTER__SECURITY_PERMISSION:
345
				return ((InternalEList<?>)getSecurityPermission()).basicRemove(otherEnd, msgs);
346
		}
347
		return super.eInverseRemove(otherEnd, featureID, msgs);
348
	}
349
350
	/**
351
	 * <!-- begin-user-doc -->
352
	 * <!-- end-user-doc -->
353
	 * @generated
354
	 */
355
	@Override
356
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
357
		switch (featureID) {
358
			case JcaPackage.RESOURCE_ADAPTER__RESOURCEADAPTER_CLASS:
359
				return getResourceadapterClass();
360
			case JcaPackage.RESOURCE_ADAPTER__CONFIG_PROPERTY:
361
				return getConfigProperty();
362
			case JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER:
363
				return getOutboundResourceadapter();
364
			case JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER:
365
				return getInboundResourceadapter();
366
			case JcaPackage.RESOURCE_ADAPTER__ADMINOBJECT:
367
				return getAdminobject();
368
			case JcaPackage.RESOURCE_ADAPTER__SECURITY_PERMISSION:
369
				return getSecurityPermission();
370
			case JcaPackage.RESOURCE_ADAPTER__ID:
371
				return getId();
372
		}
373
		return super.eGet(featureID, resolve, coreType);
374
	}
375
376
	/**
377
	 * <!-- begin-user-doc -->
378
	 * <!-- end-user-doc -->
379
	 * @generated
380
	 */
381
	@SuppressWarnings("unchecked")
382
	@Override
383
	public void eSet(int featureID, Object newValue) {
384
		switch (featureID) {
385
			case JcaPackage.RESOURCE_ADAPTER__RESOURCEADAPTER_CLASS:
386
				setResourceadapterClass((String)newValue);
387
				return;
388
			case JcaPackage.RESOURCE_ADAPTER__CONFIG_PROPERTY:
389
				getConfigProperty().clear();
390
				getConfigProperty().addAll((Collection<? extends ConfigProperty>)newValue);
391
				return;
392
			case JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER:
393
				setOutboundResourceadapter((OutboundResourceAdapter)newValue);
394
				return;
395
			case JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER:
396
				setInboundResourceadapter((InboundResourceAdapter)newValue);
397
				return;
398
			case JcaPackage.RESOURCE_ADAPTER__ADMINOBJECT:
399
				getAdminobject().clear();
400
				getAdminobject().addAll((Collection<? extends AdminObject>)newValue);
401
				return;
402
			case JcaPackage.RESOURCE_ADAPTER__SECURITY_PERMISSION:
403
				getSecurityPermission().clear();
404
				getSecurityPermission().addAll((Collection<? extends SecurityPermission>)newValue);
405
				return;
406
			case JcaPackage.RESOURCE_ADAPTER__ID:
407
				setId((String)newValue);
408
				return;
409
		}
410
		super.eSet(featureID, newValue);
411
	}
412
413
	/**
414
	 * <!-- begin-user-doc -->
415
	 * <!-- end-user-doc -->
416
	 * @generated
417
	 */
418
	@Override
419
	public void eUnset(int featureID) {
420
		switch (featureID) {
421
			case JcaPackage.RESOURCE_ADAPTER__RESOURCEADAPTER_CLASS:
422
				setResourceadapterClass(RESOURCEADAPTER_CLASS_EDEFAULT);
423
				return;
424
			case JcaPackage.RESOURCE_ADAPTER__CONFIG_PROPERTY:
425
				getConfigProperty().clear();
426
				return;
427
			case JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER:
428
				setOutboundResourceadapter((OutboundResourceAdapter)null);
429
				return;
430
			case JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER:
431
				setInboundResourceadapter((InboundResourceAdapter)null);
432
				return;
433
			case JcaPackage.RESOURCE_ADAPTER__ADMINOBJECT:
434
				getAdminobject().clear();
435
				return;
436
			case JcaPackage.RESOURCE_ADAPTER__SECURITY_PERMISSION:
437
				getSecurityPermission().clear();
438
				return;
439
			case JcaPackage.RESOURCE_ADAPTER__ID:
440
				setId(ID_EDEFAULT);
441
				return;
442
		}
443
		super.eUnset(featureID);
444
	}
445
446
	/**
447
	 * <!-- begin-user-doc -->
448
	 * <!-- end-user-doc -->
449
	 * @generated
450
	 */
451
	@Override
452
	public boolean eIsSet(int featureID) {
453
		switch (featureID) {
454
			case JcaPackage.RESOURCE_ADAPTER__RESOURCEADAPTER_CLASS:
455
				return RESOURCEADAPTER_CLASS_EDEFAULT == null ? resourceadapterClass != null : !RESOURCEADAPTER_CLASS_EDEFAULT.equals(resourceadapterClass);
456
			case JcaPackage.RESOURCE_ADAPTER__CONFIG_PROPERTY:
457
				return configProperty != null && !configProperty.isEmpty();
458
			case JcaPackage.RESOURCE_ADAPTER__OUTBOUND_RESOURCEADAPTER:
459
				return outboundResourceadapter != null;
460
			case JcaPackage.RESOURCE_ADAPTER__INBOUND_RESOURCEADAPTER:
461
				return inboundResourceadapter != null;
462
			case JcaPackage.RESOURCE_ADAPTER__ADMINOBJECT:
463
				return adminobject != null && !adminobject.isEmpty();
464
			case JcaPackage.RESOURCE_ADAPTER__SECURITY_PERMISSION:
465
				return securityPermission != null && !securityPermission.isEmpty();
466
			case JcaPackage.RESOURCE_ADAPTER__ID:
467
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
468
		}
469
		return super.eIsSet(featureID);
470
	}
471
472
	/**
473
	 * <!-- begin-user-doc -->
474
	 * <!-- end-user-doc -->
475
	 * @generated
476
	 */
477
	@Override
478
	public String toString() {
479
		if (eIsProxy()) return super.toString();
480
481
		StringBuffer result = new StringBuffer(super.toString());
482
		result.append(" (resourceadapterClass: "); //$NON-NLS-1$
483
		result.append(resourceadapterClass);
484
		result.append(", id: "); //$NON-NLS-1$
485
		result.append(id);
486
		result.append(')');
487
		return result.toString();
488
	}
489
490
} //ResourceAdapterImpl
(-)jee-models/org/eclipse/jst/javaee/jca/ResourceAdapter.java (+206 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.JavaEEObject;
12
13
/**
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Resource Adapter</b></em>'.
16
 * <!-- end-user-doc -->
17
 *
18
 * <!-- begin-model-doc -->
19
 * 
20
 * 
21
 *         The resourceadapterType specifies information about the
22
 *         resource adapter. The information includes fully qualified
23
 *         resource adapter Java class name, configuration properties,
24
 *         information specific to the implementation of the resource
25
 *         adapter library as specified through the
26
 *         outbound-resourceadapter and inbound-resourceadapter
27
 *         elements, and an optional set of administered objects.
28
 *         
29
 *         @since Java EE 6, Connector 1.6
30
 *       
31
 * <!-- end-model-doc -->
32
 *
33
 * <p>
34
 * The following features are supported:
35
 * <ul>
36
 *   <li>{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getResourceadapterClass <em>Resourceadapter Class</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getConfigProperty <em>Config Property</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getOutboundResourceadapter <em>Outbound Resourceadapter</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getInboundResourceadapter <em>Inbound Resourceadapter</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getAdminobject <em>Adminobject</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getSecurityPermission <em>Security Permission</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getId <em>Id</em>}</li>
43
 * </ul>
44
 * </p>
45
 *
46
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter()
47
 * @extends JavaEEObject
48
 * @generated
49
 */
50
public interface ResourceAdapter extends JavaEEObject {
51
	/**
52
	 * Returns the value of the '<em><b>Resourceadapter Class</b></em>' attribute.
53
	 * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
55
	 * <!-- begin-model-doc -->
56
	 * 
57
	 * 
58
	 *             The element resourceadapter-class specifies the
59
	 *             fully qualified name of a Java class that implements
60
	 *             the javax.resource.spi.ResourceAdapter
61
	 *             interface. This Java class is provided as part of
62
	 *             resource adapter's implementation of connector
63
	 *             architecture specified contracts. The implementation
64
	 *             of this class is required to be a JavaBean.
65
	 * 
66
	 * 			@since Java EE 6, Connector 1.6            
67
	 *           
68
	 * <!-- end-model-doc -->
69
	 * @return the value of the '<em>Resourceadapter Class</em>' attribute.
70
	 * @see #setResourceadapterClass(String)
71
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter_ResourceadapterClass()
72
	 * @generated
73
	 */
74
	String getResourceadapterClass();
75
76
	/**
77
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getResourceadapterClass <em>Resourceadapter Class</em>}' attribute.
78
	 * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
80
	 * @param value the new value of the '<em>Resourceadapter Class</em>' attribute.
81
	 * @see #getResourceadapterClass()
82
	 * @generated
83
	 */
84
	void setResourceadapterClass(String value);
85
86
	/**
87
	 * Returns the value of the '<em><b>Config Property</b></em>' containment reference list.
88
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.ConfigProperty}.
89
	 * <!-- begin-user-doc -->
90
	 * <p>
91
	 * If the meaning of the '<em>Config Property</em>' containment reference list isn't clear,
92
	 * there really should be more of a description here...
93
	 * </p>
94
	 * <!-- end-user-doc -->
95
	 * @return the value of the '<em>Config Property</em>' containment reference list.
96
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter_ConfigProperty()
97
	 * @generated
98
	 */
99
	List<ConfigProperty> getConfigProperty();
100
101
	/**
102
	 * Returns the value of the '<em><b>Outbound Resourceadapter</b></em>' containment reference.
103
	 * <!-- begin-user-doc -->
104
	 * <p>
105
	 * If the meaning of the '<em>Outbound Resourceadapter</em>' containment reference isn't clear,
106
	 * there really should be more of a description here...
107
	 * </p>
108
	 * <!-- end-user-doc -->
109
	 * @return the value of the '<em>Outbound Resourceadapter</em>' containment reference.
110
	 * @see #setOutboundResourceadapter(OutboundResourceAdapter)
111
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter_OutboundResourceadapter()
112
	 * @generated
113
	 */
114
	OutboundResourceAdapter getOutboundResourceadapter();
115
116
	/**
117
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getOutboundResourceadapter <em>Outbound Resourceadapter</em>}' containment reference.
118
	 * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
120
	 * @param value the new value of the '<em>Outbound Resourceadapter</em>' containment reference.
121
	 * @see #getOutboundResourceadapter()
122
	 * @generated
123
	 */
124
	void setOutboundResourceadapter(OutboundResourceAdapter value);
125
126
	/**
127
	 * Returns the value of the '<em><b>Inbound Resourceadapter</b></em>' containment reference.
128
	 * <!-- begin-user-doc -->
129
	 * <p>
130
	 * If the meaning of the '<em>Inbound Resourceadapter</em>' containment reference isn't clear,
131
	 * there really should be more of a description here...
132
	 * </p>
133
	 * <!-- end-user-doc -->
134
	 * @return the value of the '<em>Inbound Resourceadapter</em>' containment reference.
135
	 * @see #setInboundResourceadapter(InboundResourceAdapter)
136
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter_InboundResourceadapter()
137
	 * @generated
138
	 */
139
	InboundResourceAdapter getInboundResourceadapter();
140
141
	/**
142
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getInboundResourceadapter <em>Inbound Resourceadapter</em>}' containment reference.
143
	 * <!-- begin-user-doc -->
144
	 * <!-- end-user-doc -->
145
	 * @param value the new value of the '<em>Inbound Resourceadapter</em>' containment reference.
146
	 * @see #getInboundResourceadapter()
147
	 * @generated
148
	 */
149
	void setInboundResourceadapter(InboundResourceAdapter value);
150
151
	/**
152
	 * Returns the value of the '<em><b>Adminobject</b></em>' containment reference list.
153
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.AdminObject}.
154
	 * <!-- begin-user-doc -->
155
	 * <p>
156
	 * If the meaning of the '<em>Adminobject</em>' containment reference list isn't clear,
157
	 * there really should be more of a description here...
158
	 * </p>
159
	 * <!-- end-user-doc -->
160
	 * @return the value of the '<em>Adminobject</em>' containment reference list.
161
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter_Adminobject()
162
	 * @generated
163
	 */
164
	List<AdminObject> getAdminobject();
165
166
	/**
167
	 * Returns the value of the '<em><b>Security Permission</b></em>' containment reference list.
168
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.SecurityPermission}.
169
	 * <!-- begin-user-doc -->
170
	 * <p>
171
	 * If the meaning of the '<em>Security Permission</em>' containment reference list isn't clear,
172
	 * there really should be more of a description here...
173
	 * </p>
174
	 * <!-- end-user-doc -->
175
	 * @return the value of the '<em>Security Permission</em>' containment reference list.
176
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter_SecurityPermission()
177
	 * @generated
178
	 */
179
	List<SecurityPermission> getSecurityPermission();
180
181
	/**
182
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
183
	 * <!-- begin-user-doc -->
184
	 * <p>
185
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
186
	 * there really should be more of a description here...
187
	 * </p>
188
	 * <!-- end-user-doc -->
189
	 * @return the value of the '<em>Id</em>' attribute.
190
	 * @see #setId(String)
191
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getResourceAdapter_Id()
192
	 * @generated
193
	 */
194
	String getId();
195
196
	/**
197
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ResourceAdapter#getId <em>Id</em>}' attribute.
198
	 * <!-- begin-user-doc -->
199
	 * <!-- end-user-doc -->
200
	 * @param value the new value of the '<em>Id</em>' attribute.
201
	 * @see #getId()
202
	 * @generated
203
	 */
204
	void setId(String value);
205
206
} // ResourceAdapter
(-)jee-models/org/eclipse/jst/javaee/jca/ConnectionDefinition.java (+286 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.List;
10
11
import org.eclipse.jst.javaee.core.JavaEEObject;
12
13
/**
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Connection Definition</b></em>'.
16
 * <!-- end-user-doc -->
17
 *
18
 * <!-- begin-model-doc -->
19
 * 
20
 * 
21
 *         The connection-definitionType defines a set of connection
22
 *         interfaces and classes pertaining to a particular connection
23
 *         type. This also includes configurable properties for
24
 *         ManagedConnectionFactory instances that may be produced out
25
 *         of this set.
26
 *         
27
 *         @since Java EE 6, Connector 1.6
28
 *       
29
 * <!-- end-model-doc -->
30
 *
31
 * <p>
32
 * The following features are supported:
33
 * <ul>
34
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getManagedconnectionfactoryClass <em>Managedconnectionfactory Class</em>}</li>
35
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConfigProperty <em>Config Property</em>}</li>
36
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionfactoryInterface <em>Connectionfactory Interface</em>}</li>
37
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionfactoryImplClass <em>Connectionfactory Impl Class</em>}</li>
38
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionInterface <em>Connection Interface</em>}</li>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionImplClass <em>Connection Impl Class</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getId <em>Id</em>}</li>
41
 * </ul>
42
 * </p>
43
 *
44
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition()
45
 * @extends JavaEEObject
46
 * @generated
47
 */
48
public interface ConnectionDefinition extends JavaEEObject {
49
	/**
50
	 * Returns the value of the '<em><b>Managedconnectionfactory Class</b></em>' attribute.
51
	 * <!-- begin-user-doc -->
52
	 * <!-- end-user-doc -->
53
	 * <!-- begin-model-doc -->
54
	 * 
55
	 * <![CDATA[[
56
	 *             The element managedconnectionfactory-class specifies
57
	 *             the fully qualified name of the Java class that
58
	 *             implements the
59
	 *             javax.resource.spi.ManagedConnectionFactory interface.
60
	 *             This Java class is provided as part of resource
61
	 *             adapter's implementation of connector architecture
62
	 *             specified contracts. The implementation of this
63
	 *             class is required to be a JavaBean.
64
	 *             
65
	 *             Example:
66
	 *             <managedconnectionfactory-class>
67
	 *             	  com.wombat.ManagedConnectionFactoryImpl
68
	 *             </managedconnectionfactory-class>
69
	 *             
70
	 * ]]>
71
	 * 			@since Java EE 6, Connector 1.6
72
	 *           
73
	 * <!-- end-model-doc -->
74
	 * @return the value of the '<em>Managedconnectionfactory Class</em>' attribute.
75
	 * @see #setManagedconnectionfactoryClass(String)
76
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition_ManagedconnectionfactoryClass()
77
	 * @generated
78
	 */
79
	String getManagedconnectionfactoryClass();
80
81
	/**
82
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getManagedconnectionfactoryClass <em>Managedconnectionfactory Class</em>}' attribute.
83
	 * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
85
	 * @param value the new value of the '<em>Managedconnectionfactory Class</em>' attribute.
86
	 * @see #getManagedconnectionfactoryClass()
87
	 * @generated
88
	 */
89
	void setManagedconnectionfactoryClass(String value);
90
91
	/**
92
	 * Returns the value of the '<em><b>Config Property</b></em>' containment reference list.
93
	 * The list contents are of type {@link org.eclipse.jst.javaee.jca.ConfigProperty}.
94
	 * <!-- begin-user-doc -->
95
	 * <p>
96
	 * If the meaning of the '<em>Config Property</em>' containment reference list isn't clear,
97
	 * there really should be more of a description here...
98
	 * </p>
99
	 * <!-- end-user-doc -->
100
	 * @return the value of the '<em>Config Property</em>' containment reference list.
101
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition_ConfigProperty()
102
	 * @generated
103
	 */
104
	List<ConfigProperty> getConfigProperty();
105
106
	/**
107
	 * Returns the value of the '<em><b>Connectionfactory Interface</b></em>' attribute.
108
	 * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
110
	 * <!-- begin-model-doc -->
111
	 * 
112
	 * <![CDATA[[
113
	 *             The element connectionfactory-interface specifies
114
	 *             the fully qualified name of the ConnectionFactory
115
	 *             interface supported by the resource adapter.
116
	 *             
117
	 *             Example:
118
	 *             <connectionfactory-interface>com.wombat.ConnectionFactory
119
	 *             </connectionfactory-interface>
120
	 *             
121
	 *             OR
122
	 *             
123
	 *             <connectionfactory-interface>javax.resource.cci.ConnectionFactory
124
	 *             </connectionfactory-interface>
125
	 *             
126
	 * ]]>
127
	 * 			@since Java EE 6, Connector 1.6
128
	 *           
129
	 * <!-- end-model-doc -->
130
	 * @return the value of the '<em>Connectionfactory Interface</em>' attribute.
131
	 * @see #setConnectionfactoryInterface(String)
132
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition_ConnectionfactoryInterface()
133
	 * @generated
134
	 */
135
	String getConnectionfactoryInterface();
136
137
	/**
138
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionfactoryInterface <em>Connectionfactory Interface</em>}' attribute.
139
	 * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
141
	 * @param value the new value of the '<em>Connectionfactory Interface</em>' attribute.
142
	 * @see #getConnectionfactoryInterface()
143
	 * @generated
144
	 */
145
	void setConnectionfactoryInterface(String value);
146
147
	/**
148
	 * Returns the value of the '<em><b>Connectionfactory Impl Class</b></em>' attribute.
149
	 * <!-- begin-user-doc -->
150
	 * <!-- end-user-doc -->
151
	 * <!-- begin-model-doc -->
152
	 * 
153
	 * <![CDATA[[
154
	 *             The element connectionfactory-impl-class specifies
155
	 *             the fully qualified name of the ConnectionFactory
156
	 *             class that implements resource adapter
157
	 *             specific ConnectionFactory interface.
158
	 *             
159
	 *             Example:
160
	 *             
161
	 *             <connectionfactory-impl-class>com.wombat.ConnectionFactoryImpl
162
	 *             </connectionfactory-impl-class>
163
	 *             
164
	 * ]]>
165
	 * 			@since Java EE 6, Connector 1.6
166
	 *           
167
	 * <!-- end-model-doc -->
168
	 * @return the value of the '<em>Connectionfactory Impl Class</em>' attribute.
169
	 * @see #setConnectionfactoryImplClass(String)
170
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition_ConnectionfactoryImplClass()
171
	 * @generated
172
	 */
173
	String getConnectionfactoryImplClass();
174
175
	/**
176
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionfactoryImplClass <em>Connectionfactory Impl Class</em>}' attribute.
177
	 * <!-- begin-user-doc -->
178
	 * <!-- end-user-doc -->
179
	 * @param value the new value of the '<em>Connectionfactory Impl Class</em>' attribute.
180
	 * @see #getConnectionfactoryImplClass()
181
	 * @generated
182
	 */
183
	void setConnectionfactoryImplClass(String value);
184
185
	/**
186
	 * Returns the value of the '<em><b>Connection Interface</b></em>' attribute.
187
	 * <!-- begin-user-doc -->
188
	 * <!-- end-user-doc -->
189
	 * <!-- begin-model-doc -->
190
	 * 
191
	 * <![CDATA[[
192
	 *             The connection-interface element specifies the fully
193
	 *             qualified name of the Connection interface supported
194
	 *             by the resource adapter.
195
	 *             
196
	 *             Example:
197
	 *             
198
	 *             	  <connection-interface>javax.resource.cci.Connection
199
	 *             	  </connection-interface>
200
	 *             
201
	 * ]]>
202
	 * 			@since Java EE 6, Connector 1.6
203
	 *           
204
	 * <!-- end-model-doc -->
205
	 * @return the value of the '<em>Connection Interface</em>' attribute.
206
	 * @see #setConnectionInterface(String)
207
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition_ConnectionInterface()
208
	 * @generated
209
	 */
210
	String getConnectionInterface();
211
212
	/**
213
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionInterface <em>Connection Interface</em>}' attribute.
214
	 * <!-- begin-user-doc -->
215
	 * <!-- end-user-doc -->
216
	 * @param value the new value of the '<em>Connection Interface</em>' attribute.
217
	 * @see #getConnectionInterface()
218
	 * @generated
219
	 */
220
	void setConnectionInterface(String value);
221
222
	/**
223
	 * Returns the value of the '<em><b>Connection Impl Class</b></em>' attribute.
224
	 * <!-- begin-user-doc -->
225
	 * <!-- end-user-doc -->
226
	 * <!-- begin-model-doc -->
227
	 * 
228
	 * <![CDATA[[
229
	 *             The connection-impl-classType specifies the fully
230
	 *             qualified name of the Connection class that
231
	 *             implements resource adapter specific Connection
232
	 *             interface.  It is used by the connection-impl-class
233
	 *             elements.
234
	 *             
235
	 *             Example:
236
	 *             
237
	 *             	  <connection-impl-class>com.wombat.ConnectionImpl
238
	 *             	  </connection-impl-class>
239
	 *             
240
	 * ]]>
241
	 * 			@since Java EE 6, Connector 1.6
242
	 *           
243
	 * <!-- end-model-doc -->
244
	 * @return the value of the '<em>Connection Impl Class</em>' attribute.
245
	 * @see #setConnectionImplClass(String)
246
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition_ConnectionImplClass()
247
	 * @generated
248
	 */
249
	String getConnectionImplClass();
250
251
	/**
252
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getConnectionImplClass <em>Connection Impl Class</em>}' attribute.
253
	 * <!-- begin-user-doc -->
254
	 * <!-- end-user-doc -->
255
	 * @param value the new value of the '<em>Connection Impl Class</em>' attribute.
256
	 * @see #getConnectionImplClass()
257
	 * @generated
258
	 */
259
	void setConnectionImplClass(String value);
260
261
	/**
262
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
263
	 * <!-- begin-user-doc -->
264
	 * <p>
265
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
266
	 * there really should be more of a description here...
267
	 * </p>
268
	 * <!-- end-user-doc -->
269
	 * @return the value of the '<em>Id</em>' attribute.
270
	 * @see #setId(String)
271
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnectionDefinition_Id()
272
	 * @generated
273
	 */
274
	String getId();
275
276
	/**
277
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.ConnectionDefinition#getId <em>Id</em>}' attribute.
278
	 * <!-- begin-user-doc -->
279
	 * <!-- end-user-doc -->
280
	 * @param value the new value of the '<em>Id</em>' attribute.
281
	 * @see #getId()
282
	 * @generated
283
	 */
284
	void setId(String value);
285
286
} // ConnectionDefinition
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/MessageListenerImpl.java (+303 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import org.eclipse.emf.common.notify.Notification;
10
import org.eclipse.emf.common.notify.NotificationChain;
11
12
import org.eclipse.emf.ecore.EClass;
13
import org.eclipse.emf.ecore.InternalEObject;
14
15
import org.eclipse.emf.ecore.impl.ENotificationImpl;
16
import org.eclipse.emf.ecore.impl.EObjectImpl;
17
18
import org.eclipse.jst.javaee.jca.ActivationSpec;
19
import org.eclipse.jst.javaee.jca.MessageListener;
20
21
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
22
23
/**
24
 * <!-- begin-user-doc -->
25
 * An implementation of the model object '<em><b>Message Listener</b></em>'.
26
 * <!-- end-user-doc -->
27
 * <p>
28
 * The following features are implemented:
29
 * <ul>
30
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.MessageListenerImpl#getMessagelistenerType <em>Messagelistener Type</em>}</li>
31
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.MessageListenerImpl#getActivationspec <em>Activationspec</em>}</li>
32
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.MessageListenerImpl#getId <em>Id</em>}</li>
33
 * </ul>
34
 * </p>
35
 *
36
 * @generated
37
 */
38
public class MessageListenerImpl extends EObjectImpl implements MessageListener {
39
	/**
40
	 * The default value of the '{@link #getMessagelistenerType() <em>Messagelistener Type</em>}' attribute.
41
	 * <!-- begin-user-doc -->
42
	 * <!-- end-user-doc -->
43
	 * @see #getMessagelistenerType()
44
	 * @generated
45
	 * @ordered
46
	 */
47
	protected static final String MESSAGELISTENER_TYPE_EDEFAULT = null;
48
49
	/**
50
	 * The cached value of the '{@link #getMessagelistenerType() <em>Messagelistener Type</em>}' attribute.
51
	 * <!-- begin-user-doc -->
52
	 * <!-- end-user-doc -->
53
	 * @see #getMessagelistenerType()
54
	 * @generated
55
	 * @ordered
56
	 */
57
	protected String messagelistenerType = MESSAGELISTENER_TYPE_EDEFAULT;
58
59
	/**
60
	 * The cached value of the '{@link #getActivationspec() <em>Activationspec</em>}' containment reference.
61
	 * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
63
	 * @see #getActivationspec()
64
	 * @generated
65
	 * @ordered
66
	 */
67
	protected ActivationSpec activationspec;
68
69
	/**
70
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
71
	 * <!-- begin-user-doc -->
72
	 * <!-- end-user-doc -->
73
	 * @see #getId()
74
	 * @generated
75
	 * @ordered
76
	 */
77
	protected static final String ID_EDEFAULT = null;
78
79
	/**
80
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
81
	 * <!-- begin-user-doc -->
82
	 * <!-- end-user-doc -->
83
	 * @see #getId()
84
	 * @generated
85
	 * @ordered
86
	 */
87
	protected String id = ID_EDEFAULT;
88
89
	/**
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @generated
93
	 */
94
	protected MessageListenerImpl() {
95
		super();
96
	}
97
98
	/**
99
	 * <!-- begin-user-doc -->
100
	 * <!-- end-user-doc -->
101
	 * @generated
102
	 */
103
	@Override
104
	protected EClass eStaticClass() {
105
		return JcaPackage.Literals.MESSAGE_LISTENER;
106
	}
107
108
	/**
109
	 * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
111
	 * @generated
112
	 */
113
	public String getMessagelistenerType() {
114
		return messagelistenerType;
115
	}
116
117
	/**
118
	 * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
120
	 * @generated
121
	 */
122
	public void setMessagelistenerType(String newMessagelistenerType) {
123
		String oldMessagelistenerType = messagelistenerType;
124
		messagelistenerType = newMessagelistenerType;
125
		if (eNotificationRequired())
126
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.MESSAGE_LISTENER__MESSAGELISTENER_TYPE, oldMessagelistenerType, messagelistenerType));
127
	}
128
129
	/**
130
	 * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
132
	 * @generated
133
	 */
134
	public ActivationSpec getActivationspec() {
135
		return activationspec;
136
	}
137
138
	/**
139
	 * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
141
	 * @generated
142
	 */
143
	public NotificationChain basicSetActivationspec(ActivationSpec newActivationspec, NotificationChain msgs) {
144
		ActivationSpec oldActivationspec = activationspec;
145
		activationspec = newActivationspec;
146
		if (eNotificationRequired()) {
147
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC, oldActivationspec, newActivationspec);
148
			if (msgs == null) msgs = notification; else msgs.add(notification);
149
		}
150
		return msgs;
151
	}
152
153
	/**
154
	 * <!-- begin-user-doc -->
155
	 * <!-- end-user-doc -->
156
	 * @generated
157
	 */
158
	public void setActivationspec(ActivationSpec newActivationspec) {
159
		if (newActivationspec != activationspec) {
160
			NotificationChain msgs = null;
161
			if (activationspec != null)
162
				msgs = ((InternalEObject)activationspec).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC, null, msgs);
163
			if (newActivationspec != null)
164
				msgs = ((InternalEObject)newActivationspec).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC, null, msgs);
165
			msgs = basicSetActivationspec(newActivationspec, msgs);
166
			if (msgs != null) msgs.dispatch();
167
		}
168
		else if (eNotificationRequired())
169
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC, newActivationspec, newActivationspec));
170
	}
171
172
	/**
173
	 * <!-- begin-user-doc -->
174
	 * <!-- end-user-doc -->
175
	 * @generated
176
	 */
177
	public String getId() {
178
		return id;
179
	}
180
181
	/**
182
	 * <!-- begin-user-doc -->
183
	 * <!-- end-user-doc -->
184
	 * @generated
185
	 */
186
	public void setId(String newId) {
187
		String oldId = id;
188
		id = newId;
189
		if (eNotificationRequired())
190
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.MESSAGE_LISTENER__ID, oldId, id));
191
	}
192
193
	/**
194
	 * <!-- begin-user-doc -->
195
	 * <!-- end-user-doc -->
196
	 * @generated
197
	 */
198
	@Override
199
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
200
		switch (featureID) {
201
			case JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC:
202
				return basicSetActivationspec(null, msgs);
203
		}
204
		return super.eInverseRemove(otherEnd, featureID, msgs);
205
	}
206
207
	/**
208
	 * <!-- begin-user-doc -->
209
	 * <!-- end-user-doc -->
210
	 * @generated
211
	 */
212
	@Override
213
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
214
		switch (featureID) {
215
			case JcaPackage.MESSAGE_LISTENER__MESSAGELISTENER_TYPE:
216
				return getMessagelistenerType();
217
			case JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC:
218
				return getActivationspec();
219
			case JcaPackage.MESSAGE_LISTENER__ID:
220
				return getId();
221
		}
222
		return super.eGet(featureID, resolve, coreType);
223
	}
224
225
	/**
226
	 * <!-- begin-user-doc -->
227
	 * <!-- end-user-doc -->
228
	 * @generated
229
	 */
230
	@Override
231
	public void eSet(int featureID, Object newValue) {
232
		switch (featureID) {
233
			case JcaPackage.MESSAGE_LISTENER__MESSAGELISTENER_TYPE:
234
				setMessagelistenerType((String)newValue);
235
				return;
236
			case JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC:
237
				setActivationspec((ActivationSpec)newValue);
238
				return;
239
			case JcaPackage.MESSAGE_LISTENER__ID:
240
				setId((String)newValue);
241
				return;
242
		}
243
		super.eSet(featureID, newValue);
244
	}
245
246
	/**
247
	 * <!-- begin-user-doc -->
248
	 * <!-- end-user-doc -->
249
	 * @generated
250
	 */
251
	@Override
252
	public void eUnset(int featureID) {
253
		switch (featureID) {
254
			case JcaPackage.MESSAGE_LISTENER__MESSAGELISTENER_TYPE:
255
				setMessagelistenerType(MESSAGELISTENER_TYPE_EDEFAULT);
256
				return;
257
			case JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC:
258
				setActivationspec((ActivationSpec)null);
259
				return;
260
			case JcaPackage.MESSAGE_LISTENER__ID:
261
				setId(ID_EDEFAULT);
262
				return;
263
		}
264
		super.eUnset(featureID);
265
	}
266
267
	/**
268
	 * <!-- begin-user-doc -->
269
	 * <!-- end-user-doc -->
270
	 * @generated
271
	 */
272
	@Override
273
	public boolean eIsSet(int featureID) {
274
		switch (featureID) {
275
			case JcaPackage.MESSAGE_LISTENER__MESSAGELISTENER_TYPE:
276
				return MESSAGELISTENER_TYPE_EDEFAULT == null ? messagelistenerType != null : !MESSAGELISTENER_TYPE_EDEFAULT.equals(messagelistenerType);
277
			case JcaPackage.MESSAGE_LISTENER__ACTIVATIONSPEC:
278
				return activationspec != null;
279
			case JcaPackage.MESSAGE_LISTENER__ID:
280
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
281
		}
282
		return super.eIsSet(featureID);
283
	}
284
285
	/**
286
	 * <!-- begin-user-doc -->
287
	 * <!-- end-user-doc -->
288
	 * @generated
289
	 */
290
	@Override
291
	public String toString() {
292
		if (eIsProxy()) return super.toString();
293
294
		StringBuffer result = new StringBuffer(super.toString());
295
		result.append(" (messagelistenerType: "); //$NON-NLS-1$
296
		result.append(messagelistenerType);
297
		result.append(", id: "); //$NON-NLS-1$
298
		result.append(id);
299
		result.append(')');
300
		return result.toString();
301
	}
302
303
} //MessageListenerImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/ActivationSpecImpl.java (+319 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.jca.ActivationSpec;
27
import org.eclipse.jst.javaee.jca.ConfigProperty;
28
import org.eclipse.jst.javaee.jca.RequiredConfigProperty;
29
30
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
31
32
/**
33
 * <!-- begin-user-doc -->
34
 * An implementation of the model object '<em><b>Activation Spec</b></em>'.
35
 * <!-- end-user-doc -->
36
 * <p>
37
 * The following features are implemented:
38
 * <ul>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ActivationSpecImpl#getActivationspecClass <em>Activationspec Class</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ActivationSpecImpl#getRequiredConfigProperty <em>Required Config Property</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ActivationSpecImpl#getConfigProperty <em>Config Property</em>}</li>
42
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.ActivationSpecImpl#getId <em>Id</em>}</li>
43
 * </ul>
44
 * </p>
45
 *
46
 * @generated
47
 */
48
public class ActivationSpecImpl extends EObjectImpl implements ActivationSpec {
49
	/**
50
	 * The default value of the '{@link #getActivationspecClass() <em>Activationspec Class</em>}' attribute.
51
	 * <!-- begin-user-doc -->
52
	 * <!-- end-user-doc -->
53
	 * @see #getActivationspecClass()
54
	 * @generated
55
	 * @ordered
56
	 */
57
	protected static final String ACTIVATIONSPEC_CLASS_EDEFAULT = null;
58
59
	/**
60
	 * The cached value of the '{@link #getActivationspecClass() <em>Activationspec Class</em>}' attribute.
61
	 * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
63
	 * @see #getActivationspecClass()
64
	 * @generated
65
	 * @ordered
66
	 */
67
	protected String activationspecClass = ACTIVATIONSPEC_CLASS_EDEFAULT;
68
69
	/**
70
	 * The cached value of the '{@link #getRequiredConfigProperty() <em>Required Config Property</em>}' containment reference list.
71
	 * <!-- begin-user-doc -->
72
	 * <!-- end-user-doc -->
73
	 * @see #getRequiredConfigProperty()
74
	 * @generated
75
	 * @ordered
76
	 */
77
	protected EList<RequiredConfigProperty> requiredConfigProperty;
78
79
	/**
80
	 * The cached value of the '{@link #getConfigProperty() <em>Config Property</em>}' containment reference list.
81
	 * <!-- begin-user-doc -->
82
	 * <!-- end-user-doc -->
83
	 * @see #getConfigProperty()
84
	 * @generated
85
	 * @ordered
86
	 */
87
	protected EList<ConfigProperty> configProperty;
88
89
	/**
90
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
91
	 * <!-- begin-user-doc -->
92
	 * <!-- end-user-doc -->
93
	 * @see #getId()
94
	 * @generated
95
	 * @ordered
96
	 */
97
	protected static final String ID_EDEFAULT = null;
98
99
	/**
100
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
101
	 * <!-- begin-user-doc -->
102
	 * <!-- end-user-doc -->
103
	 * @see #getId()
104
	 * @generated
105
	 * @ordered
106
	 */
107
	protected String id = ID_EDEFAULT;
108
109
	/**
110
	 * <!-- begin-user-doc -->
111
	 * <!-- end-user-doc -->
112
	 * @generated
113
	 */
114
	protected ActivationSpecImpl() {
115
		super();
116
	}
117
118
	/**
119
	 * <!-- begin-user-doc -->
120
	 * <!-- end-user-doc -->
121
	 * @generated
122
	 */
123
	@Override
124
	protected EClass eStaticClass() {
125
		return JcaPackage.Literals.ACTIVATION_SPEC;
126
	}
127
128
	/**
129
	 * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
131
	 * @generated
132
	 */
133
	public String getActivationspecClass() {
134
		return activationspecClass;
135
	}
136
137
	/**
138
	 * <!-- begin-user-doc -->
139
	 * <!-- end-user-doc -->
140
	 * @generated
141
	 */
142
	public void setActivationspecClass(String newActivationspecClass) {
143
		String oldActivationspecClass = activationspecClass;
144
		activationspecClass = newActivationspecClass;
145
		if (eNotificationRequired())
146
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.ACTIVATION_SPEC__ACTIVATIONSPEC_CLASS, oldActivationspecClass, activationspecClass));
147
	}
148
149
	/**
150
	 * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
152
	 * @generated
153
	 */
154
	public List<RequiredConfigProperty> getRequiredConfigProperty() {
155
		if (requiredConfigProperty == null) {
156
			requiredConfigProperty = new EObjectContainmentEList<RequiredConfigProperty>(RequiredConfigProperty.class, this, JcaPackage.ACTIVATION_SPEC__REQUIRED_CONFIG_PROPERTY);
157
		}
158
		return requiredConfigProperty;
159
	}
160
161
	/**
162
	 * <!-- begin-user-doc -->
163
	 * <!-- end-user-doc -->
164
	 * @generated
165
	 */
166
	public List<ConfigProperty> getConfigProperty() {
167
		if (configProperty == null) {
168
			configProperty = new EObjectContainmentEList<ConfigProperty>(ConfigProperty.class, this, JcaPackage.ACTIVATION_SPEC__CONFIG_PROPERTY);
169
		}
170
		return configProperty;
171
	}
172
173
	/**
174
	 * <!-- begin-user-doc -->
175
	 * <!-- end-user-doc -->
176
	 * @generated
177
	 */
178
	public String getId() {
179
		return id;
180
	}
181
182
	/**
183
	 * <!-- begin-user-doc -->
184
	 * <!-- end-user-doc -->
185
	 * @generated
186
	 */
187
	public void setId(String newId) {
188
		String oldId = id;
189
		id = newId;
190
		if (eNotificationRequired())
191
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.ACTIVATION_SPEC__ID, oldId, id));
192
	}
193
194
	/**
195
	 * <!-- begin-user-doc -->
196
	 * <!-- end-user-doc -->
197
	 * @generated
198
	 */
199
	@Override
200
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
201
		switch (featureID) {
202
			case JcaPackage.ACTIVATION_SPEC__REQUIRED_CONFIG_PROPERTY:
203
				return ((InternalEList<?>)getRequiredConfigProperty()).basicRemove(otherEnd, msgs);
204
			case JcaPackage.ACTIVATION_SPEC__CONFIG_PROPERTY:
205
				return ((InternalEList<?>)getConfigProperty()).basicRemove(otherEnd, msgs);
206
		}
207
		return super.eInverseRemove(otherEnd, featureID, msgs);
208
	}
209
210
	/**
211
	 * <!-- begin-user-doc -->
212
	 * <!-- end-user-doc -->
213
	 * @generated
214
	 */
215
	@Override
216
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
217
		switch (featureID) {
218
			case JcaPackage.ACTIVATION_SPEC__ACTIVATIONSPEC_CLASS:
219
				return getActivationspecClass();
220
			case JcaPackage.ACTIVATION_SPEC__REQUIRED_CONFIG_PROPERTY:
221
				return getRequiredConfigProperty();
222
			case JcaPackage.ACTIVATION_SPEC__CONFIG_PROPERTY:
223
				return getConfigProperty();
224
			case JcaPackage.ACTIVATION_SPEC__ID:
225
				return getId();
226
		}
227
		return super.eGet(featureID, resolve, coreType);
228
	}
229
230
	/**
231
	 * <!-- begin-user-doc -->
232
	 * <!-- end-user-doc -->
233
	 * @generated
234
	 */
235
	@SuppressWarnings("unchecked")
236
	@Override
237
	public void eSet(int featureID, Object newValue) {
238
		switch (featureID) {
239
			case JcaPackage.ACTIVATION_SPEC__ACTIVATIONSPEC_CLASS:
240
				setActivationspecClass((String)newValue);
241
				return;
242
			case JcaPackage.ACTIVATION_SPEC__REQUIRED_CONFIG_PROPERTY:
243
				getRequiredConfigProperty().clear();
244
				getRequiredConfigProperty().addAll((Collection<? extends RequiredConfigProperty>)newValue);
245
				return;
246
			case JcaPackage.ACTIVATION_SPEC__CONFIG_PROPERTY:
247
				getConfigProperty().clear();
248
				getConfigProperty().addAll((Collection<? extends ConfigProperty>)newValue);
249
				return;
250
			case JcaPackage.ACTIVATION_SPEC__ID:
251
				setId((String)newValue);
252
				return;
253
		}
254
		super.eSet(featureID, newValue);
255
	}
256
257
	/**
258
	 * <!-- begin-user-doc -->
259
	 * <!-- end-user-doc -->
260
	 * @generated
261
	 */
262
	@Override
263
	public void eUnset(int featureID) {
264
		switch (featureID) {
265
			case JcaPackage.ACTIVATION_SPEC__ACTIVATIONSPEC_CLASS:
266
				setActivationspecClass(ACTIVATIONSPEC_CLASS_EDEFAULT);
267
				return;
268
			case JcaPackage.ACTIVATION_SPEC__REQUIRED_CONFIG_PROPERTY:
269
				getRequiredConfigProperty().clear();
270
				return;
271
			case JcaPackage.ACTIVATION_SPEC__CONFIG_PROPERTY:
272
				getConfigProperty().clear();
273
				return;
274
			case JcaPackage.ACTIVATION_SPEC__ID:
275
				setId(ID_EDEFAULT);
276
				return;
277
		}
278
		super.eUnset(featureID);
279
	}
280
281
	/**
282
	 * <!-- begin-user-doc -->
283
	 * <!-- end-user-doc -->
284
	 * @generated
285
	 */
286
	@Override
287
	public boolean eIsSet(int featureID) {
288
		switch (featureID) {
289
			case JcaPackage.ACTIVATION_SPEC__ACTIVATIONSPEC_CLASS:
290
				return ACTIVATIONSPEC_CLASS_EDEFAULT == null ? activationspecClass != null : !ACTIVATIONSPEC_CLASS_EDEFAULT.equals(activationspecClass);
291
			case JcaPackage.ACTIVATION_SPEC__REQUIRED_CONFIG_PROPERTY:
292
				return requiredConfigProperty != null && !requiredConfigProperty.isEmpty();
293
			case JcaPackage.ACTIVATION_SPEC__CONFIG_PROPERTY:
294
				return configProperty != null && !configProperty.isEmpty();
295
			case JcaPackage.ACTIVATION_SPEC__ID:
296
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
297
		}
298
		return super.eIsSet(featureID);
299
	}
300
301
	/**
302
	 * <!-- begin-user-doc -->
303
	 * <!-- end-user-doc -->
304
	 * @generated
305
	 */
306
	@Override
307
	public String toString() {
308
		if (eIsProxy()) return super.toString();
309
310
		StringBuffer result = new StringBuffer(super.toString());
311
		result.append(" (activationspecClass: "); //$NON-NLS-1$
312
		result.append(activationspecClass);
313
		result.append(", id: "); //$NON-NLS-1$
314
		result.append(id);
315
		result.append(')');
316
		return result.toString();
317
	}
318
319
} //ActivationSpecImpl
(-)jee-models/org/eclipse/jst/javaee/jca/CredentialInterfaceType.java (+256 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import java.util.Arrays;
10
import java.util.Collections;
11
import java.util.List;
12
13
import org.eclipse.emf.common.util.Enumerator;
14
15
/**
16
 * <!-- begin-user-doc -->
17
 * A representation of the literals of the enumeration '<em><b>Credential Interface Type</b></em>',
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
20
 * <!-- begin-model-doc -->
21
 * 
22
 * 
23
 *         The credential-interfaceType specifies the
24
 *         interface that the resource adapter implementation
25
 *         supports for the representation of the
26
 *         credentials. This element(s) that use this type,
27
 *         i.e. credential-interface,  should be used by
28
 *         application server to find out the Credential
29
 *         interface it should use as part of the security
30
 *         contract.
31
 *         
32
 *         The possible values are:
33
 *         
34
 *         javax.resource.spi.security.PasswordCredential
35
 *         org.ietf.jgss.GSSCredential
36
 *         javax.resource.spi.security.GenericCredential
37
 *         
38
 *         @since Java EE 6, Connector 1.6
39
 *       
40
 * <!-- end-model-doc -->
41
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getCredentialInterfaceType()
42
 * @generated
43
 */
44
public enum CredentialInterfaceType implements Enumerator {
45
	/**
46
	 * The '<em><b>Javax Resource Spi Security Password Credential</b></em>' literal object.
47
	 * <!-- begin-user-doc -->
48
	 * <!-- end-user-doc -->
49
	 * @see #JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL_VALUE
50
	 * @generated
51
	 * @ordered
52
	 */
53
	JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL(0, "javaxResourceSpiSecurityPasswordCredential", "javax.resource.spi.security.PasswordCredential"), //$NON-NLS-1$ //$NON-NLS-2$
54
55
	/**
56
	 * The '<em><b>Org Ietf Jgss GSS Credential</b></em>' literal object.
57
	 * <!-- begin-user-doc -->
58
	 * <!-- end-user-doc -->
59
	 * @see #ORG_IETF_JGSS_GSS_CREDENTIAL_VALUE
60
	 * @generated
61
	 * @ordered
62
	 */
63
	ORG_IETF_JGSS_GSS_CREDENTIAL(1, "orgIetfJgssGSSCredential", "org.ietf.jgss.GSSCredential"), //$NON-NLS-1$ //$NON-NLS-2$
64
65
	/**
66
	 * The '<em><b>Javax Resource Spi Security Generic Credential</b></em>' literal object.
67
	 * <!-- begin-user-doc -->
68
	 * <!-- end-user-doc -->
69
	 * @see #JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL_VALUE
70
	 * @generated
71
	 * @ordered
72
	 */
73
	JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL(2, "javaxResourceSpiSecurityGenericCredential", "javax.resource.spi.security.GenericCredential"); //$NON-NLS-1$ //$NON-NLS-2$
74
75
	/**
76
	 * The '<em><b>Javax Resource Spi Security Password Credential</b></em>' literal value.
77
	 * <!-- begin-user-doc -->
78
	 * <p>
79
	 * If the meaning of '<em><b>Javax Resource Spi Security Password Credential</b></em>' literal object isn't clear,
80
	 * there really should be more of a description here...
81
	 * </p>
82
	 * <!-- end-user-doc -->
83
	 * @see #JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL
84
	 * @generated
85
	 * @ordered
86
	 */
87
	public static final int JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL_VALUE = 0;
88
89
	/**
90
	 * The '<em><b>Org Ietf Jgss GSS Credential</b></em>' literal value.
91
	 * <!-- begin-user-doc -->
92
	 * <p>
93
	 * If the meaning of '<em><b>Org Ietf Jgss GSS Credential</b></em>' literal object isn't clear,
94
	 * there really should be more of a description here...
95
	 * </p>
96
	 * <!-- end-user-doc -->
97
	 * @see #ORG_IETF_JGSS_GSS_CREDENTIAL
98
	 * @generated
99
	 * @ordered
100
	 */
101
	public static final int ORG_IETF_JGSS_GSS_CREDENTIAL_VALUE = 1;
102
103
	/**
104
	 * The '<em><b>Javax Resource Spi Security Generic Credential</b></em>' literal value.
105
	 * <!-- begin-user-doc -->
106
	 * <p>
107
	 * If the meaning of '<em><b>Javax Resource Spi Security Generic Credential</b></em>' literal object isn't clear,
108
	 * there really should be more of a description here...
109
	 * </p>
110
	 * <!-- end-user-doc -->
111
	 * @see #JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL
112
	 * @generated
113
	 * @ordered
114
	 */
115
	public static final int JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL_VALUE = 2;
116
117
	/**
118
	 * An array of all the '<em><b>Credential Interface Type</b></em>' enumerators.
119
	 * <!-- begin-user-doc -->
120
	 * <!-- end-user-doc -->
121
	 * @generated
122
	 */
123
	private static final CredentialInterfaceType[] VALUES_ARRAY =
124
		new CredentialInterfaceType[] {
125
			JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL,
126
			ORG_IETF_JGSS_GSS_CREDENTIAL,
127
			JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL,
128
		};
129
130
	/**
131
	 * A public read-only list of all the '<em><b>Credential Interface Type</b></em>' enumerators.
132
	 * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
134
	 * @generated
135
	 */
136
	public static final List<CredentialInterfaceType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
137
138
	/**
139
	 * Returns the '<em><b>Credential Interface Type</b></em>' literal with the specified literal value.
140
	 * <!-- begin-user-doc -->
141
	 * <!-- end-user-doc -->
142
	 * @generated
143
	 */
144
	public static CredentialInterfaceType get(String literal) {
145
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
146
			CredentialInterfaceType result = VALUES_ARRAY[i];
147
			if (result.toString().equals(literal)) {
148
				return result;
149
			}
150
		}
151
		return null;
152
	}
153
154
	/**
155
	 * Returns the '<em><b>Credential Interface Type</b></em>' literal with the specified name.
156
	 * <!-- begin-user-doc -->
157
	 * <!-- end-user-doc -->
158
	 * @generated
159
	 */
160
	public static CredentialInterfaceType getByName(String name) {
161
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
162
			CredentialInterfaceType result = VALUES_ARRAY[i];
163
			if (result.getName().equals(name)) {
164
				return result;
165
			}
166
		}
167
		return null;
168
	}
169
170
	/**
171
	 * Returns the '<em><b>Credential Interface Type</b></em>' literal with the specified integer value.
172
	 * <!-- begin-user-doc -->
173
	 * <!-- end-user-doc -->
174
	 * @generated
175
	 */
176
	public static CredentialInterfaceType get(int value) {
177
		switch (value) {
178
			case JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL_VALUE: return JAVAX_RESOURCE_SPI_SECURITY_PASSWORD_CREDENTIAL;
179
			case ORG_IETF_JGSS_GSS_CREDENTIAL_VALUE: return ORG_IETF_JGSS_GSS_CREDENTIAL;
180
			case JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL_VALUE: return JAVAX_RESOURCE_SPI_SECURITY_GENERIC_CREDENTIAL;
181
		}
182
		return null;
183
	}
184
185
	/**
186
	 * <!-- begin-user-doc -->
187
	 * <!-- end-user-doc -->
188
	 * @generated
189
	 */
190
	private final int value;
191
192
	/**
193
	 * <!-- begin-user-doc -->
194
	 * <!-- end-user-doc -->
195
	 * @generated
196
	 */
197
	private final String name;
198
199
	/**
200
	 * <!-- begin-user-doc -->
201
	 * <!-- end-user-doc -->
202
	 * @generated
203
	 */
204
	private final String literal;
205
206
	/**
207
	 * Only this class can construct instances.
208
	 * <!-- begin-user-doc -->
209
	 * <!-- end-user-doc -->
210
	 * @generated
211
	 */
212
	private CredentialInterfaceType(int value, String name, String literal) {
213
		this.value = value;
214
		this.name = name;
215
		this.literal = literal;
216
	}
217
218
	/**
219
	 * <!-- begin-user-doc -->
220
	 * <!-- end-user-doc -->
221
	 * @generated
222
	 */
223
	public int getValue() {
224
	  return value;
225
	}
226
227
	/**
228
	 * <!-- begin-user-doc -->
229
	 * <!-- end-user-doc -->
230
	 * @generated
231
	 */
232
	public String getName() {
233
	  return name;
234
	}
235
236
	/**
237
	 * <!-- begin-user-doc -->
238
	 * <!-- end-user-doc -->
239
	 * @generated
240
	 */
241
	public String getLiteral() {
242
	  return literal;
243
	}
244
245
	/**
246
	 * Returns the literal value of the enumerator, which is its string representation.
247
	 * <!-- begin-user-doc -->
248
	 * <!-- end-user-doc -->
249
	 * @generated
250
	 */
251
	@Override
252
	public String toString() {
253
		return literal;
254
	}
255
	
256
} //CredentialInterfaceType
(-)jee-models/org/eclipse/jst/javaee/core/internal/impl/AddressingTypeImpl.java (+379 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.core.internal.impl;
8
9
import org.eclipse.emf.common.notify.Notification;
10
11
import org.eclipse.emf.ecore.EClass;
12
13
import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
import org.eclipse.emf.ecore.impl.EObjectImpl;
15
16
import org.eclipse.jst.javaee.core.AddressingResponsesType;
17
import org.eclipse.jst.javaee.core.AddressingType;
18
19
import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage;
20
21
/**
22
 * <!-- begin-user-doc -->
23
 * An implementation of the model object '<em><b>Addressing Type</b></em>'.
24
 * <!-- end-user-doc -->
25
 * <p>
26
 * The following features are implemented:
27
 * <ul>
28
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl#isEnabled <em>Enabled</em>}</li>
29
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl#isRequired <em>Required</em>}</li>
30
 *   <li>{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl#getResponses <em>Responses</em>}</li>
31
 * </ul>
32
 * </p>
33
 *
34
 * @generated
35
 */
36
public class AddressingTypeImpl extends EObjectImpl implements AddressingType {
37
	/**
38
	 * The default value of the '{@link #isEnabled() <em>Enabled</em>}' attribute.
39
	 * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
41
	 * @see #isEnabled()
42
	 * @generated
43
	 * @ordered
44
	 */
45
	protected static final boolean ENABLED_EDEFAULT = false;
46
47
	/**
48
	 * The cached value of the '{@link #isEnabled() <em>Enabled</em>}' attribute.
49
	 * <!-- begin-user-doc -->
50
	 * <!-- end-user-doc -->
51
	 * @see #isEnabled()
52
	 * @generated
53
	 * @ordered
54
	 */
55
	protected boolean enabled = ENABLED_EDEFAULT;
56
57
	/**
58
	 * This is true if the Enabled attribute has been set.
59
	 * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
61
	 * @generated
62
	 * @ordered
63
	 */
64
	protected boolean enabledESet;
65
66
	/**
67
	 * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
68
	 * <!-- begin-user-doc -->
69
	 * <!-- end-user-doc -->
70
	 * @see #isRequired()
71
	 * @generated
72
	 * @ordered
73
	 */
74
	protected static final boolean REQUIRED_EDEFAULT = false;
75
76
	/**
77
	 * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
78
	 * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
80
	 * @see #isRequired()
81
	 * @generated
82
	 * @ordered
83
	 */
84
	protected boolean required = REQUIRED_EDEFAULT;
85
86
	/**
87
	 * This is true if the Required attribute has been set.
88
	 * <!-- begin-user-doc -->
89
	 * <!-- end-user-doc -->
90
	 * @generated
91
	 * @ordered
92
	 */
93
	protected boolean requiredESet;
94
95
	/**
96
	 * The default value of the '{@link #getResponses() <em>Responses</em>}' attribute.
97
	 * <!-- begin-user-doc -->
98
	 * <!-- end-user-doc -->
99
	 * @see #getResponses()
100
	 * @generated
101
	 * @ordered
102
	 */
103
	protected static final AddressingResponsesType RESPONSES_EDEFAULT = AddressingResponsesType.ANONYMOUS;
104
105
	/**
106
	 * The cached value of the '{@link #getResponses() <em>Responses</em>}' attribute.
107
	 * <!-- begin-user-doc -->
108
	 * <!-- end-user-doc -->
109
	 * @see #getResponses()
110
	 * @generated
111
	 * @ordered
112
	 */
113
	protected AddressingResponsesType responses = RESPONSES_EDEFAULT;
114
115
	/**
116
	 * This is true if the Responses attribute has been set.
117
	 * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
119
	 * @generated
120
	 * @ordered
121
	 */
122
	protected boolean responsesESet;
123
124
	/**
125
	 * <!-- begin-user-doc -->
126
	 * <!-- end-user-doc -->
127
	 * @generated
128
	 */
129
	protected AddressingTypeImpl() {
130
		super();
131
	}
132
133
	/**
134
	 * <!-- begin-user-doc -->
135
	 * <!-- end-user-doc -->
136
	 * @generated
137
	 */
138
	@Override
139
	protected EClass eStaticClass() {
140
		return JavaeePackage.Literals.ADDRESSING_TYPE;
141
	}
142
143
	/**
144
	 * <!-- begin-user-doc -->
145
	 * <!-- end-user-doc -->
146
	 * @generated
147
	 */
148
	public boolean isEnabled() {
149
		return enabled;
150
	}
151
152
	/**
153
	 * <!-- begin-user-doc -->
154
	 * <!-- end-user-doc -->
155
	 * @generated
156
	 */
157
	public void setEnabled(boolean newEnabled) {
158
		boolean oldEnabled = enabled;
159
		enabled = newEnabled;
160
		boolean oldEnabledESet = enabledESet;
161
		enabledESet = true;
162
		if (eNotificationRequired())
163
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ADDRESSING_TYPE__ENABLED, oldEnabled, enabled, !oldEnabledESet));
164
	}
165
166
	/**
167
	 * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
169
	 * @generated
170
	 */
171
	public void unsetEnabled() {
172
		boolean oldEnabled = enabled;
173
		boolean oldEnabledESet = enabledESet;
174
		enabled = ENABLED_EDEFAULT;
175
		enabledESet = false;
176
		if (eNotificationRequired())
177
			eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ADDRESSING_TYPE__ENABLED, oldEnabled, ENABLED_EDEFAULT, oldEnabledESet));
178
	}
179
180
	/**
181
	 * <!-- begin-user-doc -->
182
	 * <!-- end-user-doc -->
183
	 * @generated
184
	 */
185
	public boolean isSetEnabled() {
186
		return enabledESet;
187
	}
188
189
	/**
190
	 * <!-- begin-user-doc -->
191
	 * <!-- end-user-doc -->
192
	 * @generated
193
	 */
194
	public boolean isRequired() {
195
		return required;
196
	}
197
198
	/**
199
	 * <!-- begin-user-doc -->
200
	 * <!-- end-user-doc -->
201
	 * @generated
202
	 */
203
	public void setRequired(boolean newRequired) {
204
		boolean oldRequired = required;
205
		required = newRequired;
206
		boolean oldRequiredESet = requiredESet;
207
		requiredESet = true;
208
		if (eNotificationRequired())
209
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ADDRESSING_TYPE__REQUIRED, oldRequired, required, !oldRequiredESet));
210
	}
211
212
	/**
213
	 * <!-- begin-user-doc -->
214
	 * <!-- end-user-doc -->
215
	 * @generated
216
	 */
217
	public void unsetRequired() {
218
		boolean oldRequired = required;
219
		boolean oldRequiredESet = requiredESet;
220
		required = REQUIRED_EDEFAULT;
221
		requiredESet = false;
222
		if (eNotificationRequired())
223
			eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ADDRESSING_TYPE__REQUIRED, oldRequired, REQUIRED_EDEFAULT, oldRequiredESet));
224
	}
225
226
	/**
227
	 * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
229
	 * @generated
230
	 */
231
	public boolean isSetRequired() {
232
		return requiredESet;
233
	}
234
235
	/**
236
	 * <!-- begin-user-doc -->
237
	 * <!-- end-user-doc -->
238
	 * @generated
239
	 */
240
	public AddressingResponsesType getResponses() {
241
		return responses;
242
	}
243
244
	/**
245
	 * <!-- begin-user-doc -->
246
	 * <!-- end-user-doc -->
247
	 * @generated
248
	 */
249
	public void setResponses(AddressingResponsesType newResponses) {
250
		AddressingResponsesType oldResponses = responses;
251
		responses = newResponses == null ? RESPONSES_EDEFAULT : newResponses;
252
		boolean oldResponsesESet = responsesESet;
253
		responsesESet = true;
254
		if (eNotificationRequired())
255
			eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ADDRESSING_TYPE__RESPONSES, oldResponses, responses, !oldResponsesESet));
256
	}
257
258
	/**
259
	 * <!-- begin-user-doc -->
260
	 * <!-- end-user-doc -->
261
	 * @generated
262
	 */
263
	public void unsetResponses() {
264
		AddressingResponsesType oldResponses = responses;
265
		boolean oldResponsesESet = responsesESet;
266
		responses = RESPONSES_EDEFAULT;
267
		responsesESet = false;
268
		if (eNotificationRequired())
269
			eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ADDRESSING_TYPE__RESPONSES, oldResponses, RESPONSES_EDEFAULT, oldResponsesESet));
270
	}
271
272
	/**
273
	 * <!-- begin-user-doc -->
274
	 * <!-- end-user-doc -->
275
	 * @generated
276
	 */
277
	public boolean isSetResponses() {
278
		return responsesESet;
279
	}
280
281
	/**
282
	 * <!-- begin-user-doc -->
283
	 * <!-- end-user-doc -->
284
	 * @generated
285
	 */
286
	@Override
287
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
288
		switch (featureID) {
289
			case JavaeePackage.ADDRESSING_TYPE__ENABLED:
290
				return isEnabled();
291
			case JavaeePackage.ADDRESSING_TYPE__REQUIRED:
292
				return isRequired();
293
			case JavaeePackage.ADDRESSING_TYPE__RESPONSES:
294
				return getResponses();
295
		}
296
		return super.eGet(featureID, resolve, coreType);
297
	}
298
299
	/**
300
	 * <!-- begin-user-doc -->
301
	 * <!-- end-user-doc -->
302
	 * @generated
303
	 */
304
	@Override
305
	public void eSet(int featureID, Object newValue) {
306
		switch (featureID) {
307
			case JavaeePackage.ADDRESSING_TYPE__ENABLED:
308
				setEnabled((Boolean)newValue);
309
				return;
310
			case JavaeePackage.ADDRESSING_TYPE__REQUIRED:
311
				setRequired((Boolean)newValue);
312
				return;
313
			case JavaeePackage.ADDRESSING_TYPE__RESPONSES:
314
				setResponses((AddressingResponsesType)newValue);
315
				return;
316
		}
317
		super.eSet(featureID, newValue);
318
	}
319
320
	/**
321
	 * <!-- begin-user-doc -->
322
	 * <!-- end-user-doc -->
323
	 * @generated
324
	 */
325
	@Override
326
	public void eUnset(int featureID) {
327
		switch (featureID) {
328
			case JavaeePackage.ADDRESSING_TYPE__ENABLED:
329
				unsetEnabled();
330
				return;
331
			case JavaeePackage.ADDRESSING_TYPE__REQUIRED:
332
				unsetRequired();
333
				return;
334
			case JavaeePackage.ADDRESSING_TYPE__RESPONSES:
335
				unsetResponses();
336
				return;
337
		}
338
		super.eUnset(featureID);
339
	}
340
341
	/**
342
	 * <!-- begin-user-doc -->
343
	 * <!-- end-user-doc -->
344
	 * @generated
345
	 */
346
	@Override
347
	public boolean eIsSet(int featureID) {
348
		switch (featureID) {
349
			case JavaeePackage.ADDRESSING_TYPE__ENABLED:
350
				return isSetEnabled();
351
			case JavaeePackage.ADDRESSING_TYPE__REQUIRED:
352
				return isSetRequired();
353
			case JavaeePackage.ADDRESSING_TYPE__RESPONSES:
354
				return isSetResponses();
355
		}
356
		return super.eIsSet(featureID);
357
	}
358
359
	/**
360
	 * <!-- begin-user-doc -->
361
	 * <!-- end-user-doc -->
362
	 * @generated
363
	 */
364
	@Override
365
	public String toString() {
366
		if (eIsProxy()) return super.toString();
367
368
		StringBuffer result = new StringBuffer(super.toString());
369
		result.append(" (enabled: "); //$NON-NLS-1$
370
		if (enabledESet) result.append(enabled); else result.append("<unset>"); //$NON-NLS-1$
371
		result.append(", required: "); //$NON-NLS-1$
372
		if (requiredESet) result.append(required); else result.append("<unset>"); //$NON-NLS-1$
373
		result.append(", responses: "); //$NON-NLS-1$
374
		if (responsesESet) result.append(responses); else result.append("<unset>"); //$NON-NLS-1$
375
		result.append(')');
376
		return result.toString();
377
	}
378
379
} //AddressingTypeImpl
(-)jee-models/org/eclipse/jst/javaee/jca/internal/impl/SecurityPermissionImpl.java (+283 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca.internal.impl;
8
9
import java.util.Collection;
10
import java.util.List;
11
12
import org.eclipse.emf.common.notify.Notification;
13
import org.eclipse.emf.common.notify.NotificationChain;
14
15
import org.eclipse.emf.common.util.EList;
16
17
import org.eclipse.emf.ecore.EClass;
18
import org.eclipse.emf.ecore.InternalEObject;
19
20
import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
import org.eclipse.emf.ecore.impl.EObjectImpl;
22
23
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24
import org.eclipse.emf.ecore.util.InternalEList;
25
26
import org.eclipse.jst.javaee.core.Description;
27
28
import org.eclipse.jst.javaee.jca.SecurityPermission;
29
30
import org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage;
31
32
/**
33
 * <!-- begin-user-doc -->
34
 * An implementation of the model object '<em><b>Security Permission</b></em>'.
35
 * <!-- end-user-doc -->
36
 * <p>
37
 * The following features are implemented:
38
 * <ul>
39
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.SecurityPermissionImpl#getDescription <em>Description</em>}</li>
40
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.SecurityPermissionImpl#getSecurityPermissionSpec <em>Security Permission Spec</em>}</li>
41
 *   <li>{@link org.eclipse.jst.javaee.jca.internal.impl.SecurityPermissionImpl#getId <em>Id</em>}</li>
42
 * </ul>
43
 * </p>
44
 *
45
 * @generated
46
 */
47
public class SecurityPermissionImpl extends EObjectImpl implements SecurityPermission {
48
	/**
49
	 * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * @see #getDescription()
53
	 * @generated
54
	 * @ordered
55
	 */
56
	protected EList<Description> description;
57
58
	/**
59
	 * The default value of the '{@link #getSecurityPermissionSpec() <em>Security Permission Spec</em>}' attribute.
60
	 * <!-- begin-user-doc -->
61
	 * <!-- end-user-doc -->
62
	 * @see #getSecurityPermissionSpec()
63
	 * @generated
64
	 * @ordered
65
	 */
66
	protected static final String SECURITY_PERMISSION_SPEC_EDEFAULT = null;
67
68
	/**
69
	 * The cached value of the '{@link #getSecurityPermissionSpec() <em>Security Permission Spec</em>}' attribute.
70
	 * <!-- begin-user-doc -->
71
	 * <!-- end-user-doc -->
72
	 * @see #getSecurityPermissionSpec()
73
	 * @generated
74
	 * @ordered
75
	 */
76
	protected String securityPermissionSpec = SECURITY_PERMISSION_SPEC_EDEFAULT;
77
78
	/**
79
	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
80
	 * <!-- begin-user-doc -->
81
	 * <!-- end-user-doc -->
82
	 * @see #getId()
83
	 * @generated
84
	 * @ordered
85
	 */
86
	protected static final String ID_EDEFAULT = null;
87
88
	/**
89
	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
90
	 * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
92
	 * @see #getId()
93
	 * @generated
94
	 * @ordered
95
	 */
96
	protected String id = ID_EDEFAULT;
97
98
	/**
99
	 * <!-- begin-user-doc -->
100
	 * <!-- end-user-doc -->
101
	 * @generated
102
	 */
103
	protected SecurityPermissionImpl() {
104
		super();
105
	}
106
107
	/**
108
	 * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
110
	 * @generated
111
	 */
112
	@Override
113
	protected EClass eStaticClass() {
114
		return JcaPackage.Literals.SECURITY_PERMISSION;
115
	}
116
117
	/**
118
	 * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
120
	 * @generated
121
	 */
122
	public List<Description> getDescription() {
123
		if (description == null) {
124
			description = new EObjectContainmentEList<Description>(Description.class, this, JcaPackage.SECURITY_PERMISSION__DESCRIPTION);
125
		}
126
		return description;
127
	}
128
129
	/**
130
	 * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
132
	 * @generated
133
	 */
134
	public String getSecurityPermissionSpec() {
135
		return securityPermissionSpec;
136
	}
137
138
	/**
139
	 * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
141
	 * @generated
142
	 */
143
	public void setSecurityPermissionSpec(String newSecurityPermissionSpec) {
144
		String oldSecurityPermissionSpec = securityPermissionSpec;
145
		securityPermissionSpec = newSecurityPermissionSpec;
146
		if (eNotificationRequired())
147
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.SECURITY_PERMISSION__SECURITY_PERMISSION_SPEC, oldSecurityPermissionSpec, securityPermissionSpec));
148
	}
149
150
	/**
151
	 * <!-- begin-user-doc -->
152
	 * <!-- end-user-doc -->
153
	 * @generated
154
	 */
155
	public String getId() {
156
		return id;
157
	}
158
159
	/**
160
	 * <!-- begin-user-doc -->
161
	 * <!-- end-user-doc -->
162
	 * @generated
163
	 */
164
	public void setId(String newId) {
165
		String oldId = id;
166
		id = newId;
167
		if (eNotificationRequired())
168
			eNotify(new ENotificationImpl(this, Notification.SET, JcaPackage.SECURITY_PERMISSION__ID, oldId, id));
169
	}
170
171
	/**
172
	 * <!-- begin-user-doc -->
173
	 * <!-- end-user-doc -->
174
	 * @generated
175
	 */
176
	@Override
177
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
178
		switch (featureID) {
179
			case JcaPackage.SECURITY_PERMISSION__DESCRIPTION:
180
				return ((InternalEList<?>)getDescription()).basicRemove(otherEnd, msgs);
181
		}
182
		return super.eInverseRemove(otherEnd, featureID, msgs);
183
	}
184
185
	/**
186
	 * <!-- begin-user-doc -->
187
	 * <!-- end-user-doc -->
188
	 * @generated
189
	 */
190
	@Override
191
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
192
		switch (featureID) {
193
			case JcaPackage.SECURITY_PERMISSION__DESCRIPTION:
194
				return getDescription();
195
			case JcaPackage.SECURITY_PERMISSION__SECURITY_PERMISSION_SPEC:
196
				return getSecurityPermissionSpec();
197
			case JcaPackage.SECURITY_PERMISSION__ID:
198
				return getId();
199
		}
200
		return super.eGet(featureID, resolve, coreType);
201
	}
202
203
	/**
204
	 * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
206
	 * @generated
207
	 */
208
	@SuppressWarnings("unchecked")
209
	@Override
210
	public void eSet(int featureID, Object newValue) {
211
		switch (featureID) {
212
			case JcaPackage.SECURITY_PERMISSION__DESCRIPTION:
213
				getDescription().clear();
214
				getDescription().addAll((Collection<? extends Description>)newValue);
215
				return;
216
			case JcaPackage.SECURITY_PERMISSION__SECURITY_PERMISSION_SPEC:
217
				setSecurityPermissionSpec((String)newValue);
218
				return;
219
			case JcaPackage.SECURITY_PERMISSION__ID:
220
				setId((String)newValue);
221
				return;
222
		}
223
		super.eSet(featureID, newValue);
224
	}
225
226
	/**
227
	 * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
229
	 * @generated
230
	 */
231
	@Override
232
	public void eUnset(int featureID) {
233
		switch (featureID) {
234
			case JcaPackage.SECURITY_PERMISSION__DESCRIPTION:
235
				getDescription().clear();
236
				return;
237
			case JcaPackage.SECURITY_PERMISSION__SECURITY_PERMISSION_SPEC:
238
				setSecurityPermissionSpec(SECURITY_PERMISSION_SPEC_EDEFAULT);
239
				return;
240
			case JcaPackage.SECURITY_PERMISSION__ID:
241
				setId(ID_EDEFAULT);
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
		switch (featureID) {
255
			case JcaPackage.SECURITY_PERMISSION__DESCRIPTION:
256
				return description != null && !description.isEmpty();
257
			case JcaPackage.SECURITY_PERMISSION__SECURITY_PERMISSION_SPEC:
258
				return SECURITY_PERMISSION_SPEC_EDEFAULT == null ? securityPermissionSpec != null : !SECURITY_PERMISSION_SPEC_EDEFAULT.equals(securityPermissionSpec);
259
			case JcaPackage.SECURITY_PERMISSION__ID:
260
				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
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
		if (eIsProxy()) return super.toString();
273
274
		StringBuffer result = new StringBuffer(super.toString());
275
		result.append(" (securityPermissionSpec: "); //$NON-NLS-1$
276
		result.append(securityPermissionSpec);
277
		result.append(", id: "); //$NON-NLS-1$
278
		result.append(id);
279
		result.append(')');
280
		return result.toString();
281
	}
282
283
} //SecurityPermissionImpl
(-)jee-models/org/eclipse/jst/javaee/jca/MessageListener.java (+130 lines)
Added Link Here
1
/**
2
 * <copyright>
3
 * </copyright>
4
 *
5
 * $Id$
6
 */
7
package org.eclipse.jst.javaee.jca;
8
9
import org.eclipse.jst.javaee.core.JavaEEObject;
10
11
/**
12
 * <!-- begin-user-doc -->
13
 * A representation of the model object '<em><b>Message Listener</b></em>'.
14
 * <!-- end-user-doc -->
15
 *
16
 * <!-- begin-model-doc -->
17
 * 
18
 * 
19
 *         The messagelistenerType specifies information about a
20
 *         specific message listener supported by the messaging
21
 *         resource adapter. It contains information on the Java type
22
 *         of the message listener interface and an activation
23
 *         specification.
24
 *         
25
 *         @since Java EE 6, Connector 1.6
26
 *       
27
 * <!-- end-model-doc -->
28
 *
29
 * <p>
30
 * The following features are supported:
31
 * <ul>
32
 *   <li>{@link org.eclipse.jst.javaee.jca.MessageListener#getMessagelistenerType <em>Messagelistener Type</em>}</li>
33
 *   <li>{@link org.eclipse.jst.javaee.jca.MessageListener#getActivationspec <em>Activationspec</em>}</li>
34
 *   <li>{@link org.eclipse.jst.javaee.jca.MessageListener#getId <em>Id</em>}</li>
35
 * </ul>
36
 * </p>
37
 *
38
 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getMessageListener()
39
 * @extends JavaEEObject
40
 * @generated
41
 */
42
public interface MessageListener extends JavaEEObject {
43
	/**
44
	 * Returns the value of the '<em><b>Messagelistener Type</b></em>' attribute.
45
	 * <!-- begin-user-doc -->
46
	 * <!-- end-user-doc -->
47
	 * <!-- begin-model-doc -->
48
	 * 
49
	 * <![CDATA[[
50
	 *             The element messagelistener-type specifies the fully
51
	 *             qualified name of the Java type of a message
52
	 *             listener interface.
53
	 *             
54
	 *             Example:
55
	 *             
56
	 *             	<messagelistener-type>javax.jms.MessageListener
57
	 *             	</messagelistener-type>
58
	 *             
59
	 * ]]>
60
	 * 			@since Java EE 6, Connector 1.6
61
	 *           
62
	 * <!-- end-model-doc -->
63
	 * @return the value of the '<em>Messagelistener Type</em>' attribute.
64
	 * @see #setMessagelistenerType(String)
65
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getMessageListener_MessagelistenerType()
66
	 * @generated
67
	 */
68
	String getMessagelistenerType();
69
70
	/**
71
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.MessageListener#getMessagelistenerType <em>Messagelistener Type</em>}' attribute.
72
	 * <!-- begin-user-doc -->
73
	 * <!-- end-user-doc -->
74
	 * @param value the new value of the '<em>Messagelistener Type</em>' attribute.
75
	 * @see #getMessagelistenerType()
76
	 * @generated
77
	 */
78
	void setMessagelistenerType(String value);
79
80
	/**
81
	 * Returns the value of the '<em><b>Activationspec</b></em>' containment reference.
82
	 * <!-- begin-user-doc -->
83
	 * <p>
84
	 * If the meaning of the '<em>Activationspec</em>' containment reference isn't clear,
85
	 * there really should be more of a description here...
86
	 * </p>
87
	 * <!-- end-user-doc -->
88
	 * @return the value of the '<em>Activationspec</em>' containment reference.
89
	 * @see #setActivationspec(ActivationSpec)
90
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getMessageListener_Activationspec()
91
	 * @generated
92
	 */
93
	ActivationSpec getActivationspec();
94
95
	/**
96
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.MessageListener#getActivationspec <em>Activationspec</em>}' containment reference.
97
	 * <!-- begin-user-doc -->
98
	 * <!-- end-user-doc -->
99
	 * @param value the new value of the '<em>Activationspec</em>' containment reference.
100
	 * @see #getActivationspec()
101
	 * @generated
102
	 */
103
	void setActivationspec(ActivationSpec value);
104
105
	/**
106
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
107
	 * <!-- begin-user-doc -->
108
	 * <p>
109
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
110
	 * there really should be more of a description here...
111
	 * </p>
112
	 * <!-- end-user-doc -->
113
	 * @return the value of the '<em>Id</em>' attribute.
114
	 * @see #setId(String)
115
	 * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getMessageListener_Id()
116
	 * @generated
117
	 */
118
	String getId();
119
120
	/**
121
	 * Sets the value of the '{@link org.eclipse.jst.javaee.jca.MessageListener#getId <em>Id</em>}' attribute.
122
	 * <!-- begin-user-doc -->
123
	 * <!-- end-user-doc -->
124
	 * @param value the new value of the '<em>Id</em>' attribute.
125
	 * @see #getId()
126
	 * @generated
127
	 */
128
	void setId(String value);
129
130
} // MessageListener

Return to bug 252615