/******************************************************************************* * Copyright (c) 2001, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jst.j2ee.ejb.internal.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.jem.java.JavaRefPackage; import org.eclipse.jst.j2ee.common.CommonPackage; import org.eclipse.jst.j2ee.core.internal.plugin.J2EECorePlugin; import org.eclipse.jst.j2ee.ejb.AcknowledgeMode; import org.eclipse.jst.j2ee.ejb.ActivationConfig; import org.eclipse.jst.j2ee.ejb.ActivationConfigProperty; import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor; import org.eclipse.jst.j2ee.ejb.CMPAttribute; import org.eclipse.jst.j2ee.ejb.CMRField; import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity; import org.eclipse.jst.j2ee.ejb.DestinationType; import org.eclipse.jst.j2ee.ejb.EJBJar; import org.eclipse.jst.j2ee.ejb.EJBMethodCategory; import org.eclipse.jst.j2ee.ejb.EJBRelation; import org.eclipse.jst.j2ee.ejb.EJBRelationshipRole; import org.eclipse.jst.j2ee.ejb.EjbFactory; import org.eclipse.jst.j2ee.ejb.EjbPackage; import org.eclipse.jst.j2ee.ejb.EnterpriseBean; import org.eclipse.jst.j2ee.ejb.Entity; import org.eclipse.jst.j2ee.ejb.ExcludeList; import org.eclipse.jst.j2ee.ejb.MessageDriven; import org.eclipse.jst.j2ee.ejb.MessageDrivenDestination; import org.eclipse.jst.j2ee.ejb.MethodElement; import org.eclipse.jst.j2ee.ejb.MethodElementKind; import org.eclipse.jst.j2ee.ejb.MethodPermission; import org.eclipse.jst.j2ee.ejb.MethodTransaction; import org.eclipse.jst.j2ee.ejb.MultiplicityKind; import org.eclipse.jst.j2ee.ejb.Query; import org.eclipse.jst.j2ee.ejb.QueryMethod; import org.eclipse.jst.j2ee.ejb.Relationships; import org.eclipse.jst.j2ee.ejb.ReturnTypeMapping; import org.eclipse.jst.j2ee.ejb.RoleSource; import org.eclipse.jst.j2ee.ejb.Session; import org.eclipse.jst.j2ee.ejb.SessionType; import org.eclipse.jst.j2ee.ejb.SubscriptionDurabilityKind; import org.eclipse.jst.j2ee.ejb.TransactionAttributeType; import org.eclipse.jst.j2ee.ejb.TransactionType; import org.eclipse.jst.j2ee.internal.J2EEInit; public class EjbPackageImpl extends EPackageImpl implements EjbPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass containerManagedEntityEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass methodPermissionEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass assemblyDescriptorEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass methodTransactionEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass sessionEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass entityEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass enterpriseBeanEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass ejbMethodCategoryEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass ejbJarEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass methodElementEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass cmpAttributeEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass relationshipsEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass queryEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass ejbRelationEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass ejbRelationshipRoleEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass roleSourceEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass cmrFieldEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass messageDrivenEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass messageDrivenDestinationEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass excludeListEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass queryMethodEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass activationConfigPropertyEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass activationConfigEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum transactionAttributeTypeEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum transactionTypeEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum sessionTypeEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum methodElementKindEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum acknowledgeModeEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum subscriptionDurabilityKindEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum returnTypeMappingEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum destinationTypeEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum multiplicityKindEEnum = null; /** * @generated This field/method will be replaced during code generation. */ private EjbPackageImpl() { super(eNS_URI, EjbFactory.eINSTANCE); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private volatile static boolean isInited = false; /** * @generated This field/method will be replaced during code generation. */ public static EjbPackage init() { if (isInited) return (EjbPackage)EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI); // Obtain or create and register package EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EjbPackageImpl()); isInited = true; // Initialize simple dependencies EcorePackage.eINSTANCE.eClass(); JavaRefPackage.eINSTANCE.eClass(); // Create package meta-data objects theEjbPackage.createPackageContents(); // Initialize created meta-data theEjbPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theEjbPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(EjbPackage.eNS_URI, theEjbPackage); J2EEInit.initEMFModels(); return theEjbPackage; } /** * @generated This field/method will be replaced during code generation. */ public EClass getMethodPermission() { return methodPermissionEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodPermission_Description() { return (EAttribute)methodPermissionEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodPermission_Unchecked() { return (EAttribute)methodPermissionEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMethodPermission_AssemblyDescriptor() { return (EReference)methodPermissionEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMethodPermission_Roles() { return (EReference)methodPermissionEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMethodPermission_MethodElements() { return (EReference)methodPermissionEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getMethodPermission_Descriptions() { return (EReference)methodPermissionEClass.getEStructuralFeatures().get(5); } /** * @generated This field/method will be replaced during code generation. */ public EClass getAssemblyDescriptor() { return assemblyDescriptorEClass; } /** * @generated This field/method will be replaced during code generation. */ public EReference getAssemblyDescriptor_MethodPermissions() { return (EReference)assemblyDescriptorEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EReference getAssemblyDescriptor_MethodTransactions() { return (EReference)assemblyDescriptorEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getAssemblyDescriptor_EjbJar() { return (EReference)assemblyDescriptorEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getAssemblyDescriptor_SecurityRoles() { return (EReference)assemblyDescriptorEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EReference getAssemblyDescriptor_ExcludeList() { return (EReference)assemblyDescriptorEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getAssemblyDescriptor_MessageDestinations() { return (EReference)assemblyDescriptorEClass.getEStructuralFeatures().get(5); } /** * @generated This field/method will be replaced during code generation. */ public EClass getMethodTransaction() { return methodTransactionEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodTransaction_TransactionAttribute() { return (EAttribute)methodTransactionEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodTransaction_Description() { return (EAttribute)methodTransactionEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMethodTransaction_AssemblyDescriptor() { return (EReference)methodTransactionEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMethodTransaction_MethodElements() { return (EReference)methodTransactionEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getMethodTransaction_Descriptions() { return (EReference)methodTransactionEClass.getEStructuralFeatures().get(4); } /** * @generated This field/method will be replaced during code generation. */ public EClass getEnterpriseBean() { return enterpriseBeanEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getEnterpriseBean_Name() { return (EAttribute)enterpriseBeanEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_SecurityRoleRefs() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_EjbClass() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_HomeInterface() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_RemoteInterface() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(4); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_EjbJar() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(5); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_SecurityIdentity() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(6); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_LocalHomeInterface() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(7); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEnterpriseBean_LocalInterface() { return (EReference)enterpriseBeanEClass.getEStructuralFeatures().get(8); } /** * @generated This field/method will be replaced during code generation. */ public EClass getEntity() { return entityEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getEntity_Reentrant() { return (EAttribute)entityEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEntity_PrimaryKey() { return (EReference)entityEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EClass getContainerManagedEntity() { return containerManagedEntityEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getContainerManagedEntity_Version() { return (EAttribute)containerManagedEntityEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getContainerManagedEntity_AbstractSchemaName() { return (EAttribute)containerManagedEntityEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getContainerManagedEntity_PersistentAttributes() { return (EReference)containerManagedEntityEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getContainerManagedEntity_KeyAttributes() { return (EReference)containerManagedEntityEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getContainerManagedEntity_Queries() { return (EReference)containerManagedEntityEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getContainerManagedEntity_CMPAttribute() { return (EReference)containerManagedEntityEClass.getEStructuralFeatures().get(5); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getContainerManagedEntity_PrimKeyField() { return (EReference)containerManagedEntityEClass.getEStructuralFeatures().get(6); } /** * @generated This field/method will be replaced during code generation. */ public EClass getCMPAttribute() { return cmpAttributeEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getCMPAttribute_Description() { return (EAttribute)cmpAttributeEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getCMPAttribute_Descriptions() { return (EReference)cmpAttributeEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EClass getCMRField() { return cmrFieldEClass; } /** * @generated This field/method will be replaced during code generation. */ public EReference getCMRField_Role() { return (EReference)cmrFieldEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EReference getCMRField_CollectionType() { return (EReference)cmrFieldEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EClass getEJBRelationshipRole() { return ejbRelationshipRoleEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getEJBRelationshipRole_Description() { return (EAttribute)ejbRelationshipRoleEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getEJBRelationshipRole_RoleName() { return (EAttribute)ejbRelationshipRoleEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getEJBRelationshipRole_Multiplicity() { return (EAttribute)ejbRelationshipRoleEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getEJBRelationshipRole_CascadeDelete() { return (EAttribute)ejbRelationshipRoleEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBRelationshipRole_Relationship() { return (EReference)ejbRelationshipRoleEClass.getEStructuralFeatures().get(4); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBRelationshipRole_Source() { return (EReference)ejbRelationshipRoleEClass.getEStructuralFeatures().get(5); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBRelationshipRole_CmrField() { return (EReference)ejbRelationshipRoleEClass.getEStructuralFeatures().get(6); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getEJBRelationshipRole_Descriptions() { return (EReference)ejbRelationshipRoleEClass.getEStructuralFeatures().get(7); } /** * @generated This field/method will be replaced during code generation. */ public EClass getEJBRelation() { return ejbRelationEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getEJBRelation_Description() { return (EAttribute)ejbRelationEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getEJBRelation_Name() { return (EAttribute)ejbRelationEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBRelation_RelationshipList() { return (EReference)ejbRelationEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBRelation_RelationshipRoles() { return (EReference)ejbRelationEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getEJBRelation_Descriptions() { return (EReference)ejbRelationEClass.getEStructuralFeatures().get(4); } /** * @generated This field/method will be replaced during code generation. */ public EClass getRelationships() { return relationshipsEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getRelationships_Description() { return (EAttribute)relationshipsEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EReference getRelationships_EjbJar() { return (EReference)relationshipsEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getRelationships_EjbRelations() { return (EReference)relationshipsEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getRelationships_Descriptions() { return (EReference)relationshipsEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EClass getEJBJar() { return ejbJarEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getEJBJar_EjbClientJar() { return (EAttribute)ejbJarEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getEJBJar_Version() { return (EAttribute)ejbJarEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBJar_AssemblyDescriptor() { return (EReference)ejbJarEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBJar_EnterpriseBeans() { return (EReference)ejbJarEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EReference getEJBJar_RelationshipList() { return (EReference)ejbJarEClass.getEStructuralFeatures().get(4); } /** * @generated This field/method will be replaced during code generation. */ public EClass getRoleSource() { return roleSourceEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getRoleSource_Description() { return (EAttribute)roleSourceEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EReference getRoleSource_Role() { return (EReference)roleSourceEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getRoleSource_EntityBean() { return (EReference)roleSourceEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getRoleSource_Descriptions() { return (EReference)roleSourceEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EClass getQuery() { return queryEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getQuery_Description() { return (EAttribute)queryEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getQuery_EjbQL() { return (EAttribute)queryEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getQuery_ReturnTypeMapping() { return (EAttribute)queryEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getQuery_QueryMethod() { return (EReference)queryEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EReference getQuery_Entity() { return (EReference)queryEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getQuery_Descriptions() { return (EReference)queryEClass.getEStructuralFeatures().get(5); } /** * @generated This field/method will be replaced during code generation. */ public EClass getQueryMethod() { return queryMethodEClass; } /** * @generated This field/method will be replaced during code generation. */ public EReference getQueryMethod_Query() { return (EReference)queryMethodEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getActivationConfigProperty() { return activationConfigPropertyEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getActivationConfigProperty_Value() { return (EAttribute)activationConfigPropertyEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getActivationConfigProperty_Name() { return (EAttribute)activationConfigPropertyEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getActivationConfig() { return activationConfigEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getActivationConfig_ConfigProperties() { return (EReference)activationConfigEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getActivationConfig_Descriptions() { return (EReference)activationConfigEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EClass getMethodElement() { return methodElementEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodElement_Name() { return (EAttribute)methodElementEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodElement_Parms() { return (EAttribute)methodElementEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodElement_Type() { return (EAttribute)methodElementEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMethodElement_Description() { return (EAttribute)methodElementEClass.getEStructuralFeatures().get(3); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMethodElement_EnterpriseBean() { return (EReference)methodElementEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getMethodElement_Descriptions() { return (EReference)methodElementEClass.getEStructuralFeatures().get(5); } /** * @generated This field/method will be replaced during code generation. */ public EClass getExcludeList() { return excludeListEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getExcludeList_Description() { return (EAttribute)excludeListEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EReference getExcludeList_MethodElements() { return (EReference)excludeListEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getExcludeList_Descriptions() { return (EReference)excludeListEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EClass getSession() { return sessionEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getSession_TransactionType() { return (EAttribute)sessionEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getSession_SessionType() { return (EAttribute)sessionEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getSession_ServiceEndpoint() { return (EReference)sessionEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EClass getMessageDriven() { return messageDrivenEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMessageDriven_TransactionType() { return (EAttribute)messageDrivenEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMessageDriven_MessageSelector() { return (EAttribute)messageDrivenEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMessageDriven_AcknowledgeMode() { return (EAttribute)messageDrivenEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMessageDriven_Destination() { return (EReference)messageDrivenEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getMessageDriven_ActivationConfig() { return (EReference)messageDrivenEClass.getEStructuralFeatures().get(5); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getMessageDriven_MessageDestination() { return (EReference)messageDrivenEClass.getEStructuralFeatures().get(6); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getMessageDriven_Link() { return (EAttribute)messageDrivenEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getMessageDriven_MessagingType() { return (EReference)messageDrivenEClass.getEStructuralFeatures().get(7); } /** * @generated This field/method will be replaced during code generation. */ public EClass getMessageDrivenDestination() { return messageDrivenDestinationEClass; } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMessageDrivenDestination_Type() { return (EAttribute)messageDrivenDestinationEClass.getEStructuralFeatures().get(0); } /** * @generated This field/method will be replaced during code generation. */ public EAttribute getMessageDrivenDestination_SubscriptionDurability() { return (EAttribute)messageDrivenDestinationEClass.getEStructuralFeatures().get(1); } /** * @generated This field/method will be replaced during code generation. */ public EReference getMessageDrivenDestination_Bean() { return (EReference)messageDrivenDestinationEClass.getEStructuralFeatures().get(2); } /** * @generated This field/method will be replaced during code generation. */ public EClass getEJBMethodCategory() { return ejbMethodCategoryEClass; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getTransactionAttributeType() { return transactionAttributeTypeEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getMultiplicityKind() { return multiplicityKindEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getReturnTypeMapping() { return returnTypeMappingEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getMethodElementKind() { return methodElementKindEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getTransactionType() { return transactionTypeEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getAcknowledgeMode() { return acknowledgeModeEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getDestinationType() { return destinationTypeEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getSubscriptionDurabilityKind() { return subscriptionDurabilityKindEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EEnum getSessionType() { return sessionTypeEEnum; } /** * @generated This field/method will be replaced during code generation. */ public EjbFactory getEjbFactory() { return (EjbFactory)getEFactoryInstance(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private volatile boolean isCreated = false; /** * Creates the meta-model objects for the package. This method is * guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features containerManagedEntityEClass = createEClass(CONTAINER_MANAGED_ENTITY); createEAttribute(containerManagedEntityEClass, CONTAINER_MANAGED_ENTITY__VERSION); createEAttribute(containerManagedEntityEClass, CONTAINER_MANAGED_ENTITY__ABSTRACT_SCHEMA_NAME); createEReference(containerManagedEntityEClass, CONTAINER_MANAGED_ENTITY__PERSISTENT_ATTRIBUTES); createEReference(containerManagedEntityEClass, CONTAINER_MANAGED_ENTITY__KEY_ATTRIBUTES); createEReference(containerManagedEntityEClass, CONTAINER_MANAGED_ENTITY__QUERIES); createEReference(containerManagedEntityEClass, CONTAINER_MANAGED_ENTITY__CMP_ATTRIBUTE); createEReference(containerManagedEntityEClass, CONTAINER_MANAGED_ENTITY__PRIM_KEY_FIELD); methodPermissionEClass = createEClass(METHOD_PERMISSION); createEAttribute(methodPermissionEClass, METHOD_PERMISSION__DESCRIPTION); createEAttribute(methodPermissionEClass, METHOD_PERMISSION__UNCHECKED); createEReference(methodPermissionEClass, METHOD_PERMISSION__ASSEMBLY_DESCRIPTOR); createEReference(methodPermissionEClass, METHOD_PERMISSION__ROLES); createEReference(methodPermissionEClass, METHOD_PERMISSION__METHOD_ELEMENTS); createEReference(methodPermissionEClass, METHOD_PERMISSION__DESCRIPTIONS); assemblyDescriptorEClass = createEClass(ASSEMBLY_DESCRIPTOR); createEReference(assemblyDescriptorEClass, ASSEMBLY_DESCRIPTOR__METHOD_PERMISSIONS); createEReference(assemblyDescriptorEClass, ASSEMBLY_DESCRIPTOR__METHOD_TRANSACTIONS); createEReference(assemblyDescriptorEClass, ASSEMBLY_DESCRIPTOR__EJB_JAR); createEReference(assemblyDescriptorEClass, ASSEMBLY_DESCRIPTOR__SECURITY_ROLES); createEReference(assemblyDescriptorEClass, ASSEMBLY_DESCRIPTOR__EXCLUDE_LIST); createEReference(assemblyDescriptorEClass, ASSEMBLY_DESCRIPTOR__MESSAGE_DESTINATIONS); methodTransactionEClass = createEClass(METHOD_TRANSACTION); createEAttribute(methodTransactionEClass, METHOD_TRANSACTION__TRANSACTION_ATTRIBUTE); createEAttribute(methodTransactionEClass, METHOD_TRANSACTION__DESCRIPTION); createEReference(methodTransactionEClass, METHOD_TRANSACTION__ASSEMBLY_DESCRIPTOR); createEReference(methodTransactionEClass, METHOD_TRANSACTION__METHOD_ELEMENTS); createEReference(methodTransactionEClass, METHOD_TRANSACTION__DESCRIPTIONS); sessionEClass = createEClass(SESSION); createEAttribute(sessionEClass, SESSION__TRANSACTION_TYPE); createEAttribute(sessionEClass, SESSION__SESSION_TYPE); createEReference(sessionEClass, SESSION__SERVICE_ENDPOINT); entityEClass = createEClass(ENTITY); createEAttribute(entityEClass, ENTITY__REENTRANT); createEReference(entityEClass, ENTITY__PRIMARY_KEY); enterpriseBeanEClass = createEClass(ENTERPRISE_BEAN); createEAttribute(enterpriseBeanEClass, ENTERPRISE_BEAN__NAME); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__SECURITY_ROLE_REFS); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__EJB_CLASS); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__HOME_INTERFACE); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__REMOTE_INTERFACE); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__EJB_JAR); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__SECURITY_IDENTITY); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__LOCAL_HOME_INTERFACE); createEReference(enterpriseBeanEClass, ENTERPRISE_BEAN__LOCAL_INTERFACE); ejbMethodCategoryEClass = createEClass(EJB_METHOD_CATEGORY); ejbJarEClass = createEClass(EJB_JAR); createEAttribute(ejbJarEClass, EJB_JAR__EJB_CLIENT_JAR); createEAttribute(ejbJarEClass, EJB_JAR__VERSION); createEReference(ejbJarEClass, EJB_JAR__ASSEMBLY_DESCRIPTOR); createEReference(ejbJarEClass, EJB_JAR__ENTERPRISE_BEANS); createEReference(ejbJarEClass, EJB_JAR__RELATIONSHIP_LIST); methodElementEClass = createEClass(METHOD_ELEMENT); createEAttribute(methodElementEClass, METHOD_ELEMENT__NAME); createEAttribute(methodElementEClass, METHOD_ELEMENT__PARMS); createEAttribute(methodElementEClass, METHOD_ELEMENT__TYPE); createEAttribute(methodElementEClass, METHOD_ELEMENT__DESCRIPTION); createEReference(methodElementEClass, METHOD_ELEMENT__ENTERPRISE_BEAN); createEReference(methodElementEClass, METHOD_ELEMENT__DESCRIPTIONS); cmpAttributeEClass = createEClass(CMP_ATTRIBUTE); createEAttribute(cmpAttributeEClass, CMP_ATTRIBUTE__DESCRIPTION); createEReference(cmpAttributeEClass, CMP_ATTRIBUTE__DESCRIPTIONS); relationshipsEClass = createEClass(RELATIONSHIPS); createEAttribute(relationshipsEClass, RELATIONSHIPS__DESCRIPTION); createEReference(relationshipsEClass, RELATIONSHIPS__EJB_JAR); createEReference(relationshipsEClass, RELATIONSHIPS__EJB_RELATIONS); createEReference(relationshipsEClass, RELATIONSHIPS__DESCRIPTIONS); queryEClass = createEClass(QUERY); createEAttribute(queryEClass, QUERY__DESCRIPTION); createEAttribute(queryEClass, QUERY__EJB_QL); createEAttribute(queryEClass, QUERY__RETURN_TYPE_MAPPING); createEReference(queryEClass, QUERY__QUERY_METHOD); createEReference(queryEClass, QUERY__ENTITY); createEReference(queryEClass, QUERY__DESCRIPTIONS); ejbRelationEClass = createEClass(EJB_RELATION); createEAttribute(ejbRelationEClass, EJB_RELATION__DESCRIPTION); createEAttribute(ejbRelationEClass, EJB_RELATION__NAME); createEReference(ejbRelationEClass, EJB_RELATION__RELATIONSHIP_LIST); createEReference(ejbRelationEClass, EJB_RELATION__RELATIONSHIP_ROLES); createEReference(ejbRelationEClass, EJB_RELATION__DESCRIPTIONS); ejbRelationshipRoleEClass = createEClass(EJB_RELATIONSHIP_ROLE); createEAttribute(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__DESCRIPTION); createEAttribute(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__ROLE_NAME); createEAttribute(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__MULTIPLICITY); createEAttribute(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__CASCADE_DELETE); createEReference(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__RELATIONSHIP); createEReference(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__SOURCE); createEReference(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__CMR_FIELD); createEReference(ejbRelationshipRoleEClass, EJB_RELATIONSHIP_ROLE__DESCRIPTIONS); roleSourceEClass = createEClass(ROLE_SOURCE); createEAttribute(roleSourceEClass, ROLE_SOURCE__DESCRIPTION); createEReference(roleSourceEClass, ROLE_SOURCE__ROLE); createEReference(roleSourceEClass, ROLE_SOURCE__ENTITY_BEAN); createEReference(roleSourceEClass, ROLE_SOURCE__DESCRIPTIONS); cmrFieldEClass = createEClass(CMR_FIELD); createEReference(cmrFieldEClass, CMR_FIELD__ROLE); createEReference(cmrFieldEClass, CMR_FIELD__COLLECTION_TYPE); messageDrivenEClass = createEClass(MESSAGE_DRIVEN); createEAttribute(messageDrivenEClass, MESSAGE_DRIVEN__TRANSACTION_TYPE); createEAttribute(messageDrivenEClass, MESSAGE_DRIVEN__MESSAGE_SELECTOR); createEAttribute(messageDrivenEClass, MESSAGE_DRIVEN__ACKNOWLEDGE_MODE); createEAttribute(messageDrivenEClass, MESSAGE_DRIVEN__LINK); createEReference(messageDrivenEClass, MESSAGE_DRIVEN__DESTINATION); createEReference(messageDrivenEClass, MESSAGE_DRIVEN__ACTIVATION_CONFIG); createEReference(messageDrivenEClass, MESSAGE_DRIVEN__MESSAGE_DESTINATION); createEReference(messageDrivenEClass, MESSAGE_DRIVEN__MESSAGING_TYPE); messageDrivenDestinationEClass = createEClass(MESSAGE_DRIVEN_DESTINATION); createEAttribute(messageDrivenDestinationEClass, MESSAGE_DRIVEN_DESTINATION__TYPE); createEAttribute(messageDrivenDestinationEClass, MESSAGE_DRIVEN_DESTINATION__SUBSCRIPTION_DURABILITY); createEReference(messageDrivenDestinationEClass, MESSAGE_DRIVEN_DESTINATION__BEAN); excludeListEClass = createEClass(EXCLUDE_LIST); createEAttribute(excludeListEClass, EXCLUDE_LIST__DESCRIPTION); createEReference(excludeListEClass, EXCLUDE_LIST__METHOD_ELEMENTS); createEReference(excludeListEClass, EXCLUDE_LIST__DESCRIPTIONS); queryMethodEClass = createEClass(QUERY_METHOD); createEReference(queryMethodEClass, QUERY_METHOD__QUERY); activationConfigPropertyEClass = createEClass(ACTIVATION_CONFIG_PROPERTY); createEAttribute(activationConfigPropertyEClass, ACTIVATION_CONFIG_PROPERTY__VALUE); createEAttribute(activationConfigPropertyEClass, ACTIVATION_CONFIG_PROPERTY__NAME); activationConfigEClass = createEClass(ACTIVATION_CONFIG); createEReference(activationConfigEClass, ACTIVATION_CONFIG__CONFIG_PROPERTIES); createEReference(activationConfigEClass, ACTIVATION_CONFIG__DESCRIPTIONS); // Create enums transactionAttributeTypeEEnum = createEEnum(TRANSACTION_ATTRIBUTE_TYPE); transactionTypeEEnum = createEEnum(TRANSACTION_TYPE); sessionTypeEEnum = createEEnum(SESSION_TYPE); methodElementKindEEnum = createEEnum(METHOD_ELEMENT_KIND); acknowledgeModeEEnum = createEEnum(ACKNOWLEDGE_MODE); subscriptionDurabilityKindEEnum = createEEnum(SUBSCRIPTION_DURABILITY_KIND); returnTypeMappingEEnum = createEEnum(RETURN_TYPE_MAPPING); destinationTypeEEnum = createEEnum(DESTINATION_TYPE); multiplicityKindEEnum = createEEnum(MULTIPLICITY_KIND); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private volatile boolean isInitialized = false; /** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI); JavaRefPackage theJavaRefPackage = (JavaRefPackage)EPackage.Registry.INSTANCE.getEPackage(JavaRefPackage.eNS_URI); boolean hasLock = false; try { hasLock = J2EEInit.aquireInitializePackageContentsLock(); } catch (InterruptedException e) { J2EECorePlugin.logError(e); } try{ // Add supertypes to classes containerManagedEntityEClass.getESuperTypes().add(this.getEntity()); methodPermissionEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); assemblyDescriptorEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); methodTransactionEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); sessionEClass.getESuperTypes().add(this.getEnterpriseBean()); entityEClass.getESuperTypes().add(this.getEnterpriseBean()); enterpriseBeanEClass.getESuperTypes().add(theCommonPackage.getJNDIEnvRefsGroup()); ejbMethodCategoryEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); ejbJarEClass.getESuperTypes().add(theCommonPackage.getCompatibilityDescriptionGroup()); methodElementEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); cmpAttributeEClass.getESuperTypes().add(theCommonPackage.getJ2EEEAttribute()); relationshipsEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); queryEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); ejbRelationEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); ejbRelationshipRoleEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); roleSourceEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); cmrFieldEClass.getESuperTypes().add(this.getCMPAttribute()); messageDrivenEClass.getESuperTypes().add(this.getEnterpriseBean()); messageDrivenDestinationEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); excludeListEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); queryMethodEClass.getESuperTypes().add(this.getMethodElement()); activationConfigPropertyEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); activationConfigEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); // Initialize classes and features; add operations and parameters initEClass(containerManagedEntityEClass, ContainerManagedEntity.class, "ContainerManagedEntity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getContainerManagedEntity_Version(), ecorePackage.getEString(), "version", "2.x", 0, 1, ContainerManagedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ initEAttribute(getContainerManagedEntity_AbstractSchemaName(), ecorePackage.getEString(), "abstractSchemaName", null, 0, 1, ContainerManagedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getContainerManagedEntity_PersistentAttributes(), this.getCMPAttribute(), null, "persistentAttributes", null, 0, -1, ContainerManagedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getContainerManagedEntity_KeyAttributes(), this.getCMPAttribute(), null, "keyAttributes", null, 0, -1, ContainerManagedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getContainerManagedEntity_Queries(), this.getQuery(), this.getQuery_Entity(), "queries", null, 0, -1, ContainerManagedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getContainerManagedEntity_CMPAttribute(), this.getCMPAttribute(), null, "CMPAttribute", null, 0, -1, ContainerManagedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getContainerManagedEntity_PrimKeyField(), this.getCMPAttribute(), null, "primKeyField", null, 0, 1, ContainerManagedEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(methodPermissionEClass, MethodPermission.class, "MethodPermission", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getMethodPermission_Description(), ecorePackage.getEString(), "description", null, 0, 1, MethodPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMethodPermission_Unchecked(), ecorePackage.getEBoolean(), "unchecked", null, 0, 1, MethodPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodPermission_AssemblyDescriptor(), this.getAssemblyDescriptor(), this.getAssemblyDescriptor_MethodPermissions(), "assemblyDescriptor", null, 1, 1, MethodPermission.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodPermission_Roles(), theCommonPackage.getSecurityRole(), null, "roles", null, 1, -1, MethodPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodPermission_MethodElements(), this.getMethodElement(), null, "methodElements", null, 1, -1, MethodPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodPermission_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, MethodPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(assemblyDescriptorEClass, AssemblyDescriptor.class, "AssemblyDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getAssemblyDescriptor_MethodPermissions(), this.getMethodPermission(), this.getMethodPermission_AssemblyDescriptor(), "methodPermissions", null, 0, -1, AssemblyDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getAssemblyDescriptor_MethodTransactions(), this.getMethodTransaction(), this.getMethodTransaction_AssemblyDescriptor(), "methodTransactions", null, 0, -1, AssemblyDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getAssemblyDescriptor_EjbJar(), this.getEJBJar(), this.getEJBJar_AssemblyDescriptor(), "ejbJar", null, 0, 1, AssemblyDescriptor.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getAssemblyDescriptor_SecurityRoles(), theCommonPackage.getSecurityRole(), null, "securityRoles", null, 0, -1, AssemblyDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getAssemblyDescriptor_ExcludeList(), this.getExcludeList(), null, "excludeList", null, 0, 1, AssemblyDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getAssemblyDescriptor_MessageDestinations(), theCommonPackage.getMessageDestination(), null, "messageDestinations", null, 0, -1, AssemblyDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(methodTransactionEClass, MethodTransaction.class, "MethodTransaction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getMethodTransaction_TransactionAttribute(), this.getTransactionAttributeType(), "transactionAttribute", null, 0, 1, MethodTransaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMethodTransaction_Description(), ecorePackage.getEString(), "description", null, 0, 1, MethodTransaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodTransaction_AssemblyDescriptor(), this.getAssemblyDescriptor(), this.getAssemblyDescriptor_MethodTransactions(), "assemblyDescriptor", null, 1, 1, MethodTransaction.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodTransaction_MethodElements(), this.getMethodElement(), null, "methodElements", null, 1, -1, MethodTransaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodTransaction_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, MethodTransaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(sessionEClass, Session.class, "Session", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getSession_TransactionType(), this.getTransactionType(), "transactionType", null, 0, 1, Session.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getSession_SessionType(), this.getSessionType(), "sessionType", null, 0, 1, Session.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getSession_ServiceEndpoint(), theJavaRefPackage.getJavaClass(), null, "serviceEndpoint", null, 0, 1, Session.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(entityEClass, Entity.class, "Entity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getEntity_Reentrant(), ecorePackage.getEBoolean(), "reentrant", null, 0, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEntity_PrimaryKey(), theJavaRefPackage.getJavaClass(), null, "primaryKey", null, 1, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(enterpriseBeanEClass, EnterpriseBean.class, "EnterpriseBean", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getEnterpriseBean_Name(), ecorePackage.getEString(), "name", null, 0, 1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_SecurityRoleRefs(), theCommonPackage.getSecurityRoleRef(), null, "securityRoleRefs", null, 0, -1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_EjbClass(), theJavaRefPackage.getJavaClass(), null, "ejbClass", null, 1, 1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_HomeInterface(), theJavaRefPackage.getJavaClass(), null, "homeInterface", null, 1, 1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_RemoteInterface(), theJavaRefPackage.getJavaClass(), null, "remoteInterface", null, 1, 1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_EjbJar(), this.getEJBJar(), this.getEJBJar_EnterpriseBeans(), "ejbJar", null, 1, 1, EnterpriseBean.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_SecurityIdentity(), theCommonPackage.getSecurityIdentity(), null, "securityIdentity", null, 0, 1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_LocalHomeInterface(), theJavaRefPackage.getJavaClass(), null, "localHomeInterface", null, 0, 1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEnterpriseBean_LocalInterface(), theJavaRefPackage.getJavaClass(), null, "localInterface", null, 0, 1, EnterpriseBean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(ejbMethodCategoryEClass, EJBMethodCategory.class, "EJBMethodCategory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass(ejbJarEClass, EJBJar.class, "EJBJar", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getEJBJar_EjbClientJar(), ecorePackage.getEString(), "ejbClientJar", null, 0, 1, EJBJar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getEJBJar_Version(), ecorePackage.getEString(), "version", null, 0, 1, EJBJar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBJar_AssemblyDescriptor(), this.getAssemblyDescriptor(), this.getAssemblyDescriptor_EjbJar(), "assemblyDescriptor", null, 0, 1, EJBJar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBJar_EnterpriseBeans(), this.getEnterpriseBean(), this.getEnterpriseBean_EjbJar(), "enterpriseBeans", null, 1, -1, EJBJar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBJar_RelationshipList(), this.getRelationships(), this.getRelationships_EjbJar(), "relationshipList", null, 0, 1, EJBJar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(methodElementEClass, MethodElement.class, "MethodElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getMethodElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, MethodElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMethodElement_Parms(), ecorePackage.getEString(), "parms", null, 0, 1, MethodElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMethodElement_Type(), this.getMethodElementKind(), "type", null, 0, 1, MethodElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMethodElement_Description(), ecorePackage.getEString(), "description", null, 0, 1, MethodElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodElement_EnterpriseBean(), this.getEnterpriseBean(), null, "enterpriseBean", null, 1, 1, MethodElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMethodElement_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, MethodElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(cmpAttributeEClass, CMPAttribute.class, "CMPAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getCMPAttribute_Description(), ecorePackage.getEString(), "description", null, 0, 1, CMPAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getCMPAttribute_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, CMPAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(relationshipsEClass, Relationships.class, "Relationships", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getRelationships_Description(), ecorePackage.getEString(), "description", null, 0, 1, Relationships.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getRelationships_EjbJar(), this.getEJBJar(), this.getEJBJar_RelationshipList(), "ejbJar", null, 1, 1, Relationships.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getRelationships_EjbRelations(), this.getEJBRelation(), this.getEJBRelation_RelationshipList(), "ejbRelations", null, 0, -1, Relationships.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getRelationships_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, Relationships.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(queryEClass, Query.class, "Query", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getQuery_Description(), ecorePackage.getEString(), "description", null, 0, 1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getQuery_EjbQL(), ecorePackage.getEString(), "ejbQL", null, 0, 1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getQuery_ReturnTypeMapping(), this.getReturnTypeMapping(), "returnTypeMapping", null, 0, 1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getQuery_QueryMethod(), this.getQueryMethod(), this.getQueryMethod_Query(), "queryMethod", null, 1, 1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getQuery_Entity(), this.getContainerManagedEntity(), this.getContainerManagedEntity_Queries(), "entity", null, 0, 1, Query.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getQuery_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(ejbRelationEClass, EJBRelation.class, "EJBRelation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getEJBRelation_Description(), ecorePackage.getEString(), "description", null, 0, 1, EJBRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getEJBRelation_Name(), ecorePackage.getEString(), "name", null, 0, 1, EJBRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBRelation_RelationshipList(), this.getRelationships(), this.getRelationships_EjbRelations(), "relationshipList", null, 0, 1, EJBRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBRelation_RelationshipRoles(), this.getEJBRelationshipRole(), this.getEJBRelationshipRole_Relationship(), "relationshipRoles", null, 2, 2, EJBRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBRelation_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, EJBRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(ejbRelationshipRoleEClass, EJBRelationshipRole.class, "EJBRelationshipRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getEJBRelationshipRole_Description(), ecorePackage.getEString(), "description", null, 0, 1, EJBRelationshipRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getEJBRelationshipRole_RoleName(), ecorePackage.getEString(), "roleName", null, 0, 1, EJBRelationshipRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getEJBRelationshipRole_Multiplicity(), this.getMultiplicityKind(), "multiplicity", null, 0, 1, EJBRelationshipRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getEJBRelationshipRole_CascadeDelete(), ecorePackage.getEBoolean(), "cascadeDelete", null, 0, 1, EJBRelationshipRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBRelationshipRole_Relationship(), this.getEJBRelation(), this.getEJBRelation_RelationshipRoles(), "relationship", null, 1, 1, EJBRelationshipRole.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBRelationshipRole_Source(), this.getRoleSource(), this.getRoleSource_Role(), "source", null, 1, 1, EJBRelationshipRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBRelationshipRole_CmrField(), this.getCMRField(), this.getCMRField_Role(), "cmrField", null, 1, 1, EJBRelationshipRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getEJBRelationshipRole_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, EJBRelationshipRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(roleSourceEClass, RoleSource.class, "RoleSource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getRoleSource_Description(), ecorePackage.getEString(), "description", null, 0, 1, RoleSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getRoleSource_Role(), this.getEJBRelationshipRole(), this.getEJBRelationshipRole_Source(), "role", null, 1, 1, RoleSource.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getRoleSource_EntityBean(), this.getContainerManagedEntity(), null, "entityBean", null, 1, 1, RoleSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getRoleSource_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, RoleSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(cmrFieldEClass, CMRField.class, "CMRField", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getCMRField_Role(), this.getEJBRelationshipRole(), this.getEJBRelationshipRole_CmrField(), "role", null, 0, 1, CMRField.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getCMRField_CollectionType(), theJavaRefPackage.getJavaClass(), null, "collectionType", null, 0, 1, CMRField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(messageDrivenEClass, MessageDriven.class, "MessageDriven", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getMessageDriven_TransactionType(), this.getTransactionType(), "transactionType", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMessageDriven_MessageSelector(), ecorePackage.getEString(), "messageSelector", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMessageDriven_AcknowledgeMode(), this.getAcknowledgeMode(), "acknowledgeMode", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMessageDriven_Link(), ecorePackage.getEString(), "link", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMessageDriven_Destination(), this.getMessageDrivenDestination(), this.getMessageDrivenDestination_Bean(), "destination", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMessageDriven_ActivationConfig(), this.getActivationConfig(), null, "activationConfig", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMessageDriven_MessageDestination(), theJavaRefPackage.getJavaClass(), null, "messageDestination", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMessageDriven_MessagingType(), theJavaRefPackage.getJavaClass(), null, "messagingType", null, 0, 1, MessageDriven.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(messageDrivenDestinationEClass, MessageDrivenDestination.class, "MessageDrivenDestination", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getMessageDrivenDestination_Type(), this.getDestinationType(), "type", null, 0, 1, MessageDrivenDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getMessageDrivenDestination_SubscriptionDurability(), this.getSubscriptionDurabilityKind(), "subscriptionDurability", null, 0, 1, MessageDrivenDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getMessageDrivenDestination_Bean(), this.getMessageDriven(), this.getMessageDriven_Destination(), "bean", null, 1, 1, MessageDrivenDestination.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(excludeListEClass, ExcludeList.class, "ExcludeList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getExcludeList_Description(), ecorePackage.getEString(), "description", null, 0, 1, ExcludeList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getExcludeList_MethodElements(), this.getMethodElement(), null, "methodElements", null, 1, -1, ExcludeList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getExcludeList_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, ExcludeList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(queryMethodEClass, QueryMethod.class, "QueryMethod", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getQueryMethod_Query(), this.getQuery(), this.getQuery_QueryMethod(), "query", null, 1, 1, QueryMethod.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(activationConfigPropertyEClass, ActivationConfigProperty.class, "ActivationConfigProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute(getActivationConfigProperty_Value(), ecorePackage.getEString(), "value", null, 0, 1, ActivationConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute(getActivationConfigProperty_Name(), ecorePackage.getEString(), "name", null, 0, 1, ActivationConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(activationConfigEClass, ActivationConfig.class, "ActivationConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getActivationConfig_ConfigProperties(), this.getActivationConfigProperty(), null, "configProperties", null, 1, -1, ActivationConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getActivationConfig_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, ActivationConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ // Initialize enums and add enum literals initEEnum(transactionAttributeTypeEEnum, TransactionAttributeType.class, "TransactionAttributeType"); //$NON-NLS-1$ addEEnumLiteral(transactionAttributeTypeEEnum, TransactionAttributeType.NOT_SUPPORTED_LITERAL); addEEnumLiteral(transactionAttributeTypeEEnum, TransactionAttributeType.SUPPORTS_LITERAL); addEEnumLiteral(transactionAttributeTypeEEnum, TransactionAttributeType.REQUIRED_LITERAL); addEEnumLiteral(transactionAttributeTypeEEnum, TransactionAttributeType.REQUIRES_NEW_LITERAL); addEEnumLiteral(transactionAttributeTypeEEnum, TransactionAttributeType.MANDATORY_LITERAL); addEEnumLiteral(transactionAttributeTypeEEnum, TransactionAttributeType.NEVER_LITERAL); initEEnum(transactionTypeEEnum, TransactionType.class, "TransactionType"); //$NON-NLS-1$ addEEnumLiteral(transactionTypeEEnum, TransactionType.BEAN_LITERAL); addEEnumLiteral(transactionTypeEEnum, TransactionType.CONTAINER_LITERAL); initEEnum(sessionTypeEEnum, SessionType.class, "SessionType"); //$NON-NLS-1$ addEEnumLiteral(sessionTypeEEnum, SessionType.STATEFUL_LITERAL); addEEnumLiteral(sessionTypeEEnum, SessionType.STATELESS_LITERAL); addEEnumLiteral(sessionTypeEEnum, SessionType.SINGLETON_LITERAL); initEEnum(methodElementKindEEnum, MethodElementKind.class, "MethodElementKind"); //$NON-NLS-1$ addEEnumLiteral(methodElementKindEEnum, MethodElementKind.UNSPECIFIED_LITERAL); addEEnumLiteral(methodElementKindEEnum, MethodElementKind.REMOTE_LITERAL); addEEnumLiteral(methodElementKindEEnum, MethodElementKind.HOME_LITERAL); addEEnumLiteral(methodElementKindEEnum, MethodElementKind.LOCAL_LITERAL); addEEnumLiteral(methodElementKindEEnum, MethodElementKind.LOCAL_HOME_LITERAL); addEEnumLiteral(methodElementKindEEnum, MethodElementKind.SERVICE_ENDPOINT_LITERAL); initEEnum(acknowledgeModeEEnum, AcknowledgeMode.class, "AcknowledgeMode"); //$NON-NLS-1$ addEEnumLiteral(acknowledgeModeEEnum, AcknowledgeMode.AUTO_ACKNOWLEDGE_LITERAL); addEEnumLiteral(acknowledgeModeEEnum, AcknowledgeMode.DUPS_OK_ACKNOWLEDGE_LITERAL); initEEnum(subscriptionDurabilityKindEEnum, SubscriptionDurabilityKind.class, "SubscriptionDurabilityKind"); //$NON-NLS-1$ addEEnumLiteral(subscriptionDurabilityKindEEnum, SubscriptionDurabilityKind.DURABLE_LITERAL); addEEnumLiteral(subscriptionDurabilityKindEEnum, SubscriptionDurabilityKind.NON_DURABLE_LITERAL); initEEnum(returnTypeMappingEEnum, ReturnTypeMapping.class, "ReturnTypeMapping"); //$NON-NLS-1$ addEEnumLiteral(returnTypeMappingEEnum, ReturnTypeMapping.LOCAL_LITERAL); addEEnumLiteral(returnTypeMappingEEnum, ReturnTypeMapping.REMOTE_LITERAL); initEEnum(destinationTypeEEnum, DestinationType.class, "DestinationType"); //$NON-NLS-1$ addEEnumLiteral(destinationTypeEEnum, DestinationType.QUEUE_LITERAL); addEEnumLiteral(destinationTypeEEnum, DestinationType.TOPIC_LITERAL); initEEnum(multiplicityKindEEnum, MultiplicityKind.class, "MultiplicityKind"); //$NON-NLS-1$ addEEnumLiteral(multiplicityKindEEnum, MultiplicityKind.ONE_LITERAL); addEEnumLiteral(multiplicityKindEEnum, MultiplicityKind.MANY_LITERAL); // Create resource createResource(eNS_URI); }finally{ if( hasLock ) J2EEInit.releaseInitializePackageContentsLock(); } } @Override public void freeze() { // since EClassImpl.freeze() does a clear() on all of the subClasses, we need to protect initializePackageContents() against it. boolean hasLock = false; try { hasLock = J2EEInit.aquireInitializePackageContentsLock(); } catch (InterruptedException e) { J2EECorePlugin.logError(e); } finally { super.freeze(); if( hasLock ) J2EEInit.releaseInitializePackageContentsLock(); } } } //EjbPackageImpl