summaryrefslogtreecommitdiffstats
path: root/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config
diff options
context:
space:
mode:
Diffstat (limited to 'tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config')
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Column.java306
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Command.java156
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Config.java121
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConfigFactory.java108
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConnectionProperties.java175
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/KeyPair.java100
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Parameter.java100
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java193
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java150
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java191
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java675
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/CommandImpl.java444
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigFactoryImpl.java212
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigImpl.java387
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigPackageImpl.java2808
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConnectionPropertiesImpl.java455
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/KeyPairImpl.java287
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ParameterImpl.java287
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/RelationshipImpl.java497
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ResultDescriptorImpl.java399
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/TableImpl.java517
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java381
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/QualifiedColumn.java41
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/RelationshipWrapper.java44
-rw-r--r--tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/TableWrapper.java124
25 files changed, 0 insertions, 9158 deletions
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Column.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Column.java
deleted file mode 100644
index e004726fbe..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Column.java
+++ /dev/null
@@ -1,306 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Column</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#isCollision <em>Collision</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#getColumnType <em>Column Type</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#getConverterClassName <em>Converter Class Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#isGenerated <em>Generated</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#isPrimaryKey <em>Primary Key</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Column#getTable <em>Table</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface Column
-{
- /**
- * Returns the value of the '<em><b>Collision</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Collision</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Collision</em>' attribute.
- * @see #isSetCollision()
- * @see #unsetCollision()
- * @see #setCollision(boolean)
- * @generated
- */
- boolean isCollision();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isCollision <em>Collision</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Collision</em>' attribute.
- * @see #isSetCollision()
- * @see #unsetCollision()
- * @see #isCollision()
- * @generated
- */
- void setCollision(boolean value);
-
- /**
- * Unsets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isCollision <em>Collision</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetCollision()
- * @see #isCollision()
- * @see #setCollision(boolean)
- * @generated
- */
- void unsetCollision();
-
- /**
- * Returns whether the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isCollision <em>Collision</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Collision</em>' attribute is set.
- * @see #unsetCollision()
- * @see #isCollision()
- * @see #setCollision(boolean)
- * @generated
- */
- boolean isSetCollision();
-
- /**
- * Returns the value of the '<em><b>Column Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Column Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Column Type</em>' attribute.
- * @see #setColumnType(String)
- * @generated
- */
- String getColumnType();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#getColumnType <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Column Type</em>' attribute.
- * @see #getColumnType()
- * @generated
- */
- void setColumnType(String value);
-
- /**
- * Returns the value of the '<em><b>Converter Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Converter Class Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Converter Class Name</em>' attribute.
- * @see #setConverterClassName(String)
- * @generated
- */
- String getConverterClassName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#getConverterClassName <em>Converter Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Converter Class Name</em>' attribute.
- * @see #getConverterClassName()
- * @generated
- */
- void setConverterClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Generated</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Generated</em>' attribute.
- * @see #isSetGenerated()
- * @see #unsetGenerated()
- * @see #setGenerated(boolean)
- * @generated
- */
- boolean isGenerated();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isGenerated <em>Generated</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Generated</em>' attribute.
- * @see #isSetGenerated()
- * @see #unsetGenerated()
- * @see #isGenerated()
- * @generated
- */
- void setGenerated(boolean value);
-
- /**
- * Unsets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isGenerated <em>Generated</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetGenerated()
- * @see #isGenerated()
- * @see #setGenerated(boolean)
- * @generated
- */
- void unsetGenerated();
-
- /**
- * Returns whether the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isGenerated <em>Generated</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Generated</em>' attribute is set.
- * @see #unsetGenerated()
- * @see #isGenerated()
- * @see #setGenerated(boolean)
- * @generated
- */
- boolean isSetGenerated();
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Primary Key</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Primary Key</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Primary Key</em>' attribute.
- * @see #isSetPrimaryKey()
- * @see #unsetPrimaryKey()
- * @see #setPrimaryKey(boolean)
- * @generated
- */
- boolean isPrimaryKey();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isPrimaryKey <em>Primary Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Primary Key</em>' attribute.
- * @see #isSetPrimaryKey()
- * @see #unsetPrimaryKey()
- * @see #isPrimaryKey()
- * @generated
- */
- void setPrimaryKey(boolean value);
-
- /**
- * Unsets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isPrimaryKey <em>Primary Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetPrimaryKey()
- * @see #isPrimaryKey()
- * @see #setPrimaryKey(boolean)
- * @generated
- */
- void unsetPrimaryKey();
-
- /**
- * Returns whether the value of the '{@link org.apache.tuscany.das.rdb.config.Column#isPrimaryKey <em>Primary Key</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Primary Key</em>' attribute is set.
- * @see #unsetPrimaryKey()
- * @see #isPrimaryKey()
- * @see #setPrimaryKey(boolean)
- * @generated
- */
- boolean isSetPrimaryKey();
-
- /**
- * Returns the value of the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Property Name</em>' attribute.
- * @see #setPropertyName(String)
- * @generated
- */
- String getPropertyName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#getPropertyName <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Property Name</em>' attribute.
- * @see #getPropertyName()
- * @generated
- */
- void setPropertyName(String value);
-
- /**
- * Returns the value of the '<em><b>Table</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Table</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Table</em>' attribute.
- * @see #setTable(String)
- * @generated
- */
- String getTable();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Column#getTable <em>Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Table</em>' attribute.
- * @see #getTable()
- * @generated
- */
- void setTable(String value);
-
-} // Column
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Command.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Command.java
deleted file mode 100644
index 3bce9e601e..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Command.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-import java.util.List;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Command</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.Command#getParameter <em>Parameter</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Command#getResultDescriptor <em>Result Descriptor</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Command#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Command#getKind <em>Kind</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Command#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Command#getSQL <em>SQL</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface Command
-{
- /**
- * Returns the value of the '<em><b>Parameter</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.tuscany.das.rdb.config.Parameter}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parameter</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Parameter</em>' containment reference list.
- * @generated
- */
- List getParameter();
-
- /**
- * Returns the value of the '<em><b>Result Descriptor</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.tuscany.das.rdb.config.ResultDescriptor}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Result Descriptor</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Result Descriptor</em>' containment reference list.
- * @generated
- */
- List getResultDescriptor();
-
- /**
- * Returns the value of the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Config</em>' attribute.
- * @see #setConfig(String)
- * @generated
- */
- String getConfig();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Command#getConfig <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Config</em>' attribute.
- * @see #getConfig()
- * @generated
- */
- void setConfig(String value);
-
- /**
- * Returns the value of the '<em><b>Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Kind</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Kind</em>' attribute.
- * @see #setKind(String)
- * @generated
- */
- String getKind();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Command#getKind <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Kind</em>' attribute.
- * @see #getKind()
- * @generated
- */
- void setKind(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Command#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>SQL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>SQL</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>SQL</em>' attribute.
- * @see #setSQL(String)
- * @generated
- */
- String getSQL();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Command#getSQL <em>SQL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>SQL</em>' attribute.
- * @see #getSQL()
- * @generated
- */
- void setSQL(String value);
-
-} // Command
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Config.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Config.java
deleted file mode 100644
index c00d946dac..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Config.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-import java.util.List;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Config</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.Config#getCommand <em>Command</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Config#getConnectionProperties <em>Connection Properties</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Config#getTable <em>Table</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Config#getRelationship <em>Relationship</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Config#getUri <em>Uri</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface Config
-{
- /**
- * Returns the value of the '<em><b>Command</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.tuscany.das.rdb.config.Command}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Command</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Command</em>' containment reference list.
- * @generated
- */
- List getCommand();
-
- /**
- * Returns the value of the '<em><b>Connection Properties</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Connection Properties</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Connection Properties</em>' containment reference.
- * @see #setConnectionProperties(ConnectionProperties)
- * @generated
- */
- ConnectionProperties getConnectionProperties();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Config#getConnectionProperties <em>Connection Properties</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Connection Properties</em>' containment reference.
- * @see #getConnectionProperties()
- * @generated
- */
- void setConnectionProperties(ConnectionProperties value);
-
- /**
- * Returns the value of the '<em><b>Table</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.tuscany.das.rdb.config.Table}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Table</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Table</em>' containment reference list.
- * @generated
- */
- List getTable();
-
- /**
- * Returns the value of the '<em><b>Relationship</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.tuscany.das.rdb.config.Relationship}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Relationship</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Relationship</em>' containment reference list.
- * @generated
- */
- List getRelationship();
-
- /**
- * Returns the value of the '<em><b>Uri</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Uri</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Uri</em>' attribute.
- * @see #setUri(String)
- * @generated
- */
- String getUri();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Config#getUri <em>Uri</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Uri</em>' attribute.
- * @see #getUri()
- * @generated
- */
- void setUri(String value);
-
-} // Config
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConfigFactory.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConfigFactory.java
deleted file mode 100644
index f3c25814ac..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConfigFactory.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @generated
- */
-public interface ConfigFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ConfigFactory INSTANCE = org.apache.tuscany.das.rdb.config.impl.ConfigFactoryImpl.eINSTANCE;
-
- /**
- * Returns a new object of class '<em>Column</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Column</em>'.
- * @generated
- */
- Column createColumn();
-
- /**
- * Returns a new object of class '<em>Command</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Command</em>'.
- * @generated
- */
- Command createCommand();
-
- /**
- * Returns a new object of class '<em>Config</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Config</em>'.
- * @generated
- */
- Config createConfig();
-
- /**
- * Returns a new object of class '<em>Connection Properties</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Connection Properties</em>'.
- * @generated
- */
- ConnectionProperties createConnectionProperties();
-
- /**
- * Returns a new object of class '<em>Key Pair</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Key Pair</em>'.
- * @generated
- */
- KeyPair createKeyPair();
-
- /**
- * Returns a new object of class '<em>Parameter</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Parameter</em>'.
- * @generated
- */
- Parameter createParameter();
-
- /**
- * Returns a new object of class '<em>Relationship</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Relationship</em>'.
- * @generated
- */
- Relationship createRelationship();
-
- /**
- * Returns a new object of class '<em>Result Descriptor</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Result Descriptor</em>'.
- * @generated
- */
- ResultDescriptor createResultDescriptor();
-
- /**
- * Returns a new object of class '<em>Table</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Table</em>'.
- * @generated
- */
- Table createTable();
-
-} //ConfigFactory
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConnectionProperties.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConnectionProperties.java
deleted file mode 100644
index 4b4008b446..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ConnectionProperties.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Connection Properties</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDataSource <em>Data Source</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverClassName <em>Driver Class Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverPassword <em>Driver Password</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverURL <em>Driver URL</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverUserName <em>Driver User Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface ConnectionProperties
-{
- /**
- * Returns the value of the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Config</em>' attribute.
- * @see #setConfig(String)
- * @generated
- */
- String getConfig();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getConfig <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Config</em>' attribute.
- * @see #getConfig()
- * @generated
- */
- void setConfig(String value);
-
- /**
- * Returns the value of the '<em><b>Data Source</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Data Source</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Data Source</em>' attribute.
- * @see #setDataSource(String)
- * @generated
- */
- String getDataSource();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDataSource <em>Data Source</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Data Source</em>' attribute.
- * @see #getDataSource()
- * @generated
- */
- void setDataSource(String value);
-
- /**
- * Returns the value of the '<em><b>Driver Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Driver Class Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Driver Class Name</em>' attribute.
- * @see #setDriverClassName(String)
- * @generated
- */
- String getDriverClassName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverClassName <em>Driver Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Driver Class Name</em>' attribute.
- * @see #getDriverClassName()
- * @generated
- */
- void setDriverClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Driver Password</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Driver Password</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Driver Password</em>' attribute.
- * @see #setDriverPassword(String)
- * @generated
- */
- String getDriverPassword();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverPassword <em>Driver Password</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Driver Password</em>' attribute.
- * @see #getDriverPassword()
- * @generated
- */
- void setDriverPassword(String value);
-
- /**
- * Returns the value of the '<em><b>Driver URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Driver URL</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Driver URL</em>' attribute.
- * @see #setDriverURL(String)
- * @generated
- */
- String getDriverURL();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverURL <em>Driver URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Driver URL</em>' attribute.
- * @see #getDriverURL()
- * @generated
- */
- void setDriverURL(String value);
-
- /**
- * Returns the value of the '<em><b>Driver User Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Driver User Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Driver User Name</em>' attribute.
- * @see #setDriverUserName(String)
- * @generated
- */
- String getDriverUserName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverUserName <em>Driver User Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Driver User Name</em>' attribute.
- * @see #getDriverUserName()
- * @generated
- */
- void setDriverUserName(String value);
-
-} // ConnectionProperties
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/KeyPair.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/KeyPair.java
deleted file mode 100644
index 7a1759ee90..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/KeyPair.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Key Pair</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.KeyPair#getForeignKeyColumn <em>Foreign Key Column</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.KeyPair#getPrimaryKeyColumn <em>Primary Key Column</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.KeyPair#getRelationship <em>Relationship</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface KeyPair
-{
- /**
- * Returns the value of the '<em><b>Foreign Key Column</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Foreign Key Column</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Foreign Key Column</em>' attribute.
- * @see #setForeignKeyColumn(String)
- * @generated
- */
- String getForeignKeyColumn();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.KeyPair#getForeignKeyColumn <em>Foreign Key Column</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Foreign Key Column</em>' attribute.
- * @see #getForeignKeyColumn()
- * @generated
- */
- void setForeignKeyColumn(String value);
-
- /**
- * Returns the value of the '<em><b>Primary Key Column</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Primary Key Column</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Primary Key Column</em>' attribute.
- * @see #setPrimaryKeyColumn(String)
- * @generated
- */
- String getPrimaryKeyColumn();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.KeyPair#getPrimaryKeyColumn <em>Primary Key Column</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Primary Key Column</em>' attribute.
- * @see #getPrimaryKeyColumn()
- * @generated
- */
- void setPrimaryKeyColumn(String value);
-
- /**
- * Returns the value of the '<em><b>Relationship</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Relationship</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Relationship</em>' attribute.
- * @see #setRelationship(String)
- * @generated
- */
- String getRelationship();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.KeyPair#getRelationship <em>Relationship</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Relationship</em>' attribute.
- * @see #getRelationship()
- * @generated
- */
- void setRelationship(String value);
-
-} // KeyPair
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Parameter.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Parameter.java
deleted file mode 100644
index 63872a7afd..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Parameter.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Parameter</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.Parameter#getColumnType <em>Column Type</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Parameter#getCommand <em>Command</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Parameter#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface Parameter
-{
- /**
- * Returns the value of the '<em><b>Column Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Column Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Column Type</em>' attribute.
- * @see #setColumnType(String)
- * @generated
- */
- String getColumnType();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Parameter#getColumnType <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Column Type</em>' attribute.
- * @see #getColumnType()
- * @generated
- */
- void setColumnType(String value);
-
- /**
- * Returns the value of the '<em><b>Command</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Command</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Command</em>' attribute.
- * @see #setCommand(String)
- * @generated
- */
- String getCommand();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Parameter#getCommand <em>Command</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Command</em>' attribute.
- * @see #getCommand()
- * @generated
- */
- void setCommand(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Parameter#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
-} // Parameter
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java
deleted file mode 100644
index d63348ade1..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-import java.util.List;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Relationship</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.Relationship#getKeyPair <em>Key Pair</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Relationship#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Relationship#getForeignKeyTable <em>Foreign Key Table</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Relationship#isMany <em>Many</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Relationship#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Relationship#getPrimaryKeyTable <em>Primary Key Table</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface Relationship
-{
- /**
- * Returns the value of the '<em><b>Key Pair</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.tuscany.das.rdb.config.KeyPair}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Key Pair</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Key Pair</em>' containment reference list.
- * @generated
- */
- List getKeyPair();
-
- /**
- * Returns the value of the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Config</em>' attribute.
- * @see #setConfig(String)
- * @generated
- */
- String getConfig();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#getConfig <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Config</em>' attribute.
- * @see #getConfig()
- * @generated
- */
- void setConfig(String value);
-
- /**
- * Returns the value of the '<em><b>Foreign Key Table</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Foreign Key Table</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Foreign Key Table</em>' attribute.
- * @see #setForeignKeyTable(String)
- * @generated
- */
- String getForeignKeyTable();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#getForeignKeyTable <em>Foreign Key Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Foreign Key Table</em>' attribute.
- * @see #getForeignKeyTable()
- * @generated
- */
- void setForeignKeyTable(String value);
-
- /**
- * Returns the value of the '<em><b>Many</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Many</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Many</em>' attribute.
- * @see #isSetMany()
- * @see #unsetMany()
- * @see #setMany(boolean)
- * @generated
- */
- boolean isMany();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#isMany <em>Many</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Many</em>' attribute.
- * @see #isSetMany()
- * @see #unsetMany()
- * @see #isMany()
- * @generated
- */
- void setMany(boolean value);
-
- /**
- * Unsets the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#isMany <em>Many</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetMany()
- * @see #isMany()
- * @see #setMany(boolean)
- * @generated
- */
- void unsetMany();
-
- /**
- * Returns whether the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#isMany <em>Many</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Many</em>' attribute is set.
- * @see #unsetMany()
- * @see #isMany()
- * @see #setMany(boolean)
- * @generated
- */
- boolean isSetMany();
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Primary Key Table</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Primary Key Table</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Primary Key Table</em>' attribute.
- * @see #setPrimaryKeyTable(String)
- * @generated
- */
- String getPrimaryKeyTable();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#getPrimaryKeyTable <em>Primary Key Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Primary Key Table</em>' attribute.
- * @see #getPrimaryKeyTable()
- * @generated
- */
- void setPrimaryKeyTable(String value);
-
-} // Relationship
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java
deleted file mode 100644
index 648c33bf7e..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Result Descriptor</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnName <em>Column Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnType <em>Column Type</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getCommand <em>Command</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getConverter <em>Converter</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getTableName <em>Table Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface ResultDescriptor
-{
- /**
- * Returns the value of the '<em><b>Column Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Column Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Column Name</em>' attribute.
- * @see #setColumnName(String)
- * @generated
- */
- String getColumnName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnName <em>Column Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Column Name</em>' attribute.
- * @see #getColumnName()
- * @generated
- */
- void setColumnName(String value);
-
- /**
- * Returns the value of the '<em><b>Column Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Column Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Column Type</em>' attribute.
- * @see #setColumnType(String)
- * @generated
- */
- String getColumnType();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnType <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Column Type</em>' attribute.
- * @see #getColumnType()
- * @generated
- */
- void setColumnType(String value);
-
- /**
- * Returns the value of the '<em><b>Command</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Command</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Command</em>' attribute.
- * @see #setCommand(String)
- * @generated
- */
- String getCommand();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getCommand <em>Command</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Command</em>' attribute.
- * @see #getCommand()
- * @generated
- */
- void setCommand(String value);
-
- /**
- * Returns the value of the '<em><b>Converter</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Converter</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Converter</em>' attribute.
- * @see #setConverter(String)
- * @generated
- */
- String getConverter();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getConverter <em>Converter</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Converter</em>' attribute.
- * @see #getConverter()
- * @generated
- */
- void setConverter(String value);
-
- /**
- * Returns the value of the '<em><b>Table Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Table Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Table Name</em>' attribute.
- * @see #setTableName(String)
- * @generated
- */
- String getTableName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getTableName <em>Table Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Table Name</em>' attribute.
- * @see #getTableName()
- * @generated
- */
- void setTableName(String value);
-
-} // ResultDescriptor
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java
deleted file mode 100644
index 8f0956f291..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config;
-
-import java.util.List;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Table</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getColumn <em>Column</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getCreate <em>Create</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getDelete <em>Delete</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getUpdate <em>Update</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public interface Table
-{
- /**
- * Returns the value of the '<em><b>Column</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.tuscany.das.rdb.config.Column}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Column</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Column</em>' containment reference list.
- * @generated
- */
- List getColumn();
-
- /**
- * Returns the value of the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Config</em>' attribute.
- * @see #setConfig(String)
- * @generated
- */
- String getConfig();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Table#getConfig <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Config</em>' attribute.
- * @see #getConfig()
- * @generated
- */
- void setConfig(String value);
-
- /**
- * Returns the value of the '<em><b>Create</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Create</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Create</em>' attribute.
- * @see #setCreate(String)
- * @generated
- */
- String getCreate();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Table#getCreate <em>Create</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Create</em>' attribute.
- * @see #getCreate()
- * @generated
- */
- void setCreate(String value);
-
- /**
- * Returns the value of the '<em><b>Delete</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Delete</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Delete</em>' attribute.
- * @see #setDelete(String)
- * @generated
- */
- String getDelete();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Table#getDelete <em>Delete</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Delete</em>' attribute.
- * @see #getDelete()
- * @generated
- */
- void setDelete(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Table#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Property Name</em>' attribute.
- * @see #setPropertyName(String)
- * @generated
- */
- String getPropertyName();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Table#getPropertyName <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Property Name</em>' attribute.
- * @see #getPropertyName()
- * @generated
- */
- void setPropertyName(String value);
-
- /**
- * Returns the value of the '<em><b>Update</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Update</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Update</em>' attribute.
- * @see #setUpdate(String)
- * @generated
- */
- String getUpdate();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Table#getUpdate <em>Update</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Update</em>' attribute.
- * @see #getUpdate()
- * @generated
- */
- void setUpdate(String value);
-
-} // Table
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java
deleted file mode 100644
index 30be8870b3..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java
+++ /dev/null
@@ -1,675 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import org.apache.tuscany.das.rdb.config.Column;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Column</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#isCollision <em>Collision</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#getColumnType <em>Column Type</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#getConverterClassName <em>Converter Class Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#isGenerated <em>Generated</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#isPrimaryKey <em>Primary Key</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl#getTable <em>Table</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ColumnImpl extends DataObjectImpl implements Column
-{
- /**
- * The default value of the '{@link #isCollision() <em>Collision</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isCollision()
- * @generated
- * @ordered
- */
- protected static final boolean COLLISION_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isCollision() <em>Collision</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isCollision()
- * @generated
- * @ordered
- */
- protected boolean collision = COLLISION_EDEFAULT;
-
- /**
- * This is true if the Collision attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean collisionESet = false;
-
- /**
- * The default value of the '{@link #getColumnType() <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnType()
- * @generated
- * @ordered
- */
- protected static final String COLUMN_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getColumnType() <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnType()
- * @generated
- * @ordered
- */
- protected String columnType = COLUMN_TYPE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getConverterClassName() <em>Converter Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConverterClassName()
- * @generated
- * @ordered
- */
- protected static final String CONVERTER_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConverterClassName() <em>Converter Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConverterClassName()
- * @generated
- * @ordered
- */
- protected String converterClassName = CONVERTER_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #isGenerated() <em>Generated</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isGenerated()
- * @generated
- * @ordered
- */
- protected static final boolean GENERATED_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isGenerated() <em>Generated</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isGenerated()
- * @generated
- * @ordered
- */
- protected boolean generated = GENERATED_EDEFAULT;
-
- /**
- * This is true if the Generated attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean generatedESet = false;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #isPrimaryKey() <em>Primary Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isPrimaryKey()
- * @generated
- * @ordered
- */
- protected static final boolean PRIMARY_KEY_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isPrimaryKey() <em>Primary Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isPrimaryKey()
- * @generated
- * @ordered
- */
- protected boolean primaryKey = PRIMARY_KEY_EDEFAULT;
-
- /**
- * This is true if the Primary Key attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean primaryKeyESet = false;
-
- /**
- * The default value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected static final String PROPERTY_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected String propertyName = PROPERTY_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTable() <em>Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTable()
- * @generated
- * @ordered
- */
- protected static final String TABLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTable() <em>Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTable()
- * @generated
- * @ordered
- */
- protected String table = TABLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ColumnImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.COLUMN;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isCollision()
- {
- return collision;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCollision(boolean newCollision)
- {
- boolean oldCollision = collision;
- collision = newCollision;
- boolean oldCollisionESet = collisionESet;
- collisionESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__COLLISION, oldCollision, collision, !oldCollisionESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetCollision()
- {
- boolean oldCollision = collision;
- boolean oldCollisionESet = collisionESet;
- collision = COLLISION_EDEFAULT;
- collisionESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackageImpl.COLUMN__COLLISION, oldCollision, COLLISION_EDEFAULT, oldCollisionESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetCollision()
- {
- return collisionESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getColumnType()
- {
- return columnType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setColumnType(String newColumnType)
- {
- String oldColumnType = columnType;
- columnType = newColumnType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__COLUMN_TYPE, oldColumnType, columnType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConverterClassName()
- {
- return converterClassName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConverterClassName(String newConverterClassName)
- {
- String oldConverterClassName = converterClassName;
- converterClassName = newConverterClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__CONVERTER_CLASS_NAME, oldConverterClassName, converterClassName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isGenerated()
- {
- return generated;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGenerated(boolean newGenerated)
- {
- boolean oldGenerated = generated;
- generated = newGenerated;
- boolean oldGeneratedESet = generatedESet;
- generatedESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__GENERATED, oldGenerated, generated, !oldGeneratedESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetGenerated()
- {
- boolean oldGenerated = generated;
- boolean oldGeneratedESet = generatedESet;
- generated = GENERATED_EDEFAULT;
- generatedESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackageImpl.COLUMN__GENERATED, oldGenerated, GENERATED_EDEFAULT, oldGeneratedESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetGenerated()
- {
- return generatedESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isPrimaryKey()
- {
- return primaryKey;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPrimaryKey(boolean newPrimaryKey)
- {
- boolean oldPrimaryKey = primaryKey;
- primaryKey = newPrimaryKey;
- boolean oldPrimaryKeyESet = primaryKeyESet;
- primaryKeyESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__PRIMARY_KEY, oldPrimaryKey, primaryKey, !oldPrimaryKeyESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetPrimaryKey()
- {
- boolean oldPrimaryKey = primaryKey;
- boolean oldPrimaryKeyESet = primaryKeyESet;
- primaryKey = PRIMARY_KEY_EDEFAULT;
- primaryKeyESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackageImpl.COLUMN__PRIMARY_KEY, oldPrimaryKey, PRIMARY_KEY_EDEFAULT, oldPrimaryKeyESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetPrimaryKey()
- {
- return primaryKeyESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPropertyName()
- {
- return propertyName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPropertyName(String newPropertyName)
- {
- String oldPropertyName = propertyName;
- propertyName = newPropertyName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__PROPERTY_NAME, oldPropertyName, propertyName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTable()
- {
- return table;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTable(String newTable)
- {
- String oldTable = table;
- table = newTable;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COLUMN__TABLE, oldTable, table));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COLUMN__COLLISION:
- return isCollision() ? Boolean.TRUE : Boolean.FALSE;
- case ConfigPackageImpl.COLUMN__COLUMN_TYPE:
- return getColumnType();
- case ConfigPackageImpl.COLUMN__CONVERTER_CLASS_NAME:
- return getConverterClassName();
- case ConfigPackageImpl.COLUMN__GENERATED:
- return isGenerated() ? Boolean.TRUE : Boolean.FALSE;
- case ConfigPackageImpl.COLUMN__NAME:
- return getName();
- case ConfigPackageImpl.COLUMN__PRIMARY_KEY:
- return isPrimaryKey() ? Boolean.TRUE : Boolean.FALSE;
- case ConfigPackageImpl.COLUMN__PROPERTY_NAME:
- return getPropertyName();
- case ConfigPackageImpl.COLUMN__TABLE:
- return getTable();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COLUMN__COLLISION:
- setCollision(((Boolean)newValue).booleanValue());
- return;
- case ConfigPackageImpl.COLUMN__COLUMN_TYPE:
- setColumnType((String)newValue);
- return;
- case ConfigPackageImpl.COLUMN__CONVERTER_CLASS_NAME:
- setConverterClassName((String)newValue);
- return;
- case ConfigPackageImpl.COLUMN__GENERATED:
- setGenerated(((Boolean)newValue).booleanValue());
- return;
- case ConfigPackageImpl.COLUMN__NAME:
- setName((String)newValue);
- return;
- case ConfigPackageImpl.COLUMN__PRIMARY_KEY:
- setPrimaryKey(((Boolean)newValue).booleanValue());
- return;
- case ConfigPackageImpl.COLUMN__PROPERTY_NAME:
- setPropertyName((String)newValue);
- return;
- case ConfigPackageImpl.COLUMN__TABLE:
- setTable((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COLUMN__COLLISION:
- unsetCollision();
- return;
- case ConfigPackageImpl.COLUMN__COLUMN_TYPE:
- setColumnType(COLUMN_TYPE_EDEFAULT);
- return;
- case ConfigPackageImpl.COLUMN__CONVERTER_CLASS_NAME:
- setConverterClassName(CONVERTER_CLASS_NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.COLUMN__GENERATED:
- unsetGenerated();
- return;
- case ConfigPackageImpl.COLUMN__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.COLUMN__PRIMARY_KEY:
- unsetPrimaryKey();
- return;
- case ConfigPackageImpl.COLUMN__PROPERTY_NAME:
- setPropertyName(PROPERTY_NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.COLUMN__TABLE:
- setTable(TABLE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COLUMN__COLLISION:
- return isSetCollision();
- case ConfigPackageImpl.COLUMN__COLUMN_TYPE:
- return COLUMN_TYPE_EDEFAULT == null ? columnType != null : !COLUMN_TYPE_EDEFAULT.equals(columnType);
- case ConfigPackageImpl.COLUMN__CONVERTER_CLASS_NAME:
- return CONVERTER_CLASS_NAME_EDEFAULT == null ? converterClassName != null : !CONVERTER_CLASS_NAME_EDEFAULT.equals(converterClassName);
- case ConfigPackageImpl.COLUMN__GENERATED:
- return isSetGenerated();
- case ConfigPackageImpl.COLUMN__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ConfigPackageImpl.COLUMN__PRIMARY_KEY:
- return isSetPrimaryKey();
- case ConfigPackageImpl.COLUMN__PROPERTY_NAME:
- return PROPERTY_NAME_EDEFAULT == null ? propertyName != null : !PROPERTY_NAME_EDEFAULT.equals(propertyName);
- case ConfigPackageImpl.COLUMN__TABLE:
- return TABLE_EDEFAULT == null ? table != null : !TABLE_EDEFAULT.equals(table);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (collision: ");
- if (collisionESet) result.append(collision); else result.append("<unset>");
- result.append(", columnType: ");
- result.append(columnType);
- result.append(", converterClassName: ");
- result.append(converterClassName);
- result.append(", generated: ");
- if (generatedESet) result.append(generated); else result.append("<unset>");
- result.append(", name: ");
- result.append(name);
- result.append(", primaryKey: ");
- if (primaryKeyESet) result.append(primaryKey); else result.append("<unset>");
- result.append(", propertyName: ");
- result.append(propertyName);
- result.append(", table: ");
- result.append(table);
- result.append(')');
- return result.toString();
- }
-
-} //ColumnImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/CommandImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/CommandImpl.java
deleted file mode 100644
index 7750d34ded..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/CommandImpl.java
+++ /dev/null
@@ -1,444 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.tuscany.das.rdb.config.Command;
-import org.apache.tuscany.das.rdb.config.Parameter;
-import org.apache.tuscany.das.rdb.config.ResultDescriptor;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Command</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl#getParameter <em>Parameter</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl#getResultDescriptor <em>Result Descriptor</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl#getKind <em>Kind</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl#getSQL <em>SQL</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CommandImpl extends DataObjectImpl implements Command
-{
- /**
- * The cached value of the '{@link #getParameter() <em>Parameter</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getParameter()
- * @generated
- * @ordered
- */
- protected EList parameter = null;
-
- /**
- * The cached value of the '{@link #getResultDescriptor() <em>Result Descriptor</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getResultDescriptor()
- * @generated
- * @ordered
- */
- protected EList resultDescriptor = null;
-
- /**
- * The default value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected static final String CONFIG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected String config = CONFIG_EDEFAULT;
-
- /**
- * The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected static final String KIND_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected String kind = KIND_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getSQL() <em>SQL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSQL()
- * @generated
- * @ordered
- */
- protected static final String SQL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSQL() <em>SQL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSQL()
- * @generated
- * @ordered
- */
- protected String sQL = SQL_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CommandImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.COMMAND;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getParameter()
- {
- if (parameter == null)
- {
- parameter = new EObjectContainmentEList(Parameter.class, this, ConfigPackageImpl.COMMAND__PARAMETER);
- }
- return parameter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getResultDescriptor()
- {
- if (resultDescriptor == null)
- {
- resultDescriptor = new EObjectContainmentEList(ResultDescriptor.class, this, ConfigPackageImpl.COMMAND__RESULT_DESCRIPTOR);
- }
- return resultDescriptor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConfig()
- {
- return config;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConfig(String newConfig)
- {
- String oldConfig = config;
- config = newConfig;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COMMAND__CONFIG, oldConfig, config));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getKind()
- {
- return kind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setKind(String newKind)
- {
- String oldKind = kind;
- kind = newKind;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COMMAND__KIND, oldKind, kind));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COMMAND__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSQL()
- {
- return sQL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSQL(String newSQL)
- {
- String oldSQL = sQL;
- sQL = newSQL;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.COMMAND__SQL, oldSQL, sQL));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COMMAND__PARAMETER:
- return ((InternalEList)getParameter()).basicRemove(otherEnd, msgs);
- case ConfigPackageImpl.COMMAND__RESULT_DESCRIPTOR:
- return ((InternalEList)getResultDescriptor()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COMMAND__PARAMETER:
- return getParameter();
- case ConfigPackageImpl.COMMAND__RESULT_DESCRIPTOR:
- return getResultDescriptor();
- case ConfigPackageImpl.COMMAND__CONFIG:
- return getConfig();
- case ConfigPackageImpl.COMMAND__KIND:
- return getKind();
- case ConfigPackageImpl.COMMAND__NAME:
- return getName();
- case ConfigPackageImpl.COMMAND__SQL:
- return getSQL();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COMMAND__PARAMETER:
- getParameter().clear();
- getParameter().addAll((Collection)newValue);
- return;
- case ConfigPackageImpl.COMMAND__RESULT_DESCRIPTOR:
- getResultDescriptor().clear();
- getResultDescriptor().addAll((Collection)newValue);
- return;
- case ConfigPackageImpl.COMMAND__CONFIG:
- setConfig((String)newValue);
- return;
- case ConfigPackageImpl.COMMAND__KIND:
- setKind((String)newValue);
- return;
- case ConfigPackageImpl.COMMAND__NAME:
- setName((String)newValue);
- return;
- case ConfigPackageImpl.COMMAND__SQL:
- setSQL((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COMMAND__PARAMETER:
- getParameter().clear();
- return;
- case ConfigPackageImpl.COMMAND__RESULT_DESCRIPTOR:
- getResultDescriptor().clear();
- return;
- case ConfigPackageImpl.COMMAND__CONFIG:
- setConfig(CONFIG_EDEFAULT);
- return;
- case ConfigPackageImpl.COMMAND__KIND:
- setKind(KIND_EDEFAULT);
- return;
- case ConfigPackageImpl.COMMAND__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.COMMAND__SQL:
- setSQL(SQL_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.COMMAND__PARAMETER:
- return parameter != null && !parameter.isEmpty();
- case ConfigPackageImpl.COMMAND__RESULT_DESCRIPTOR:
- return resultDescriptor != null && !resultDescriptor.isEmpty();
- case ConfigPackageImpl.COMMAND__CONFIG:
- return CONFIG_EDEFAULT == null ? config != null : !CONFIG_EDEFAULT.equals(config);
- case ConfigPackageImpl.COMMAND__KIND:
- return KIND_EDEFAULT == null ? kind != null : !KIND_EDEFAULT.equals(kind);
- case ConfigPackageImpl.COMMAND__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ConfigPackageImpl.COMMAND__SQL:
- return SQL_EDEFAULT == null ? sQL != null : !SQL_EDEFAULT.equals(sQL);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (config: ");
- result.append(config);
- result.append(", kind: ");
- result.append(kind);
- result.append(", name: ");
- result.append(name);
- result.append(", sQL: ");
- result.append(sQL);
- result.append(')');
- return result.toString();
- }
-
-} //CommandImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigFactoryImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigFactoryImpl.java
deleted file mode 100644
index 7f67ad8e76..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigFactoryImpl.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import org.apache.tuscany.das.rdb.config.*;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConfigFactoryImpl extends EFactoryImpl implements ConfigFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final ConfigFactoryImpl eINSTANCE = init();
-
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ConfigFactoryImpl init()
- {
- try
- {
- ConfigFactoryImpl theConfigFactory = (ConfigFactoryImpl)EPackage.Registry.INSTANCE.getEFactory("http:///org.apache.tuscany.das.rdb/config.xsd");
- if (theConfigFactory != null)
- {
- return theConfigFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ConfigFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case ConfigPackageImpl.COLUMN: return (EObject)createColumn();
- case ConfigPackageImpl.COMMAND: return (EObject)createCommand();
- case ConfigPackageImpl.CONFIG: return (EObject)createConfig();
- case ConfigPackageImpl.CONNECTION_PROPERTIES: return (EObject)createConnectionProperties();
- case ConfigPackageImpl.KEY_PAIR: return (EObject)createKeyPair();
- case ConfigPackageImpl.PARAMETER: return (EObject)createParameter();
- case ConfigPackageImpl.RELATIONSHIP: return (EObject)createRelationship();
- case ConfigPackageImpl.RESULT_DESCRIPTOR: return (EObject)createResultDescriptor();
- case ConfigPackageImpl.TABLE: return (EObject)createTable();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Column createColumn()
- {
- ColumnImpl column = new ColumnImpl();
- return column;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Command createCommand()
- {
- CommandImpl command = new CommandImpl();
- return command;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Config createConfig()
- {
- ConfigImpl config = new ConfigImpl();
- return config;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConnectionProperties createConnectionProperties()
- {
- ConnectionPropertiesImpl connectionProperties = new ConnectionPropertiesImpl();
- return connectionProperties;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public KeyPair createKeyPair()
- {
- KeyPairImpl keyPair = new KeyPairImpl();
- return keyPair;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Parameter createParameter()
- {
- ParameterImpl parameter = new ParameterImpl();
- return parameter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Relationship createRelationship()
- {
- RelationshipImpl relationship = new RelationshipImpl();
- return relationship;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResultDescriptor createResultDescriptor()
- {
- ResultDescriptorImpl resultDescriptor = new ResultDescriptorImpl();
- return resultDescriptor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Table createTable()
- {
- TableImpl table = new TableImpl();
- return table;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigPackageImpl getConfigPackageImpl()
- {
- return (ConfigPackageImpl)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static ConfigPackageImpl getPackage()
- {
- return ConfigPackageImpl.eINSTANCE;
- }
-
-} //ConfigFactoryImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigImpl.java
deleted file mode 100644
index 67e1e5f8a7..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigImpl.java
+++ /dev/null
@@ -1,387 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.tuscany.das.rdb.config.Command;
-import org.apache.tuscany.das.rdb.config.Config;
-import org.apache.tuscany.das.rdb.config.ConnectionProperties;
-import org.apache.tuscany.das.rdb.config.Relationship;
-import org.apache.tuscany.das.rdb.config.Table;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Config</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConfigImpl#getCommand <em>Command</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConfigImpl#getConnectionProperties <em>Connection Properties</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConfigImpl#getTable <em>Table</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConfigImpl#getRelationship <em>Relationship</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConfigImpl#getUri <em>Uri</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ConfigImpl extends DataObjectImpl implements Config
-{
- /**
- * The cached value of the '{@link #getCommand() <em>Command</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCommand()
- * @generated
- * @ordered
- */
- protected EList command = null;
-
- /**
- * The cached value of the '{@link #getConnectionProperties() <em>Connection Properties</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConnectionProperties()
- * @generated
- * @ordered
- */
- protected ConnectionProperties connectionProperties = null;
-
- /**
- * The cached value of the '{@link #getTable() <em>Table</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTable()
- * @generated
- * @ordered
- */
- protected EList table = null;
-
- /**
- * The cached value of the '{@link #getRelationship() <em>Relationship</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRelationship()
- * @generated
- * @ordered
- */
- protected EList relationship = null;
-
- /**
- * The default value of the '{@link #getUri() <em>Uri</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUri()
- * @generated
- * @ordered
- */
- protected static final String URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUri() <em>Uri</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUri()
- * @generated
- * @ordered
- */
- protected String uri = URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConfigImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.CONFIG;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getCommand()
- {
- if (command == null)
- {
- command = new EObjectContainmentEList(Command.class, this, ConfigPackageImpl.CONFIG__COMMAND);
- }
- return command;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConnectionProperties getConnectionProperties()
- {
- return connectionProperties;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetConnectionProperties(ConnectionProperties newConnectionProperties, NotificationChain msgs)
- {
- ConnectionProperties oldConnectionProperties = connectionProperties;
- connectionProperties = newConnectionProperties;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES, oldConnectionProperties, newConnectionProperties);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConnectionProperties(ConnectionProperties newConnectionProperties)
- {
- if (newConnectionProperties != connectionProperties)
- {
- NotificationChain msgs = null;
- if (connectionProperties != null)
- msgs = ((InternalEObject)connectionProperties).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES, null, msgs);
- if (newConnectionProperties != null)
- msgs = ((InternalEObject)newConnectionProperties).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES, null, msgs);
- msgs = basicSetConnectionProperties(newConnectionProperties, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES, newConnectionProperties, newConnectionProperties));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getTable()
- {
- if (table == null)
- {
- table = new EObjectContainmentEList(Table.class, this, ConfigPackageImpl.CONFIG__TABLE);
- }
- return table;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getRelationship()
- {
- if (relationship == null)
- {
- relationship = new EObjectContainmentEList(Relationship.class, this, ConfigPackageImpl.CONFIG__RELATIONSHIP);
- }
- return relationship;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUri()
- {
- return uri;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUri(String newUri)
- {
- String oldUri = uri;
- uri = newUri;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONFIG__URI, oldUri, uri));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONFIG__COMMAND:
- return ((InternalEList)getCommand()).basicRemove(otherEnd, msgs);
- case ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES:
- return basicSetConnectionProperties(null, msgs);
- case ConfigPackageImpl.CONFIG__TABLE:
- return ((InternalEList)getTable()).basicRemove(otherEnd, msgs);
- case ConfigPackageImpl.CONFIG__RELATIONSHIP:
- return ((InternalEList)getRelationship()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONFIG__COMMAND:
- return getCommand();
- case ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES:
- return getConnectionProperties();
- case ConfigPackageImpl.CONFIG__TABLE:
- return getTable();
- case ConfigPackageImpl.CONFIG__RELATIONSHIP:
- return getRelationship();
- case ConfigPackageImpl.CONFIG__URI:
- return getUri();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONFIG__COMMAND:
- getCommand().clear();
- getCommand().addAll((Collection)newValue);
- return;
- case ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES:
- setConnectionProperties((ConnectionProperties)newValue);
- return;
- case ConfigPackageImpl.CONFIG__TABLE:
- getTable().clear();
- getTable().addAll((Collection)newValue);
- return;
- case ConfigPackageImpl.CONFIG__RELATIONSHIP:
- getRelationship().clear();
- getRelationship().addAll((Collection)newValue);
- return;
- case ConfigPackageImpl.CONFIG__URI:
- setUri((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONFIG__COMMAND:
- getCommand().clear();
- return;
- case ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES:
- setConnectionProperties((ConnectionProperties)null);
- return;
- case ConfigPackageImpl.CONFIG__TABLE:
- getTable().clear();
- return;
- case ConfigPackageImpl.CONFIG__RELATIONSHIP:
- getRelationship().clear();
- return;
- case ConfigPackageImpl.CONFIG__URI:
- setUri(URI_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONFIG__COMMAND:
- return command != null && !command.isEmpty();
- case ConfigPackageImpl.CONFIG__CONNECTION_PROPERTIES:
- return connectionProperties != null;
- case ConfigPackageImpl.CONFIG__TABLE:
- return table != null && !table.isEmpty();
- case ConfigPackageImpl.CONFIG__RELATIONSHIP:
- return relationship != null && !relationship.isEmpty();
- case ConfigPackageImpl.CONFIG__URI:
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (uri: ");
- result.append(uri);
- result.append(')');
- return result.toString();
- }
-
-} //ConfigImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigPackageImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigPackageImpl.java
deleted file mode 100644
index e018f00586..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConfigPackageImpl.java
+++ /dev/null
@@ -1,2808 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import org.apache.tuscany.das.rdb.config.Column;
-import org.apache.tuscany.das.rdb.config.Command;
-import org.apache.tuscany.das.rdb.config.Config;
-import org.apache.tuscany.das.rdb.config.ConfigFactory;
-import org.apache.tuscany.das.rdb.config.ConnectionProperties;
-import org.apache.tuscany.das.rdb.config.KeyPair;
-import org.apache.tuscany.das.rdb.config.Parameter;
-import org.apache.tuscany.das.rdb.config.Relationship;
-import org.apache.tuscany.das.rdb.config.ResultDescriptor;
-import org.apache.tuscany.das.rdb.config.Table;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EFactory;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.ConfigFactory
- * @generated
- */
-public class ConfigPackageImpl extends EPackageImpl
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final String eNAME = "config";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final String eNS_URI = "http:///org.apache.tuscany.das.rdb/config.xsd";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final String eNS_PREFIX = "org.apache.tuscany.das.rdb.config";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final ConfigPackageImpl eINSTANCE = org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl <em>Column</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ColumnImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getColumn()
- * @generated
- */
- public static final int COLUMN = 0;
-
- /**
- * The feature id for the '<em><b>Collision</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__COLLISION = 0;
-
- /**
- * The feature id for the '<em><b>Column Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__COLUMN_TYPE = 1;
-
- /**
- * The feature id for the '<em><b>Converter Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__CONVERTER_CLASS_NAME = 2;
-
- /**
- * The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__GENERATED = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__NAME = 4;
-
- /**
- * The feature id for the '<em><b>Primary Key</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__PRIMARY_KEY = 5;
-
- /**
- * The feature id for the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__PROPERTY_NAME = 6;
-
- /**
- * The feature id for the '<em><b>Table</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN__TABLE = 7;
-
- /**
- * The number of structural features of the '<em>Column</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COLUMN_FEATURE_COUNT = 8;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl <em>Command</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.CommandImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getCommand()
- * @generated
- */
- public static final int COMMAND = 1;
-
- /**
- * The feature id for the '<em><b>Parameter</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COMMAND__PARAMETER = 0;
-
- /**
- * The feature id for the '<em><b>Result Descriptor</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COMMAND__RESULT_DESCRIPTOR = 1;
-
- /**
- * The feature id for the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COMMAND__CONFIG = 2;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COMMAND__KIND = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COMMAND__NAME = 4;
-
- /**
- * The feature id for the '<em><b>SQL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COMMAND__SQL = 5;
-
- /**
- * The number of structural features of the '<em>Command</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int COMMAND_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.ConfigImpl <em>Config</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getConfig()
- * @generated
- */
- public static final int CONFIG = 2;
-
- /**
- * The feature id for the '<em><b>Command</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONFIG__COMMAND = 0;
-
- /**
- * The feature id for the '<em><b>Connection Properties</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONFIG__CONNECTION_PROPERTIES = 1;
-
- /**
- * The feature id for the '<em><b>Table</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONFIG__TABLE = 2;
-
- /**
- * The feature id for the '<em><b>Relationship</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONFIG__RELATIONSHIP = 3;
-
- /**
- * The feature id for the '<em><b>Uri</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONFIG__URI = 4;
-
- /**
- * The number of structural features of the '<em>Config</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONFIG_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl <em>Connection Properties</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getConnectionProperties()
- * @generated
- */
- public static final int CONNECTION_PROPERTIES = 3;
-
- /**
- * The feature id for the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONNECTION_PROPERTIES__CONFIG = 0;
-
- /**
- * The feature id for the '<em><b>Data Source</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONNECTION_PROPERTIES__DATA_SOURCE = 1;
-
- /**
- * The feature id for the '<em><b>Driver Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONNECTION_PROPERTIES__DRIVER_CLASS_NAME = 2;
-
- /**
- * The feature id for the '<em><b>Driver Password</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONNECTION_PROPERTIES__DRIVER_PASSWORD = 3;
-
- /**
- * The feature id for the '<em><b>Driver URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONNECTION_PROPERTIES__DRIVER_URL = 4;
-
- /**
- * The feature id for the '<em><b>Driver User Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONNECTION_PROPERTIES__DRIVER_USER_NAME = 5;
-
- /**
- * The number of structural features of the '<em>Connection Properties</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int CONNECTION_PROPERTIES_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.KeyPairImpl <em>Key Pair</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.KeyPairImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getKeyPair()
- * @generated
- */
- public static final int KEY_PAIR = 4;
-
- /**
- * The feature id for the '<em><b>Foreign Key Column</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int KEY_PAIR__FOREIGN_KEY_COLUMN = 0;
-
- /**
- * The feature id for the '<em><b>Primary Key Column</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int KEY_PAIR__PRIMARY_KEY_COLUMN = 1;
-
- /**
- * The feature id for the '<em><b>Relationship</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int KEY_PAIR__RELATIONSHIP = 2;
-
- /**
- * The number of structural features of the '<em>Key Pair</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int KEY_PAIR_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.ParameterImpl <em>Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ParameterImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getParameter()
- * @generated
- */
- public static final int PARAMETER = 5;
-
- /**
- * The feature id for the '<em><b>Column Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int PARAMETER__COLUMN_TYPE = 0;
-
- /**
- * The feature id for the '<em><b>Command</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int PARAMETER__COMMAND = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int PARAMETER__NAME = 2;
-
- /**
- * The number of structural features of the '<em>Parameter</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int PARAMETER_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl <em>Relationship</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.RelationshipImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getRelationship()
- * @generated
- */
- public static final int RELATIONSHIP = 6;
-
- /**
- * The feature id for the '<em><b>Key Pair</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RELATIONSHIP__KEY_PAIR = 0;
-
- /**
- * The feature id for the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RELATIONSHIP__CONFIG = 1;
-
- /**
- * The feature id for the '<em><b>Foreign Key Table</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RELATIONSHIP__FOREIGN_KEY_TABLE = 2;
-
- /**
- * The feature id for the '<em><b>Many</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RELATIONSHIP__MANY = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RELATIONSHIP__NAME = 4;
-
- /**
- * The feature id for the '<em><b>Primary Key Table</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RELATIONSHIP__PRIMARY_KEY_TABLE = 5;
-
- /**
- * The number of structural features of the '<em>Relationship</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RELATIONSHIP_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl <em>Result Descriptor</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getResultDescriptor()
- * @generated
- */
- public static final int RESULT_DESCRIPTOR = 7;
-
- /**
- * The feature id for the '<em><b>Column Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RESULT_DESCRIPTOR__COLUMN_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Column Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RESULT_DESCRIPTOR__COLUMN_TYPE = 1;
-
- /**
- * The feature id for the '<em><b>Command</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RESULT_DESCRIPTOR__COMMAND = 2;
-
- /**
- * The feature id for the '<em><b>Converter</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RESULT_DESCRIPTOR__CONVERTER = 3;
-
- /**
- * The feature id for the '<em><b>Table Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RESULT_DESCRIPTOR__TABLE_NAME = 4;
-
- /**
- * The number of structural features of the '<em>Result Descriptor</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int RESULT_DESCRIPTOR_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link org.apache.tuscany.das.rdb.config.impl.TableImpl <em>Table</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.TableImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getTable()
- * @generated
- */
- public static final int TABLE = 8;
-
- /**
- * The feature id for the '<em><b>Column</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE__COLUMN = 0;
-
- /**
- * The feature id for the '<em><b>Config</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE__CONFIG = 1;
-
- /**
- * The feature id for the '<em><b>Create</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE__CREATE = 2;
-
- /**
- * The feature id for the '<em><b>Delete</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE__DELETE = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE__NAME = 4;
-
- /**
- * The feature id for the '<em><b>Property Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE__PROPERTY_NAME = 5;
-
- /**
- * The feature id for the '<em><b>Update</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE__UPDATE = 6;
-
- /**
- * The number of structural features of the '<em>Table</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- public static final int TABLE_FEATURE_COUNT = 7;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass columnEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass commandEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass configEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass connectionPropertiesEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass keyPairEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass parameterEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass relationshipEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass resultDescriptorEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass tableEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#eNS_URI
- * @see #init()
- * @generated
- */
- private ConfigPackageImpl()
- {
- super(eNS_URI, ((EFactory)ConfigFactory.INSTANCE));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>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.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static ConfigPackageImpl init()
- {
- if (isInited) return (ConfigPackageImpl)EPackage.Registry.INSTANCE.getEPackage(ConfigPackageImpl.eNS_URI);
-
- // Obtain or create and register package
- ConfigPackageImpl theConfigPackageImpl = (ConfigPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ConfigPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ConfigPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theConfigPackageImpl.createPackageContents();
-
- // Initialize created meta-data
- theConfigPackageImpl.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theConfigPackageImpl.freeze();
-
- return theConfigPackageImpl;
- }
-
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.Column <em>Column</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Column</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column
- * @generated
- */
- public EClass getColumn()
- {
- return columnEClass;
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#isCollision <em>Collision</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Collision</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#isCollision()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_Collision()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#getColumnType <em>Column Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Column Type</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#getColumnType()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_ColumnType()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#getConverterClassName <em>Converter Class Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Converter Class Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#getConverterClassName()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_ConverterClassName()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#isGenerated <em>Generated</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Generated</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#isGenerated()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_Generated()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#getName()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_Name()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#isPrimaryKey <em>Primary Key</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Primary Key</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#isPrimaryKey()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_PrimaryKey()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#getPropertyName <em>Property Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Property Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#getPropertyName()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_PropertyName()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Column#getTable <em>Table</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Table</em>'.
- * @see org.apache.tuscany.das.rdb.config.Column#getTable()
- * @see #getColumn()
- * @generated
- */
- public EAttribute getColumn_Table()
- {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.Command <em>Command</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Command</em>'.
- * @see org.apache.tuscany.das.rdb.config.Command
- * @generated
- */
- public EClass getCommand()
- {
- return commandEClass;
- }
-
- /**
- * Returns the meta object for the containment reference list '{@link org.apache.tuscany.das.rdb.config.Command#getParameter <em>Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Parameter</em>'.
- * @see org.apache.tuscany.das.rdb.config.Command#getParameter()
- * @see #getCommand()
- * @generated
- */
- public EReference getCommand_Parameter()
- {
- return (EReference)commandEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the containment reference list '{@link org.apache.tuscany.das.rdb.config.Command#getResultDescriptor <em>Result Descriptor</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Result Descriptor</em>'.
- * @see org.apache.tuscany.das.rdb.config.Command#getResultDescriptor()
- * @see #getCommand()
- * @generated
- */
- public EReference getCommand_ResultDescriptor()
- {
- return (EReference)commandEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Command#getConfig <em>Config</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Config</em>'.
- * @see org.apache.tuscany.das.rdb.config.Command#getConfig()
- * @see #getCommand()
- * @generated
- */
- public EAttribute getCommand_Config()
- {
- return (EAttribute)commandEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Command#getKind <em>Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Kind</em>'.
- * @see org.apache.tuscany.das.rdb.config.Command#getKind()
- * @see #getCommand()
- * @generated
- */
- public EAttribute getCommand_Kind()
- {
- return (EAttribute)commandEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Command#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Command#getName()
- * @see #getCommand()
- * @generated
- */
- public EAttribute getCommand_Name()
- {
- return (EAttribute)commandEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Command#getSQL <em>SQL</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>SQL</em>'.
- * @see org.apache.tuscany.das.rdb.config.Command#getSQL()
- * @see #getCommand()
- * @generated
- */
- public EAttribute getCommand_SQL()
- {
- return (EAttribute)commandEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.Config <em>Config</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Config</em>'.
- * @see org.apache.tuscany.das.rdb.config.Config
- * @generated
- */
- public EClass getConfig()
- {
- return configEClass;
- }
-
- /**
- * Returns the meta object for the containment reference list '{@link org.apache.tuscany.das.rdb.config.Config#getCommand <em>Command</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Command</em>'.
- * @see org.apache.tuscany.das.rdb.config.Config#getCommand()
- * @see #getConfig()
- * @generated
- */
- public EReference getConfig_Command()
- {
- return (EReference)configEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the containment reference '{@link org.apache.tuscany.das.rdb.config.Config#getConnectionProperties <em>Connection Properties</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Connection Properties</em>'.
- * @see org.apache.tuscany.das.rdb.config.Config#getConnectionProperties()
- * @see #getConfig()
- * @generated
- */
- public EReference getConfig_ConnectionProperties()
- {
- return (EReference)configEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the containment reference list '{@link org.apache.tuscany.das.rdb.config.Config#getTable <em>Table</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Table</em>'.
- * @see org.apache.tuscany.das.rdb.config.Config#getTable()
- * @see #getConfig()
- * @generated
- */
- public EReference getConfig_Table()
- {
- return (EReference)configEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for the containment reference list '{@link org.apache.tuscany.das.rdb.config.Config#getRelationship <em>Relationship</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Relationship</em>'.
- * @see org.apache.tuscany.das.rdb.config.Config#getRelationship()
- * @see #getConfig()
- * @generated
- */
- public EReference getConfig_Relationship()
- {
- return (EReference)configEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Config#getUri <em>Uri</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Uri</em>'.
- * @see org.apache.tuscany.das.rdb.config.Config#getUri()
- * @see #getConfig()
- * @generated
- */
- public EAttribute getConfig_Uri()
- {
- return (EAttribute)configEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties <em>Connection Properties</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Connection Properties</em>'.
- * @see org.apache.tuscany.das.rdb.config.ConnectionProperties
- * @generated
- */
- public EClass getConnectionProperties()
- {
- return connectionPropertiesEClass;
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getConfig <em>Config</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Config</em>'.
- * @see org.apache.tuscany.das.rdb.config.ConnectionProperties#getConfig()
- * @see #getConnectionProperties()
- * @generated
- */
- public EAttribute getConnectionProperties_Config()
- {
- return (EAttribute)connectionPropertiesEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDataSource <em>Data Source</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Data Source</em>'.
- * @see org.apache.tuscany.das.rdb.config.ConnectionProperties#getDataSource()
- * @see #getConnectionProperties()
- * @generated
- */
- public EAttribute getConnectionProperties_DataSource()
- {
- return (EAttribute)connectionPropertiesEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverClassName <em>Driver Class Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Driver Class Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverClassName()
- * @see #getConnectionProperties()
- * @generated
- */
- public EAttribute getConnectionProperties_DriverClassName()
- {
- return (EAttribute)connectionPropertiesEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverPassword <em>Driver Password</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Driver Password</em>'.
- * @see org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverPassword()
- * @see #getConnectionProperties()
- * @generated
- */
- public EAttribute getConnectionProperties_DriverPassword()
- {
- return (EAttribute)connectionPropertiesEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverURL <em>Driver URL</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Driver URL</em>'.
- * @see org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverURL()
- * @see #getConnectionProperties()
- * @generated
- */
- public EAttribute getConnectionProperties_DriverURL()
- {
- return (EAttribute)connectionPropertiesEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverUserName <em>Driver User Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Driver User Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.ConnectionProperties#getDriverUserName()
- * @see #getConnectionProperties()
- * @generated
- */
- public EAttribute getConnectionProperties_DriverUserName()
- {
- return (EAttribute)connectionPropertiesEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.KeyPair <em>Key Pair</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Key Pair</em>'.
- * @see org.apache.tuscany.das.rdb.config.KeyPair
- * @generated
- */
- public EClass getKeyPair()
- {
- return keyPairEClass;
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.KeyPair#getForeignKeyColumn <em>Foreign Key Column</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Foreign Key Column</em>'.
- * @see org.apache.tuscany.das.rdb.config.KeyPair#getForeignKeyColumn()
- * @see #getKeyPair()
- * @generated
- */
- public EAttribute getKeyPair_ForeignKeyColumn()
- {
- return (EAttribute)keyPairEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.KeyPair#getPrimaryKeyColumn <em>Primary Key Column</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Primary Key Column</em>'.
- * @see org.apache.tuscany.das.rdb.config.KeyPair#getPrimaryKeyColumn()
- * @see #getKeyPair()
- * @generated
- */
- public EAttribute getKeyPair_PrimaryKeyColumn()
- {
- return (EAttribute)keyPairEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.KeyPair#getRelationship <em>Relationship</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Relationship</em>'.
- * @see org.apache.tuscany.das.rdb.config.KeyPair#getRelationship()
- * @see #getKeyPair()
- * @generated
- */
- public EAttribute getKeyPair_Relationship()
- {
- return (EAttribute)keyPairEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.Parameter <em>Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Parameter</em>'.
- * @see org.apache.tuscany.das.rdb.config.Parameter
- * @generated
- */
- public EClass getParameter()
- {
- return parameterEClass;
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Parameter#getColumnType <em>Column Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Column Type</em>'.
- * @see org.apache.tuscany.das.rdb.config.Parameter#getColumnType()
- * @see #getParameter()
- * @generated
- */
- public EAttribute getParameter_ColumnType()
- {
- return (EAttribute)parameterEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Parameter#getCommand <em>Command</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Command</em>'.
- * @see org.apache.tuscany.das.rdb.config.Parameter#getCommand()
- * @see #getParameter()
- * @generated
- */
- public EAttribute getParameter_Command()
- {
- return (EAttribute)parameterEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Parameter#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Parameter#getName()
- * @see #getParameter()
- * @generated
- */
- public EAttribute getParameter_Name()
- {
- return (EAttribute)parameterEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.Relationship <em>Relationship</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Relationship</em>'.
- * @see org.apache.tuscany.das.rdb.config.Relationship
- * @generated
- */
- public EClass getRelationship()
- {
- return relationshipEClass;
- }
-
- /**
- * Returns the meta object for the containment reference list '{@link org.apache.tuscany.das.rdb.config.Relationship#getKeyPair <em>Key Pair</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Key Pair</em>'.
- * @see org.apache.tuscany.das.rdb.config.Relationship#getKeyPair()
- * @see #getRelationship()
- * @generated
- */
- public EReference getRelationship_KeyPair()
- {
- return (EReference)relationshipEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Relationship#getConfig <em>Config</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Config</em>'.
- * @see org.apache.tuscany.das.rdb.config.Relationship#getConfig()
- * @see #getRelationship()
- * @generated
- */
- public EAttribute getRelationship_Config()
- {
- return (EAttribute)relationshipEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Relationship#getForeignKeyTable <em>Foreign Key Table</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Foreign Key Table</em>'.
- * @see org.apache.tuscany.das.rdb.config.Relationship#getForeignKeyTable()
- * @see #getRelationship()
- * @generated
- */
- public EAttribute getRelationship_ForeignKeyTable()
- {
- return (EAttribute)relationshipEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Relationship#isMany <em>Many</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Many</em>'.
- * @see org.apache.tuscany.das.rdb.config.Relationship#isMany()
- * @see #getRelationship()
- * @generated
- */
- public EAttribute getRelationship_Many()
- {
- return (EAttribute)relationshipEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Relationship#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Relationship#getName()
- * @see #getRelationship()
- * @generated
- */
- public EAttribute getRelationship_Name()
- {
- return (EAttribute)relationshipEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Relationship#getPrimaryKeyTable <em>Primary Key Table</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Primary Key Table</em>'.
- * @see org.apache.tuscany.das.rdb.config.Relationship#getPrimaryKeyTable()
- * @see #getRelationship()
- * @generated
- */
- public EAttribute getRelationship_PrimaryKeyTable()
- {
- return (EAttribute)relationshipEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor <em>Result Descriptor</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Result Descriptor</em>'.
- * @see org.apache.tuscany.das.rdb.config.ResultDescriptor
- * @generated
- */
- public EClass getResultDescriptor()
- {
- return resultDescriptorEClass;
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnName <em>Column Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Column Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnName()
- * @see #getResultDescriptor()
- * @generated
- */
- public EAttribute getResultDescriptor_ColumnName()
- {
- return (EAttribute)resultDescriptorEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnType <em>Column Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Column Type</em>'.
- * @see org.apache.tuscany.das.rdb.config.ResultDescriptor#getColumnType()
- * @see #getResultDescriptor()
- * @generated
- */
- public EAttribute getResultDescriptor_ColumnType()
- {
- return (EAttribute)resultDescriptorEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getCommand <em>Command</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Command</em>'.
- * @see org.apache.tuscany.das.rdb.config.ResultDescriptor#getCommand()
- * @see #getResultDescriptor()
- * @generated
- */
- public EAttribute getResultDescriptor_Command()
- {
- return (EAttribute)resultDescriptorEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getConverter <em>Converter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Converter</em>'.
- * @see org.apache.tuscany.das.rdb.config.ResultDescriptor#getConverter()
- * @see #getResultDescriptor()
- * @generated
- */
- public EAttribute getResultDescriptor_Converter()
- {
- return (EAttribute)resultDescriptorEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getTableName <em>Table Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Table Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.ResultDescriptor#getTableName()
- * @see #getResultDescriptor()
- * @generated
- */
- public EAttribute getResultDescriptor_TableName()
- {
- return (EAttribute)resultDescriptorEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * Returns the meta object for class '{@link org.apache.tuscany.das.rdb.config.Table <em>Table</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Table</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table
- * @generated
- */
- public EClass getTable()
- {
- return tableEClass;
- }
-
- /**
- * Returns the meta object for the containment reference list '{@link org.apache.tuscany.das.rdb.config.Table#getColumn <em>Column</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Column</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table#getColumn()
- * @see #getTable()
- * @generated
- */
- public EReference getTable_Column()
- {
- return (EReference)tableEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Table#getConfig <em>Config</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Config</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table#getConfig()
- * @see #getTable()
- * @generated
- */
- public EAttribute getTable_Config()
- {
- return (EAttribute)tableEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Table#getCreate <em>Create</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Create</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table#getCreate()
- * @see #getTable()
- * @generated
- */
- public EAttribute getTable_Create()
- {
- return (EAttribute)tableEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Table#getDelete <em>Delete</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Delete</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table#getDelete()
- * @see #getTable()
- * @generated
- */
- public EAttribute getTable_Delete()
- {
- return (EAttribute)tableEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Table#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table#getName()
- * @see #getTable()
- * @generated
- */
- public EAttribute getTable_Name()
- {
- return (EAttribute)tableEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Table#getPropertyName <em>Property Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Property Name</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table#getPropertyName()
- * @see #getTable()
- * @generated
- */
- public EAttribute getTable_PropertyName()
- {
- return (EAttribute)tableEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * Returns the meta object for the attribute '{@link org.apache.tuscany.das.rdb.config.Table#getUpdate <em>Update</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Update</em>'.
- * @see org.apache.tuscany.das.rdb.config.Table#getUpdate()
- * @see #getTable()
- * @generated
- */
- public EAttribute getTable_Update()
- {
- return (EAttribute)tableEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- public ConfigFactory getConfigFactory()
- {
- return (ConfigFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @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.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- columnEClass = createEClass(COLUMN);
- createEAttribute(columnEClass, COLUMN__COLLISION);
- createEAttribute(columnEClass, COLUMN__COLUMN_TYPE);
- createEAttribute(columnEClass, COLUMN__CONVERTER_CLASS_NAME);
- createEAttribute(columnEClass, COLUMN__GENERATED);
- createEAttribute(columnEClass, COLUMN__NAME);
- createEAttribute(columnEClass, COLUMN__PRIMARY_KEY);
- createEAttribute(columnEClass, COLUMN__PROPERTY_NAME);
- createEAttribute(columnEClass, COLUMN__TABLE);
-
- commandEClass = createEClass(COMMAND);
- createEReference(commandEClass, COMMAND__PARAMETER);
- createEReference(commandEClass, COMMAND__RESULT_DESCRIPTOR);
- createEAttribute(commandEClass, COMMAND__CONFIG);
- createEAttribute(commandEClass, COMMAND__KIND);
- createEAttribute(commandEClass, COMMAND__NAME);
- createEAttribute(commandEClass, COMMAND__SQL);
-
- configEClass = createEClass(CONFIG);
- createEReference(configEClass, CONFIG__COMMAND);
- createEReference(configEClass, CONFIG__CONNECTION_PROPERTIES);
- createEReference(configEClass, CONFIG__TABLE);
- createEReference(configEClass, CONFIG__RELATIONSHIP);
- createEAttribute(configEClass, CONFIG__URI);
-
- connectionPropertiesEClass = createEClass(CONNECTION_PROPERTIES);
- createEAttribute(connectionPropertiesEClass, CONNECTION_PROPERTIES__CONFIG);
- createEAttribute(connectionPropertiesEClass, CONNECTION_PROPERTIES__DATA_SOURCE);
- createEAttribute(connectionPropertiesEClass, CONNECTION_PROPERTIES__DRIVER_CLASS_NAME);
- createEAttribute(connectionPropertiesEClass, CONNECTION_PROPERTIES__DRIVER_PASSWORD);
- createEAttribute(connectionPropertiesEClass, CONNECTION_PROPERTIES__DRIVER_URL);
- createEAttribute(connectionPropertiesEClass, CONNECTION_PROPERTIES__DRIVER_USER_NAME);
-
- keyPairEClass = createEClass(KEY_PAIR);
- createEAttribute(keyPairEClass, KEY_PAIR__FOREIGN_KEY_COLUMN);
- createEAttribute(keyPairEClass, KEY_PAIR__PRIMARY_KEY_COLUMN);
- createEAttribute(keyPairEClass, KEY_PAIR__RELATIONSHIP);
-
- parameterEClass = createEClass(PARAMETER);
- createEAttribute(parameterEClass, PARAMETER__COLUMN_TYPE);
- createEAttribute(parameterEClass, PARAMETER__COMMAND);
- createEAttribute(parameterEClass, PARAMETER__NAME);
-
- relationshipEClass = createEClass(RELATIONSHIP);
- createEReference(relationshipEClass, RELATIONSHIP__KEY_PAIR);
- createEAttribute(relationshipEClass, RELATIONSHIP__CONFIG);
- createEAttribute(relationshipEClass, RELATIONSHIP__FOREIGN_KEY_TABLE);
- createEAttribute(relationshipEClass, RELATIONSHIP__MANY);
- createEAttribute(relationshipEClass, RELATIONSHIP__NAME);
- createEAttribute(relationshipEClass, RELATIONSHIP__PRIMARY_KEY_TABLE);
-
- resultDescriptorEClass = createEClass(RESULT_DESCRIPTOR);
- createEAttribute(resultDescriptorEClass, RESULT_DESCRIPTOR__COLUMN_NAME);
- createEAttribute(resultDescriptorEClass, RESULT_DESCRIPTOR__COLUMN_TYPE);
- createEAttribute(resultDescriptorEClass, RESULT_DESCRIPTOR__COMMAND);
- createEAttribute(resultDescriptorEClass, RESULT_DESCRIPTOR__CONVERTER);
- createEAttribute(resultDescriptorEClass, RESULT_DESCRIPTOR__TABLE_NAME);
-
- tableEClass = createEClass(TABLE);
- createEReference(tableEClass, TABLE__COLUMN);
- createEAttribute(tableEClass, TABLE__CONFIG);
- createEAttribute(tableEClass, TABLE__CREATE);
- createEAttribute(tableEClass, TABLE__DELETE);
- createEAttribute(tableEClass, TABLE__NAME);
- createEAttribute(tableEClass, TABLE__PROPERTY_NAME);
- createEAttribute(tableEClass, TABLE__UPDATE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @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.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(columnEClass, Column.class, "Column", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getColumn_Collision(), theXMLTypePackage.getBoolean(), "collision", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_ColumnType(), theXMLTypePackage.getString(), "columnType", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_ConverterClassName(), theXMLTypePackage.getString(), "converterClassName", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_Generated(), theXMLTypePackage.getBoolean(), "generated", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_PrimaryKey(), theXMLTypePackage.getBoolean(), "primaryKey", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_PropertyName(), theXMLTypePackage.getString(), "propertyName", null, 0, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_Table(), theXMLTypePackage.getAnyURI(), "table", null, 0, 1, Column.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCommand_Parameter(), this.getParameter(), null, "parameter", null, 0, -1, Command.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCommand_ResultDescriptor(), this.getResultDescriptor(), null, "resultDescriptor", null, 0, -1, Command.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCommand_Config(), theXMLTypePackage.getAnyURI(), "config", null, 0, 1, Command.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCommand_Kind(), theXMLTypePackage.getString(), "kind", null, 0, 1, Command.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCommand_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Command.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCommand_SQL(), theXMLTypePackage.getString(), "sQL", null, 0, 1, Command.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(configEClass, Config.class, "Config", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConfig_Command(), this.getCommand(), null, "command", null, 0, -1, Config.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConfig_ConnectionProperties(), this.getConnectionProperties(), null, "connectionProperties", null, 0, 1, Config.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConfig_Table(), this.getTable(), null, "table", null, 0, -1, Config.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConfig_Relationship(), this.getRelationship(), null, "relationship", null, 0, -1, Config.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConfig_Uri(), theXMLTypePackage.getString(), "uri", null, 0, 1, Config.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(connectionPropertiesEClass, ConnectionProperties.class, "ConnectionProperties", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getConnectionProperties_Config(), theXMLTypePackage.getAnyURI(), "config", null, 0, 1, ConnectionProperties.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConnectionProperties_DataSource(), theXMLTypePackage.getString(), "dataSource", null, 0, 1, ConnectionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConnectionProperties_DriverClassName(), theXMLTypePackage.getString(), "driverClassName", null, 0, 1, ConnectionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConnectionProperties_DriverPassword(), theXMLTypePackage.getString(), "driverPassword", null, 0, 1, ConnectionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConnectionProperties_DriverURL(), theXMLTypePackage.getString(), "driverURL", null, 0, 1, ConnectionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConnectionProperties_DriverUserName(), theXMLTypePackage.getString(), "driverUserName", null, 0, 1, ConnectionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(keyPairEClass, KeyPair.class, "KeyPair", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getKeyPair_ForeignKeyColumn(), theXMLTypePackage.getString(), "foreignKeyColumn", null, 0, 1, KeyPair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getKeyPair_PrimaryKeyColumn(), theXMLTypePackage.getString(), "primaryKeyColumn", null, 0, 1, KeyPair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getKeyPair_Relationship(), theXMLTypePackage.getAnyURI(), "relationship", null, 0, 1, KeyPair.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getParameter_ColumnType(), theXMLTypePackage.getString(), "columnType", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getParameter_Command(), theXMLTypePackage.getAnyURI(), "command", null, 0, 1, Parameter.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getParameter_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(relationshipEClass, Relationship.class, "Relationship", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRelationship_KeyPair(), this.getKeyPair(), null, "keyPair", null, 0, -1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRelationship_Config(), theXMLTypePackage.getAnyURI(), "config", null, 0, 1, Relationship.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRelationship_ForeignKeyTable(), theXMLTypePackage.getString(), "foreignKeyTable", null, 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRelationship_Many(), theXMLTypePackage.getBoolean(), "many", null, 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRelationship_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRelationship_PrimaryKeyTable(), theXMLTypePackage.getString(), "primaryKeyTable", null, 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(resultDescriptorEClass, ResultDescriptor.class, "ResultDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getResultDescriptor_ColumnName(), theXMLTypePackage.getString(), "columnName", null, 0, 1, ResultDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getResultDescriptor_ColumnType(), theXMLTypePackage.getString(), "columnType", null, 0, 1, ResultDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getResultDescriptor_Command(), theXMLTypePackage.getAnyURI(), "command", null, 0, 1, ResultDescriptor.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getResultDescriptor_Converter(), theXMLTypePackage.getString(), "converter", null, 0, 1, ResultDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getResultDescriptor_TableName(), theXMLTypePackage.getString(), "tableName", null, 0, 1, ResultDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(tableEClass, Table.class, "Table", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTable_Column(), this.getColumn(), null, "column", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTable_Config(), theXMLTypePackage.getAnyURI(), "config", null, 0, 1, Table.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTable_Create(), theXMLTypePackage.getString(), "create", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTable_Delete(), theXMLTypePackage.getString(), "delete", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTable_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTable_PropertyName(), theXMLTypePackage.getString(), "propertyName", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTable_Update(), theXMLTypePackage.getString(), "update", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations()
- {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (columnEClass,
- source,
- new String[]
- {
- "name", "Column",
- "kind", "empty"
- });
- addAnnotation
- (getColumn_Collision(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "collision"
- });
- addAnnotation
- (getColumn_ColumnType(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "columnType"
- });
- addAnnotation
- (getColumn_ConverterClassName(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "converterClassName"
- });
- addAnnotation
- (getColumn_Generated(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "generated"
- });
- addAnnotation
- (getColumn_Name(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (getColumn_PrimaryKey(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "primaryKey"
- });
- addAnnotation
- (getColumn_PropertyName(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "propertyName"
- });
- addAnnotation
- (getColumn_Table(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Table"
- });
- addAnnotation
- (commandEClass,
- source,
- new String[]
- {
- "name", "Command",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCommand_Parameter(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "Parameter"
- });
- addAnnotation
- (getCommand_ResultDescriptor(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "ResultDescriptor"
- });
- addAnnotation
- (getCommand_Config(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Config"
- });
- addAnnotation
- (getCommand_Kind(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "kind"
- });
- addAnnotation
- (getCommand_Name(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (getCommand_SQL(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "SQL"
- });
- addAnnotation
- (configEClass,
- source,
- new String[]
- {
- "name", "Config",
- "kind", "elementOnly"
- });
- addAnnotation
- (getConfig_Command(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "Command"
- });
- addAnnotation
- (getConfig_ConnectionProperties(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "ConnectionProperties"
- });
- addAnnotation
- (getConfig_Table(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "Table"
- });
- addAnnotation
- (getConfig_Relationship(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "Relationship"
- });
- addAnnotation
- (getConfig_Uri(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "uri"
- });
- addAnnotation
- (connectionPropertiesEClass,
- source,
- new String[]
- {
- "name", "ConnectionProperties",
- "kind", "empty"
- });
- addAnnotation
- (getConnectionProperties_Config(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Config"
- });
- addAnnotation
- (getConnectionProperties_DataSource(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "dataSource"
- });
- addAnnotation
- (getConnectionProperties_DriverClassName(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "driverClassName"
- });
- addAnnotation
- (getConnectionProperties_DriverPassword(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "driverPassword"
- });
- addAnnotation
- (getConnectionProperties_DriverURL(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "driverURL"
- });
- addAnnotation
- (getConnectionProperties_DriverUserName(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "driverUserName"
- });
- addAnnotation
- (keyPairEClass,
- source,
- new String[]
- {
- "name", "KeyPair",
- "kind", "empty"
- });
- addAnnotation
- (getKeyPair_ForeignKeyColumn(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "foreignKeyColumn"
- });
- addAnnotation
- (getKeyPair_PrimaryKeyColumn(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "primaryKeyColumn"
- });
- addAnnotation
- (getKeyPair_Relationship(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Relationship"
- });
- addAnnotation
- (parameterEClass,
- source,
- new String[]
- {
- "name", "Parameter",
- "kind", "empty"
- });
- addAnnotation
- (getParameter_ColumnType(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "columnType"
- });
- addAnnotation
- (getParameter_Command(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Command"
- });
- addAnnotation
- (getParameter_Name(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (relationshipEClass,
- source,
- new String[]
- {
- "name", "Relationship",
- "kind", "elementOnly"
- });
- addAnnotation
- (getRelationship_KeyPair(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "KeyPair"
- });
- addAnnotation
- (getRelationship_Config(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Config"
- });
- addAnnotation
- (getRelationship_ForeignKeyTable(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "foreignKeyTable"
- });
- addAnnotation
- (getRelationship_Many(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "many"
- });
- addAnnotation
- (getRelationship_Name(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (getRelationship_PrimaryKeyTable(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "primaryKeyTable"
- });
- addAnnotation
- (resultDescriptorEClass,
- source,
- new String[]
- {
- "name", "ResultDescriptor",
- "kind", "empty"
- });
- addAnnotation
- (getResultDescriptor_ColumnName(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "columnName"
- });
- addAnnotation
- (getResultDescriptor_ColumnType(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "columnType"
- });
- addAnnotation
- (getResultDescriptor_Command(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Command"
- });
- addAnnotation
- (getResultDescriptor_Converter(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "converter"
- });
- addAnnotation
- (getResultDescriptor_TableName(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "tableName"
- });
- addAnnotation
- (tableEClass,
- source,
- new String[]
- {
- "name", "Table",
- "kind", "elementOnly"
- });
- addAnnotation
- (getTable_Column(),
- source,
- new String[]
- {
- "kind", "element",
- "name", "Column"
- });
- addAnnotation
- (getTable_Config(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "Config"
- });
- addAnnotation
- (getTable_Create(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "create"
- });
- addAnnotation
- (getTable_Delete(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "delete"
- });
- addAnnotation
- (getTable_Name(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (getTable_PropertyName(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "propertyName"
- });
- addAnnotation
- (getTable_Update(),
- source,
- new String[]
- {
- "kind", "attribute",
- "name", "update"
- });
- }
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- public interface Literals
- {
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.ColumnImpl <em>Column</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ColumnImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getColumn()
- * @generated
- */
- public static final EClass COLUMN = eINSTANCE.getColumn();
-
- /**
- * The meta object literal for the '<em><b>Collision</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__COLLISION = eINSTANCE.getColumn_Collision();
-
- /**
- * The meta object literal for the '<em><b>Column Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__COLUMN_TYPE = eINSTANCE.getColumn_ColumnType();
-
- /**
- * The meta object literal for the '<em><b>Converter Class Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__CONVERTER_CLASS_NAME = eINSTANCE.getColumn_ConverterClassName();
-
- /**
- * The meta object literal for the '<em><b>Generated</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__GENERATED = eINSTANCE.getColumn_Generated();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__NAME = eINSTANCE.getColumn_Name();
-
- /**
- * The meta object literal for the '<em><b>Primary Key</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__PRIMARY_KEY = eINSTANCE.getColumn_PrimaryKey();
-
- /**
- * The meta object literal for the '<em><b>Property Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__PROPERTY_NAME = eINSTANCE.getColumn_PropertyName();
-
- /**
- * The meta object literal for the '<em><b>Table</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COLUMN__TABLE = eINSTANCE.getColumn_Table();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.CommandImpl <em>Command</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.CommandImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getCommand()
- * @generated
- */
- public static final EClass COMMAND = eINSTANCE.getCommand();
-
- /**
- * The meta object literal for the '<em><b>Parameter</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference COMMAND__PARAMETER = eINSTANCE.getCommand_Parameter();
-
- /**
- * The meta object literal for the '<em><b>Result Descriptor</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference COMMAND__RESULT_DESCRIPTOR = eINSTANCE.getCommand_ResultDescriptor();
-
- /**
- * The meta object literal for the '<em><b>Config</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COMMAND__CONFIG = eINSTANCE.getCommand_Config();
-
- /**
- * The meta object literal for the '<em><b>Kind</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COMMAND__KIND = eINSTANCE.getCommand_Kind();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COMMAND__NAME = eINSTANCE.getCommand_Name();
-
- /**
- * The meta object literal for the '<em><b>SQL</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute COMMAND__SQL = eINSTANCE.getCommand_SQL();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.ConfigImpl <em>Config</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getConfig()
- * @generated
- */
- public static final EClass CONFIG = eINSTANCE.getConfig();
-
- /**
- * The meta object literal for the '<em><b>Command</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference CONFIG__COMMAND = eINSTANCE.getConfig_Command();
-
- /**
- * The meta object literal for the '<em><b>Connection Properties</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference CONFIG__CONNECTION_PROPERTIES = eINSTANCE.getConfig_ConnectionProperties();
-
- /**
- * The meta object literal for the '<em><b>Table</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference CONFIG__TABLE = eINSTANCE.getConfig_Table();
-
- /**
- * The meta object literal for the '<em><b>Relationship</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference CONFIG__RELATIONSHIP = eINSTANCE.getConfig_Relationship();
-
- /**
- * The meta object literal for the '<em><b>Uri</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute CONFIG__URI = eINSTANCE.getConfig_Uri();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl <em>Connection Properties</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getConnectionProperties()
- * @generated
- */
- public static final EClass CONNECTION_PROPERTIES = eINSTANCE.getConnectionProperties();
-
- /**
- * The meta object literal for the '<em><b>Config</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute CONNECTION_PROPERTIES__CONFIG = eINSTANCE.getConnectionProperties_Config();
-
- /**
- * The meta object literal for the '<em><b>Data Source</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute CONNECTION_PROPERTIES__DATA_SOURCE = eINSTANCE.getConnectionProperties_DataSource();
-
- /**
- * The meta object literal for the '<em><b>Driver Class Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute CONNECTION_PROPERTIES__DRIVER_CLASS_NAME = eINSTANCE.getConnectionProperties_DriverClassName();
-
- /**
- * The meta object literal for the '<em><b>Driver Password</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute CONNECTION_PROPERTIES__DRIVER_PASSWORD = eINSTANCE.getConnectionProperties_DriverPassword();
-
- /**
- * The meta object literal for the '<em><b>Driver URL</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute CONNECTION_PROPERTIES__DRIVER_URL = eINSTANCE.getConnectionProperties_DriverURL();
-
- /**
- * The meta object literal for the '<em><b>Driver User Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute CONNECTION_PROPERTIES__DRIVER_USER_NAME = eINSTANCE.getConnectionProperties_DriverUserName();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.KeyPairImpl <em>Key Pair</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.KeyPairImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getKeyPair()
- * @generated
- */
- public static final EClass KEY_PAIR = eINSTANCE.getKeyPair();
-
- /**
- * The meta object literal for the '<em><b>Foreign Key Column</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute KEY_PAIR__FOREIGN_KEY_COLUMN = eINSTANCE.getKeyPair_ForeignKeyColumn();
-
- /**
- * The meta object literal for the '<em><b>Primary Key Column</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute KEY_PAIR__PRIMARY_KEY_COLUMN = eINSTANCE.getKeyPair_PrimaryKeyColumn();
-
- /**
- * The meta object literal for the '<em><b>Relationship</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute KEY_PAIR__RELATIONSHIP = eINSTANCE.getKeyPair_Relationship();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.ParameterImpl <em>Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ParameterImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getParameter()
- * @generated
- */
- public static final EClass PARAMETER = eINSTANCE.getParameter();
-
- /**
- * The meta object literal for the '<em><b>Column Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute PARAMETER__COLUMN_TYPE = eINSTANCE.getParameter_ColumnType();
-
- /**
- * The meta object literal for the '<em><b>Command</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute PARAMETER__COMMAND = eINSTANCE.getParameter_Command();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute PARAMETER__NAME = eINSTANCE.getParameter_Name();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl <em>Relationship</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.RelationshipImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getRelationship()
- * @generated
- */
- public static final EClass RELATIONSHIP = eINSTANCE.getRelationship();
-
- /**
- * The meta object literal for the '<em><b>Key Pair</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference RELATIONSHIP__KEY_PAIR = eINSTANCE.getRelationship_KeyPair();
-
- /**
- * The meta object literal for the '<em><b>Config</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RELATIONSHIP__CONFIG = eINSTANCE.getRelationship_Config();
-
- /**
- * The meta object literal for the '<em><b>Foreign Key Table</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RELATIONSHIP__FOREIGN_KEY_TABLE = eINSTANCE.getRelationship_ForeignKeyTable();
-
- /**
- * The meta object literal for the '<em><b>Many</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RELATIONSHIP__MANY = eINSTANCE.getRelationship_Many();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RELATIONSHIP__NAME = eINSTANCE.getRelationship_Name();
-
- /**
- * The meta object literal for the '<em><b>Primary Key Table</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RELATIONSHIP__PRIMARY_KEY_TABLE = eINSTANCE.getRelationship_PrimaryKeyTable();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl <em>Result Descriptor</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getResultDescriptor()
- * @generated
- */
- public static final EClass RESULT_DESCRIPTOR = eINSTANCE.getResultDescriptor();
-
- /**
- * The meta object literal for the '<em><b>Column Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RESULT_DESCRIPTOR__COLUMN_NAME = eINSTANCE.getResultDescriptor_ColumnName();
-
- /**
- * The meta object literal for the '<em><b>Column Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RESULT_DESCRIPTOR__COLUMN_TYPE = eINSTANCE.getResultDescriptor_ColumnType();
-
- /**
- * The meta object literal for the '<em><b>Command</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RESULT_DESCRIPTOR__COMMAND = eINSTANCE.getResultDescriptor_Command();
-
- /**
- * The meta object literal for the '<em><b>Converter</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RESULT_DESCRIPTOR__CONVERTER = eINSTANCE.getResultDescriptor_Converter();
-
- /**
- * The meta object literal for the '<em><b>Table Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute RESULT_DESCRIPTOR__TABLE_NAME = eINSTANCE.getResultDescriptor_TableName();
-
- /**
- * The meta object literal for the '{@link org.apache.tuscany.das.rdb.config.impl.TableImpl <em>Table</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.apache.tuscany.das.rdb.config.impl.TableImpl
- * @see org.apache.tuscany.das.rdb.config.impl.ConfigPackageImpl#getTable()
- * @generated
- */
- public static final EClass TABLE = eINSTANCE.getTable();
-
- /**
- * The meta object literal for the '<em><b>Column</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EReference TABLE__COLUMN = eINSTANCE.getTable_Column();
-
- /**
- * The meta object literal for the '<em><b>Config</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute TABLE__CONFIG = eINSTANCE.getTable_Config();
-
- /**
- * The meta object literal for the '<em><b>Create</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute TABLE__CREATE = eINSTANCE.getTable_Create();
-
- /**
- * The meta object literal for the '<em><b>Delete</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute TABLE__DELETE = eINSTANCE.getTable_Delete();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute TABLE__NAME = eINSTANCE.getTable_Name();
-
- /**
- * The meta object literal for the '<em><b>Property Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute TABLE__PROPERTY_NAME = eINSTANCE.getTable_PropertyName();
-
- /**
- * The meta object literal for the '<em><b>Update</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute TABLE__UPDATE = eINSTANCE.getTable_Update();
-
- }
-
-} //ConfigPackageImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConnectionPropertiesImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConnectionPropertiesImpl.java
deleted file mode 100644
index c961732dca..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ConnectionPropertiesImpl.java
+++ /dev/null
@@ -1,455 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import org.apache.tuscany.das.rdb.config.ConnectionProperties;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Connection Properties</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl#getDataSource <em>Data Source</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl#getDriverClassName <em>Driver Class Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl#getDriverPassword <em>Driver Password</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl#getDriverURL <em>Driver URL</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl#getDriverUserName <em>Driver User Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ConnectionPropertiesImpl extends DataObjectImpl implements ConnectionProperties
-{
- /**
- * The default value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected static final String CONFIG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected String config = CONFIG_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDataSource() <em>Data Source</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDataSource()
- * @generated
- * @ordered
- */
- protected static final String DATA_SOURCE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDataSource() <em>Data Source</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDataSource()
- * @generated
- * @ordered
- */
- protected String dataSource = DATA_SOURCE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDriverClassName() <em>Driver Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverClassName()
- * @generated
- * @ordered
- */
- protected static final String DRIVER_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDriverClassName() <em>Driver Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverClassName()
- * @generated
- * @ordered
- */
- protected String driverClassName = DRIVER_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDriverPassword() <em>Driver Password</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverPassword()
- * @generated
- * @ordered
- */
- protected static final String DRIVER_PASSWORD_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDriverPassword() <em>Driver Password</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverPassword()
- * @generated
- * @ordered
- */
- protected String driverPassword = DRIVER_PASSWORD_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDriverURL() <em>Driver URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverURL()
- * @generated
- * @ordered
- */
- protected static final String DRIVER_URL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDriverURL() <em>Driver URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverURL()
- * @generated
- * @ordered
- */
- protected String driverURL = DRIVER_URL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDriverUserName() <em>Driver User Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverUserName()
- * @generated
- * @ordered
- */
- protected static final String DRIVER_USER_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDriverUserName() <em>Driver User Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDriverUserName()
- * @generated
- * @ordered
- */
- protected String driverUserName = DRIVER_USER_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConnectionPropertiesImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.CONNECTION_PROPERTIES;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConfig()
- {
- return config;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConfig(String newConfig)
- {
- String oldConfig = config;
- config = newConfig;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONNECTION_PROPERTIES__CONFIG, oldConfig, config));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDataSource()
- {
- return dataSource;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDataSource(String newDataSource)
- {
- String oldDataSource = dataSource;
- dataSource = newDataSource;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONNECTION_PROPERTIES__DATA_SOURCE, oldDataSource, dataSource));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDriverClassName()
- {
- return driverClassName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDriverClassName(String newDriverClassName)
- {
- String oldDriverClassName = driverClassName;
- driverClassName = newDriverClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_CLASS_NAME, oldDriverClassName, driverClassName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDriverPassword()
- {
- return driverPassword;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDriverPassword(String newDriverPassword)
- {
- String oldDriverPassword = driverPassword;
- driverPassword = newDriverPassword;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_PASSWORD, oldDriverPassword, driverPassword));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDriverURL()
- {
- return driverURL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDriverURL(String newDriverURL)
- {
- String oldDriverURL = driverURL;
- driverURL = newDriverURL;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_URL, oldDriverURL, driverURL));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDriverUserName()
- {
- return driverUserName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDriverUserName(String newDriverUserName)
- {
- String oldDriverUserName = driverUserName;
- driverUserName = newDriverUserName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_USER_NAME, oldDriverUserName, driverUserName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONNECTION_PROPERTIES__CONFIG:
- return getConfig();
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DATA_SOURCE:
- return getDataSource();
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_CLASS_NAME:
- return getDriverClassName();
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_PASSWORD:
- return getDriverPassword();
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_URL:
- return getDriverURL();
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_USER_NAME:
- return getDriverUserName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONNECTION_PROPERTIES__CONFIG:
- setConfig((String)newValue);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DATA_SOURCE:
- setDataSource((String)newValue);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_CLASS_NAME:
- setDriverClassName((String)newValue);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_PASSWORD:
- setDriverPassword((String)newValue);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_URL:
- setDriverURL((String)newValue);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_USER_NAME:
- setDriverUserName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONNECTION_PROPERTIES__CONFIG:
- setConfig(CONFIG_EDEFAULT);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DATA_SOURCE:
- setDataSource(DATA_SOURCE_EDEFAULT);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_CLASS_NAME:
- setDriverClassName(DRIVER_CLASS_NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_PASSWORD:
- setDriverPassword(DRIVER_PASSWORD_EDEFAULT);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_URL:
- setDriverURL(DRIVER_URL_EDEFAULT);
- return;
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_USER_NAME:
- setDriverUserName(DRIVER_USER_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.CONNECTION_PROPERTIES__CONFIG:
- return CONFIG_EDEFAULT == null ? config != null : !CONFIG_EDEFAULT.equals(config);
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DATA_SOURCE:
- return DATA_SOURCE_EDEFAULT == null ? dataSource != null : !DATA_SOURCE_EDEFAULT.equals(dataSource);
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_CLASS_NAME:
- return DRIVER_CLASS_NAME_EDEFAULT == null ? driverClassName != null : !DRIVER_CLASS_NAME_EDEFAULT.equals(driverClassName);
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_PASSWORD:
- return DRIVER_PASSWORD_EDEFAULT == null ? driverPassword != null : !DRIVER_PASSWORD_EDEFAULT.equals(driverPassword);
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_URL:
- return DRIVER_URL_EDEFAULT == null ? driverURL != null : !DRIVER_URL_EDEFAULT.equals(driverURL);
- case ConfigPackageImpl.CONNECTION_PROPERTIES__DRIVER_USER_NAME:
- return DRIVER_USER_NAME_EDEFAULT == null ? driverUserName != null : !DRIVER_USER_NAME_EDEFAULT.equals(driverUserName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (config: ");
- result.append(config);
- result.append(", dataSource: ");
- result.append(dataSource);
- result.append(", driverClassName: ");
- result.append(driverClassName);
- result.append(", driverPassword: ");
- result.append(driverPassword);
- result.append(", driverURL: ");
- result.append(driverURL);
- result.append(", driverUserName: ");
- result.append(driverUserName);
- result.append(')');
- return result.toString();
- }
-
-} //ConnectionPropertiesImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/KeyPairImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/KeyPairImpl.java
deleted file mode 100644
index f12c7a3ec1..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/KeyPairImpl.java
+++ /dev/null
@@ -1,287 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import org.apache.tuscany.das.rdb.config.KeyPair;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Key Pair</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.KeyPairImpl#getForeignKeyColumn <em>Foreign Key Column</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.KeyPairImpl#getPrimaryKeyColumn <em>Primary Key Column</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.KeyPairImpl#getRelationship <em>Relationship</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class KeyPairImpl extends DataObjectImpl implements KeyPair
-{
- /**
- * The default value of the '{@link #getForeignKeyColumn() <em>Foreign Key Column</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getForeignKeyColumn()
- * @generated
- * @ordered
- */
- protected static final String FOREIGN_KEY_COLUMN_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getForeignKeyColumn() <em>Foreign Key Column</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getForeignKeyColumn()
- * @generated
- * @ordered
- */
- protected String foreignKeyColumn = FOREIGN_KEY_COLUMN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPrimaryKeyColumn() <em>Primary Key Column</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrimaryKeyColumn()
- * @generated
- * @ordered
- */
- protected static final String PRIMARY_KEY_COLUMN_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPrimaryKeyColumn() <em>Primary Key Column</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrimaryKeyColumn()
- * @generated
- * @ordered
- */
- protected String primaryKeyColumn = PRIMARY_KEY_COLUMN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getRelationship() <em>Relationship</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRelationship()
- * @generated
- * @ordered
- */
- protected static final String RELATIONSHIP_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getRelationship() <em>Relationship</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRelationship()
- * @generated
- * @ordered
- */
- protected String relationship = RELATIONSHIP_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected KeyPairImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.KEY_PAIR;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getForeignKeyColumn()
- {
- return foreignKeyColumn;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setForeignKeyColumn(String newForeignKeyColumn)
- {
- String oldForeignKeyColumn = foreignKeyColumn;
- foreignKeyColumn = newForeignKeyColumn;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.KEY_PAIR__FOREIGN_KEY_COLUMN, oldForeignKeyColumn, foreignKeyColumn));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPrimaryKeyColumn()
- {
- return primaryKeyColumn;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPrimaryKeyColumn(String newPrimaryKeyColumn)
- {
- String oldPrimaryKeyColumn = primaryKeyColumn;
- primaryKeyColumn = newPrimaryKeyColumn;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.KEY_PAIR__PRIMARY_KEY_COLUMN, oldPrimaryKeyColumn, primaryKeyColumn));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getRelationship()
- {
- return relationship;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRelationship(String newRelationship)
- {
- String oldRelationship = relationship;
- relationship = newRelationship;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.KEY_PAIR__RELATIONSHIP, oldRelationship, relationship));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.KEY_PAIR__FOREIGN_KEY_COLUMN:
- return getForeignKeyColumn();
- case ConfigPackageImpl.KEY_PAIR__PRIMARY_KEY_COLUMN:
- return getPrimaryKeyColumn();
- case ConfigPackageImpl.KEY_PAIR__RELATIONSHIP:
- return getRelationship();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.KEY_PAIR__FOREIGN_KEY_COLUMN:
- setForeignKeyColumn((String)newValue);
- return;
- case ConfigPackageImpl.KEY_PAIR__PRIMARY_KEY_COLUMN:
- setPrimaryKeyColumn((String)newValue);
- return;
- case ConfigPackageImpl.KEY_PAIR__RELATIONSHIP:
- setRelationship((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.KEY_PAIR__FOREIGN_KEY_COLUMN:
- setForeignKeyColumn(FOREIGN_KEY_COLUMN_EDEFAULT);
- return;
- case ConfigPackageImpl.KEY_PAIR__PRIMARY_KEY_COLUMN:
- setPrimaryKeyColumn(PRIMARY_KEY_COLUMN_EDEFAULT);
- return;
- case ConfigPackageImpl.KEY_PAIR__RELATIONSHIP:
- setRelationship(RELATIONSHIP_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.KEY_PAIR__FOREIGN_KEY_COLUMN:
- return FOREIGN_KEY_COLUMN_EDEFAULT == null ? foreignKeyColumn != null : !FOREIGN_KEY_COLUMN_EDEFAULT.equals(foreignKeyColumn);
- case ConfigPackageImpl.KEY_PAIR__PRIMARY_KEY_COLUMN:
- return PRIMARY_KEY_COLUMN_EDEFAULT == null ? primaryKeyColumn != null : !PRIMARY_KEY_COLUMN_EDEFAULT.equals(primaryKeyColumn);
- case ConfigPackageImpl.KEY_PAIR__RELATIONSHIP:
- return RELATIONSHIP_EDEFAULT == null ? relationship != null : !RELATIONSHIP_EDEFAULT.equals(relationship);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (foreignKeyColumn: ");
- result.append(foreignKeyColumn);
- result.append(", primaryKeyColumn: ");
- result.append(primaryKeyColumn);
- result.append(", relationship: ");
- result.append(relationship);
- result.append(')');
- return result.toString();
- }
-
-} //KeyPairImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ParameterImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ParameterImpl.java
deleted file mode 100644
index ef4b7e58a5..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ParameterImpl.java
+++ /dev/null
@@ -1,287 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import org.apache.tuscany.das.rdb.config.Parameter;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Parameter</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ParameterImpl#getColumnType <em>Column Type</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ParameterImpl#getCommand <em>Command</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ParameterImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ParameterImpl extends DataObjectImpl implements Parameter
-{
- /**
- * The default value of the '{@link #getColumnType() <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnType()
- * @generated
- * @ordered
- */
- protected static final String COLUMN_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getColumnType() <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnType()
- * @generated
- * @ordered
- */
- protected String columnType = COLUMN_TYPE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCommand() <em>Command</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCommand()
- * @generated
- * @ordered
- */
- protected static final String COMMAND_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCommand() <em>Command</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCommand()
- * @generated
- * @ordered
- */
- protected String command = COMMAND_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ParameterImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.PARAMETER;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getColumnType()
- {
- return columnType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setColumnType(String newColumnType)
- {
- String oldColumnType = columnType;
- columnType = newColumnType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.PARAMETER__COLUMN_TYPE, oldColumnType, columnType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCommand()
- {
- return command;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCommand(String newCommand)
- {
- String oldCommand = command;
- command = newCommand;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.PARAMETER__COMMAND, oldCommand, command));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.PARAMETER__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.PARAMETER__COLUMN_TYPE:
- return getColumnType();
- case ConfigPackageImpl.PARAMETER__COMMAND:
- return getCommand();
- case ConfigPackageImpl.PARAMETER__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.PARAMETER__COLUMN_TYPE:
- setColumnType((String)newValue);
- return;
- case ConfigPackageImpl.PARAMETER__COMMAND:
- setCommand((String)newValue);
- return;
- case ConfigPackageImpl.PARAMETER__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.PARAMETER__COLUMN_TYPE:
- setColumnType(COLUMN_TYPE_EDEFAULT);
- return;
- case ConfigPackageImpl.PARAMETER__COMMAND:
- setCommand(COMMAND_EDEFAULT);
- return;
- case ConfigPackageImpl.PARAMETER__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.PARAMETER__COLUMN_TYPE:
- return COLUMN_TYPE_EDEFAULT == null ? columnType != null : !COLUMN_TYPE_EDEFAULT.equals(columnType);
- case ConfigPackageImpl.PARAMETER__COMMAND:
- return COMMAND_EDEFAULT == null ? command != null : !COMMAND_EDEFAULT.equals(command);
- case ConfigPackageImpl.PARAMETER__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (columnType: ");
- result.append(columnType);
- result.append(", command: ");
- result.append(command);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //ParameterImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/RelationshipImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/RelationshipImpl.java
deleted file mode 100644
index 002edf508c..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/RelationshipImpl.java
+++ /dev/null
@@ -1,497 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.tuscany.das.rdb.config.KeyPair;
-import org.apache.tuscany.das.rdb.config.Relationship;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Relationship</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl#getKeyPair <em>Key Pair</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl#getForeignKeyTable <em>Foreign Key Table</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl#isMany <em>Many</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.RelationshipImpl#getPrimaryKeyTable <em>Primary Key Table</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RelationshipImpl extends DataObjectImpl implements Relationship
-{
- /**
- * The cached value of the '{@link #getKeyPair() <em>Key Pair</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKeyPair()
- * @generated
- * @ordered
- */
- protected EList keyPair = null;
-
- /**
- * The default value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected static final String CONFIG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected String config = CONFIG_EDEFAULT;
-
- /**
- * The default value of the '{@link #getForeignKeyTable() <em>Foreign Key Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getForeignKeyTable()
- * @generated
- * @ordered
- */
- protected static final String FOREIGN_KEY_TABLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getForeignKeyTable() <em>Foreign Key Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getForeignKeyTable()
- * @generated
- * @ordered
- */
- protected String foreignKeyTable = FOREIGN_KEY_TABLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #isMany() <em>Many</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isMany()
- * @generated
- * @ordered
- */
- protected static final boolean MANY_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isMany() <em>Many</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isMany()
- * @generated
- * @ordered
- */
- protected boolean many = MANY_EDEFAULT;
-
- /**
- * This is true if the Many attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean manyESet = false;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPrimaryKeyTable() <em>Primary Key Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrimaryKeyTable()
- * @generated
- * @ordered
- */
- protected static final String PRIMARY_KEY_TABLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPrimaryKeyTable() <em>Primary Key Table</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrimaryKeyTable()
- * @generated
- * @ordered
- */
- protected String primaryKeyTable = PRIMARY_KEY_TABLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RelationshipImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.RELATIONSHIP;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getKeyPair()
- {
- if (keyPair == null)
- {
- keyPair = new EObjectContainmentEList(KeyPair.class, this, ConfigPackageImpl.RELATIONSHIP__KEY_PAIR);
- }
- return keyPair;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConfig()
- {
- return config;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConfig(String newConfig)
- {
- String oldConfig = config;
- config = newConfig;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RELATIONSHIP__CONFIG, oldConfig, config));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getForeignKeyTable()
- {
- return foreignKeyTable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setForeignKeyTable(String newForeignKeyTable)
- {
- String oldForeignKeyTable = foreignKeyTable;
- foreignKeyTable = newForeignKeyTable;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RELATIONSHIP__FOREIGN_KEY_TABLE, oldForeignKeyTable, foreignKeyTable));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isMany()
- {
- return many;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMany(boolean newMany)
- {
- boolean oldMany = many;
- many = newMany;
- boolean oldManyESet = manyESet;
- manyESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RELATIONSHIP__MANY, oldMany, many, !oldManyESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetMany()
- {
- boolean oldMany = many;
- boolean oldManyESet = manyESet;
- many = MANY_EDEFAULT;
- manyESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackageImpl.RELATIONSHIP__MANY, oldMany, MANY_EDEFAULT, oldManyESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetMany()
- {
- return manyESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RELATIONSHIP__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPrimaryKeyTable()
- {
- return primaryKeyTable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPrimaryKeyTable(String newPrimaryKeyTable)
- {
- String oldPrimaryKeyTable = primaryKeyTable;
- primaryKeyTable = newPrimaryKeyTable;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RELATIONSHIP__PRIMARY_KEY_TABLE, oldPrimaryKeyTable, primaryKeyTable));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RELATIONSHIP__KEY_PAIR:
- return ((InternalEList)getKeyPair()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RELATIONSHIP__KEY_PAIR:
- return getKeyPair();
- case ConfigPackageImpl.RELATIONSHIP__CONFIG:
- return getConfig();
- case ConfigPackageImpl.RELATIONSHIP__FOREIGN_KEY_TABLE:
- return getForeignKeyTable();
- case ConfigPackageImpl.RELATIONSHIP__MANY:
- return isMany() ? Boolean.TRUE : Boolean.FALSE;
- case ConfigPackageImpl.RELATIONSHIP__NAME:
- return getName();
- case ConfigPackageImpl.RELATIONSHIP__PRIMARY_KEY_TABLE:
- return getPrimaryKeyTable();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RELATIONSHIP__KEY_PAIR:
- getKeyPair().clear();
- getKeyPair().addAll((Collection)newValue);
- return;
- case ConfigPackageImpl.RELATIONSHIP__CONFIG:
- setConfig((String)newValue);
- return;
- case ConfigPackageImpl.RELATIONSHIP__FOREIGN_KEY_TABLE:
- setForeignKeyTable((String)newValue);
- return;
- case ConfigPackageImpl.RELATIONSHIP__MANY:
- setMany(((Boolean)newValue).booleanValue());
- return;
- case ConfigPackageImpl.RELATIONSHIP__NAME:
- setName((String)newValue);
- return;
- case ConfigPackageImpl.RELATIONSHIP__PRIMARY_KEY_TABLE:
- setPrimaryKeyTable((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RELATIONSHIP__KEY_PAIR:
- getKeyPair().clear();
- return;
- case ConfigPackageImpl.RELATIONSHIP__CONFIG:
- setConfig(CONFIG_EDEFAULT);
- return;
- case ConfigPackageImpl.RELATIONSHIP__FOREIGN_KEY_TABLE:
- setForeignKeyTable(FOREIGN_KEY_TABLE_EDEFAULT);
- return;
- case ConfigPackageImpl.RELATIONSHIP__MANY:
- unsetMany();
- return;
- case ConfigPackageImpl.RELATIONSHIP__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.RELATIONSHIP__PRIMARY_KEY_TABLE:
- setPrimaryKeyTable(PRIMARY_KEY_TABLE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RELATIONSHIP__KEY_PAIR:
- return keyPair != null && !keyPair.isEmpty();
- case ConfigPackageImpl.RELATIONSHIP__CONFIG:
- return CONFIG_EDEFAULT == null ? config != null : !CONFIG_EDEFAULT.equals(config);
- case ConfigPackageImpl.RELATIONSHIP__FOREIGN_KEY_TABLE:
- return FOREIGN_KEY_TABLE_EDEFAULT == null ? foreignKeyTable != null : !FOREIGN_KEY_TABLE_EDEFAULT.equals(foreignKeyTable);
- case ConfigPackageImpl.RELATIONSHIP__MANY:
- return isSetMany();
- case ConfigPackageImpl.RELATIONSHIP__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ConfigPackageImpl.RELATIONSHIP__PRIMARY_KEY_TABLE:
- return PRIMARY_KEY_TABLE_EDEFAULT == null ? primaryKeyTable != null : !PRIMARY_KEY_TABLE_EDEFAULT.equals(primaryKeyTable);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (config: ");
- result.append(config);
- result.append(", foreignKeyTable: ");
- result.append(foreignKeyTable);
- result.append(", many: ");
- if (manyESet) result.append(many); else result.append("<unset>");
- result.append(", name: ");
- result.append(name);
- result.append(", primaryKeyTable: ");
- result.append(primaryKeyTable);
- result.append(')');
- return result.toString();
- }
-
-} //RelationshipImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ResultDescriptorImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ResultDescriptorImpl.java
deleted file mode 100644
index f6b6e1c8f8..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ResultDescriptorImpl.java
+++ /dev/null
@@ -1,399 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import org.apache.tuscany.das.rdb.config.ResultDescriptor;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Result Descriptor</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl#getColumnName <em>Column Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl#getColumnType <em>Column Type</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl#getCommand <em>Command</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl#getConverter <em>Converter</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.ResultDescriptorImpl#getTableName <em>Table Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ResultDescriptorImpl extends DataObjectImpl implements ResultDescriptor
-{
- /**
- * The default value of the '{@link #getColumnName() <em>Column Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnName()
- * @generated
- * @ordered
- */
- protected static final String COLUMN_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getColumnName() <em>Column Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnName()
- * @generated
- * @ordered
- */
- protected String columnName = COLUMN_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getColumnType() <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnType()
- * @generated
- * @ordered
- */
- protected static final String COLUMN_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getColumnType() <em>Column Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumnType()
- * @generated
- * @ordered
- */
- protected String columnType = COLUMN_TYPE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCommand() <em>Command</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCommand()
- * @generated
- * @ordered
- */
- protected static final String COMMAND_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCommand() <em>Command</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCommand()
- * @generated
- * @ordered
- */
- protected String command = COMMAND_EDEFAULT;
-
- /**
- * The default value of the '{@link #getConverter() <em>Converter</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConverter()
- * @generated
- * @ordered
- */
- protected static final String CONVERTER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConverter() <em>Converter</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConverter()
- * @generated
- * @ordered
- */
- protected String converter = CONVERTER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTableName() <em>Table Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTableName()
- * @generated
- * @ordered
- */
- protected static final String TABLE_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTableName() <em>Table Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTableName()
- * @generated
- * @ordered
- */
- protected String tableName = TABLE_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ResultDescriptorImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.RESULT_DESCRIPTOR;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getColumnName()
- {
- return columnName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setColumnName(String newColumnName)
- {
- String oldColumnName = columnName;
- columnName = newColumnName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_NAME, oldColumnName, columnName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getColumnType()
- {
- return columnType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setColumnType(String newColumnType)
- {
- String oldColumnType = columnType;
- columnType = newColumnType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_TYPE, oldColumnType, columnType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCommand()
- {
- return command;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCommand(String newCommand)
- {
- String oldCommand = command;
- command = newCommand;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RESULT_DESCRIPTOR__COMMAND, oldCommand, command));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConverter()
- {
- return converter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConverter(String newConverter)
- {
- String oldConverter = converter;
- converter = newConverter;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RESULT_DESCRIPTOR__CONVERTER, oldConverter, converter));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTableName()
- {
- return tableName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTableName(String newTableName)
- {
- String oldTableName = tableName;
- tableName = newTableName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.RESULT_DESCRIPTOR__TABLE_NAME, oldTableName, tableName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_NAME:
- return getColumnName();
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_TYPE:
- return getColumnType();
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COMMAND:
- return getCommand();
- case ConfigPackageImpl.RESULT_DESCRIPTOR__CONVERTER:
- return getConverter();
- case ConfigPackageImpl.RESULT_DESCRIPTOR__TABLE_NAME:
- return getTableName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_NAME:
- setColumnName((String)newValue);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_TYPE:
- setColumnType((String)newValue);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COMMAND:
- setCommand((String)newValue);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__CONVERTER:
- setConverter((String)newValue);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__TABLE_NAME:
- setTableName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_NAME:
- setColumnName(COLUMN_NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_TYPE:
- setColumnType(COLUMN_TYPE_EDEFAULT);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COMMAND:
- setCommand(COMMAND_EDEFAULT);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__CONVERTER:
- setConverter(CONVERTER_EDEFAULT);
- return;
- case ConfigPackageImpl.RESULT_DESCRIPTOR__TABLE_NAME:
- setTableName(TABLE_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_NAME:
- return COLUMN_NAME_EDEFAULT == null ? columnName != null : !COLUMN_NAME_EDEFAULT.equals(columnName);
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COLUMN_TYPE:
- return COLUMN_TYPE_EDEFAULT == null ? columnType != null : !COLUMN_TYPE_EDEFAULT.equals(columnType);
- case ConfigPackageImpl.RESULT_DESCRIPTOR__COMMAND:
- return COMMAND_EDEFAULT == null ? command != null : !COMMAND_EDEFAULT.equals(command);
- case ConfigPackageImpl.RESULT_DESCRIPTOR__CONVERTER:
- return CONVERTER_EDEFAULT == null ? converter != null : !CONVERTER_EDEFAULT.equals(converter);
- case ConfigPackageImpl.RESULT_DESCRIPTOR__TABLE_NAME:
- return TABLE_NAME_EDEFAULT == null ? tableName != null : !TABLE_NAME_EDEFAULT.equals(tableName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (columnName: ");
- result.append(columnName);
- result.append(", columnType: ");
- result.append(columnType);
- result.append(", command: ");
- result.append(command);
- result.append(", converter: ");
- result.append(converter);
- result.append(", tableName: ");
- result.append(tableName);
- result.append(')');
- return result.toString();
- }
-
-} //ResultDescriptorImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/TableImpl.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/TableImpl.java
deleted file mode 100644
index b63816c350..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/TableImpl.java
+++ /dev/null
@@ -1,517 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.apache.tuscany.das.rdb.config.impl;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.tuscany.das.rdb.config.Column;
-import org.apache.tuscany.das.rdb.config.Table;
-
-import org.apache.tuscany.sdo.impl.DataObjectImpl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Table</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.TableImpl#getColumn <em>Column</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.TableImpl#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.TableImpl#getCreate <em>Create</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.TableImpl#getDelete <em>Delete</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.TableImpl#getName <em>Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.TableImpl#getPropertyName <em>Property Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.impl.TableImpl#getUpdate <em>Update</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TableImpl extends DataObjectImpl implements Table
-{
- /**
- * The cached value of the '{@link #getColumn() <em>Column</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumn()
- * @generated
- * @ordered
- */
- protected EList column = null;
-
- /**
- * The default value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected static final String CONFIG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConfig() <em>Config</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfig()
- * @generated
- * @ordered
- */
- protected String config = CONFIG_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCreate() <em>Create</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCreate()
- * @generated
- * @ordered
- */
- protected static final String CREATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCreate() <em>Create</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCreate()
- * @generated
- * @ordered
- */
- protected String create = CREATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDelete() <em>Delete</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDelete()
- * @generated
- * @ordered
- */
- protected static final String DELETE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDelete() <em>Delete</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDelete()
- * @generated
- * @ordered
- */
- protected String delete = DELETE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected static final String PROPERTY_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPropertyName()
- * @generated
- * @ordered
- */
- protected String propertyName = PROPERTY_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getUpdate() <em>Update</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUpdate()
- * @generated
- * @ordered
- */
- protected static final String UPDATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUpdate() <em>Update</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUpdate()
- * @generated
- * @ordered
- */
- protected String update = UPDATE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TableImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return ConfigPackageImpl.Literals.TABLE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getColumn()
- {
- if (column == null)
- {
- column = new EObjectContainmentEList(Column.class, this, ConfigPackageImpl.TABLE__COLUMN);
- }
- return column;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConfig()
- {
- return config;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConfig(String newConfig)
- {
- String oldConfig = config;
- config = newConfig;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.TABLE__CONFIG, oldConfig, config));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCreate()
- {
- return create;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCreate(String newCreate)
- {
- String oldCreate = create;
- create = newCreate;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.TABLE__CREATE, oldCreate, create));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDelete()
- {
- return delete;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDelete(String newDelete)
- {
- String oldDelete = delete;
- delete = newDelete;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.TABLE__DELETE, oldDelete, delete));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.TABLE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPropertyName()
- {
- return propertyName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPropertyName(String newPropertyName)
- {
- String oldPropertyName = propertyName;
- propertyName = newPropertyName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.TABLE__PROPERTY_NAME, oldPropertyName, propertyName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUpdate()
- {
- return update;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUpdate(String newUpdate)
- {
- String oldUpdate = update;
- update = newUpdate;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackageImpl.TABLE__UPDATE, oldUpdate, update));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.TABLE__COLUMN:
- return ((InternalEList)getColumn()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.TABLE__COLUMN:
- return getColumn();
- case ConfigPackageImpl.TABLE__CONFIG:
- return getConfig();
- case ConfigPackageImpl.TABLE__CREATE:
- return getCreate();
- case ConfigPackageImpl.TABLE__DELETE:
- return getDelete();
- case ConfigPackageImpl.TABLE__NAME:
- return getName();
- case ConfigPackageImpl.TABLE__PROPERTY_NAME:
- return getPropertyName();
- case ConfigPackageImpl.TABLE__UPDATE:
- return getUpdate();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.TABLE__COLUMN:
- getColumn().clear();
- getColumn().addAll((Collection)newValue);
- return;
- case ConfigPackageImpl.TABLE__CONFIG:
- setConfig((String)newValue);
- return;
- case ConfigPackageImpl.TABLE__CREATE:
- setCreate((String)newValue);
- return;
- case ConfigPackageImpl.TABLE__DELETE:
- setDelete((String)newValue);
- return;
- case ConfigPackageImpl.TABLE__NAME:
- setName((String)newValue);
- return;
- case ConfigPackageImpl.TABLE__PROPERTY_NAME:
- setPropertyName((String)newValue);
- return;
- case ConfigPackageImpl.TABLE__UPDATE:
- setUpdate((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.TABLE__COLUMN:
- getColumn().clear();
- return;
- case ConfigPackageImpl.TABLE__CONFIG:
- setConfig(CONFIG_EDEFAULT);
- return;
- case ConfigPackageImpl.TABLE__CREATE:
- setCreate(CREATE_EDEFAULT);
- return;
- case ConfigPackageImpl.TABLE__DELETE:
- setDelete(DELETE_EDEFAULT);
- return;
- case ConfigPackageImpl.TABLE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.TABLE__PROPERTY_NAME:
- setPropertyName(PROPERTY_NAME_EDEFAULT);
- return;
- case ConfigPackageImpl.TABLE__UPDATE:
- setUpdate(UPDATE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ConfigPackageImpl.TABLE__COLUMN:
- return column != null && !column.isEmpty();
- case ConfigPackageImpl.TABLE__CONFIG:
- return CONFIG_EDEFAULT == null ? config != null : !CONFIG_EDEFAULT.equals(config);
- case ConfigPackageImpl.TABLE__CREATE:
- return CREATE_EDEFAULT == null ? create != null : !CREATE_EDEFAULT.equals(create);
- case ConfigPackageImpl.TABLE__DELETE:
- return DELETE_EDEFAULT == null ? delete != null : !DELETE_EDEFAULT.equals(delete);
- case ConfigPackageImpl.TABLE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ConfigPackageImpl.TABLE__PROPERTY_NAME:
- return PROPERTY_NAME_EDEFAULT == null ? propertyName != null : !PROPERTY_NAME_EDEFAULT.equals(propertyName);
- case ConfigPackageImpl.TABLE__UPDATE:
- return UPDATE_EDEFAULT == null ? update != null : !UPDATE_EDEFAULT.equals(update);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (config: ");
- result.append(config);
- result.append(", create: ");
- result.append(create);
- result.append(", delete: ");
- result.append(delete);
- result.append(", name: ");
- result.append(name);
- result.append(", propertyName: ");
- result.append(propertyName);
- result.append(", update: ");
- result.append(update);
- result.append(')');
- return result.toString();
- }
-
-} //TableImpl
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java
deleted file mode 100644
index 92499bd000..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java
+++ /dev/null
@@ -1,381 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.tuscany.das.rdb.config.wrapper;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Iterator;
-
-import org.apache.tuscany.das.rdb.Key;
-import org.apache.tuscany.das.rdb.config.Column;
-import org.apache.tuscany.das.rdb.config.Config;
-import org.apache.tuscany.das.rdb.config.ConfigFactory;
-import org.apache.tuscany.das.rdb.config.KeyPair;
-import org.apache.tuscany.das.rdb.config.Relationship;
-import org.apache.tuscany.das.rdb.config.Table;
-import org.apache.tuscany.das.rdb.config.impl.ConfigFactoryImpl;
-import org.apache.tuscany.das.rdb.util.DebugUtil;
-
-
-public class MappingWrapper {
-
- private static final ConfigFactory factory = ConfigFactoryImpl.eINSTANCE;
-
- private static final boolean debug = false;
-
- private Config config;
-
- public MappingWrapper() {
- // Empty Constructor
- }
-
- public MappingWrapper(Config mapping) {
- this.config = mapping;
- }
-
- public Config getConfig() {
- return this.config;
- }
-
-
- public Table getTable(String name) {
- if (config == null)
- return null;
- DebugUtil.debugln(getClass(), debug, "Looking for table " + name);
- Iterator i = config.getTable().iterator();
- while (i.hasNext()) {
- Table t = (Table) i.next();
- if (name.equals(t.getName()))
- return t;
- }
-
- return null;
- }
-
- public Table getTableByPropertyName(String name) {
- if (config == null)
- return null;
- DebugUtil.debugln(getClass(), debug, "Looking for table by property: "
- + name);
- Iterator i = config.getTable().iterator();
- while (i.hasNext()) {
- Table t = (Table) i.next();
- TableWrapper wrapper = new TableWrapper(t);
- if (name.equals(wrapper.getPropertyName()))
- return t;
- }
-
- throw new RuntimeException("Table with property name " + name
- + " not found.");
-
- }
-
- public void addRelationship(String parentName, String childName) {
-
- if (config == null)
- config = factory.createConfig();
-
- QualifiedColumn parent = new QualifiedColumn(parentName);
- QualifiedColumn child = new QualifiedColumn(childName);
-
- Relationship r = factory.createRelationship();
- r.setName(child.getTableName());
- r.setPrimaryKeyTable(parent.getTableName());
- r.setForeignKeyTable(child.getTableName());
- DebugUtil.debugln(getClass(), debug, "Created relationship from "
- + r.getPrimaryKeyTable() + " to " + r.getForeignKeyTable() + " named "
- + r.getName());
-
- KeyPair pair = factory.createKeyPair();
- pair.setPrimaryKeyColumn(parent.getColumnName());
- pair.setForeignKeyColumn(child.getColumnName());
-
- r.getKeyPair().add(pair);
- r.setMany(true);
-
- config.getRelationship().add(r);
-
- }
-
-
- public void addRelationship(Key parentKey, Key childKey) {
-
- if (config == null)
- config = factory.createConfig();
-
- QualifiedColumn parent = new QualifiedColumn((String) parentKey.getColumNames().get(0));
- QualifiedColumn child = new QualifiedColumn((String) childKey.getColumNames().get(0));
-
- Relationship r = factory.createRelationship();
- r.setName(child.getTableName());
- r.setPrimaryKeyTable(parent.getTableName());
- r.setForeignKeyTable(child.getTableName());
- DebugUtil.debugln(getClass(), debug, "Created relationship from "
- + r.getPrimaryKeyTable() + " to " + r.getForeignKeyTable() + " named "
- + r.getName());
-
-
- Iterator i = parentKey.getColumNames().iterator();
- Iterator j = childKey.getColumNames().iterator();
- while ( i.hasNext() && j.hasNext()) {
- parent = new QualifiedColumn((String) i.next());
- child = new QualifiedColumn((String) j.next());
- KeyPair pair = factory.createKeyPair();
- pair.setPrimaryKeyColumn(parent.getColumnName());
- pair.setForeignKeyColumn(child.getColumnName());
-
- r.getKeyPair().add(pair);
- }
- r.setMany(true);
- config.getRelationship().add(r);
-
- }
-
- public void addPrimaryKey(String columnName) {
- Key k = new Key(columnName);
- addPrimaryKey(k, false);
- }
-
- public void addPrimaryKey(Key key) {
- addPrimaryKey(key, false);
- }
-
- public void addGeneratedPrimaryKey(String columnName) {
- Key key = new Key(columnName);
- addPrimaryKey(key, true);
- }
-
- private void addPrimaryKey(Key key, boolean generated) {
- if (config == null)
- config = factory.createConfig();
-
- Iterator i = key.getColumNames().iterator();
- while (i.hasNext()) {
- String columnName = (String) i.next();
-
- QualifiedColumn pkColumn = new QualifiedColumn(columnName);
- Table t = findOrCreateTable(pkColumn.getTableName());
- Column c = findOrCreateColumn(t, pkColumn.getColumnName());
- c.setPrimaryKey(true);
- if ( generated )
- c.setGenerated(true);
-
- t.getColumn().add(c);
- }
- }
-
-
-
- public String getTablePropertyName(String tableName) {
- Table t = getTable(tableName);
- if (t == null)
- return tableName;
- String propertyName = t.getPropertyName();
-
- if (propertyName == null)
- return tableName;
-
- return propertyName;
- }
-
- public Column getColumn(Table t, String name) {
- if (t == null)
- return null;
- Iterator i = t.getColumn().iterator();
- while (i.hasNext()) {
- Column c = (Column) i.next();
- if (c.getName().equals(name)) {
- return c;
- }
- }
- DebugUtil.debugln(getClass(), debug, "WARNING: Could not find column "
- + name + " in table " + t.getName());
- return null;
- }
-
- public String getColumnPropertyName(String tableName, String columnName) {
- Table t = getTable(tableName);
- Column c = getColumn(t, columnName);
- if (c == null)
- return columnName;
-
- String propertyName = c.getPropertyName();
- if (propertyName == null)
- return c.getName();
-
- return propertyName;
- }
-
- public void addCollisionColumn(String columnName) {
-
- if (config == null)
- config = factory.createConfig();
-
- QualifiedColumn occColumn = new QualifiedColumn(columnName);
- Table t = findOrCreateTable(occColumn.getTableName());
- Column c = findOrCreateColumn(t, occColumn.getColumnName());
- c.setCollision(true);
-
- config.getTable().add(t);
- }
-
- private Table findOrCreateTable(String tableName) {
- Table table = getTable(tableName);
- if (table == null) {
- table = ConfigFactoryImpl.eINSTANCE.createTable();
- table.setName(tableName);
- config.getTable().add(table);
- }
- return table;
-
- }
-
- private Column findOrCreateColumn(Table t, String name) {
- Iterator i = t.getColumn().iterator();
- while (i.hasNext()) {
- Column c = (Column) i.next();
- if (name.equals(c.getName()))
- return c;
- }
-
- Column c = ConfigFactoryImpl.eINSTANCE.createColumn();
- c.setName(name);
- t.getColumn().add(c);
- return c;
- }
-
- public boolean hasRecursiveRelationships() {
- if (config != null) {
- Iterator i = getConfig().getRelationship().iterator();
- while (i.hasNext()) {
- Relationship r = (Relationship) i.next();
- if (r.getPrimaryKeyTable().equals(r.getForeignKeyTable()))
- return true;
- }
- }
- return false;
- }
-
- public Collection getRelationshipsByChildTable(String name) {
- ArrayList results = new ArrayList();
- if (config != null) {
- Iterator i = getConfig().getRelationship().iterator();
- while (i.hasNext()) {
- Relationship r = (Relationship) i.next();
- if (name.equals(r.getForeignKeyTable()))
- results.add(r);
- }
- }
- return results;
- }
-
- // TODO optimize
- public ArrayList getInsertOrder() {
- DebugUtil.debugln(getClass(), debug, "Getting insert order");
- ArrayList inserts = new ArrayList();
- HashMap parentToChild = new HashMap();
-
- ArrayList parents = new ArrayList();
- ArrayList children = new ArrayList();
- if (config != null) {
- Iterator i = getConfig().getRelationship().iterator();
- while (i.hasNext()) {
- Relationship r = (Relationship) i.next();
- parents.add(r.getPrimaryKeyTable());
- children.add(r.getForeignKeyTable());
- parentToChild.put(r.getPrimaryKeyTable(), r.getForeignKeyTable());
- }
-
- while (parents.size() > 0) {
- String parent = (String) parents.get(0);
- if (!children.contains(parent)) {
- if (!inserts.contains(parent))
- inserts.add(parent);
-
- String child = (String) parentToChild.get(parent);
- if (!inserts.contains(child))
- inserts.add(child);
-
- parents.remove(parent);
- children.remove(child);
- } else {
- parents.add(parents.remove(0));
- }
- }
- inserts.addAll(children);
-
- }
-
- DebugUtil.debugln(getClass(), debug, inserts);
- return inserts;
- }
-
- public ArrayList getDeleteOrder() {
- ArrayList deleteOrder = new ArrayList();
- deleteOrder.addAll(getInsertOrder());
- Collections.reverse(deleteOrder);
- return deleteOrder;
- }
-
- public void addConverter(String name, String converter) {
- if (config == null)
- config = factory.createConfig();
-
- QualifiedColumn column = new QualifiedColumn(name);
- Table t = findOrCreateTable(column.getTableName());
- Column c = findOrCreateColumn(t, column.getColumnName());
- c.setConverterClassName(converter);
-
- }
-
- public String getConverter(String tableName, String columnName) {
- Table t = getTable(tableName);
- Column c = getColumn(t, columnName);
- if (c != null)
- return c.getConverterClassName();
- return null;
- }
-
- public HashMap getConverters(Table table) {
- HashMap converters = new HashMap();
-
- Iterator columns = table.getColumn().iterator();
- while ( columns.hasNext() ) {
- Column c = (Column) columns.next();
- if ( c.getConverterClassName() != null ) {
- String property = c.getPropertyName();
- if ( property == null )
- property = c.getName();
- converters.put(property, c.getConverterClassName());
- }
- }
- return converters;
- }
-
- public Relationship getRelationshipByName(String name) {
- Iterator i = config.getRelationship().iterator();
- while ( i.hasNext() ) {
- Relationship r = (Relationship) i.next();
- if ( name.equals (r.getName()))
- return r;
- }
- throw new RuntimeException("Could not find relationship " + name + " in the configuration");
- }
-
-}
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/QualifiedColumn.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/QualifiedColumn.java
deleted file mode 100644
index 6babe0c349..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/QualifiedColumn.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.tuscany.das.rdb.config.wrapper;
-
-import org.apache.tuscany.das.rdb.util.DebugUtil;
-
-public class QualifiedColumn {
-
- private final String tableName;
- private final String columnName;
- private static boolean debug = false;
-
- public QualifiedColumn(String name) {
- tableName = name.substring(0, name.indexOf('.'));
- columnName = name.substring(name.indexOf('.') + 1);
- DebugUtil.debugln(getClass(), debug, tableName);
- DebugUtil.debugln(getClass(), debug, columnName);
- }
-
- public String getTableName() {
- return this.tableName;
- }
-
- public String getColumnName() {
- return this.columnName;
- }
-}
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/RelationshipWrapper.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/RelationshipWrapper.java
deleted file mode 100644
index 14403367d8..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/RelationshipWrapper.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.tuscany.das.rdb.config.wrapper;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-
-import org.apache.tuscany.das.rdb.config.KeyPair;
-import org.apache.tuscany.das.rdb.config.Relationship;
-
-public class RelationshipWrapper {
-
- private Relationship relationship;
-
- public RelationshipWrapper(Relationship r) {
- this.relationship = r;
- }
-
- public Collection getForeignKeys() {
- ArrayList keys = new ArrayList();
- Iterator i = this.relationship.getKeyPair().iterator();
- while ( i.hasNext()) {
- KeyPair pair = (KeyPair) i.next();
- keys.add(pair.getForeignKeyColumn());
- }
- return keys;
- }
-
-}
diff --git a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/TableWrapper.java b/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/TableWrapper.java
deleted file mode 100644
index 2c2d1dc677..0000000000
--- a/tags/java-stable-20060304/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/TableWrapper.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
-*
-* Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.apache.tuscany.das.rdb.config.wrapper;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-
-import org.apache.tuscany.das.rdb.config.Column;
-import org.apache.tuscany.das.rdb.config.Table;
-
-public class TableWrapper {
-
- private Table table;
-
- public TableWrapper(Table table) {
- this.table = table;
- }
-
- public String getPropertyName() {
- return table.getPropertyName() == null ? table.getName() : table
- .getPropertyName();
- }
-
- public Collection getPrimaryKeyNames() {
- ArrayList pkNames = new ArrayList();
- Iterator i = table.getColumn().iterator();
- while (i.hasNext()) {
- Column c = (Column) i.next();
- if (c.isPrimaryKey())
- pkNames.add(c.getName());
- }
- return pkNames;
- }
-
- public Collection getPrimaryKeyProperties() {
-
- ArrayList keyProperties = new ArrayList();
- Iterator columns = table.getColumn().iterator();
- while (columns.hasNext()) {
- Column c = (Column) columns.next();
- if (c.isPrimaryKey()) {
- keyProperties.add(getColumnPropertyName(c));
- }
- }
-
- return keyProperties;
- }
-
- private String getColumnPropertyName(Column c) {
- if (c.getPropertyName() != null)
- return c.getPropertyName();
- else
- return c.getName();
- }
-
- public boolean isGeneratedColumnProperty(String name) {
- Column c = getColumnByPropertyName(name);
- return c == null ? false : c.isGenerated();
- }
-
- // public Object getColumnNameByProperty(String propertyName) {
- // Iterator i = table.getColumn().iterator();
- // while (i.hasNext()) {
- // Column c = (Column) i.next();
- // if (propertyName.equals(c.getPropertyName()))
- // return c.getName();
- // }
- // return propertyName;
- // }
-
- public String getConverter(String propertyName) {
- Column c = getColumnByPropertyName(propertyName);
- return (c == null) ? null : c.getConverterClassName();
- }
-
- public Column getColumnByPropertyName(String propertyName) {
- Iterator columns = table.getColumn().iterator();
- while (columns.hasNext()) {
- Column c = (Column) columns.next();
- String property = c.getPropertyName();
- if (property == null)
- property = c.getName();
- if (propertyName.equals(property))
- return c;
- }
-
- return null;
- }
-
- public Column getCollisionColumn() {
- Iterator columns = table.getColumn().iterator();
- while (columns.hasNext()) {
- Column c = (Column) columns.next();
- if ( c.isCollision() )
- return c;
- }
-
- return null;
-
- }
-
- public String getCollisionColumnPropertyName() {
- Column c = getCollisionColumn();
- if ( c.getPropertyName() != null )
- return c.getPropertyName();
- else
- return c.getName();
- }
-}