From fcd33409206c1bda9a386ffe05fb212715681016 Mon Sep 17 00:00:00 2001 From: Eike Stepper Date: Wed, 12 Aug 2009 17:16:39 +0000 Subject: Upgraded all models --- .../org/eclipse/emf/cdo/eresource/CDOResource.java | 102 ++++---- .../emf/cdo/eresource/CDOResourceFolder.java | 8 +- .../eclipse/emf/cdo/eresource/CDOResourceNode.java | 22 +- .../emf/cdo/eresource/EresourceFactory.java | 16 +- .../emf/cdo/eresource/EresourcePackage.java | 260 ++++++++++----------- .../cdo/eresource/impl/CDOResourceFolderImpl.java | 16 +- .../emf/cdo/eresource/impl/CDOResourceImpl.java | 39 ++-- .../cdo/eresource/impl/CDOResourceNodeImpl.java | 7 - .../cdo/eresource/impl/EresourceFactoryImpl.java | 17 +- .../cdo/eresource/impl/EresourcePackageImpl.java | 82 ++----- .../eresource/util/EresourceAdapterFactory.java | 41 ++-- .../emf/cdo/eresource/util/EresourceSwitch.java | 48 ++-- 12 files changed, 285 insertions(+), 373 deletions(-) (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse') diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResource.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResource.java index f2b4b9292e..8c76c5605a 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResource.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResource.java @@ -22,20 +22,22 @@ import org.eclipse.core.runtime.IProgressMonitor; * A representation of the model object 'CDO Resource'. * * @extends Resource - *
- * The following features are supported: - *
+ * The following features are supported: + *
* If the meaning of the 'Resource Set' attribute isn't clear, there really should be more of a description * here... *
* - * * @return the value of the 'Resource Set' attribute. * @see #setResourceSet(ResourceSet) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_ResourceSet() @@ -65,23 +67,21 @@ public interface CDOResource extends CDOResourceNode, Resource ResourceSet getResourceSet(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#getResourceSet Resource Set}' - * attribute. - * - * @param value - * the new value of the 'Resource Set' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#getResourceSet Resource Set}' attribute. + * + * @param value the new value of the 'Resource Set' attribute. * @see #getResourceSet() * @generated */ void setResourceSet(ResourceSet value); /** - * Returns the value of the 'URI' attribute. + * Returns the value of the 'URI' attribute. + * ** If the meaning of the 'URI' attribute isn't clear, there really should be more of a description here... *
* - * * @return the value of the 'URI' attribute. * @see #setURI(URI) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_URI() @@ -102,14 +102,14 @@ public interface CDOResource extends CDOResourceNode, Resource void setURI(URI value); /** - * Returns the value of the 'Contents' containment reference list. The list contents are of type - * {@link org.eclipse.emf.ecore.EObject}. + * Returns the value of the 'Contents' containment reference list. + * The list contents are of type {@link org.eclipse.emf.ecore.EObject}. + * ** If the meaning of the 'Contents' containment reference list isn't clear, there really should be more of a * description here... *
* - * * @return the value of the 'Contents' containment reference list. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Contents() * @model containment="true" @@ -118,13 +118,13 @@ public interface CDOResource extends CDOResourceNode, Resource EList* If the meaning of the 'Modified' attribute isn't clear, there really should be more of a description * here... *
* - * * @return the value of the 'Modified' attribute. * @see #setModified(boolean) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Modified() @@ -136,9 +136,7 @@ public interface CDOResource extends CDOResourceNode, Resource /** * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#isModified Modified}' attribute. * - * - * @param value - * the new value of the 'Modified' attribute. + * @param value the new value of the 'Modified' attribute. * @see #isModified() * @generated */ @@ -160,13 +158,13 @@ public interface CDOResource extends CDOResourceNode, Resource boolean isLoaded(); /** - * Returns the value of the 'Tracking Modification' attribute. + * Returns the value of the 'Tracking Modification' attribute. + * ** If the meaning of the 'Tracking Modification' attribute isn't clear, there really should be more of a * description here... *
* - * * @return the value of the 'Tracking Modification' attribute. * @see #setTrackingModification(boolean) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_TrackingModification() @@ -176,58 +174,54 @@ public interface CDOResource extends CDOResourceNode, Resource boolean isTrackingModification(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#isTrackingModification - * Tracking Modification}' attribute. - * - * @param value - * the new value of the 'Tracking Modification' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#isTrackingModification Tracking Modification}' attribute. + * + * @param value the new value of the 'Tracking Modification' attribute. * @see #isTrackingModification() * @generated */ void setTrackingModification(boolean value); /** - * Returns the value of the 'Errors' attribute list. The list contents are of type - * {@link org.eclipse.emf.ecore.resource.Resource.Diagnostic}. + * Returns the value of the 'Errors' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.resource.Resource.Diagnostic}. + * ** If the meaning of the 'Errors' attribute list isn't clear, there really should be more of a description * here... *
* - * * @return the value of the 'Errors' attribute list. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Errors() - * @model dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" - * derived="true" + * @model dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" derived="true" * @generated */ EList* If the meaning of the 'Warnings' attribute list isn't clear, there really should be more of a description * here... *
* - * * @return the value of the 'Warnings' attribute list. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Warnings() - * @model dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" - * derived="true" + * @model dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" derived="true" * @generated */ EList* If the meaning of the 'Time Stamp' attribute isn't clear, there really should be more of a description * here... *
* - * * @return the value of the 'Time Stamp' attribute. * @see #setTimeStamp(long) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_TimeStamp() @@ -237,11 +231,9 @@ public interface CDOResource extends CDOResourceNode, Resource long getTimeStamp(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#getTimeStamp Time Stamp}' - * attribute. - * - * @param value - * the new value of the 'Time Stamp' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#getTimeStamp Time Stamp}' attribute. + * + * @param value the new value of the 'Time Stamp' attribute. * @see #getTimeStamp() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceFolder.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceFolder.java index 9fdca62ee0..62780faad6 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceFolder.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceFolder.java @@ -30,15 +30,15 @@ import org.eclipse.emf.common.util.EList; public interface CDOResourceFolder extends CDOResourceNode { /** - * Returns the value of the 'Nodes' containment reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.eresource.CDOResourceNode}. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder Folder}'. + * Returns the value of the 'Nodes' containment reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.eresource.CDOResourceNode}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder Folder}'. + * ** If the meaning of the 'Nodes' containment reference list isn't clear, there really should be more of a * description here... *
* - * * @return the value of the 'Nodes' containment reference list. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceFolder_Nodes() * @see org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceNode.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceNode.java index 7013097d3d..8369b134b0 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceNode.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOResourceNode.java @@ -57,14 +57,14 @@ public interface CDOResourceNode extends CDOObject public boolean isRoot(); /** - * Returns the value of the 'Folder' container reference. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.eresource.CDOResourceFolder#getNodes Nodes}'. + * Returns the value of the 'Folder' container reference. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.eresource.CDOResourceFolder#getNodes Nodes}'. + * ** If the meaning of the 'Folder' container reference isn't clear, there really should be more of a * description here... *
* - * * @return the value of the 'Folder' container reference. * @see #setFolder(CDOResourceFolder) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceNode_Folder() @@ -75,23 +75,21 @@ public interface CDOResourceNode extends CDOObject CDOResourceFolder getFolder(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder Folder}' container - * reference. - * - * @param value - * the new value of the 'Folder' container reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder Folder}' container reference. + * + * @param value the new value of the 'Folder' container reference. * @see #getFolder() * @generated */ void setFolder(CDOResourceFolder value); /** - * Returns the value of the 'Name' attribute. + * Returns the value of the 'Name' attribute. + * ** If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... *
* - * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceNode_Name() @@ -112,12 +110,12 @@ public interface CDOResourceNode extends CDOObject void setName(String value); /** - * Returns the value of the 'Path' attribute. + * Returns the value of the 'Path' attribute. + * ** If the meaning of the 'Path' attribute isn't clear, there really should be more of a description here... *
* - * * @return the value of the 'Path' attribute. * @see #setPath(String) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceNode_Path() diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourceFactory.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourceFactory.java index 03a306cf66..e24100c8a2 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourceFactory.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourceFactory.java @@ -15,21 +15,21 @@ import org.eclipse.emf.ecore.EFactory; /** * The Factory for the model. It provides a create method for each non-abstract class of * the model. - * * @see org.eclipse.emf.cdo.eresource.EresourcePackage * @generated */ public interface EresourceFactory extends EFactory { /** - * The singleton instance of the factory. - * + * The singleton instance of the factory. + * * @generated */ EresourceFactory eINSTANCE = org.eclipse.emf.cdo.eresource.impl.EresourceFactoryImpl.init(); /** - * Returns a new object of class 'CDO Resource Folder'. + * Returns a new object of class 'CDO Resource Folder'. + * * * @since 2.0 * @return a new object of class 'CDO Resource Folder'. @@ -38,16 +38,16 @@ public interface EresourceFactory extends EFactory CDOResourceFolder createCDOResourceFolder(); /** - * Returns a new object of class 'CDO Resource'. - * + * Returns a new object of class 'CDO Resource'. + * * @return a new object of class 'CDO Resource'. * @generated */ CDOResource createCDOResource(); /** - * Returns the package supported by this factory. - * + * Returns the package supported by this factory. + * * @return the package supported by this factory. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java index e5526f0d47..4e354ef47a 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java @@ -25,7 +25,6 @@ import org.eclipse.emf.ecore.EReference; *- * The following features are implemented: - *
+ * The following features are implemented: + *
- * The following features are implemented: - *
+ * The following features are implemented: + *
- * Of this package and its interdependencies, all packages which have not yet been registered by their URI values are - * first created and registered. The packages are then initialized in two steps: meta-model objects for all of the - * packages are created before any are initialized, since one package's meta-model objects may refer to those of - * another. - *
- * Invocation of this method will not affect any packages that have already been initialized. - * * + *
This method is used to initialize {@link EresourcePackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ *
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
@@ -121,13 +107,11 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
public static EresourcePackage init()
{
if (isInited)
- {
return (EresourcePackage)EPackage.Registry.INSTANCE.getEPackage(EresourcePackage.eNS_URI);
- }
// Obtain or create and register package
- EresourcePackageImpl theEresourcePackage = (EresourcePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof EresourcePackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(eNS_URI)
+ EresourcePackageImpl theEresourcePackage = (EresourcePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EresourcePackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI)
: new EresourcePackageImpl());
isInited = true;
@@ -144,6 +128,8 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
// Mark meta-data to indicate it can't be changed
theEresourcePackage.freeze();
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(EresourcePackage.eNS_URI, theEresourcePackage);
return theEresourcePackage;
}
@@ -215,7 +201,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EClass getCDOResource()
@@ -225,7 +210,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_ResourceSet()
@@ -235,7 +219,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_URI()
@@ -245,7 +228,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EReference getCDOResource_Contents()
@@ -255,7 +237,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_Modified()
@@ -265,7 +246,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_Loaded()
@@ -275,7 +255,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_TrackingModification()
@@ -285,7 +264,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_Errors()
@@ -295,7 +273,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_Warnings()
@@ -305,7 +282,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EAttribute getCDOResource_TimeStamp()
@@ -315,7 +291,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EDataType getResourceSet()
@@ -325,7 +300,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EDataType getURI()
@@ -335,7 +309,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EDataType getDiagnostic()
@@ -345,7 +318,6 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
public EresourceFactory getEresourceFactory()
@@ -355,23 +327,20 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
- * first.
- *
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ *
* @generated
*/
public void createPackageContents()
{
if (isCreated)
- {
return;
- }
isCreated = true;
// Create classes and their features
@@ -402,23 +371,20 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
/**
*
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
- * invocation but its first.
- *
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ *
* @generated
*/
public void initializePackageContents()
{
if (isInitialized)
- {
return;
- }
isInitialized = true;
// Initialize package
@@ -434,16 +400,16 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
// Set bounds for type parameters
// Add supertypes to classes
- cdoResourceFolderEClass.getESuperTypes().add(getCDOResourceNode());
- cdoResourceEClass.getESuperTypes().add(getCDOResourceNode());
+ cdoResourceFolderEClass.getESuperTypes().add(this.getCDOResourceNode());
+ cdoResourceEClass.getESuperTypes().add(this.getCDOResourceNode());
// Initialize classes and features; add operations and parameters
initEClass(cdoResourceNodeEClass, CDOResourceNode.class,
"CDOResourceNode", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(
getCDOResourceNode_Folder(),
- getCDOResourceFolder(),
- getCDOResourceFolder_Nodes(),
+ this.getCDOResourceFolder(),
+ this.getCDOResourceFolder_Nodes(),
"folder", null, 0, 1, CDOResourceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(
getCDOResourceNode_Name(),
@@ -458,19 +424,19 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
"CDOResourceFolder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(
getCDOResourceFolder_Nodes(),
- getCDOResourceNode(),
- getCDOResourceNode_Folder(),
+ this.getCDOResourceNode(),
+ this.getCDOResourceNode_Folder(),
"nodes", null, 0, -1, CDOResourceFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(cdoResourceEClass, CDOResource.class,
"CDOResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEAttribute(
getCDOResource_ResourceSet(),
- getResourceSet(),
+ this.getResourceSet(),
"resourceSet", null, 0, 1, CDOResource.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(
getCDOResource_URI(),
- getURI(),
+ this.getURI(),
"uRI", null, 0, 1, CDOResource.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(
getCDOResource_Contents(),
@@ -491,11 +457,11 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
"trackingModification", null, 0, 1, CDOResource.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(
getCDOResource_Errors(),
- getDiagnostic(),
+ this.getDiagnostic(),
"errors", null, 0, -1, CDOResource.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(
getCDOResource_Warnings(),
- getDiagnostic(),
+ this.getDiagnostic(),
"warnings", null, 0, -1, CDOResource.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(
getCDOResource_TimeStamp(),
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java
index bcaaedd8ee..bbca219eb1 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java
@@ -23,22 +23,21 @@ import org.eclipse.emf.ecore.EObject;
/**
* The Adapter Factory for the model. It provides an adapter createXXX
* method for each class of the model.
- *
* @see org.eclipse.emf.cdo.eresource.EresourcePackage
* @generated
*/
public class EresourceAdapterFactory extends AdapterFactoryImpl
{
/**
- * The cached model package.
- *
+ * The cached model package.
+ *
* @generated
*/
protected static EresourcePackage modelPackage;
/**
- * Creates an instance of the adapter factory.
- *
+ * Creates an instance of the adapter factory.
+ *
* @generated
*/
public EresourceAdapterFactory()
@@ -50,10 +49,10 @@ public class EresourceAdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object. This implementation
+ * Returns whether this factory is applicable for the type of the object.
+ * This implementation
* returns true
if the object is either the model's package or is an instance object of the model.
- *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -72,8 +71,8 @@ public class EresourceAdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the createXXX
methods.
- *
+ * The switch that delegates to the createXXX
methods.
+ *
* @generated
*/
protected EresourceSwitchtarget
.
- *
- * @param target
- * the object to adapt.
+ * Creates an adapter for the target
.
+ *
+ * @param target the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@@ -118,8 +116,8 @@ public class EresourceAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode
- * CDO Resource Node}'. This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode CDO Resource Node}'.
+ * This default implementation returns null so that we can
* easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @since 2.0
@@ -133,8 +131,8 @@ public class EresourceAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.eresource.CDOResourceFolder
- * CDO Resource Folder}'. This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.eresource.CDOResourceFolder CDO Resource Folder}'.
+ * This default implementation returns null so that we can
* easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @since 2.0
@@ -148,10 +146,9 @@ public class EresourceAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.eresource.CDOResource
- * CDO Resource}'. This default implementation returns null so that we can easily
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.eresource.CDOResource CDO Resource}'.
+ * This default implementation returns null so that we can easily
* ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
* @return the new adapter.
* @see org.eclipse.emf.cdo.eresource.CDOResource
* @generated
@@ -162,9 +159,9 @@ public class EresourceAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case. This default implementation returns null. This default implementation returns null.
- *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java
index 9bcd26876f..1a0a09ef7c 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java
@@ -25,22 +25,21 @@ import java.util.List;
* {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX
method for each class of the model,
* starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
* returned, which is the result of the switch.
- *
* @see org.eclipse.emf.cdo.eresource.EresourcePackage
* @generated
*/
public class EresourceSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
- *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -66,7 +64,6 @@ public class EresourceSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
- *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -86,7 +83,6 @@ public class EresourceSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
- *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -99,9 +95,7 @@ public class EresourceSwitch