summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-11-01 06:33:55 (EDT)
committerEike Stepper2007-11-01 06:33:55 (EDT)
commit477a1e9b1b213e7e6b816c48fcb71124d99b3c11 (patch)
tree1d3ef4a407051dde297a3426a04662d9d25b2de7
parenta26ff85a95304241cea5a0e63e2246c120941d86 (diff)
downloadcdo-477a1e9b1b213e7e6b816c48fcb71124d99b3c11.zip
cdo-477a1e9b1b213e7e6b816c48fcb71124d99b3c11.tar.gz
cdo-477a1e9b1b213e7e6b816c48fcb71124d99b3c11.tar.bz2
[154017] Create CDO homepage
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154017
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/model/model1.genmodel51
1 files changed, 30 insertions, 21 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.genmodel b/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.genmodel
index d0a7120..9fd2f83 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.genmodel
@@ -7,42 +7,51 @@
testsDirectory="" importerID="org.eclipse.emf.importer.ecore" featureDelegation="Reflective"
complianceLevel="5.0">
<foreignModel>model1.ecore</foreignModel>
+ <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
<genPackages prefix="Model1" basePackage="org.eclipse.emf.cdo.tests" disposableProviderFactory="true"
ecorePackage="model1.ecore#/">
- <genClasses ecoreClass="model1.ecore#//Supplier">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Supplier/name"/>
- </genClasses>
- <genClasses ecoreClass="model1.ecore#//PurchaseOrder">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//PurchaseOrder/date"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//PurchaseOrder/supplier"/>
- </genClasses>
- <genClasses ecoreClass="model1.ecore#//OrderDetail">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//OrderDetail/product"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//OrderDetail/price"/>
- </genClasses>
- <genClasses ecoreClass="model1.ecore#//Product">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Product/name"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//Product/orderDetails"/>
- </genClasses>
- <genClasses ecoreClass="model1.ecore#//Category">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Category/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Category/categories"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Category/products"/>
+ <genClasses ecoreClass="model1.ecore#//Address">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Address/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Address/street"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Address/city"/>
</genClasses>
<genClasses ecoreClass="model1.ecore#//Company">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Company/categories"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Company/suppliers"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Company/purchaseOrders"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Company/customers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Company/purchaseOrders"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Company/salesOrders"/>
</genClasses>
+ <genClasses ecoreClass="model1.ecore#//Supplier">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//Supplier/purchaseOrders"/>
+ </genClasses>
<genClasses ecoreClass="model1.ecore#//Customer">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Customer/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//Customer/salesOrders"/>
</genClasses>
+ <genClasses ecoreClass="model1.ecore#//Order">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Order/orderDetails"/>
+ </genClasses>
+ <genClasses ecoreClass="model1.ecore#//OrderDetail">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference model1.ecore#//OrderDetail/order"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//OrderDetail/product"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//OrderDetail/price"/>
+ </genClasses>
+ <genClasses ecoreClass="model1.ecore#//PurchaseOrder">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//PurchaseOrder/date"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//PurchaseOrder/supplier"/>
+ </genClasses>
<genClasses ecoreClass="model1.ecore#//SalesOrder">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//SalesOrder/id"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//SalesOrder/customer"/>
</genClasses>
+ <genClasses ecoreClass="model1.ecore#//Category">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Category/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Category/categories"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference model1.ecore#//Category/products"/>
+ </genClasses>
+ <genClasses ecoreClass="model1.ecore#//Product">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Product/name"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//Product/orderDetails"/>
+ </genClasses>
</genPackages>
</genmodel:GenModel>