You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by kw...@apache.org on 2006/02/07 21:39:54 UTC
svn commit: r375688 [2/6] - in
/incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config:
./ impl/ wrapper/
Modified: incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java?rev=375688&r1=375687&r2=375688&view=diff
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java (original)
+++ incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Relationship.java Tue Feb 7 12:39:51 2006
@@ -1,23 +1,12 @@
/**
-*
-* 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.
-*/
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
package org.apache.tuscany.das.rdb.config;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
+import java.util.List;
/**
* <!-- begin-user-doc -->
@@ -27,168 +16,178 @@
* <p>
* The following features are supported:
* <ul>
- * <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>
+ * <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#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Relationship#getKeyPair <em>Key Pair</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>
*
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getRelationship()
- * @model
* @generated
*/
-public interface Relationship extends EObject {
- /**
- * 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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getRelationship_Name()
- * @model
- * @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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getRelationship_PrimaryKeyTable()
- * @model
- * @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);
-
- /**
- * 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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getRelationship_ForeignKeyTable()
- * @model
- * @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 #setMany(boolean)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getRelationship_Many()
- * @model
- * @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 #isMany()
- * @generated
- */
- void setMany(boolean value);
-
- /**
- * Returns the value of the '<em><b>Config</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.apache.tuscany.das.rdb.config.Config#getRelationship <em>Relationship</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Config</em>' container reference.
- * @see #setConfig(Config)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getRelationship_Config()
- * @see org.apache.tuscany.das.rdb.config.Config#getRelationship
- * @model opposite="Relationship"
- * @generated
- */
- Config getConfig();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Relationship#getConfig <em>Config</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Config</em>' container reference.
- * @see #getConfig()
- * @generated
- */
- void setConfig(Config value);
-
- /**
- * 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}.
- * It is bidirectional and its opposite is '{@link org.apache.tuscany.das.rdb.config.KeyPair#getRelationship <em>Relationship</em>}'.
- * <!-- 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.
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getRelationship_KeyPair()
- * @see org.apache.tuscany.das.rdb.config.KeyPair#getRelationship
- * @model type="org.apache.tuscany.das.rdb.config.KeyPair" opposite="Relationship" containment="true"
- * @generated
- */
- EList getKeyPair();
+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
Modified: incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java?rev=375688&r1=375687&r2=375688&view=diff
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java (original)
+++ incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/ResultDescriptor.java Tue Feb 7 12:39:51 2006
@@ -6,7 +6,6 @@
*/
package org.apache.tuscany.das.rdb.config;
-import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
@@ -17,148 +16,135 @@
* 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#getTableName <em>Table Name</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getType <em>Type</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#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>
*
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getResultDescriptor()
- * @model
* @generated
*/
-public interface ResultDescriptor extends EObject {
- /**
- * 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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getResultDescriptor_ColumnName()
- * @model
- * @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>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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getResultDescriptor_TableName()
- * @model
- * @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);
-
- /**
- * Returns the value of the '<em><b>Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>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>Type</em>' attribute.
- * @see #setType(String)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getResultDescriptor_Type()
- * @model
- * @generated
- */
- String getType();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getType <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' attribute.
- * @see #getType()
- * @generated
- */
- void setType(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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getResultDescriptor_Converter()
- * @model
- * @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>Command</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.apache.tuscany.das.rdb.config.Command#getResultDescriptor <em>Result Descriptor</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Command</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Command</em>' container reference.
- * @see #setCommand(Command)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getResultDescriptor_Command()
- * @see org.apache.tuscany.das.rdb.config.Command#getResultDescriptor
- * @model opposite="ResultDescriptor"
- * @generated
- */
- Command getCommand();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.ResultDescriptor#getCommand <em>Command</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Command</em>' container reference.
- * @see #getCommand()
- * @generated
- */
- void setCommand(Command value);
+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
Modified: incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java?rev=375688&r1=375687&r2=375688&view=diff
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java (original)
+++ incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/Table.java Tue Feb 7 12:39:51 2006
@@ -1,23 +1,12 @@
/**
-*
-* 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.
-*/
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
package org.apache.tuscany.das.rdb.config;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
+import java.util.List;
/**
* <!-- begin-user-doc -->
@@ -27,195 +16,176 @@
* <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#getCreate <em>Create</em>}</li>
* <li>{@link org.apache.tuscany.das.rdb.config.Table#getUpdate <em>Update</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#getConfig <em>Config</em>}</li>
- * <li>{@link org.apache.tuscany.das.rdb.config.Table#getColumn <em>Column</em>}</li>
* </ul>
* </p>
*
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable()
- * @model
* @generated
*/
-public interface Table extends EObject {
- /**
- * 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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable_Name()
- * @model
- * @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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable_PropertyName()
- * @model
- * @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>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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable_Create()
- * @model
- * @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>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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable_Update()
- * @model
- * @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);
-
- /**
- * 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)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable_Delete()
- * @model
- * @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>Config</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.apache.tuscany.das.rdb.config.Config#getTable <em>Table</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Config</em>' container reference.
- * @see #setConfig(Config)
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable_Config()
- * @see org.apache.tuscany.das.rdb.config.Config#getTable
- * @model opposite="Table"
- * @generated
- */
- Config getConfig();
-
- /**
- * Sets the value of the '{@link org.apache.tuscany.das.rdb.config.Table#getConfig <em>Config</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Config</em>' container reference.
- * @see #getConfig()
- * @generated
- */
- void setConfig(Config value);
-
- /**
- * 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}.
- * It is bidirectional and its opposite is '{@link org.apache.tuscany.das.rdb.config.Column#getTable <em>Table</em>}'.
- * <!-- 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.
- * @see org.apache.tuscany.das.rdb.config.ConfigPackage#getTable_Column()
- * @see org.apache.tuscany.das.rdb.config.Column#getTable
- * @model type="org.apache.tuscany.das.rdb.config.Column" opposite="Table" containment="true"
- * @generated
- */
- EList getColumn();
+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
Modified: incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java?rev=375688&r1=375687&r2=375688&view=diff
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java (original)
+++ incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/config/impl/ColumnImpl.java Tue Feb 7 12:39:51 2006
@@ -1,32 +1,20 @@
/**
-*
-* 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.
-*/
+ * <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.ConfigPackage;
-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.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
/**
* <!-- begin-user-doc -->
@@ -35,560 +23,653 @@
* <p>
* The following features are implemented:
* <ul>
- * <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#getPropertyName <em>Property Name</em>}</li>
+ * <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#getType <em>Type</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#isGenerated <em>Generated</em>}</li>
- * <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#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 EObjectImpl implements Column {
- /**
- * 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 #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 #getType() <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected static final String TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected String type = TYPE_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;
-
- /**
- * 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;
-
- /**
- * 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;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ColumnImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return ConfigPackage.eINSTANCE.getColumn();
- }
-
- /**
- * <!-- 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, ConfigPackage.COLUMN__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, ConfigPackage.COLUMN__PROPERTY_NAME, oldPropertyName, propertyName));
- }
-
- /**
- * <!-- 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, ConfigPackage.COLUMN__CONVERTER_CLASS_NAME, oldConverterClassName, converterClassName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getType() {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(String newType) {
- String oldType = type;
- type = newType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.COLUMN__TYPE, oldType, type));
- }
-
- /**
- * <!-- 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;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.COLUMN__PRIMARY_KEY, oldPrimaryKey, primaryKey));
- }
-
- /**
- * <!-- 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;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.COLUMN__GENERATED, oldGenerated, generated));
- }
-
- /**
- * <!-- 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;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.COLUMN__COLLISION, oldCollision, collision));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Table getTable() {
- if (eContainerFeatureID != ConfigPackage.COLUMN__TABLE) return null;
- return (Table)eContainer;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTable(Table newTable) {
- if (newTable != eContainer || (eContainerFeatureID != ConfigPackage.COLUMN__TABLE && newTable != null)) {
- if (EcoreUtil.isAncestor(this, newTable))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newTable != null)
- msgs = ((InternalEObject)newTable).eInverseAdd(this, ConfigPackage.TABLE__COLUMN, Table.class, msgs);
- msgs = eBasicSetContainer((InternalEObject)newTable, ConfigPackage.COLUMN__TABLE, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.COLUMN__TABLE, newTable, newTable));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case ConfigPackage.COLUMN__TABLE:
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, ConfigPackage.COLUMN__TABLE, msgs);
- default:
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case ConfigPackage.COLUMN__TABLE:
- return eBasicSetContainer(null, ConfigPackage.COLUMN__TABLE, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case ConfigPackage.COLUMN__TABLE:
- return eContainer.eInverseRemove(this, ConfigPackage.TABLE__COLUMN, Table.class, msgs);
- default:
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case ConfigPackage.COLUMN__NAME:
- return getName();
- case ConfigPackage.COLUMN__PROPERTY_NAME:
- return getPropertyName();
- case ConfigPackage.COLUMN__CONVERTER_CLASS_NAME:
- return getConverterClassName();
- case ConfigPackage.COLUMN__TYPE:
- return getType();
- case ConfigPackage.COLUMN__PRIMARY_KEY:
- return isPrimaryKey() ? Boolean.TRUE : Boolean.FALSE;
- case ConfigPackage.COLUMN__GENERATED:
- return isGenerated() ? Boolean.TRUE : Boolean.FALSE;
- case ConfigPackage.COLUMN__COLLISION:
- return isCollision() ? Boolean.TRUE : Boolean.FALSE;
- case ConfigPackage.COLUMN__TABLE:
- return getTable();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case ConfigPackage.COLUMN__NAME:
- setName((String)newValue);
- return;
- case ConfigPackage.COLUMN__PROPERTY_NAME:
- setPropertyName((String)newValue);
- return;
- case ConfigPackage.COLUMN__CONVERTER_CLASS_NAME:
- setConverterClassName((String)newValue);
- return;
- case ConfigPackage.COLUMN__TYPE:
- setType((String)newValue);
- return;
- case ConfigPackage.COLUMN__PRIMARY_KEY:
- setPrimaryKey(((Boolean)newValue).booleanValue());
- return;
- case ConfigPackage.COLUMN__GENERATED:
- setGenerated(((Boolean)newValue).booleanValue());
- return;
- case ConfigPackage.COLUMN__COLLISION:
- setCollision(((Boolean)newValue).booleanValue());
- return;
- case ConfigPackage.COLUMN__TABLE:
- setTable((Table)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case ConfigPackage.COLUMN__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ConfigPackage.COLUMN__PROPERTY_NAME:
- setPropertyName(PROPERTY_NAME_EDEFAULT);
- return;
- case ConfigPackage.COLUMN__CONVERTER_CLASS_NAME:
- setConverterClassName(CONVERTER_CLASS_NAME_EDEFAULT);
- return;
- case ConfigPackage.COLUMN__TYPE:
- setType(TYPE_EDEFAULT);
- return;
- case ConfigPackage.COLUMN__PRIMARY_KEY:
- setPrimaryKey(PRIMARY_KEY_EDEFAULT);
- return;
- case ConfigPackage.COLUMN__GENERATED:
- setGenerated(GENERATED_EDEFAULT);
- return;
- case ConfigPackage.COLUMN__COLLISION:
- setCollision(COLLISION_EDEFAULT);
- return;
- case ConfigPackage.COLUMN__TABLE:
- setTable((Table)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case ConfigPackage.COLUMN__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ConfigPackage.COLUMN__PROPERTY_NAME:
- return PROPERTY_NAME_EDEFAULT == null ? propertyName != null : !PROPERTY_NAME_EDEFAULT.equals(propertyName);
- case ConfigPackage.COLUMN__CONVERTER_CLASS_NAME:
- return CONVERTER_CLASS_NAME_EDEFAULT == null ? converterClassName != null : !CONVERTER_CLASS_NAME_EDEFAULT.equals(converterClassName);
- case ConfigPackage.COLUMN__TYPE:
- return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
- case ConfigPackage.COLUMN__PRIMARY_KEY:
- return primaryKey != PRIMARY_KEY_EDEFAULT;
- case ConfigPackage.COLUMN__GENERATED:
- return generated != GENERATED_EDEFAULT;
- case ConfigPackage.COLUMN__COLLISION:
- return collision != COLLISION_EDEFAULT;
- case ConfigPackage.COLUMN__TABLE:
- return getTable() != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", propertyName: ");
- result.append(propertyName);
- result.append(", converterClassName: ");
- result.append(converterClassName);
- result.append(", type: ");
- result.append(type);
- result.append(", primaryKey: ");
- result.append(primaryKey);
- result.append(", generated: ");
- result.append(generated);
- result.append(", collision: ");
- result.append(collision);
- result.append(')');
- return result.toString();
- }
+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