Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-06-30 08:27:17 +0000
committerEike Stepper2007-06-30 08:27:17 +0000
commita1acc75d1a8466cac6c650f6f34832f87b63950d (patch)
tree70dd94d09d56c15a637e41e97aa92f86559896ac /plugins/org.eclipse.emf.cdo/model
parent6ddb6a19ed676bf6cb762864113df08a7f16a064 (diff)
downloadcdo-a1acc75d1a8466cac6c650f6f34832f87b63950d.tar.gz
cdo-a1acc75d1a8466cac6c650f6f34832f87b63950d.tar.xz
cdo-a1acc75d1a8466cac6c650f6f34832f87b63950d.zip
task 1: Develop 0.8.0
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/model')
-rw-r--r--plugins/org.eclipse.emf.cdo/model/eresource.ecore30
-rw-r--r--plugins/org.eclipse.emf.cdo/model/resource.genmodel27
2 files changed, 57 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo/model/eresource.ecore b/plugins/org.eclipse.emf.cdo/model/eresource.ecore
new file mode 100644
index 0000000000..6e820057fe
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo/model/eresource.ecore
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="eresource"
+ nsURI="http://www.eclipse.org/emf/CDO/resource/1.0.0" nsPrefix="eresource">
+ <eClassifiers xsi:type="ecore:EClass" name="CDOResource">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceSet" eType="#//ResourceSet"
+ transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="uRI" eType="#//URI" transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="contents" upperBound="-1"
+ eType="ecore:EClass ../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="modified" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="loaded" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="trackingModification" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="errors" upperBound="-1"
+ eType="#//Diagnostic" transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="warnings" upperBound="-1"
+ eType="#//Diagnostic" transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="path" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ResourceSet" instanceClassName="org.eclipse.emf.ecore.resource.ResourceSet"
+ serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="URI" instanceClassName="org.eclipse.emf.common.util.URI"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="Diagnostic" instanceClassName="org.eclipse.emf.ecore.resource.Resource.Diagnostic"
+ serializable="false"/>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo/model/resource.genmodel b/plugins/org.eclipse.emf.cdo/model/resource.genmodel
new file mode 100644
index 0000000000..a40d9222e7
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo/model/resource.genmodel
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText=""
+ modelDirectory="/cdo2/src" editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo"
+ modelName="Eresource" updateClasspath="false" rootExtendsInterface="org.eclipse.emf.cdo.eresource.EresourceObject"
+ rootExtendsClass="org.eclipse.emf.internal.cdo.CDOObjectImpl" reflectiveDelegation="true"
+ codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore"
+ featureDelegation="Reflective" complianceLevel="5.0" usedGenPackages="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
+ <foreignModel>eresource.ecore</foreignModel>
+ <genPackages prefix="Eresource" basePackage="org.eclipse.emf.cdo" disposableProviderFactory="true"
+ ecorePackage="eresource.ecore#/">
+ <genDataTypes ecoreDataType="eresource.ecore#//ResourceSet"/>
+ <genDataTypes ecoreDataType="eresource.ecore#//URI"/>
+ <genDataTypes ecoreDataType="eresource.ecore#//Diagnostic"/>
+ <genClasses ecoreClass="eresource.ecore#//CDOResource">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/resourceSet"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/uRI"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eresource.ecore#//CDOResource/contents"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/modified"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/loaded"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/trackingModification"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/errors"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/warnings"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>

Back to the top