### Eclipse Workspace Patch 1.0
#P org.eclipse.jst.j2ee.core
Index: jee-models/org/eclipse/jst/javaee/ejb/InterceptorsType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/InterceptorsType.java,v
retrieving revision 1.3
diff -u -r1.3 InterceptorsType.java
--- jee-models/org/eclipse/jst/javaee/ejb/InterceptorsType.java 15 Oct 2009 18:52:01 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/ejb/InterceptorsType.java 13 Jan 2010 17:57:30 -0000
@@ -24,7 +24,7 @@
*
*
* The interceptorsType element declares one or more interceptor
- * classes used by components within this ejb-jar. The declaration
+ * classes used by components within this ejb-jar or .war. The declaration
* consists of :
*
* - An optional description.
Index: jee-models/org/eclipse/jst/javaee/ejb/StatefulTimeoutType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/StatefulTimeoutType.java,v
retrieving revision 1.2
diff -u -r1.2 StatefulTimeoutType.java
--- jee-models/org/eclipse/jst/javaee/ejb/StatefulTimeoutType.java 16 Oct 2009 03:33:21 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/ejb/StatefulTimeoutType.java 13 Jan 2010 17:57:30 -0000
@@ -26,6 +26,10 @@
* a stateful session bean can be idle(not receive any client
* invocations) before it is eligible for removal by the container.
*
+ * A timeout value of 0 means the bean is immediately eligible for removal.
+ *
+ * A timeout value of -1 means the bean will never be removed due to timeout.
+ *
* @since Java EE 6, EJB 3.1
*
*
Index: jee-models/org/eclipse/jst/javaee/ejb/AccessTimeoutType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/AccessTimeoutType.java,v
retrieving revision 1.2
diff -u -r1.2 AccessTimeoutType.java
--- jee-models/org/eclipse/jst/javaee/ejb/AccessTimeoutType.java 16 Oct 2009 03:33:21 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/ejb/AccessTimeoutType.java 13 Jan 2010 17:57:30 -0000
@@ -27,6 +27,10 @@
* a concurrency lock before throwing a timeout exception to the
* client.
*
+ * A timeout value of 0 means concurrent access is not permitted.
+ *
+ * A timeout value of -1 means wait indefinitely to acquire a lock.
+ *
* @since Java EE 6, EJB 3.1
*
*
Index: jee-models/org/eclipse/jst/javaee/ejb/AsyncMethodType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/AsyncMethodType.java,v
retrieving revision 1.2
diff -u -r1.2 AsyncMethodType.java
--- jee-models/org/eclipse/jst/javaee/ejb/AsyncMethodType.java 16 Oct 2009 03:33:21 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/ejb/AsyncMethodType.java 13 Jan 2010 17:57:30 -0000
@@ -23,10 +23,6 @@
* The async-methodType element specifies that a session
* bean method has asynchronous invocation semantics.
*
- * The optional method-intf element constrains the async
- * method behavior to the client views of the given method-intf
- * type. This value must be either Remote or Local.
- *
* @since Java EE 6, EJB 3.1
*
*
@@ -36,7 +32,6 @@
*
* - {@link org.eclipse.jst.javaee.ejb.AsyncMethodType#getMethodName Method Name}
* - {@link org.eclipse.jst.javaee.ejb.AsyncMethodType#getMethodParams Method Params}
- * - {@link org.eclipse.jst.javaee.ejb.AsyncMethodType#getMethodIntf Method Intf}
* - {@link org.eclipse.jst.javaee.ejb.AsyncMethodType#getId Id}
*
*
@@ -97,61 +92,6 @@
void setMethodParams(MethodParams value);
/**
- * Returns the value of the 'Method Intf' attribute.
- * The literals are from the enumeration {@link org.eclipse.jst.javaee.ejb.MethodInterfaceType}.
- *
- *
- * If the meaning of the 'Method Intf' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Method Intf' attribute.
- * @see org.eclipse.jst.javaee.ejb.MethodInterfaceType
- * @see #isSetMethodIntf()
- * @see #unsetMethodIntf()
- * @see #setMethodIntf(MethodInterfaceType)
- * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getAsyncMethodType_MethodIntf()
- * @generated
- */
- MethodInterfaceType getMethodIntf();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.javaee.ejb.AsyncMethodType#getMethodIntf Method Intf}' attribute.
- *
- *
- * @param value the new value of the 'Method Intf' attribute.
- * @see org.eclipse.jst.javaee.ejb.MethodInterfaceType
- * @see #isSetMethodIntf()
- * @see #unsetMethodIntf()
- * @see #getMethodIntf()
- * @generated
- */
- void setMethodIntf(MethodInterfaceType value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.jst.javaee.ejb.AsyncMethodType#getMethodIntf Method Intf}' attribute.
- *
- *
- * @see #isSetMethodIntf()
- * @see #getMethodIntf()
- * @see #setMethodIntf(MethodInterfaceType)
- * @generated
- */
- void unsetMethodIntf();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.jst.javaee.ejb.AsyncMethodType#getMethodIntf Method Intf}' attribute is set.
- *
- *
- * @return whether the value of the 'Method Intf' attribute is set.
- * @see #unsetMethodIntf()
- * @see #getMethodIntf()
- * @see #setMethodIntf(MethodInterfaceType)
- * @generated
- */
- boolean isSetMethodIntf();
-
- /**
* Returns the value of the 'Id' attribute.
*
*
Index: jee-models/org/eclipse/jst/javaee/ejb/EJBJar.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/EJBJar.java,v
retrieving revision 1.3
diff -u -r1.3 EJBJar.java
--- jee-models/org/eclipse/jst/javaee/ejb/EJBJar.java 15 Oct 2009 18:52:02 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/ejb/EJBJar.java 13 Jan 2010 17:57:30 -0000
@@ -34,6 +34,8 @@
* icon file name
* - an optional module name. Only applicable to
* stand-alone ejb-jars or ejb-jars packaged in an ear.
+ * Ignored if specified for an ejb-jar.xml within a .war.
+ * In that case, standard .war module-name rules apply.
* - structural information about all included
* enterprise beans that is not specified through
* annotations
@@ -51,10 +53,10 @@
*
* The following features are supported:
*
+ * - {@link org.eclipse.jst.javaee.ejb.EJBJar#getModuleName Module Name}
* - {@link org.eclipse.jst.javaee.ejb.EJBJar#getDescriptions Descriptions}
* - {@link org.eclipse.jst.javaee.ejb.EJBJar#getDisplayNames Display Names}
* - {@link org.eclipse.jst.javaee.ejb.EJBJar#getIcons Icons}
- * - {@link org.eclipse.jst.javaee.ejb.EJBJar#getModuleName Module Name}
* - {@link org.eclipse.jst.javaee.ejb.EJBJar#getEnterpriseBeans Enterprise Beans}
* - {@link org.eclipse.jst.javaee.ejb.EJBJar#getInterceptors Interceptors}
* - {@link org.eclipse.jst.javaee.ejb.EJBJar#getRelationships Relationships}
@@ -225,7 +227,7 @@
*
*
* Providing an assembly-descriptor in the deployment
- * descriptor is optional for the ejb-jar file
+ * descriptor is optional for the ejb-jar or .war file
* producer.
*
* @since Java EE 5, EJB 3.0
Index: jee-models/org/eclipse/jst/javaee/ejb/AssemblyDescriptor.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/AssemblyDescriptor.java,v
retrieving revision 1.3
diff -u -r1.3 AssemblyDescriptor.java
--- jee-models/org/eclipse/jst/javaee/ejb/AssemblyDescriptor.java 15 Oct 2009 18:52:01 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/ejb/AssemblyDescriptor.java 13 Jan 2010 17:57:30 -0000
@@ -40,7 +40,7 @@
* omitted if the lists represented by them are empty.
*
* Providing an assembly-descriptor in the deployment
- * descriptor is optional for the ejb-jar file producer.
+ * descriptor is optional for the ejb-jar or .war file producer.
*
* @since Java EE 5, EJB 3.0
*
Index: jee-models/org/eclipse/jst/javaee/ejb/ConcurrencyManagementTypeType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/ConcurrencyManagementTypeType.java,v
retrieving revision 1.2
diff -u -r1.2 ConcurrencyManagementTypeType.java
--- jee-models/org/eclipse/jst/javaee/ejb/ConcurrencyManagementTypeType.java 16 Oct 2009 03:33:21 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/ejb/ConcurrencyManagementTypeType.java 13 Jan 2010 17:57:30 -0000
@@ -31,7 +31,6 @@
*
* Bean
* Container
- * NotAllowed
*
* Bean managed concurrency can only be specified for a singleton bean.
*
@@ -60,17 +59,7 @@
* @generated
* @ordered
*/
- CONTAINER(1, "Container", "Container"), //$NON-NLS-1$ //$NON-NLS-2$
-
- /**
- * The 'Not Allowed' literal object.
- *
- *
- * @see #NOT_ALLOWED_VALUE
- * @generated
- * @ordered
- */
- NOT_ALLOWED(2, "NotAllowed", "NotAllowed"); //$NON-NLS-1$ //$NON-NLS-2$
+ CONTAINER(1, "Container", "Container"); //$NON-NLS-1$ //$NON-NLS-2$
/**
* The 'Bean' literal value.
@@ -101,20 +90,6 @@
public static final int CONTAINER_VALUE = 1;
/**
- * The 'Not Allowed' literal value.
- *
- *
- * If the meaning of 'Not Allowed' literal object isn't clear,
- * there really should be more of a description here...
- *
- *
- * @see #NOT_ALLOWED
- * @generated
- * @ordered
- */
- public static final int NOT_ALLOWED_VALUE = 2;
-
- /**
* An array of all the 'Concurrency Management Type Type' enumerators.
*
*
@@ -124,7 +99,6 @@
new ConcurrencyManagementTypeType[] {
BEAN,
CONTAINER,
- NOT_ALLOWED,
};
/**
@@ -177,7 +151,6 @@
switch (value) {
case BEAN_VALUE: return BEAN;
case CONTAINER_VALUE: return CONTAINER;
- case NOT_ALLOWED_VALUE: return NOT_ALLOWED;
}
return null;
}
Index: jee-models/org/eclipse/jst/javaee/ejb/InterceptorBindingType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/ejb/InterceptorBindingType.java,v
retrieving revision 1.3
diff -u -r1.3 InterceptorBindingType.java
--- jee-models/org/eclipse/jst/javaee/ejb/InterceptorBindingType.java 15 Oct 2009 18:52:02 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/ejb/InterceptorBindingType.java 13 Jan 2010 17:57:30 -0000
@@ -24,13 +24,13 @@
*
*
Index: jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java,v
retrieving revision 1.2
diff -u -r1.2 DataSourceTypeImpl.java
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java 16 Oct 2009 03:33:22 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java 13 Jan 2010 17:57:28 -0000
@@ -305,7 +305,7 @@
* @generated
* @ordered
*/
- protected static final IsolationLevelType ISOLATION_LEVEL_EDEFAULT = IsolationLevelType.TRANSACTIONNONE;
+ protected static final IsolationLevelType ISOLATION_LEVEL_EDEFAULT = IsolationLevelType.TRANSACTIONREADUNCOMMITTED;
/**
* The cached value of the '{@link #getIsolationLevel() Isolation Level}' attribute.
Index: jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java,v
retrieving revision 1.4
diff -u -r1.4 MessageDestinationImpl.java
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java 15 Oct 2009 18:52:02 -0000 1.4
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java 13 Jan 2010 17:57:29 -0000
@@ -46,6 +46,7 @@
* - {@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getIcons Icons}
* - {@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getMessageDestinationName Message Destination Name}
* - {@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getMappedName Mapped Name}
+ * - {@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getLookupName Lookup Name}
* - {@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getId Id}
*
*
@@ -124,6 +125,26 @@
protected String mappedName = MAPPED_NAME_EDEFAULT;
/**
+ * The default value of the '{@link #getLookupName() Lookup Name}' attribute.
+ *
+ *
+ * @see #getLookupName()
+ * @generated
+ * @ordered
+ */
+ protected static final String LOOKUP_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLookupName() Lookup Name}' attribute.
+ *
+ *
+ * @see #getLookupName()
+ * @generated
+ * @ordered
+ */
+ protected String lookupName = LOOKUP_NAME_EDEFAULT;
+
+ /**
* The default value of the '{@link #getId() Id}' attribute.
*
*
@@ -245,6 +266,27 @@
*
* @generated
*/
+ public String getLookupName() {
+ return lookupName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setLookupName(String newLookupName) {
+ String oldLookupName = lookupName;
+ lookupName = newLookupName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME, oldLookupName, lookupName));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
public String getId() {
return id;
}
@@ -297,6 +339,8 @@
return getMessageDestinationName();
case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME:
return getMappedName();
+ case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME:
+ return getLookupName();
case JavaeePackage.MESSAGE_DESTINATION__ID:
return getId();
}
@@ -330,6 +374,9 @@
case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME:
setMappedName((String)newValue);
return;
+ case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME:
+ setLookupName((String)newValue);
+ return;
case JavaeePackage.MESSAGE_DESTINATION__ID:
setId((String)newValue);
return;
@@ -360,6 +407,9 @@
case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME:
setMappedName(MAPPED_NAME_EDEFAULT);
return;
+ case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME:
+ setLookupName(LOOKUP_NAME_EDEFAULT);
+ return;
case JavaeePackage.MESSAGE_DESTINATION__ID:
setId(ID_EDEFAULT);
return;
@@ -385,6 +435,8 @@
return MESSAGE_DESTINATION_NAME_EDEFAULT == null ? messageDestinationName != null : !MESSAGE_DESTINATION_NAME_EDEFAULT.equals(messageDestinationName);
case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME:
return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
+ case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME:
+ return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
case JavaeePackage.MESSAGE_DESTINATION__ID:
return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
}
@@ -405,6 +457,8 @@
result.append(messageDestinationName);
result.append(", mappedName: "); //$NON-NLS-1$
result.append(mappedName);
+ result.append(", lookupName: "); //$NON-NLS-1$
+ result.append(lookupName);
result.append(", id: "); //$NON-NLS-1$
result.append(id);
result.append(')');
Index: jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java,v
retrieving revision 1.5
diff -u -r1.5 ServiceRefImpl.java
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java 15 Oct 2009 18:52:02 -0000 1.5
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java 13 Jan 2010 17:57:29 -0000
@@ -748,7 +748,7 @@
setJaxrpcMappingFile((String)newValue);
return;
case JavaeePackage.SERVICE_REF__SERVICE_QNAME:
- setServiceQname((QName)newValue);
+ setServiceQname(newValue);
return;
case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS:
getPortComponentRefs().clear();
Index: jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java,v
retrieving revision 1.3
diff -u -r1.3 JavaeePackageImpl.java
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java 15 Oct 2009 18:52:02 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java 13 Jan 2010 17:57:29 -0000
@@ -1465,7 +1465,7 @@
*
* @generated
*/
- public EAttribute getMessageDestination_Id() {
+ public EAttribute getMessageDestination_LookupName() {
return (EAttribute)messageDestinationEClass.getEStructuralFeatures().get(5);
}
@@ -1474,6 +1474,15 @@
*
* @generated
*/
+ public EAttribute getMessageDestination_Id() {
+ return (EAttribute)messageDestinationEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
public EClass getMessageDestinationRef() {
return messageDestinationRefEClass;
}
@@ -1681,17 +1690,8 @@
*
* @generated
*/
- public EAttribute getPersistenceContextRef_LookupName() {
- return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- *
- *
- * @generated
- */
public EAttribute getPersistenceContextRef_Id() {
- return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(8);
+ return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(7);
}
/**
@@ -1753,17 +1753,8 @@
*
* @generated
*/
- public EAttribute getPersistenceUnitRef_LookupName() {
- return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- *
- *
- * @generated
- */
public EAttribute getPersistenceUnitRef_Id() {
- return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(6);
+ return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(5);
}
/**
@@ -2999,6 +2990,7 @@
createEReference(messageDestinationEClass, MESSAGE_DESTINATION__ICONS);
createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME);
createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__MAPPED_NAME);
+ createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__LOOKUP_NAME);
createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__ID);
messageDestinationRefEClass = createEClass(MESSAGE_DESTINATION_REF);
@@ -3026,7 +3018,6 @@
createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES);
createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__MAPPED_NAME);
createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS);
- createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__LOOKUP_NAME);
createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__ID);
persistenceUnitRefEClass = createEClass(PERSISTENCE_UNIT_REF);
@@ -3035,7 +3026,6 @@
createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME);
createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__MAPPED_NAME);
createEReference(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__INJECTION_TARGETS);
- createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__LOOKUP_NAME);
createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__ID);
portComponentRefEClass = createEClass(PORT_COMPONENT_REF);
@@ -3311,6 +3301,7 @@
initEReference(getMessageDestination_Icons(), this.getIcon(), null, "icons", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getMessageDestination_MessageDestinationName(), theXMLTypePackage.getToken(), "messageDestinationName", null, 1, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getMessageDestination_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(getMessageDestination_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getMessageDestination_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(messageDestinationRefEClass, MessageDestinationRef.class, "MessageDestinationRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
@@ -3338,7 +3329,6 @@
initEReference(getPersistenceContextRef_PersistenceProperties(), this.getPropertyType(), null, "persistenceProperties", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getPersistenceContextRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getPersistenceContextRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEAttribute(getPersistenceContextRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getPersistenceContextRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(persistenceUnitRefEClass, PersistenceUnitRef.class, "PersistenceUnitRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
@@ -3347,7 +3337,6 @@
initEAttribute(getPersistenceUnitRef_PersistenceUnitName(), theXMLTypePackage.getToken(), "persistenceUnitName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getPersistenceUnitRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getPersistenceUnitRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEAttribute(getPersistenceUnitRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getPersistenceUnitRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(portComponentRefEClass, PortComponentRef.class, "PortComponentRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
@@ -3464,7 +3453,6 @@
addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.NO);
initEEnum(isolationLevelTypeEEnum, IsolationLevelType.class, "IsolationLevelType"); //$NON-NLS-1$
- addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONNONE);
addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREADUNCOMMITTED);
addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREADCOMMITTED);
addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREPEATABLEREAD);
@@ -4334,6 +4322,14 @@
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
"name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
+ });
+ addAnnotation
+ (getMessageDestination_LookupName(),
+ source,
+ new String[] {
+ "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
+ "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
+ "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getMessageDestination_Id(),
@@ -4551,14 +4547,6 @@
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
"name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
- });
- addAnnotation
- (getPersistenceContextRef_LookupName(),
- source,
- new String[] {
- "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
- "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
- "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getPersistenceContextRef_Id(),
@@ -4626,14 +4614,6 @@
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
"name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
- });
- addAnnotation
- (getPersistenceUnitRef_LookupName(),
- source,
- new String[] {
- "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
- "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$
- "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getPersistenceUnitRef_Id(),
Index: jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java,v
retrieving revision 1.4
diff -u -r1.4 PersistenceContextRefImpl.java
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java 15 Oct 2009 18:52:02 -0000 1.4
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java 13 Jan 2010 17:57:29 -0000
@@ -49,7 +49,6 @@
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getPersistenceProperties Persistence Properties}
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getMappedName Mapped Name}
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getInjectionTargets Injection Targets}
- * {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getLookupName Lookup Name}
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getId Id}
*
*
@@ -177,26 +176,6 @@
protected EList injectionTargets;
/**
- * The default value of the '{@link #getLookupName() Lookup Name}' attribute.
- *
- *
- * @see #getLookupName()
- * @generated
- * @ordered
- */
- protected static final String LOOKUP_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLookupName() Lookup Name}' attribute.
- *
- *
- * @see #getLookupName()
- * @generated
- * @ordered
- */
- protected String lookupName = LOOKUP_NAME_EDEFAULT;
-
- /**
* The default value of the '{@link #getId() Id}' attribute.
*
*
@@ -385,27 +364,6 @@
*
* @generated
*/
- public String getLookupName() {
- return lookupName;
- }
-
- /**
- *
- *
- * @generated
- */
- public void setLookupName(String newLookupName) {
- String oldLookupName = lookupName;
- lookupName = newLookupName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME, oldLookupName, lookupName));
- }
-
- /**
- *
- *
- * @generated
- */
public String getId() {
return id;
}
@@ -462,8 +420,6 @@
return getMappedName();
case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
return getInjectionTargets();
- case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
- return getLookupName();
case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
return getId();
}
@@ -503,9 +459,6 @@
getInjectionTargets().clear();
getInjectionTargets().addAll((Collection extends InjectionTarget>)newValue);
return;
- case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
- setLookupName((String)newValue);
- return;
case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
setId((String)newValue);
return;
@@ -542,9 +495,6 @@
case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
getInjectionTargets().clear();
return;
- case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
- setLookupName(LOOKUP_NAME_EDEFAULT);
- return;
case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
setId(ID_EDEFAULT);
return;
@@ -574,8 +524,6 @@
return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS:
return injectionTargets != null && !injectionTargets.isEmpty();
- case JavaeePackage.PERSISTENCE_CONTEXT_REF__LOOKUP_NAME:
- return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID:
return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
}
@@ -600,8 +548,6 @@
if (persistenceContextTypeESet) result.append(persistenceContextType); else result.append(""); //$NON-NLS-1$
result.append(", mappedName: "); //$NON-NLS-1$
result.append(mappedName);
- result.append(", lookupName: "); //$NON-NLS-1$
- result.append(lookupName);
result.append(", id: "); //$NON-NLS-1$
result.append(id);
result.append(')');
Index: jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java,v
retrieving revision 1.4
diff -u -r1.4 PersistenceUnitRefImpl.java
--- jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java 15 Oct 2009 18:52:02 -0000 1.4
+++ jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java 13 Jan 2010 17:57:29 -0000
@@ -45,7 +45,6 @@
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getPersistenceUnitName Persistence Unit Name}
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getMappedName Mapped Name}
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getInjectionTargets Injection Targets}
- * {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getLookupName Lookup Name}
* {@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getId Id}
*
*
@@ -134,26 +133,6 @@
protected EList injectionTargets;
/**
- * The default value of the '{@link #getLookupName() Lookup Name}' attribute.
- *
- *
- * @see #getLookupName()
- * @generated
- * @ordered
- */
- protected static final String LOOKUP_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLookupName() Lookup Name}' attribute.
- *
- *
- * @see #getLookupName()
- * @generated
- * @ordered
- */
- protected String lookupName = LOOKUP_NAME_EDEFAULT;
-
- /**
* The default value of the '{@link #getId() Id}' attribute.
*
*
@@ -284,27 +263,6 @@
*
* @generated
*/
- public String getLookupName() {
- return lookupName;
- }
-
- /**
- *
- *
- * @generated
- */
- public void setLookupName(String newLookupName) {
- String oldLookupName = lookupName;
- lookupName = newLookupName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME, oldLookupName, lookupName));
- }
-
- /**
- *
- *
- * @generated
- */
public String getId() {
return id;
}
@@ -355,8 +313,6 @@
return getMappedName();
case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
return getInjectionTargets();
- case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
- return getLookupName();
case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
return getId();
}
@@ -389,9 +345,6 @@
getInjectionTargets().clear();
getInjectionTargets().addAll((Collection extends InjectionTarget>)newValue);
return;
- case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
- setLookupName((String)newValue);
- return;
case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
setId((String)newValue);
return;
@@ -422,9 +375,6 @@
case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
getInjectionTargets().clear();
return;
- case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
- setLookupName(LOOKUP_NAME_EDEFAULT);
- return;
case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
setId(ID_EDEFAULT);
return;
@@ -450,8 +400,6 @@
return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName);
case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS:
return injectionTargets != null && !injectionTargets.isEmpty();
- case JavaeePackage.PERSISTENCE_UNIT_REF__LOOKUP_NAME:
- return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName);
case JavaeePackage.PERSISTENCE_UNIT_REF__ID:
return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
}
@@ -474,8 +422,6 @@
result.append(persistenceUnitName);
result.append(", mappedName: "); //$NON-NLS-1$
result.append(mappedName);
- result.append(", lookupName: "); //$NON-NLS-1$
- result.append(lookupName);
result.append(", id: "); //$NON-NLS-1$
result.append(id);
result.append(')');
Index: jee-models/org/eclipse/jst/javaee/jca/SecurityPermission.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jca/SecurityPermission.java,v
retrieving revision 1.2
diff -u -r1.2 SecurityPermission.java
--- jee-models/org/eclipse/jst/javaee/jca/SecurityPermission.java 16 Oct 2009 03:33:20 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/jca/SecurityPermission.java 13 Jan 2010 17:57:32 -0000
@@ -79,7 +79,7 @@
* implementation of the security permission
* specification:
*
- * http://java.sun.com/products/jdk/1.4/docs/guide/security/PolicyFiles.html#FileSyntax
+ * http://java.sun.com/javase/6/docs/technotes/guides/security/PolicyFiles.html
*
* @since Java EE 6, Connector 1.6
*
Index: jee-models/org/eclipse/jst/javaee/jca/Connector.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jca/Connector.java,v
retrieving revision 1.2
diff -u -r1.2 Connector.java
--- jee-models/org/eclipse/jst/javaee/jca/Connector.java 16 Oct 2009 03:33:20 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/jca/Connector.java 13 Jan 2010 17:57:32 -0000
@@ -34,6 +34,7 @@
*
* The following features are supported:
*
+ * - {@link org.eclipse.jst.javaee.jca.Connector#getModuleName Module Name}
* - {@link org.eclipse.jst.javaee.jca.Connector#getDescriptions Descriptions}
* - {@link org.eclipse.jst.javaee.jca.Connector#getDisplayNames Display Names}
* - {@link org.eclipse.jst.javaee.jca.Connector#getIcons Icons}
@@ -55,6 +56,41 @@
*/
public interface Connector extends JavaEEObject {
/**
+ * Returns the value of the 'Module Name' attribute.
+ *
+ *
+ *
+ *
+ *
+ * The element module-name specifies the name of the
+ * resource adapter.
+ *
+ * If there is no module-name specified, the module-name
+ * is determined as defined in Section EE.8.1.1 and EE.8.1.2
+ * of the Java Platform, Enterprise Edition (Java EE)
+ * Specification, version 6.
+ *
+ * @since Java EE 6, Connector 1.6
+ *
+ *
+ * @return the value of the 'Module Name' attribute.
+ * @see #setModuleName(String)
+ * @see org.eclipse.jst.javaee.jca.internal.metadata.JcaPackage#getConnector_ModuleName()
+ * @generated
+ */
+ String getModuleName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jst.javaee.jca.Connector#getModuleName Module Name}' attribute.
+ *
+ *
+ * @param value the new value of the 'Module Name' attribute.
+ * @see #getModuleName()
+ * @generated
+ */
+ void setModuleName(String value);
+
+ /**
* Returns the value of the 'Descriptions' containment reference list.
* The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
*
@@ -108,6 +144,10 @@
*
* The element vendor-name specifies the name of
* resource adapter provider vendor.
+ *
+ * If there is no vendor-name specified, the application
+ * server must consider the default "" (empty string) as
+ * the name of the resource adapter provider vendor.
*
* @since Java EE 6, Connector 1.6
*
@@ -144,6 +184,10 @@
* This helps in identifying EIS instances that can be
* used with this resource adapter.
*
+ * If there is no eis-type specified, the application
+ * server must consider the default "" (empty string) as
+ * the type of the EIS.
+ *
* @since Java EE 6, Connector 1.6
*
*
@@ -175,6 +219,11 @@
* of the resource adapter from the resource adapter
* provider.
*
+ * If there is no resourceadapter-version specified, the application
+ * server must consider the default "" (empty string) as
+ * the version of the resource adapter.
+ *
+ *
* @since Java EE 6, Connector 1.6
*
*
Index: jee-models/org/eclipse/jst/javaee/jca/OutboundResourceAdapter.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jca/OutboundResourceAdapter.java,v
retrieving revision 1.2
diff -u -r1.2 OutboundResourceAdapter.java
--- jee-models/org/eclipse/jst/javaee/jca/OutboundResourceAdapter.java 16 Oct 2009 03:33:20 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/jca/OutboundResourceAdapter.java 13 Jan 2010 17:57:32 -0000
@@ -30,11 +30,30 @@
* provided, one or more authentication mechanisms supported
* and additional required security permissions.
*
+ * If any of the outbound resource adapter elements (transaction-support,
+ * authentication-mechanism, reauthentication-support) is specified through
+ * this element or metadata annotations, and no connection-definition is
+ * specified as part of this element or through annotations, the
+ * application server must consider this an error and fail deployment.
+ *
* If there is no authentication-mechanism specified as part of
- * resource adapter element then the resource adapter does not
- * support any standard security authentication mechanisms as
- * part of security contract. The application server ignores
- * the security part of the system contracts in this case.
+ * this element or metadata annotations, then the resource adapter does
+ * not support any standard security authentication mechanisms as
+ * part of security contract. The application server ignores the security
+ * part of the system contracts in this case.
+ *
+ * If there is no transaction-support specified as part of this element
+ * or metadata annotation, then the application server must consider that
+ * the resource adapter does not support either the resource manager local
+ * or JTA transactions and must consider the transaction support as
+ * NoTransaction. Note that resource adapters may specify the level of
+ * transaction support to be used at runtime for a ManagedConnectionFactory
+ * through the TransactionSupport interface.
+ *
+ * If there is no reauthentication-support specified as part of
+ * this element or metadata annotation, then the application server must consider
+ * that the resource adapter does not support re-authentication of
+ * ManagedConnections.
*
* @since Java EE 6, Connector 1.6
*
Index: jee-models/org/eclipse/jst/javaee/webfragment/internal/metadata/WebfragmentPackage.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/webfragment/internal/metadata/WebfragmentPackage.java,v
retrieving revision 1.2
diff -u -r1.2 WebfragmentPackage.java
--- jee-models/org/eclipse/jst/javaee/webfragment/internal/metadata/WebfragmentPackage.java 16 Oct 2009 03:33:22 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/webfragment/internal/metadata/WebfragmentPackage.java 13 Jan 2010 17:57:34 -0000
@@ -32,33 +32,32 @@
* @(#)web-fragment_3_0.xsds
*
*
- *
- * ...
- *
- *
- * The instance documents may indicate the published version of
- * the schema using the xsi:schemaLocation attribute for Java EE
- * namespace with the following location:
- *
- * http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd
- *
- * ]]>
+ *
+ * ...
+ *
+ *
+ * The instance documents may indicate the published version of
+ * the schema using the xsi:schemaLocation attribute for Java EE
+ * namespace with the following location:
+ *
+ * http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd
+ *
+ * ]]>
*
*
*
@@ -77,7 +76,7 @@
*
*
*
- * $Id: WebfragmentPackage.java,v 1.2 2009/10/16 03:33:22 canderson Exp $
+ * $Id: web-common_3_0.xsd,v 1.5 2009/10/15 19:08:12 ccc Exp $
*
*
*
@@ -125,7 +124,7 @@
*
*
*
- * $Id: WebfragmentPackage.java,v 1.2 2009/10/16 03:33:22 canderson Exp $
+ * $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
*
*
*
@@ -150,7 +149,7 @@
*
*
*
- * $Id: WebfragmentPackage.java,v 1.2 2009/10/16 03:33:22 canderson Exp $
+ * $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
*
*
*
@@ -319,46 +318,12 @@
*
*
*
- * Copyright 2003-2009 Sun Microsystems, Inc.
- * 4150 Network Circle
- * Santa Clara, California 95054
- * U.S.A
- * All rights reserved.
- *
- * Sun Microsystems, Inc. has intellectual property rights
- * relating to technology described in this document. In
- * particular, and without limitation, these intellectual
- * property rights may include one or more of the U.S. patents
- * listed at http://www.sun.com/patents and one or more
- * additional patents or pending patent applications in the
- * U.S. and other countries.
- *
- * This document and the technology which it describes are
- * distributed under licenses restricting their use, copying,
- * distribution, and decompilation. No part of this document
- * may be reproduced in any form by any means without prior
- * written authorization of Sun and its licensors, if any.
- *
- * Third-party software, including font technology, is
- * copyrighted and licensed from Sun suppliers.
- *
- * Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
- * JavaServer Pages, Enterprise JavaBeans and the Java Coffee
- * Cup logo are trademarks or registered trademarks of Sun
- * Microsystems, Inc. in the U.S. and other countries.
- *
- * Federal Acquisitions: Commercial Software - Government Users
- * Subject to Standard License Terms and Conditions.
- *
- *
- *
- *
* This is the XML Schema for the JSP 2.2 deployment descriptor
* types. The JSP 2.2 schema contains all the special
* structures and datatypes that are necessary to use JSP files
* from a web application.
*
- * The contents of this schema is used by the web-app_3_0.xsd
+ * The contents of this schema is used by the web-common_3_0.xsd
* file to define JSP specific content.
*
*
Index: jee-models/org/eclipse/jst/javaee/web/internal/metadata/WebPackage.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/web/internal/metadata/WebPackage.java,v
retrieving revision 1.4
diff -u -r1.4 WebPackage.java
--- jee-models/org/eclipse/jst/javaee/web/internal/metadata/WebPackage.java 15 Oct 2009 18:52:21 -0000 1.4
+++ jee-models/org/eclipse/jst/javaee/web/internal/metadata/WebPackage.java 13 Jan 2010 17:57:34 -0000
@@ -32,7 +32,7 @@
*
*
*
- * $Id: WebPackage.java,v 1.4 2009/10/15 18:52:21 canderson Exp $
+ * $Id: web-common_3_0.xsd,v 1.5 2009/10/15 19:08:12 ccc Exp $
*
*
*
@@ -80,7 +80,7 @@
*
*
*
- * $Id: WebPackage.java,v 1.4 2009/10/15 18:52:21 canderson Exp $
+ * $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
*
*
*
@@ -105,7 +105,7 @@
*
*
*
- * $Id: WebPackage.java,v 1.4 2009/10/15 18:52:21 canderson Exp $
+ * $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
*
*
*
@@ -274,46 +274,12 @@
*
*
*
- * Copyright 2003-2009 Sun Microsystems, Inc.
- * 4150 Network Circle
- * Santa Clara, California 95054
- * U.S.A
- * All rights reserved.
- *
- * Sun Microsystems, Inc. has intellectual property rights
- * relating to technology described in this document. In
- * particular, and without limitation, these intellectual
- * property rights may include one or more of the U.S. patents
- * listed at http://www.sun.com/patents and one or more
- * additional patents or pending patent applications in the
- * U.S. and other countries.
- *
- * This document and the technology which it describes are
- * distributed under licenses restricting their use, copying,
- * distribution, and decompilation. No part of this document
- * may be reproduced in any form by any means without prior
- * written authorization of Sun and its licensors, if any.
- *
- * Third-party software, including font technology, is
- * copyrighted and licensed from Sun suppliers.
- *
- * Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
- * JavaServer Pages, Enterprise JavaBeans and the Java Coffee
- * Cup logo are trademarks or registered trademarks of Sun
- * Microsystems, Inc. in the U.S. and other countries.
- *
- * Federal Acquisitions: Commercial Software - Government Users
- * Subject to Standard License Terms and Conditions.
- *
- *
- *
- *
* This is the XML Schema for the JSP 2.2 deployment descriptor
* types. The JSP 2.2 schema contains all the special
* structures and datatypes that are necessary to use JSP files
* from a web application.
*
- * The contents of this schema is used by the web-app_3_0.xsd
+ * The contents of this schema is used by the web-common_3_0.xsd
* file to define JSP specific content.
*
*
@@ -1645,40 +1611,40 @@
int WEB_APP__GROUP = 0;
/**
- * The feature id for the 'Descriptions' containment reference list.
+ * The feature id for the 'Module Name' attribute list.
*
*
* @generated
* @ordered
*/
- int WEB_APP__DESCRIPTIONS = 1;
+ int WEB_APP__MODULE_NAME = 1;
/**
- * The feature id for the 'Display Names' containment reference list.
+ * The feature id for the 'Descriptions' containment reference list.
*
*
* @generated
* @ordered
*/
- int WEB_APP__DISPLAY_NAMES = 2;
+ int WEB_APP__DESCRIPTIONS = 2;
/**
- * The feature id for the 'Icons' containment reference list.
+ * The feature id for the 'Display Names' containment reference list.
*
*
* @generated
* @ordered
*/
- int WEB_APP__ICONS = 3;
+ int WEB_APP__DISPLAY_NAMES = 3;
/**
- * The feature id for the 'Name' attribute list.
+ * The feature id for the 'Icons' containment reference list.
*
*
* @generated
* @ordered
*/
- int WEB_APP__NAME = 4;
+ int WEB_APP__ICONS = 4;
/**
* The feature id for the 'Distributables' containment reference list.
@@ -1942,22 +1908,13 @@
int WEB_APP__LOCAL_ENCODING_MAPPINGS_LISTS = 33;
/**
- * The feature id for the 'Module Name' attribute list.
- *
- *
- * @generated
- * @ordered
- */
- int WEB_APP__MODULE_NAME = 34;
-
- /**
* The feature id for the 'Absolute Ordering' containment reference list.
*
*
* @generated
* @ordered
*/
- int WEB_APP__ABSOLUTE_ORDERING = 35;
+ int WEB_APP__ABSOLUTE_ORDERING = 34;
/**
* The feature id for the 'Id' attribute.
@@ -1966,7 +1923,7 @@
* @generated
* @ordered
*/
- int WEB_APP__ID = 36;
+ int WEB_APP__ID = 35;
/**
* The feature id for the 'Metadata Complete' attribute.
@@ -1975,7 +1932,7 @@
* @generated
* @ordered
*/
- int WEB_APP__METADATA_COMPLETE = 37;
+ int WEB_APP__METADATA_COMPLETE = 36;
/**
* The feature id for the 'Version' attribute.
@@ -1984,7 +1941,7 @@
* @generated
* @ordered
*/
- int WEB_APP__VERSION = 38;
+ int WEB_APP__VERSION = 37;
/**
* The number of structural features of the 'App' class.
@@ -1993,7 +1950,7 @@
* @generated
* @ordered
*/
- int WEB_APP_FEATURE_COUNT = 39;
+ int WEB_APP_FEATURE_COUNT = 38;
/**
* The meta object id for the '{@link org.eclipse.jst.javaee.web.internal.impl.WebAppDeploymentDescriptorImpl App Deployment Descriptor}' class.
@@ -2070,40 +2027,40 @@
int WEB_FRAGMENT__GROUP = 0;
/**
- * The feature id for the 'Descriptions' containment reference list.
+ * The feature id for the 'Name' attribute list.
*
*
* @generated
* @ordered
*/
- int WEB_FRAGMENT__DESCRIPTIONS = 1;
+ int WEB_FRAGMENT__NAME = 1;
/**
- * The feature id for the 'Display Names' containment reference list.
+ * The feature id for the 'Descriptions' containment reference list.
*
*
* @generated
* @ordered
*/
- int WEB_FRAGMENT__DISPLAY_NAMES = 2;
+ int WEB_FRAGMENT__DESCRIPTIONS = 2;
/**
- * The feature id for the 'Icons' containment reference list.
+ * The feature id for the 'Display Names' containment reference list.
*
*
* @generated
* @ordered
*/
- int WEB_FRAGMENT__ICONS = 3;
+ int WEB_FRAGMENT__DISPLAY_NAMES = 3;
/**
- * The feature id for the 'Name' attribute list.
+ * The feature id for the 'Icons' containment reference list.
*
*
* @generated
* @ordered
*/
- int WEB_FRAGMENT__NAME = 4;
+ int WEB_FRAGMENT__ICONS = 4;
/**
* The feature id for the 'Distributables' containment reference list.
@@ -4006,17 +3963,6 @@
EReference getWebApp_Icons();
/**
- * Returns the meta object for the attribute list '{@link org.eclipse.jst.javaee.web.WebApp#getName Name}'.
- *
- *
- * @return the meta object for the attribute list 'Name'.
- * @see org.eclipse.jst.javaee.web.WebApp#getName()
- * @see #getWebApp()
- * @generated
- */
- EAttribute getWebApp_Name();
-
- /**
* Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.web.WebApp#getDistributables Distributables}'.
*
*
@@ -6207,14 +6153,6 @@
EReference WEB_APP__ICONS = eINSTANCE.getWebApp_Icons();
/**
- * The meta object literal for the 'Name' attribute list feature.
- *
- *
- * @generated
- */
- EAttribute WEB_APP__NAME = eINSTANCE.getWebApp_Name();
-
- /**
* The meta object literal for the 'Distributables' containment reference list feature.
*
*
Index: jee-models/org/eclipse/jst/javaee/jca/internal/metadata/JcaPackage.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jca/internal/metadata/JcaPackage.java,v
retrieving revision 1.3
diff -u -r1.3 JcaPackage.java
--- jee-models/org/eclipse/jst/javaee/jca/internal/metadata/JcaPackage.java 24 Nov 2009 19:57:55 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/jca/internal/metadata/JcaPackage.java 13 Jan 2010 17:57:32 -0000
@@ -32,7 +32,7 @@
*
*
*
- * $Id: JcaPackage.java,v 1.3 2009/11/24 19:57:55 canderson Exp $
+ * $Id: connector_1_6.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
*
*
*
@@ -81,7 +81,7 @@
*
*
*
- * $Id: JcaPackage.java,v 1.3 2009/11/24 19:57:55 canderson Exp $
+ * $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
*
*
*
@@ -106,7 +106,7 @@
*
*
*
- * $Id: JcaPackage.java,v 1.3 2009/11/24 19:57:55 canderson Exp $
+ * $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
*
*
*
@@ -656,13 +656,22 @@
int CONNECTOR = 5;
/**
+ * The feature id for the 'Module Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int CONNECTOR__MODULE_NAME = 0;
+
+ /**
* The feature id for the 'Descriptions' containment reference list.
*
*
* @generated
* @ordered
*/
- int CONNECTOR__DESCRIPTIONS = 0;
+ int CONNECTOR__DESCRIPTIONS = 1;
/**
* The feature id for the 'Display Names' containment reference list.
@@ -671,7 +680,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__DISPLAY_NAMES = 1;
+ int CONNECTOR__DISPLAY_NAMES = 2;
/**
* The feature id for the 'Icons' containment reference list.
@@ -680,7 +689,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__ICONS = 2;
+ int CONNECTOR__ICONS = 3;
/**
* The feature id for the 'Vendor Name' attribute.
@@ -689,7 +698,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__VENDOR_NAME = 3;
+ int CONNECTOR__VENDOR_NAME = 4;
/**
* The feature id for the 'Eis Type' attribute.
@@ -698,7 +707,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__EIS_TYPE = 4;
+ int CONNECTOR__EIS_TYPE = 5;
/**
* The feature id for the 'Resourceadapter Version' attribute.
@@ -707,7 +716,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__RESOURCEADAPTER_VERSION = 5;
+ int CONNECTOR__RESOURCEADAPTER_VERSION = 6;
/**
* The feature id for the 'License' containment reference.
@@ -716,7 +725,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__LICENSE = 6;
+ int CONNECTOR__LICENSE = 7;
/**
* The feature id for the 'Resourceadapter' containment reference.
@@ -725,7 +734,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__RESOURCEADAPTER = 7;
+ int CONNECTOR__RESOURCEADAPTER = 8;
/**
* The feature id for the 'Required Work Context' attribute list.
@@ -734,7 +743,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__REQUIRED_WORK_CONTEXT = 8;
+ int CONNECTOR__REQUIRED_WORK_CONTEXT = 9;
/**
* The feature id for the 'Id' attribute.
@@ -743,7 +752,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__ID = 9;
+ int CONNECTOR__ID = 10;
/**
* The feature id for the 'Metadata Complete' attribute.
@@ -752,7 +761,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__METADATA_COMPLETE = 10;
+ int CONNECTOR__METADATA_COMPLETE = 11;
/**
* The feature id for the 'Version' attribute.
@@ -761,7 +770,7 @@
* @generated
* @ordered
*/
- int CONNECTOR__VERSION = 11;
+ int CONNECTOR__VERSION = 12;
/**
* The number of structural features of the 'Connector' class.
@@ -770,7 +779,7 @@
* @generated
* @ordered
*/
- int CONNECTOR_FEATURE_COUNT = 12;
+ int CONNECTOR_FEATURE_COUNT = 13;
/**
* The meta object id for the '{@link org.eclipse.jst.javaee.jca.internal.impl.ConnectorDeploymentDescriptorImpl Connector Deployment Descriptor}' class.
@@ -1660,6 +1669,17 @@
EClass getConnector();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jca.Connector#getModuleName Module Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Module Name'.
+ * @see org.eclipse.jst.javaee.jca.Connector#getModuleName()
+ * @see #getConnector()
+ * @generated
+ */
+ EAttribute getConnector_ModuleName();
+
+ /**
* Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.jca.Connector#getDescriptions Descriptions}'.
*
*
@@ -2602,6 +2622,14 @@
EClass CONNECTOR = eINSTANCE.getConnector();
/**
+ * The meta object literal for the 'Module Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute CONNECTOR__MODULE_NAME = eINSTANCE.getConnector_ModuleName();
+
+ /**
* The meta object literal for the 'Descriptions' containment reference list feature.
*
*
Index: jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java,v
retrieving revision 1.2
diff -u -r1.2 IsolationLevelType.java
--- jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java 16 Oct 2009 03:33:21 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java 13 Jan 2010 17:57:28 -0000
@@ -24,9 +24,12 @@
*
*
*
- * public enum isolation-level-type { TRANSACTION_NONE,
- * TRANSACTION_READ_UNCOMMITTED, TRANSACTION_READ_COMMITTED,
- * TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE };
+ * The following transaction isolation levels are allowed
+ * (see documentation for the java.sql.Connection interface):
+ * TRANSACTION_READ_UNCOMMITTED
+ * TRANSACTION_READ_COMMITTED
+ * TRANSACTION_REPEATABLE_READ
+ * TRANSACTION_SERIALIZABLE
*
* @since Java EE 6
*
@@ -35,15 +38,6 @@
* @generated
*/
public enum IsolationLevelType implements Enumerator {
- /**
- * The 'TRANSACTIONNONE' literal object.
- *
- *
- * @see #TRANSACTIONNONE_VALUE
- * @generated
- * @ordered
- */
- TRANSACTIONNONE(0, "TRANSACTIONNONE", "TRANSACTION_NONE"), //$NON-NLS-1$ //$NON-NLS-2$
/**
* The 'TRANSACTIONREADUNCOMMITTED' literal object.
@@ -53,7 +47,7 @@
* @generated
* @ordered
*/
- TRANSACTIONREADUNCOMMITTED(1, "TRANSACTIONREADUNCOMMITTED", "TRANSACTION_READ_UNCOMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$
+ TRANSACTIONREADUNCOMMITTED(0, "TRANSACTIONREADUNCOMMITTED", "TRANSACTION_READ_UNCOMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$
/**
* The 'TRANSACTIONREADCOMMITTED' literal object.
@@ -63,7 +57,7 @@
* @generated
* @ordered
*/
- TRANSACTIONREADCOMMITTED(2, "TRANSACTIONREADCOMMITTED", "TRANSACTION_READ_COMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$
+ TRANSACTIONREADCOMMITTED(1, "TRANSACTIONREADCOMMITTED", "TRANSACTION_READ_COMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$
/**
* The 'TRANSACTIONREPEATABLEREAD' literal object.
@@ -73,7 +67,7 @@
* @generated
* @ordered
*/
- TRANSACTIONREPEATABLEREAD(3, "TRANSACTIONREPEATABLEREAD", "TRANSACTION_REPEATABLE_READ"), //$NON-NLS-1$ //$NON-NLS-2$
+ TRANSACTIONREPEATABLEREAD(2, "TRANSACTIONREPEATABLEREAD", "TRANSACTION_REPEATABLE_READ"), //$NON-NLS-1$ //$NON-NLS-2$
/**
* The 'TRANSACTIONSERIALIZABLE' literal object.
@@ -83,21 +77,7 @@
* @generated
* @ordered
*/
- TRANSACTIONSERIALIZABLE(4, "TRANSACTIONSERIALIZABLE", "TRANSACTION_SERIALIZABLE"); //$NON-NLS-1$ //$NON-NLS-2$
-
- /**
- * The 'TRANSACTIONNONE' literal value.
- *
- *
- * If the meaning of 'TRANSACTIONNONE' literal object isn't clear,
- * there really should be more of a description here...
- *
- *
- * @see #TRANSACTIONNONE
- * @generated
- * @ordered
- */
- public static final int TRANSACTIONNONE_VALUE = 0;
+ TRANSACTIONSERIALIZABLE(3, "TRANSACTIONSERIALIZABLE", "TRANSACTION_SERIALIZABLE"); //$NON-NLS-1$ //$NON-NLS-2$
/**
* The 'TRANSACTIONREADUNCOMMITTED' literal value.
@@ -111,7 +91,7 @@
* @generated
* @ordered
*/
- public static final int TRANSACTIONREADUNCOMMITTED_VALUE = 1;
+ public static final int TRANSACTIONREADUNCOMMITTED_VALUE = 0;
/**
* The 'TRANSACTIONREADCOMMITTED' literal value.
@@ -125,7 +105,7 @@
* @generated
* @ordered
*/
- public static final int TRANSACTIONREADCOMMITTED_VALUE = 2;
+ public static final int TRANSACTIONREADCOMMITTED_VALUE = 1;
/**
* The 'TRANSACTIONREPEATABLEREAD' literal value.
@@ -139,7 +119,7 @@
* @generated
* @ordered
*/
- public static final int TRANSACTIONREPEATABLEREAD_VALUE = 3;
+ public static final int TRANSACTIONREPEATABLEREAD_VALUE = 2;
/**
* The 'TRANSACTIONSERIALIZABLE' literal value.
@@ -153,7 +133,7 @@
* @generated
* @ordered
*/
- public static final int TRANSACTIONSERIALIZABLE_VALUE = 4;
+ public static final int TRANSACTIONSERIALIZABLE_VALUE = 3;
/**
* An array of all the 'Isolation Level Type' enumerators.
@@ -163,7 +143,6 @@
*/
private static final IsolationLevelType[] VALUES_ARRAY =
new IsolationLevelType[] {
- TRANSACTIONNONE,
TRANSACTIONREADUNCOMMITTED,
TRANSACTIONREADCOMMITTED,
TRANSACTIONREPEATABLEREAD,
@@ -218,7 +197,6 @@
*/
public static IsolationLevelType get(int value) {
switch (value) {
- case TRANSACTIONNONE_VALUE: return TRANSACTIONNONE;
case TRANSACTIONREADUNCOMMITTED_VALUE: return TRANSACTIONREADUNCOMMITTED;
case TRANSACTIONREADCOMMITTED_VALUE: return TRANSACTIONREADCOMMITTED;
case TRANSACTIONREPEATABLEREAD_VALUE: return TRANSACTIONREPEATABLEREAD;
Index: jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java,v
retrieving revision 1.3
diff -u -r1.3 PersistenceUnitRef.java
--- jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java 15 Oct 2009 18:52:04 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java 13 Jan 2010 17:57:28 -0000
@@ -58,7 +58,6 @@
* - {@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitName Persistence Unit Name}
* - {@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getMappedName Mapped Name}
* - {@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getInjectionTargets Injection Targets}
- * - {@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getLookupName Lookup Name}
* - {@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId Id}
*
*
@@ -215,35 +214,6 @@
List getInjectionTargets();
/**
- * Returns the value of the 'Lookup Name' attribute.
- *
- *
- *
- *
- *
- * The JNDI name to be looked up to resolve a resource reference.
- *
- * @since Java EE 6
- *
- *
- * @return the value of the 'Lookup Name' attribute.
- * @see #setLookupName(String)
- * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_LookupName()
- * @generated
- */
- String getLookupName();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getLookupName Lookup Name}' attribute.
- *
- *
- * @param value the new value of the 'Lookup Name' attribute.
- * @see #getLookupName()
- * @generated
- */
- void setLookupName(String value);
-
- /**
* Returns the value of the 'Id' attribute.
*
*
Index: jee-models/org/eclipse/jst/javaee/core/DataSourceType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/DataSourceType.java,v
retrieving revision 1.2
diff -u -r1.2 DataSourceType.java
--- jee-models/org/eclipse/jst/javaee/core/DataSourceType.java 16 Oct 2009 03:33:21 -0000 1.2
+++ jee-models/org/eclipse/jst/javaee/core/DataSourceType.java 13 Jan 2010 17:57:28 -0000
@@ -334,7 +334,7 @@
*
*
*
- * JDBC DataSource Propertry. This may be a vendor-specific
+ * JDBC DataSource property. This may be a vendor-specific
* property or a less commonly used DataSource property.
*
* @since Java EE 6
Index: jee-models/org/eclipse/jst/javaee/core/MessageDestination.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestination.java,v
retrieving revision 1.3
diff -u -r1.3 MessageDestination.java
--- jee-models/org/eclipse/jst/javaee/core/MessageDestination.java 15 Oct 2009 18:52:03 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/core/MessageDestination.java 13 Jan 2010 17:57:28 -0000
@@ -33,6 +33,7 @@
* among message destination names within the same
* Deployment File.
* - an optional mapped name
+ * - an optional lookup name
*
* Example:
*
@@ -54,6 +55,7 @@
*
{@link org.eclipse.jst.javaee.core.MessageDestination#getIcons Icons}
* {@link org.eclipse.jst.javaee.core.MessageDestination#getMessageDestinationName Message Destination Name}
* {@link org.eclipse.jst.javaee.core.MessageDestination#getMappedName Mapped Name}
+ * {@link org.eclipse.jst.javaee.core.MessageDestination#getLookupName Lookup Name}
* {@link org.eclipse.jst.javaee.core.MessageDestination#getId Id}
*
*
@@ -151,9 +153,9 @@
* should be mapped to. Each message-destination-ref
* element that references this message destination will
* define a name in the namespace of the referencing
- * component. (It's a name in the JNDI java:comp/env
- * namespace.) Many application servers provide a way to
- * map these local names to names of resources known to the
+ * component or in one of the other predefined namespaces.
+ * Many application servers provide a way to map these
+ * local names to names of resources known to the
* application server. This mapped name is often a global
* JNDI name, but may be a name of any form. Each of the
* local names should be mapped to this same global name.
@@ -185,6 +187,35 @@
void setMappedName(String value);
/**
+ * Returns the value of the 'Lookup Name' attribute.
+ *
+ *
+ *
+ *
+ *
+ * The JNDI name to be looked up to resolve the message destination.
+ *
+ * @since Java EE 6
+ *
+ *
+ * @return the value of the 'Lookup Name' attribute.
+ * @see #setLookupName(String)
+ * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_LookupName()
+ * @generated
+ */
+ String getLookupName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestination#getLookupName Lookup Name}' attribute.
+ *
+ *
+ * @param value the new value of the 'Lookup Name' attribute.
+ * @see #getLookupName()
+ * @generated
+ */
+ void setLookupName(String value);
+
+ /**
* Returns the value of the 'Id' attribute.
*
*
Index: jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java,v
retrieving revision 1.3
diff -u -r1.3 MessageDestinationRef.java
--- jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java 15 Oct 2009 18:52:03 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java 13 Jan 2010 17:57:28 -0000
@@ -104,10 +104,7 @@
* The message-destination-ref-name element specifies
* the name of a message destination reference; its
* value is the environment entry name used in
- * Deployment Component code. The name is a JNDI name
- * relative to the java:comp/env context and must be
- * unique within an ejb-jar (for enterprise beans) or a
- * Deployment File (for others).
+ * Deployment Component code.
*
* @since Java EE 5
*
Index: jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java,v
retrieving revision 1.3
diff -u -r1.3 PersistenceContextRef.java
--- jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java 15 Oct 2009 18:52:03 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java 13 Jan 2010 17:57:28 -0000
@@ -65,7 +65,6 @@
*
{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceProperties Persistence Properties}
* {@link org.eclipse.jst.javaee.core.PersistenceContextRef#getMappedName Mapped Name}
* {@link org.eclipse.jst.javaee.core.PersistenceContextRef#getInjectionTargets Injection Targets}
- * {@link org.eclipse.jst.javaee.core.PersistenceContextRef#getLookupName Lookup Name}
* {@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId Id}
*
*
@@ -302,35 +301,6 @@
List getInjectionTargets();
/**
- * Returns the value of the 'Lookup Name' attribute.
- *
- *
- *
- *
- *
- * The JNDI name to be looked up to resolve a resource reference.
- *
- * @since Java EE 6
- *
- *
- * @return the value of the 'Lookup Name' attribute.
- * @see #setLookupName(String)
- * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_LookupName()
- * @generated
- */
- String getLookupName();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getLookupName Lookup Name}' attribute.
- *
- *
- * @param value the new value of the 'Lookup Name' attribute.
- * @see #getLookupName()
- * @generated
- */
- void setLookupName(String value);
-
- /**
* Returns the value of the 'Id' attribute.
*
*
Index: jee-models/org/eclipse/jst/javaee/web/MultipartConfigType.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/web/MultipartConfigType.java,v
retrieving revision 1.1
diff -u -r1.1 MultipartConfigType.java
--- jee-models/org/eclipse/jst/javaee/web/MultipartConfigType.java 15 Oct 2009 18:52:03 -0000 1.1
+++ jee-models/org/eclipse/jst/javaee/web/MultipartConfigType.java 13 Jan 2010 17:57:32 -0000
@@ -18,12 +18,8 @@
*
*
*
- * This element contains a sequence of "name" elements, each of which
- * refers to an application configuration resource by the "name"
- * declared on its web.xml fragment. This element can also contain
- * a single "others" element which specifies that this document comes
- * before or after other documents within the application.
- * See section 8.2.2 of the specification for details.
+ * This element specifies configuration information related to the
+ * handling of multipart/form-data requests.
*
* @since Java EE 6, Web 3.0
*
@@ -52,6 +48,13 @@
* there really should be more of a description here...
*
*
+ *
+ *
+ *
+ * The directory location where uploaded files will be stored
+ *
+ *
+ *
* @return the value of the 'Location' attribute.
* @see #setLocation(String)
* @see org.eclipse.jst.javaee.web.internal.metadata.WebPackage#getMultipartConfigType_Location()
@@ -77,6 +80,13 @@
* there really should be more of a description here...
*
*
+ *
+ *
+ *
+ * The maximum size limit of uploaded files
+ *
+ *
+ *
* @return the value of the 'Max File Size' attribute.
* @see #isSetMaxFileSize()
* @see #unsetMaxFileSize()
@@ -129,6 +139,13 @@
* there really should be more of a description here...
*
*
+ *
+ *
+ *
+ * The maximum size limit of multipart/form-data requests
+ *
+ *
+ *
* @return the value of the 'Max Request Size' attribute.
* @see #isSetMaxRequestSize()
* @see #unsetMaxRequestSize()
@@ -181,6 +198,14 @@
* there really should be more of a description here...
*
*
+ *
+ *
+ *
+ * The size threshold after which an uploaded file will be
+ * written to disk
+ *
+ *
+ *
* @return the value of the 'File Size Threshold' attribute.
* @see #setFileSizeThreshold(BigInteger)
* @see org.eclipse.jst.javaee.web.internal.metadata.WebPackage#getMultipartConfigType_FileSizeThreshold()
Index: jee-models/org/eclipse/jst/javaee/web/WebApp.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/web/WebApp.java,v
retrieving revision 1.3
diff -u -r1.3 WebApp.java
--- jee-models/org/eclipse/jst/javaee/web/WebApp.java 15 Oct 2009 18:52:03 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/web/WebApp.java 13 Jan 2010 17:57:33 -0000
@@ -45,10 +45,10 @@
* The following features are supported:
*
* - {@link org.eclipse.jst.javaee.web.WebApp#getGroup Group}
+ * - {@link org.eclipse.jst.javaee.web.WebApp#getModuleName Module Name}
* - {@link org.eclipse.jst.javaee.web.WebApp#getDescriptions Descriptions}
* - {@link org.eclipse.jst.javaee.web.WebApp#getDisplayNames Display Names}
* - {@link org.eclipse.jst.javaee.web.WebApp#getIcons Icons}
- * - {@link org.eclipse.jst.javaee.web.WebApp#getName Name}
* - {@link org.eclipse.jst.javaee.web.WebApp#getDistributables Distributables}
* - {@link org.eclipse.jst.javaee.web.WebApp#getContextParams Context Params}
* - {@link org.eclipse.jst.javaee.web.WebApp#getFilters Filters}
@@ -78,7 +78,6 @@
* - {@link org.eclipse.jst.javaee.web.WebApp#getDataSource Data Source}
* - {@link org.eclipse.jst.javaee.web.WebApp#getMessageDestinations Message Destinations}
* - {@link org.eclipse.jst.javaee.web.WebApp#getLocalEncodingMappingsLists Local Encoding Mappings Lists}
- * - {@link org.eclipse.jst.javaee.web.WebApp#getModuleName Module Name}
* - {@link org.eclipse.jst.javaee.web.WebApp#getAbsoluteOrdering Absolute Ordering}
* - {@link org.eclipse.jst.javaee.web.WebApp#getId Id}
* - {@link org.eclipse.jst.javaee.web.WebApp#isMetadataComplete Metadata Complete}
@@ -152,22 +151,6 @@
List getIcons();
/**
- * Returns the value of the 'Name' attribute list.
- * The list contents are of type {@link java.lang.String}.
- *
- *
- *
- *
- * @since Java EE 6, Web 3.0
- *
- *
- * @return the value of the 'Name' attribute list.
- * @see org.eclipse.jst.javaee.web.internal.metadata.WebPackage#getWebApp_Name()
- * @generated
- */
- List getName();
-
- /**
* Returns the value of the 'Distributables' containment reference list.
* The list contents are of type {@link org.eclipse.jst.javaee.core.EmptyType}.
*
Index: jee-models/org/eclipse/jst/javaee/web/WebFragment.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/web/WebFragment.java,v
retrieving revision 1.1
diff -u -r1.1 WebFragment.java
--- jee-models/org/eclipse/jst/javaee/web/WebFragment.java 15 Oct 2009 18:52:03 -0000 1.1
+++ jee-models/org/eclipse/jst/javaee/web/WebFragment.java 13 Jan 2010 17:57:33 -0000
@@ -48,10 +48,10 @@
* The following features are supported:
*
* - {@link org.eclipse.jst.javaee.web.WebFragment#getGroup Group}
+ * - {@link org.eclipse.jst.javaee.web.WebFragment#getName Name}
* - {@link org.eclipse.jst.javaee.web.WebFragment#getDescriptions Descriptions}
* - {@link org.eclipse.jst.javaee.web.WebFragment#getDisplayNames Display Names}
* - {@link org.eclipse.jst.javaee.web.WebFragment#getIcons Icons}
- * - {@link org.eclipse.jst.javaee.web.WebFragment#getName Name}
* - {@link org.eclipse.jst.javaee.web.WebFragment#getDistributables Distributables}
* - {@link org.eclipse.jst.javaee.web.WebFragment#getContextParams Context Params}
* - {@link org.eclipse.jst.javaee.web.WebFragment#getFilters Filters}
@@ -158,11 +158,6 @@
* The list contents are of type {@link java.lang.String}.
*
*
- *
- *
- * @since Java EE 6, Web 3.0
- *
- *
* @return the value of the 'Name' attribute list.
* @see org.eclipse.jst.javaee.web.internal.metadata.WebPackage#getWebFragment_Name()
* @generated
Index: jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java,v
retrieving revision 1.3
diff -u -r1.3 JspPackage.java
--- jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java 15 Oct 2009 18:52:17 -0000 1.3
+++ jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java 13 Jan 2010 17:57:32 -0000
@@ -34,46 +34,12 @@
*
*
*
- * Copyright 2003-2009 Sun Microsystems, Inc.
- * 4150 Network Circle
- * Santa Clara, California 95054
- * U.S.A
- * All rights reserved.
- *
- * Sun Microsystems, Inc. has intellectual property rights
- * relating to technology described in this document. In
- * particular, and without limitation, these intellectual
- * property rights may include one or more of the U.S. patents
- * listed at http://www.sun.com/patents and one or more
- * additional patents or pending patent applications in the
- * U.S. and other countries.
- *
- * This document and the technology which it describes are
- * distributed under licenses restricting their use, copying,
- * distribution, and decompilation. No part of this document
- * may be reproduced in any form by any means without prior
- * written authorization of Sun and its licensors, if any.
- *
- * Third-party software, including font technology, is
- * copyrighted and licensed from Sun suppliers.
- *
- * Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
- * JavaServer Pages, Enterprise JavaBeans and the Java Coffee
- * Cup logo are trademarks or registered trademarks of Sun
- * Microsystems, Inc. in the U.S. and other countries.
- *
- * Federal Acquisitions: Commercial Software - Government Users
- * Subject to Standard License Terms and Conditions.
- *
- *
- *
- *
* This is the XML Schema for the JSP 2.2 deployment descriptor
* types. The JSP 2.2 schema contains all the special
* structures and datatypes that are necessary to use JSP files
* from a web application.
*
- * The contents of this schema is used by the web-app_3_0.xsd
+ * The contents of this schema is used by the web-common_3_0.xsd
* file to define JSP specific content.
*
*
@@ -94,7 +60,7 @@
*
*
*
- * $Id: JspPackage.java,v 1.3 2009/10/15 18:52:17 canderson Exp $
+ * $Id: javaee_6.xsd,v 1.3 2009/10/02 06:33:20 ccc Exp $
*
*
*
@@ -119,7 +85,7 @@
*
*
*
- * $Id: JspPackage.java,v 1.3 2009/10/15 18:52:17 canderson Exp $
+ * $Id: javaee_web_services_client_1_3.xsd,v 1.2 2009/09/29 20:31:42 ccc Exp $
*
*
*
Index: jee-models/org/eclipse/jst/javaee/web/internal/impl/WebAppImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/web/internal/impl/WebAppImpl.java,v
retrieving revision 1.5
diff -u -r1.5 WebAppImpl.java
--- jee-models/org/eclipse/jst/javaee/web/internal/impl/WebAppImpl.java 15 Oct 2009 18:52:05 -0000 1.5
+++ jee-models/org/eclipse/jst/javaee/web/internal/impl/WebAppImpl.java 13 Jan 2010 17:57:33 -0000
@@ -71,10 +71,10 @@
* The following features are implemented:
*
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getGroup Group}
+ * - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getModuleName Module Name}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getDescriptions Descriptions}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getDisplayNames Display Names}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getIcons Icons}
- * - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getName Name}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getDistributables Distributables}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getContextParams Context Params}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getFilters Filters}
@@ -104,7 +104,6 @@
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getDataSource Data Source}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getMessageDestinations Message Destinations}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getLocalEncodingMappingsLists Local Encoding Mappings Lists}
- * - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getModuleName Module Name}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getAbsoluteOrdering Absolute Ordering}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#getId Id}
* - {@link org.eclipse.jst.javaee.web.internal.impl.WebAppImpl#isMetadataComplete Metadata Complete}
@@ -266,15 +265,6 @@
*
* @generated
*/
- public List getName() {
- return getGroup().list(WebPackage.Literals.WEB_APP__NAME);
- }
-
- /**
- *
- *
- * @generated
- */
public List getDistributables() {
return getGroup().list(WebPackage.Literals.WEB_APP__DISTRIBUTABLES);
}
@@ -753,14 +743,14 @@
case WebPackage.WEB_APP__GROUP:
if (coreType) return getGroup();
return ((FeatureMap.Internal)getGroup()).getWrapper();
+ case WebPackage.WEB_APP__MODULE_NAME:
+ return getModuleName();
case WebPackage.WEB_APP__DESCRIPTIONS:
return getDescriptions();
case WebPackage.WEB_APP__DISPLAY_NAMES:
return getDisplayNames();
case WebPackage.WEB_APP__ICONS:
return getIcons();
- case WebPackage.WEB_APP__NAME:
- return getName();
case WebPackage.WEB_APP__DISTRIBUTABLES:
return getDistributables();
case WebPackage.WEB_APP__CONTEXT_PARAMS:
@@ -819,8 +809,6 @@
return getMessageDestinations();
case WebPackage.WEB_APP__LOCAL_ENCODING_MAPPINGS_LISTS:
return getLocalEncodingMappingsLists();
- case WebPackage.WEB_APP__MODULE_NAME:
- return getModuleName();
case WebPackage.WEB_APP__ABSOLUTE_ORDERING:
return getAbsoluteOrdering();
case WebPackage.WEB_APP__ID:
@@ -845,6 +833,10 @@
case WebPackage.WEB_APP__GROUP:
((FeatureMap.Internal)getGroup()).set(newValue);
return;
+ case WebPackage.WEB_APP__MODULE_NAME:
+ getModuleName().clear();
+ getModuleName().addAll((Collection extends String>)newValue);
+ return;
case WebPackage.WEB_APP__DESCRIPTIONS:
getDescriptions().clear();
getDescriptions().addAll((Collection extends Description>)newValue);
@@ -857,10 +849,6 @@
getIcons().clear();
getIcons().addAll((Collection extends Icon>)newValue);
return;
- case WebPackage.WEB_APP__NAME:
- getName().clear();
- getName().addAll((Collection extends String>)newValue);
- return;
case WebPackage.WEB_APP__DISTRIBUTABLES:
getDistributables().clear();
getDistributables().addAll((Collection extends EmptyType>)newValue);
@@ -977,10 +965,6 @@
getLocalEncodingMappingsLists().clear();
getLocalEncodingMappingsLists().addAll((Collection extends LocaleEncodingMappingList>)newValue);
return;
- case WebPackage.WEB_APP__MODULE_NAME:
- getModuleName().clear();
- getModuleName().addAll((Collection extends String>)newValue);
- return;
case WebPackage.WEB_APP__ABSOLUTE_ORDERING:
getAbsoluteOrdering().clear();
getAbsoluteOrdering().addAll((Collection extends AbsoluteOrderingType>)newValue);
@@ -1009,6 +993,9 @@
case WebPackage.WEB_APP__GROUP:
getGroup().clear();
return;
+ case WebPackage.WEB_APP__MODULE_NAME:
+ getModuleName().clear();
+ return;
case WebPackage.WEB_APP__DESCRIPTIONS:
getDescriptions().clear();
return;
@@ -1018,9 +1005,6 @@
case WebPackage.WEB_APP__ICONS:
getIcons().clear();
return;
- case WebPackage.WEB_APP__NAME:
- getName().clear();
- return;
case WebPackage.WEB_APP__DISTRIBUTABLES:
getDistributables().clear();
return;
@@ -1108,9 +1092,6 @@
case WebPackage.WEB_APP__LOCAL_ENCODING_MAPPINGS_LISTS:
getLocalEncodingMappingsLists().clear();
return;
- case WebPackage.WEB_APP__MODULE_NAME:
- getModuleName().clear();
- return;
case WebPackage.WEB_APP__ABSOLUTE_ORDERING:
getAbsoluteOrdering().clear();
return;
@@ -1137,14 +1118,14 @@
switch (featureID) {
case WebPackage.WEB_APP__GROUP:
return group != null && !group.isEmpty();
+ case WebPackage.WEB_APP__MODULE_NAME:
+ return !getModuleName().isEmpty();
case WebPackage.WEB_APP__DESCRIPTIONS:
return !getDescriptions().isEmpty();
case WebPackage.WEB_APP__DISPLAY_NAMES:
return !getDisplayNames().isEmpty();
case WebPackage.WEB_APP__ICONS:
return !getIcons().isEmpty();
- case WebPackage.WEB_APP__NAME:
- return !getName().isEmpty();
case WebPackage.WEB_APP__DISTRIBUTABLES:
return !getDistributables().isEmpty();
case WebPackage.WEB_APP__CONTEXT_PARAMS:
@@ -1203,8 +1184,6 @@
return !getMessageDestinations().isEmpty();
case WebPackage.WEB_APP__LOCAL_ENCODING_MAPPINGS_LISTS:
return !getLocalEncodingMappingsLists().isEmpty();
- case WebPackage.WEB_APP__MODULE_NAME:
- return !getModuleName().isEmpty();
case WebPackage.WEB_APP__ABSOLUTE_ORDERING:
return !getAbsoluteOrdering().isEmpty();
case WebPackage.WEB_APP__ID:
Index: jee-models/org/eclipse/jst/javaee/web/internal/impl/WebFragmentImpl.java
===================================================================
RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/web/internal/impl/WebFragmentImpl.java,v
retrieving revision 1.1
diff -u -r1.1 WebFragmentImpl.java
--- jee-models/org/eclipse/jst/javaee/web/internal/impl/WebFragmentImpl.java 15 Oct 2009 18:52:05 -0000 1.1
+++ jee-models/org/eclipse/jst/javaee/web/internal/impl/WebFragmentImpl.java 13 Jan 2010 17:57:33 -0000
@@ -69,10 +69,10 @@
* The following features are implemented:
*