### Eclipse Workspace Patch 1.0
#P org.eclipse.jst.j2ee.core
diff --git jee-models/org/eclipse/jst/javaee/core/ConnectionFactoryResourceType.java jee-models/org/eclipse/jst/javaee/core/ConnectionFactoryResourceType.java
index 55a80ed..47bf8a7 100644
--- jee-models/org/eclipse/jst/javaee/core/ConnectionFactoryResourceType.java
+++ jee-models/org/eclipse/jst/javaee/core/ConnectionFactoryResourceType.java
@@ -33,7 +33,7 @@
*
* - {@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getDescription Description}
* - {@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getName Name}
- * - {@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getClassName Class Name}
+ * - {@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getInterfaceName Interface Name}
* - {@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getResourceAdapter Resource Adapter}
* - {@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getMaxPoolSize Max Pool Size}
* - {@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getMinPoolSize Min Pool Size}
@@ -106,33 +106,33 @@
void setName(String value);
/**
- * Returns the value of the 'Class Name' attribute.
+ * Returns the value of the 'Interface Name' attribute.
*
*
*
*
*
- * The fully qualified domain name of the connection factory
- * interface class.
+ * The fully qualified class name of the connection factory
+ * interface.
*
*
*
- * @return the value of the 'Class Name' attribute.
- * @see #setClassName(String)
- * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getConnectionFactoryResourceType_ClassName()
+ * @return the value of the 'Interface Name' attribute.
+ * @see #setInterfaceName(String)
+ * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getConnectionFactoryResourceType_InterfaceName()
* @generated
*/
- String getClassName();
+ String getInterfaceName();
/**
- * Sets the value of the '{@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getClassName Class Name}' attribute.
+ * Sets the value of the '{@link org.eclipse.jst.javaee.core.ConnectionFactoryResourceType#getInterfaceName Interface Name}' attribute.
*
*
- * @param value the new value of the 'Class Name' attribute.
- * @see #getClassName()
+ * @param value the new value of the 'Interface Name' attribute.
+ * @see #getInterfaceName()
* @generated
*/
- void setClassName(String value);
+ void setInterfaceName(String value);
/**
* Returns the value of the 'Resource Adapter' attribute.
diff --git jee-models/org/eclipse/jst/javaee/core/JmsConnectionFactoryType.java jee-models/org/eclipse/jst/javaee/core/JmsConnectionFactoryType.java
index 27ec1d5..1486369 100644
--- jee-models/org/eclipse/jst/javaee/core/JmsConnectionFactoryType.java
+++ jee-models/org/eclipse/jst/javaee/core/JmsConnectionFactoryType.java
@@ -33,6 +33,7 @@
*
* - {@link org.eclipse.jst.javaee.core.JmsConnectionFactoryType#getDescription Description}
* - {@link org.eclipse.jst.javaee.core.JmsConnectionFactoryType#getName Name}
+ * - {@link org.eclipse.jst.javaee.core.JmsConnectionFactoryType#getInterfaceName Interface Name}
* - {@link org.eclipse.jst.javaee.core.JmsConnectionFactoryType#getClassName Class Name}
* - {@link org.eclipse.jst.javaee.core.JmsConnectionFactoryType#getResourceAdapter Resource Adapter}
* - {@link org.eclipse.jst.javaee.core.JmsConnectionFactoryType#getUser User}
@@ -109,13 +110,47 @@
void setName(String value);
/**
+ * Returns the value of the 'Interface Name' attribute.
+ *
+ *
+ *
+ *
+ *
+ * Fully-qualified name of the JMS connection factory
+ * interface. Permitted values are javax.jms.ConnectionFactory,
+ * javax.jms.QueueConnectionFactory, or
+ * javax.jms.TopicConnectionFactory. If not specified,
+ * javax.jms.ConnectionFactory will be used.
+ *
+ *
+ *
+ * @return the value of the 'Interface Name' attribute.
+ * @see #setInterfaceName(String)
+ * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getJmsConnectionFactoryType_InterfaceName()
+ * @generated
+ */
+ String getInterfaceName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jst.javaee.core.JmsConnectionFactoryType#getInterfaceName Interface Name}' attribute.
+ *
+ *
+ * @param value the new value of the 'Interface Name' attribute.
+ * @see #getInterfaceName()
+ * @generated
+ */
+ void setInterfaceName(String value);
+
+ /**
* Returns the value of the 'Class Name' attribute.
*
*
*
*
*
- * javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, or javax.jms.TopicConnectionFactory
+ * Fully-qualified name of the JMS connection factory
+ * implementation class. Ignored if a resource adapter
+ * is used.
*
*
*
@@ -143,7 +178,9 @@
*
*
*
- * Resource adapter name.
+ * Resource adapter name. If not specified, the application
+ * server will define the default behavior, which may or may
+ * not involve the use of a resource adapter.
*
*
*
diff --git jee-models/org/eclipse/jst/javaee/core/JmsDestinationType.java jee-models/org/eclipse/jst/javaee/core/JmsDestinationType.java
index 0a1b40b..4da68e7 100644
--- jee-models/org/eclipse/jst/javaee/core/JmsDestinationType.java
+++ jee-models/org/eclipse/jst/javaee/core/JmsDestinationType.java
@@ -31,6 +31,7 @@
*
* - {@link org.eclipse.jst.javaee.core.JmsDestinationType#getDescription Description}
* - {@link org.eclipse.jst.javaee.core.JmsDestinationType#getName Name}
+ * - {@link org.eclipse.jst.javaee.core.JmsDestinationType#getInterfaceName Interface Name}
* - {@link org.eclipse.jst.javaee.core.JmsDestinationType#getClassName Class Name}
* - {@link org.eclipse.jst.javaee.core.JmsDestinationType#getResourceAdapter Resource Adapter}
* - {@link org.eclipse.jst.javaee.core.JmsDestinationType#getDestinationName Destination Name}
@@ -102,13 +103,45 @@
void setName(String value);
/**
+ * Returns the value of the 'Interface Name' attribute.
+ *
+ *
+ *
+ *
+ *
+ * Fully-qualified name of the JMS destination interface.
+ * Permitted values are javax.jms.Queue and javax.jms.Topic
+ *
+ *
+ *
+ * @return the value of the 'Interface Name' attribute.
+ * @see #setInterfaceName(String)
+ * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getJmsDestinationType_InterfaceName()
+ * @generated
+ */
+ String getInterfaceName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jst.javaee.core.JmsDestinationType#getInterfaceName Interface Name}' attribute.
+ *
+ *
+ * @param value the new value of the 'Interface Name' attribute.
+ * @see #getInterfaceName()
+ * @generated
+ */
+ void setInterfaceName(String value);
+
+ /**
* Returns the value of the 'Class Name' attribute.
*
*
*
*
*
- * javax.jms.Queue or javax.jms.Topic
+ * Fully-qualified name of the JMS destination implementation
+ * class. Ignored if a resource adapter is used unless the
+ * resource adapter defines more than one destination implementation
+ * class for the specified interface.
*
*
*
@@ -136,7 +169,9 @@
*
*
*
- * Resource adapter name.
+ * Resource adapter name. If not specified, the application
+ * server will define the default behavior, which may or may
+ * not involve the use of a resource adapter.
*
*
*
diff --git jee-models/org/eclipse/jst/javaee/core/internal/impl/ConnectionFactoryResourceTypeImpl.java jee-models/org/eclipse/jst/javaee/core/internal/impl/ConnectionFactoryResourceTypeImpl.java
index c2acf97..0dd606c 100644
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/ConnectionFactoryResourceTypeImpl.java
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/ConnectionFactoryResourceTypeImpl.java
@@ -37,7 +37,7 @@
*
* - {@link org.eclipse.jst.javaee.core.internal.impl.ConnectionFactoryResourceTypeImpl#getDescription Description}
* - {@link org.eclipse.jst.javaee.core.internal.impl.ConnectionFactoryResourceTypeImpl#getName Name}
- * - {@link org.eclipse.jst.javaee.core.internal.impl.ConnectionFactoryResourceTypeImpl#getClassName Class Name}
+ * - {@link org.eclipse.jst.javaee.core.internal.impl.ConnectionFactoryResourceTypeImpl#getInterfaceName Interface Name}
* - {@link org.eclipse.jst.javaee.core.internal.impl.ConnectionFactoryResourceTypeImpl#getResourceAdapter Resource Adapter}
* - {@link org.eclipse.jst.javaee.core.internal.impl.ConnectionFactoryResourceTypeImpl#getMaxPoolSize Max Pool Size}
* - {@link org.eclipse.jst.javaee.core.internal.impl.ConnectionFactoryResourceTypeImpl#getMinPoolSize Min Pool Size}
@@ -81,24 +81,24 @@
protected String name = NAME_EDEFAULT;
/**
- * The default value of the '{@link #getClassName() Class Name}' attribute.
+ * The default value of the '{@link #getInterfaceName() Interface Name}' attribute.
*
*
- * @see #getClassName()
+ * @see #getInterfaceName()
* @generated
* @ordered
*/
- protected static final String CLASS_NAME_EDEFAULT = null;
+ protected static final String INTERFACE_NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getClassName() Class Name}' attribute.
+ * The cached value of the '{@link #getInterfaceName() Interface Name}' attribute.
*
*
- * @see #getClassName()
+ * @see #getInterfaceName()
* @generated
* @ordered
*/
- protected String className = CLASS_NAME_EDEFAULT;
+ protected String interfaceName = INTERFACE_NAME_EDEFAULT;
/**
* The default value of the '{@link #getResourceAdapter() Resource Adapter}' attribute.
@@ -307,8 +307,8 @@
*
* @generated
*/
- public String getClassName() {
- return className;
+ public String getInterfaceName() {
+ return interfaceName;
}
/**
@@ -316,11 +316,11 @@
*
* @generated
*/
- public void setClassName(String newClassName) {
- String oldClassName = className;
- className = newClassName;
+ public void setInterfaceName(String newInterfaceName) {
+ String oldInterfaceName = interfaceName;
+ interfaceName = newInterfaceName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__CLASS_NAME, oldClassName, className));
+ eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__INTERFACE_NAME, oldInterfaceName, interfaceName));
}
/**
@@ -493,8 +493,8 @@
return getDescription();
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__NAME:
return getName();
- case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__CLASS_NAME:
- return getClassName();
+ case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__INTERFACE_NAME:
+ return getInterfaceName();
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__RESOURCE_ADAPTER:
return getResourceAdapter();
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__MAX_POOL_SIZE:
@@ -526,8 +526,8 @@
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__NAME:
setName((String)newValue);
return;
- case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__CLASS_NAME:
- setClassName((String)newValue);
+ case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__INTERFACE_NAME:
+ setInterfaceName((String)newValue);
return;
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__RESOURCE_ADAPTER:
setResourceAdapter((String)newValue);
@@ -566,8 +566,8 @@
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__NAME:
setName(NAME_EDEFAULT);
return;
- case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__CLASS_NAME:
- setClassName(CLASS_NAME_EDEFAULT);
+ case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__INTERFACE_NAME:
+ setInterfaceName(INTERFACE_NAME_EDEFAULT);
return;
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__RESOURCE_ADAPTER:
setResourceAdapter(RESOURCE_ADAPTER_EDEFAULT);
@@ -603,8 +603,8 @@
return description != null;
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__CLASS_NAME:
- return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
+ case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__INTERFACE_NAME:
+ return INTERFACE_NAME_EDEFAULT == null ? interfaceName != null : !INTERFACE_NAME_EDEFAULT.equals(interfaceName);
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__RESOURCE_ADAPTER:
return RESOURCE_ADAPTER_EDEFAULT == null ? resourceAdapter != null : !RESOURCE_ADAPTER_EDEFAULT.equals(resourceAdapter);
case JavaeePackage.CONNECTION_FACTORY_RESOURCE_TYPE__MAX_POOL_SIZE:
@@ -633,8 +633,8 @@
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: "); //$NON-NLS-1$
result.append(name);
- result.append(", className: "); //$NON-NLS-1$
- result.append(className);
+ result.append(", interfaceName: "); //$NON-NLS-1$
+ result.append(interfaceName);
result.append(", resourceAdapter: "); //$NON-NLS-1$
result.append(resourceAdapter);
result.append(", maxPoolSize: "); //$NON-NLS-1$
diff --git jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java
index cb3fe25..1e07259 100644
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java
@@ -843,7 +843,7 @@
*
* @generated
*/
- public EAttribute getConnectionFactoryResourceType_ClassName() {
+ public EAttribute getConnectionFactoryResourceType_InterfaceName() {
return (EAttribute)connectionFactoryResourceTypeEClass.getEStructuralFeatures().get(2);
}
@@ -1536,7 +1536,7 @@
*
* @generated
*/
- public EAttribute getJmsConnectionFactoryType_ClassName() {
+ public EAttribute getJmsConnectionFactoryType_InterfaceName() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(2);
}
@@ -1545,7 +1545,7 @@
*
* @generated
*/
- public EAttribute getJmsConnectionFactoryType_ResourceAdapter() {
+ public EAttribute getJmsConnectionFactoryType_ClassName() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(3);
}
@@ -1554,7 +1554,7 @@
*
* @generated
*/
- public EAttribute getJmsConnectionFactoryType_User() {
+ public EAttribute getJmsConnectionFactoryType_ResourceAdapter() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(4);
}
@@ -1563,7 +1563,7 @@
*
* @generated
*/
- public EAttribute getJmsConnectionFactoryType_Password() {
+ public EAttribute getJmsConnectionFactoryType_User() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(5);
}
@@ -1572,7 +1572,7 @@
*
* @generated
*/
- public EAttribute getJmsConnectionFactoryType_ClientId() {
+ public EAttribute getJmsConnectionFactoryType_Password() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(6);
}
@@ -1581,8 +1581,17 @@
*
* @generated
*/
+ public EAttribute getJmsConnectionFactoryType_ClientId() {
+ return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
public EReference getJmsConnectionFactoryType_Property() {
- return (EReference)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(7);
+ return (EReference)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(8);
}
/**
@@ -1591,15 +1600,6 @@
* @generated
*/
public EAttribute getJmsConnectionFactoryType_Transactional() {
- return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getJmsConnectionFactoryType_MaxPoolSize() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(9);
}
@@ -1608,7 +1608,7 @@
*
* @generated
*/
- public EAttribute getJmsConnectionFactoryType_MinPoolSize() {
+ public EAttribute getJmsConnectionFactoryType_MaxPoolSize() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(10);
}
@@ -1617,8 +1617,17 @@
*
* @generated
*/
- public EAttribute getJmsConnectionFactoryType_Id() {
+ public EAttribute getJmsConnectionFactoryType_MinPoolSize() {
return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getJmsConnectionFactoryType_Id() {
+ return (EAttribute)jmsConnectionFactoryTypeEClass.getEStructuralFeatures().get(12);
}
/**
@@ -1653,7 +1662,7 @@
*
* @generated
*/
- public EAttribute getJmsDestinationType_ClassName() {
+ public EAttribute getJmsDestinationType_InterfaceName() {
return (EAttribute)jmsDestinationTypeEClass.getEStructuralFeatures().get(2);
}
@@ -1662,7 +1671,7 @@
*
* @generated
*/
- public EAttribute getJmsDestinationType_ResourceAdapter() {
+ public EAttribute getJmsDestinationType_ClassName() {
return (EAttribute)jmsDestinationTypeEClass.getEStructuralFeatures().get(3);
}
@@ -1671,7 +1680,7 @@
*
* @generated
*/
- public EAttribute getJmsDestinationType_DestinationName() {
+ public EAttribute getJmsDestinationType_ResourceAdapter() {
return (EAttribute)jmsDestinationTypeEClass.getEStructuralFeatures().get(4);
}
@@ -1680,8 +1689,17 @@
*
* @generated
*/
+ public EAttribute getJmsDestinationType_DestinationName() {
+ return (EAttribute)jmsDestinationTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
public EReference getJmsDestinationType_Property() {
- return (EReference)jmsDestinationTypeEClass.getEStructuralFeatures().get(5);
+ return (EReference)jmsDestinationTypeEClass.getEStructuralFeatures().get(6);
}
/**
@@ -1690,7 +1708,7 @@
* @generated
*/
public EAttribute getJmsDestinationType_Id() {
- return (EAttribute)jmsDestinationTypeEClass.getEStructuralFeatures().get(6);
+ return (EAttribute)jmsDestinationTypeEClass.getEStructuralFeatures().get(7);
}
/**
@@ -3439,7 +3457,7 @@
connectionFactoryResourceTypeEClass = createEClass(CONNECTION_FACTORY_RESOURCE_TYPE);
createEReference(connectionFactoryResourceTypeEClass, CONNECTION_FACTORY_RESOURCE_TYPE__DESCRIPTION);
createEAttribute(connectionFactoryResourceTypeEClass, CONNECTION_FACTORY_RESOURCE_TYPE__NAME);
- createEAttribute(connectionFactoryResourceTypeEClass, CONNECTION_FACTORY_RESOURCE_TYPE__CLASS_NAME);
+ createEAttribute(connectionFactoryResourceTypeEClass, CONNECTION_FACTORY_RESOURCE_TYPE__INTERFACE_NAME);
createEAttribute(connectionFactoryResourceTypeEClass, CONNECTION_FACTORY_RESOURCE_TYPE__RESOURCE_ADAPTER);
createEAttribute(connectionFactoryResourceTypeEClass, CONNECTION_FACTORY_RESOURCE_TYPE__MAX_POOL_SIZE);
createEAttribute(connectionFactoryResourceTypeEClass, CONNECTION_FACTORY_RESOURCE_TYPE__MIN_POOL_SIZE);
@@ -3526,6 +3544,7 @@
jmsConnectionFactoryTypeEClass = createEClass(JMS_CONNECTION_FACTORY_TYPE);
createEReference(jmsConnectionFactoryTypeEClass, JMS_CONNECTION_FACTORY_TYPE__DESCRIPTION);
createEAttribute(jmsConnectionFactoryTypeEClass, JMS_CONNECTION_FACTORY_TYPE__NAME);
+ createEAttribute(jmsConnectionFactoryTypeEClass, JMS_CONNECTION_FACTORY_TYPE__INTERFACE_NAME);
createEAttribute(jmsConnectionFactoryTypeEClass, JMS_CONNECTION_FACTORY_TYPE__CLASS_NAME);
createEAttribute(jmsConnectionFactoryTypeEClass, JMS_CONNECTION_FACTORY_TYPE__RESOURCE_ADAPTER);
createEAttribute(jmsConnectionFactoryTypeEClass, JMS_CONNECTION_FACTORY_TYPE__USER);
@@ -3540,6 +3559,7 @@
jmsDestinationTypeEClass = createEClass(JMS_DESTINATION_TYPE);
createEReference(jmsDestinationTypeEClass, JMS_DESTINATION_TYPE__DESCRIPTION);
createEAttribute(jmsDestinationTypeEClass, JMS_DESTINATION_TYPE__NAME);
+ createEAttribute(jmsDestinationTypeEClass, JMS_DESTINATION_TYPE__INTERFACE_NAME);
createEAttribute(jmsDestinationTypeEClass, JMS_DESTINATION_TYPE__CLASS_NAME);
createEAttribute(jmsDestinationTypeEClass, JMS_DESTINATION_TYPE__RESOURCE_ADAPTER);
createEAttribute(jmsDestinationTypeEClass, JMS_DESTINATION_TYPE__DESTINATION_NAME);
@@ -3820,7 +3840,7 @@
initEClass(connectionFactoryResourceTypeEClass, ConnectionFactoryResourceType.class, "ConnectionFactoryResourceType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(getConnectionFactoryResourceType_Description(), this.getDescription(), null, "description", null, 0, 1, ConnectionFactoryResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getConnectionFactoryResourceType_Name(), this.getJNDIName(), "name", null, 1, 1, ConnectionFactoryResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEAttribute(getConnectionFactoryResourceType_ClassName(), this.getFullyQualifiedClassType(), "className", null, 1, 1, ConnectionFactoryResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(getConnectionFactoryResourceType_InterfaceName(), this.getFullyQualifiedClassType(), "interfaceName", null, 1, 1, ConnectionFactoryResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getConnectionFactoryResourceType_ResourceAdapter(), theXMLTypePackage.getToken(), "resourceAdapter", null, 1, 1, ConnectionFactoryResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getConnectionFactoryResourceType_MaxPoolSize(), theXMLTypePackage.getInteger(), "maxPoolSize", null, 0, 1, ConnectionFactoryResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getConnectionFactoryResourceType_MinPoolSize(), theXMLTypePackage.getInteger(), "minPoolSize", null, 0, 1, ConnectionFactoryResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
@@ -3907,6 +3927,7 @@
initEClass(jmsConnectionFactoryTypeEClass, JmsConnectionFactoryType.class, "JmsConnectionFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(getJmsConnectionFactoryType_Description(), this.getDescription(), null, "description", null, 0, 1, JmsConnectionFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsConnectionFactoryType_Name(), this.getJNDIName(), "name", null, 1, 1, JmsConnectionFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(getJmsConnectionFactoryType_InterfaceName(), this.getFullyQualifiedClassType(), "interfaceName", null, 0, 1, JmsConnectionFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsConnectionFactoryType_ClassName(), this.getFullyQualifiedClassType(), "className", null, 0, 1, JmsConnectionFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsConnectionFactoryType_ResourceAdapter(), theXMLTypePackage.getToken(), "resourceAdapter", null, 0, 1, JmsConnectionFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsConnectionFactoryType_User(), theXMLTypePackage.getToken(), "user", null, 0, 1, JmsConnectionFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
@@ -3921,6 +3942,7 @@
initEClass(jmsDestinationTypeEClass, JmsDestinationType.class, "JmsDestinationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(getJmsDestinationType_Description(), this.getDescription(), null, "description", null, 0, 1, JmsDestinationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsDestinationType_Name(), this.getJNDIName(), "name", null, 1, 1, JmsDestinationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(getJmsDestinationType_InterfaceName(), this.getFullyQualifiedClassType(), "interfaceName", null, 1, 1, JmsDestinationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsDestinationType_ClassName(), this.getFullyQualifiedClassType(), "className", null, 0, 1, JmsDestinationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsDestinationType_ResourceAdapter(), theXMLTypePackage.getToken(), "resourceAdapter", null, 0, 1, JmsDestinationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getJmsDestinationType_DestinationName(), theXMLTypePackage.getToken(), "destinationName", null, 0, 1, JmsDestinationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
@@ -4182,7 +4204,7 @@
// Create annotations
// http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
+ createExtendedMetaDataAnnotations();
}finally{
if( hasLock )
J2EEInit.releaseInitializePackageContentsLock();
@@ -4327,11 +4349,11 @@
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
- (getConnectionFactoryResourceType_ClassName(),
+ (getConnectionFactoryResourceType_InterfaceName(),
source,
new String[] {
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
- "name", "class-name", //$NON-NLS-1$ //$NON-NLS-2$
+ "name", "interface-name", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
@@ -5026,6 +5048,14 @@
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
+ (getJmsConnectionFactoryType_InterfaceName(),
+ source,
+ new String[] {
+ "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
+ "name", "interface-name", //$NON-NLS-1$ //$NON-NLS-2$
+ "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
+ });
+ addAnnotation
(getJmsConnectionFactoryType_ClassName(),
source,
new String[] {
@@ -5128,6 +5158,14 @@
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
+ (getJmsDestinationType_InterfaceName(),
+ source,
+ new String[] {
+ "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
+ "name", "interface-name", //$NON-NLS-1$ //$NON-NLS-2$
+ "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
+ });
+ addAnnotation
(getJmsDestinationType_ClassName(),
source,
new String[] {
diff --git jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsConnectionFactoryTypeImpl.java jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsConnectionFactoryTypeImpl.java
index b7faf0b..9087ae7 100644
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsConnectionFactoryTypeImpl.java
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsConnectionFactoryTypeImpl.java
@@ -44,6 +44,7 @@
*
* - {@link org.eclipse.jst.javaee.core.internal.impl.JmsConnectionFactoryTypeImpl#getDescription Description}
* - {@link org.eclipse.jst.javaee.core.internal.impl.JmsConnectionFactoryTypeImpl#getName Name}
+ * - {@link org.eclipse.jst.javaee.core.internal.impl.JmsConnectionFactoryTypeImpl#getInterfaceName Interface Name}
* - {@link org.eclipse.jst.javaee.core.internal.impl.JmsConnectionFactoryTypeImpl#getClassName Class Name}
* - {@link org.eclipse.jst.javaee.core.internal.impl.JmsConnectionFactoryTypeImpl#getResourceAdapter Resource Adapter}
* - {@link org.eclipse.jst.javaee.core.internal.impl.JmsConnectionFactoryTypeImpl#getUser User}
@@ -89,6 +90,26 @@
* @ordered
*/
protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getInterfaceName() Interface Name}' attribute.
+ *
+ *
+ * @see #getInterfaceName()
+ * @generated
+ * @ordered
+ */
+ protected static final String INTERFACE_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getInterfaceName() Interface Name}' attribute.
+ *
+ *
+ * @see #getInterfaceName()
+ * @generated
+ * @ordered
+ */
+ protected String interfaceName = INTERFACE_NAME_EDEFAULT;
/**
* The default value of the '{@link #getClassName() Class Name}' attribute.
@@ -377,6 +398,27 @@
*
* @generated
*/
+ public String getInterfaceName() {
+ return interfaceName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setInterfaceName(String newInterfaceName) {
+ String oldInterfaceName = interfaceName;
+ interfaceName = newInterfaceName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__INTERFACE_NAME, oldInterfaceName, interfaceName));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
public String getClassName() {
return className;
}
@@ -626,6 +668,8 @@
return getDescription();
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__NAME:
return getName();
+ case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__INTERFACE_NAME:
+ return getInterfaceName();
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__CLASS_NAME:
return getClassName();
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__RESOURCE_ADAPTER:
@@ -664,6 +708,9 @@
return;
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__NAME:
setName((String)newValue);
+ return;
+ case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__INTERFACE_NAME:
+ setInterfaceName((String)newValue);
return;
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__CLASS_NAME:
setClassName((String)newValue);
@@ -714,6 +761,9 @@
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__NAME:
setName(NAME_EDEFAULT);
return;
+ case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__INTERFACE_NAME:
+ setInterfaceName(INTERFACE_NAME_EDEFAULT);
+ return;
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__CLASS_NAME:
setClassName(CLASS_NAME_EDEFAULT);
return;
@@ -760,6 +810,8 @@
return description != null;
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__INTERFACE_NAME:
+ return INTERFACE_NAME_EDEFAULT == null ? interfaceName != null : !INTERFACE_NAME_EDEFAULT.equals(interfaceName);
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__CLASS_NAME:
return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
case JavaeePackage.JMS_CONNECTION_FACTORY_TYPE__RESOURCE_ADAPTER:
@@ -796,6 +848,8 @@
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: "); //$NON-NLS-1$
result.append(name);
+ result.append(", interfaceName: "); //$NON-NLS-1$
+ result.append(interfaceName);
result.append(", className: "); //$NON-NLS-1$
result.append(className);
result.append(", resourceAdapter: "); //$NON-NLS-1$
diff --git jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsDestinationTypeImpl.java jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsDestinationTypeImpl.java
index 3145aa7..98757dd 100644
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsDestinationTypeImpl.java
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/JmsDestinationTypeImpl.java
@@ -42,6 +42,7 @@
*