tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwilli...@apache.org
Subject svn commit: r375692 [1/2] - in /incubator/tuscany/java/das/rdb/src/main/resources: config.xsd dasmodel3.ecore dasmodel3.genmodel dasmodel3.mdl dasmodel3.xsd dasmodel4.mdl
Date Tue, 07 Feb 2006 20:42:17 GMT
Author: kwilliams
Date: Tue Feb  7 12:42:16 2006
New Revision: 375692

URL: http://svn.apache.org/viewcvs?rev=375692&view=rev
Log:
Latest rose model and corresponding xsd used to gen the 
SDO2 config model

Added:
    incubator/tuscany/java/das/rdb/src/main/resources/config.xsd   (with props)
    incubator/tuscany/java/das/rdb/src/main/resources/dasmodel4.mdl
Removed:
    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
    incubator/tuscany/java/das/rdb/src/main/resources/dasmodel3.xsd

Added: incubator/tuscany/java/das/rdb/src/main/resources/config.xsd
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/das/rdb/src/main/resources/config.xsd?rev=375692&view=auto
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/resources/config.xsd (added)
+++ incubator/tuscany/java/das/rdb/src/main/resources/config.xsd Tue Feb  7 12:42:16 2006
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:org.apache.tuscany.das.rdb.config="http:///org.apache.tuscany.das.rdb/config.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" ecore:nsPrefix="org.apache.tuscany.das.rdb.config"
ecore:package="org.apache.tuscany.das.rdb.config" targetNamespace="http:///org.apache.tuscany.das.rdb/config.xsd">
+   <xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore" schemaLocation="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd"/>
+   <xsd:element ecore:ignore="true" name="Config" type="org.apache.tuscany.das.rdb.config:Config"/>
+   <xsd:element ecore:ignore="true" name="Command" type="org.apache.tuscany.das.rdb.config:Command"/>
+   <xsd:element ecore:ignore="true" name="ConnectionProperties" type="org.apache.tuscany.das.rdb.config:ConnectionProperties"/>
+   <xsd:element ecore:ignore="true" name="Parameter" type="org.apache.tuscany.das.rdb.config:Parameter"/>
+   <xsd:element ecore:ignore="true" name="Relationship" type="org.apache.tuscany.das.rdb.config:Relationship"/>
+   <xsd:element ecore:ignore="true" name="Table" type="org.apache.tuscany.das.rdb.config:Table"/>
+   <xsd:element ecore:ignore="true" name="KeyPair" type="org.apache.tuscany.das.rdb.config:KeyPair"/>
+   <xsd:element ecore:ignore="true" name="Column" type="org.apache.tuscany.das.rdb.config:Column"/>
+   <xsd:element ecore:ignore="true" name="ResultDescriptor" type="org.apache.tuscany.das.rdb.config:ResultDescriptor"/>
+   <xsd:complexType name="Config">
+      <xsd:sequence>
+         <xsd:element ecore:opposite="Config" ecore:resolveProxies="true" maxOccurs="unbounded"
minOccurs="0" name="Command" type="org.apache.tuscany.das.rdb.config:Command"/>
+         <xsd:element ecore:opposite="Config" ecore:resolveProxies="true" minOccurs="0"
name="ConnectionProperties" type="org.apache.tuscany.das.rdb.config:ConnectionProperties"/>
+         <xsd:element ecore:opposite="Config" ecore:resolveProxies="true" maxOccurs="unbounded"
minOccurs="0" name="Table" type="org.apache.tuscany.das.rdb.config:Table"/>
+         <xsd:element ecore:opposite="Config" ecore:resolveProxies="true" maxOccurs="unbounded"
minOccurs="0" name="Relationship" type="org.apache.tuscany.das.rdb.config:Relationship"/>
+      </xsd:sequence>
+      <xsd:attribute name="uri" type="xsd:string"/>
+   </xsd:complexType>
+   <xsd:complexType name="Command">
+      <xsd:sequence>
+         <xsd:element ecore:opposite="Command" ecore:resolveProxies="true" maxOccurs="unbounded"
minOccurs="0" name="Parameter" type="org.apache.tuscany.das.rdb.config:Parameter"/>
+         <xsd:element ecore:opposite="Command" ecore:resolveProxies="true" maxOccurs="unbounded"
minOccurs="0" name="ResultDescriptor" type="org.apache.tuscany.das.rdb.config:ResultDescriptor"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" type="xsd:string"/>
+      <xsd:attribute name="SQL" type="xsd:string"/>
+      <xsd:attribute name="kind" type="xsd:string"/>
+      <xsd:attribute ecore:opposite="Command" ecore:reference="org.apache.tuscany.das.rdb.config:Config"
ecore:transient="true" name="Config" type="xsd:anyURI"/>
+   </xsd:complexType>
+   <xsd:complexType name="ConnectionProperties">
+      <xsd:attribute name="dataSource" type="xsd:string"/>
+      <xsd:attribute name="driverClassName" type="xsd:string"/>
+      <xsd:attribute name="driverURL" type="xsd:string"/>
+      <xsd:attribute name="driverPassword" type="xsd:string"/>
+      <xsd:attribute name="driverUserName" type="xsd:string"/>
+      <xsd:attribute ecore:opposite="ConnectionProperties" ecore:reference="org.apache.tuscany.das.rdb.config:Config"
ecore:transient="true" name="Config" type="xsd:anyURI"/>
+   </xsd:complexType>
+   <xsd:complexType name="Parameter">
+      <xsd:attribute name="name" type="xsd:string"/>
+      <xsd:attribute name="columnType" type="xsd:string"/>
+      <xsd:attribute ecore:opposite="Parameter" ecore:reference="org.apache.tuscany.das.rdb.config:Command"
ecore:transient="true" name="Command" type="xsd:anyURI"/>
+   </xsd:complexType>
+   <xsd:complexType name="Relationship">
+      <xsd:sequence>
+         <xsd:element ecore:opposite="Relationship" ecore:resolveProxies="true" maxOccurs="unbounded"
minOccurs="0" name="KeyPair" type="org.apache.tuscany.das.rdb.config:KeyPair"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" type="xsd:string"/>
+      <xsd:attribute name="primaryKeyTable" type="xsd:string"/>
+      <xsd:attribute name="foreignKeyTable" type="xsd:string"/>
+      <xsd:attribute name="many" type="xsd:boolean"/>
+      <xsd:attribute ecore:opposite="Relationship" ecore:reference="org.apache.tuscany.das.rdb.config:Config"
ecore:transient="true" name="Config" type="xsd:anyURI"/>
+   </xsd:complexType>
+   <xsd:complexType name="Table">
+      <xsd:sequence>
+         <xsd:element ecore:opposite="Table" ecore:resolveProxies="true" maxOccurs="unbounded"
minOccurs="0" name="Column" type="org.apache.tuscany.das.rdb.config:Column"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" type="xsd:string"/>
+      <xsd:attribute name="propertyName" type="xsd:string"/>
+      <xsd:attribute name="create" type="xsd:string"/>
+      <xsd:attribute name="update" type="xsd:string"/>
+      <xsd:attribute name="delete" type="xsd:string"/>
+      <xsd:attribute ecore:opposite="Table" ecore:reference="org.apache.tuscany.das.rdb.config:Config"
ecore:transient="true" name="Config" type="xsd:anyURI"/>
+   </xsd:complexType>
+   <xsd:complexType name="KeyPair">
+      <xsd:attribute name="primaryKeyColumn" type="xsd:string"/>
+      <xsd:attribute name="foreignKeyColumn" type="xsd:string"/>
+      <xsd:attribute ecore:opposite="KeyPair" ecore:reference="org.apache.tuscany.das.rdb.config:Relationship"
ecore:transient="true" name="Relationship" type="xsd:anyURI"/>
+   </xsd:complexType>
+   <xsd:complexType name="Column">
+      <xsd:attribute name="name" type="xsd:string"/>
+      <xsd:attribute name="propertyName" type="xsd:string"/>
+      <xsd:attribute name="converterClassName" type="xsd:string"/>
+      <xsd:attribute name="columnType" type="xsd:string"/>
+      <xsd:attribute name="primaryKey" type="xsd:boolean"/>
+      <xsd:attribute name="generated" type="xsd:boolean"/>
+      <xsd:attribute name="collision" type="xsd:boolean"/>
+      <xsd:attribute ecore:opposite="Column" ecore:reference="org.apache.tuscany.das.rdb.config:Table"
ecore:transient="true" name="Table" type="xsd:anyURI"/>
+   </xsd:complexType>
+   <xsd:complexType name="ResultDescriptor">
+      <xsd:attribute name="columnName" type="xsd:string"/>
+      <xsd:attribute name="tableName" type="xsd:string"/>
+      <xsd:attribute name="columnType" type="xsd:string"/>
+      <xsd:attribute name="converter" type="xsd:string"/>
+      <xsd:attribute ecore:opposite="ResultDescriptor" ecore:reference="org.apache.tuscany.das.rdb.config:Command"
ecore:transient="true" name="Command" type="xsd:anyURI"/>
+   </xsd:complexType>
+</xsd:schema>
\ No newline at end of file

Propchange: incubator/tuscany/java/das/rdb/src/main/resources/config.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/das/rdb/src/main/resources/config.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev,Date



Mime
View raw message