You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by kw...@apache.org on 2006/01/18 00:11:16 UTC
svn commit: r369954 [1/2] - in
/incubator/tuscany/java/das/rdb/src/main/resources: dasmodel3.ecore
dasmodel3.genmodel dasmodel3.mdl
Author: kwilliams
Date: Tue Jan 17 15:11:14 2006
New Revision: 369954
URL: http://svn.apache.org/viewcvs?rev=369954&view=rev
Log:
Rename of config model elements
Added:
incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.ecore
incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.genmodel
incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.mdl
Added: incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.ecore
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.ecore?rev=369954&view=auto
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.ecore (added)
+++ incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.ecore Tue Jan 17 15:11:14 2006
@@ -0,0 +1,89 @@
+<?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="config"
+ nsURI="http:///org.apache.tuscany.das.rdb/config.xsd" nsPrefix="org.apache.tuscany.das.rdb.config">
+ <eClassifiers xsi:type="ecore:EClass" name="Config">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="uri" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Command" upperBound="-1"
+ eType="#//Command" containment="true" eOpposite="#//Command/Config"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ConnectionProperties" eType="#//ConnectionProperties"
+ containment="true" eOpposite="#//ConnectionProperties/Config"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Table" upperBound="-1"
+ eType="#//Table" containment="true" eOpposite="#//Table/Config"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Relationship" upperBound="-1"
+ eType="#//Relationship" containment="true" eOpposite="#//Relationship/Config"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Command">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="SQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Config" eType="#//Config"
+ transient="true" eOpposite="#//Config/Command"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Parameter" upperBound="-1"
+ eType="#//Parameter" containment="true" eOpposite="#//Parameter/Command"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ResultDescriptor" upperBound="-1"
+ eType="#//ResultDescriptor" containment="true" eOpposite="#//ResultDescriptor/Command"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConnectionProperties">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dataSource" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driverClassName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driverURL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driverPassword" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driverUserName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Config" eType="#//Config"
+ transient="true" eOpposite="#//Config/ConnectionProperties"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Parameter">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Command" eType="#//Command"
+ transient="true" eOpposite="#//Command/Parameter"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Relationship">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryKeyTable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="foreignKeyTable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="many" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Config" eType="#//Config"
+ transient="true" eOpposite="#//Config/Relationship"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="KeyPair" upperBound="-1"
+ eType="#//KeyPair" containment="true" eOpposite="#//KeyPair/Relationship"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Table">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="propertyName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="create" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="update" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="delete" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Config" eType="#//Config"
+ transient="true" eOpposite="#//Config/Table"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Column" upperBound="-1"
+ eType="#//Column" containment="true" eOpposite="#//Column/Table"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="KeyPair">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryKeyColumn" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="foreignKeyColumn" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Relationship" eType="#//Relationship"
+ transient="true" eOpposite="#//Relationship/KeyPair"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Column">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="propertyName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="converterClassName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryKey" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="generated" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="collision" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Table" eType="#//Table"
+ transient="true" eOpposite="#//Table/Column"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResultDescriptor">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="columnName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="tableName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="converter" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="Command" eType="#//Command"
+ transient="true" eOpposite="#//Command/ResultDescriptor"/>
+ </eClassifiers>
+</ecore:EPackage>
Added: incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.genmodel
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.genmodel?rev=369954&view=auto
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.genmodel (added)
+++ incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.genmodel Tue Jan 17 15:11:14 2006
@@ -0,0 +1,77 @@
+<?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" modelDirectory="/rdbNewConfig/src"
+ modelPluginID="rdbNewConfig" modelName="Dasmodel3" importerID="org.eclipse.emf.importer.rose">
+ <foreignModel>C:\Documents and Settings\Administrator\Desktop\dasmodel3.mdl</foreignModel>
+ <genPackages prefix="Config" basePackage="org.apache.tuscany.das.rdb" disposableProviderFactory="true"
+ ecorePackage="dasmodel3.ecore#/">
+ <genClasses ecoreClass="dasmodel3.ecore#//Config">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Config/uri"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Config/Command"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Config/ConnectionProperties"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Config/Table"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Config/Relationship"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//Command">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Command/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Command/SQL"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Command/kind"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//Command/Config"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Command/Parameter"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Command/ResultDescriptor"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//ConnectionProperties">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ConnectionProperties/dataSource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ConnectionProperties/driverClassName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ConnectionProperties/driverURL"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ConnectionProperties/driverPassword"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ConnectionProperties/driverUserName"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//ConnectionProperties/Config"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//Parameter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Parameter/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Parameter/type"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//Parameter/Command"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//Relationship">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Relationship/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Relationship/primaryKeyTable"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Relationship/foreignKeyTable"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Relationship/many"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//Relationship/Config"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Relationship/KeyPair"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//Table">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Table/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Table/propertyName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Table/create"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Table/update"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Table/delete"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//Table/Config"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dasmodel3.ecore#//Table/Column"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//KeyPair">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//KeyPair/primaryKeyColumn"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//KeyPair/foreignKeyColumn"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//KeyPair/Relationship"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//Column">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Column/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Column/propertyName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Column/converterClassName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Column/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Column/primaryKey"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Column/generated"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//Column/collision"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//Column/Table"/>
+ </genClasses>
+ <genClasses ecoreClass="dasmodel3.ecore#//ResultDescriptor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ResultDescriptor/columnName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ResultDescriptor/tableName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ResultDescriptor/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dasmodel3.ecore#//ResultDescriptor/converter"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference dasmodel3.ecore#//ResultDescriptor/Command"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>