You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2007/02/08 05:59:56 UTC

svn commit: r504781 [1/2] - /incubator/tuscany/cpp/das/runtime/core/src/

Author: lresende
Date: Wed Feb  7 20:59:55 2007
New Revision: 504781

URL: http://svn.apache.org/viewvc?view=rev&rev=504781
Log:
Some DAS C++ files missing from SVN

Added:
    incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.h
    incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.h
    incubator/tuscany/cpp/das/runtime/core/src/DAS.cpp
    incubator/tuscany/cpp/das/runtime/core/src/DASObject.cpp
    incubator/tuscany/cpp/das/runtime/core/src/DASPointer.h
    incubator/tuscany/cpp/das/runtime/core/src/DASValues.h
    incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.h
    incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.h
    incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.h
    incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.h
    incubator/tuscany/cpp/das/runtime/core/src/TableData.cpp
    incubator/tuscany/cpp/das/runtime/core/src/TableData.h
    incubator/tuscany/cpp/das/runtime/core/src/TableImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/TableImpl.h
    incubator/tuscany/cpp/das/runtime/core/src/UpdateImpl.cpp
    incubator/tuscany/cpp/das/runtime/core/src/UpdateImpl.h
Modified:
    incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.cpp
    incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.cpp

Modified: incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.cpp?view=diff&rev=504781&r1=504780&r2=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.cpp (original)
+++ incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.cpp Wed Feb  7 20:59:55 2007
@@ -19,4 +19,4 @@
 #include "ConfigFactory.h"
 #include "ConfigFactoryImpl.h"
 
-ConfigFactory* ConfigFactory::INSTANCE = (ConfigFactory*) ConfigFactoryImpl::init();
+ConfigFactory* ConfigFactory::INSTANCE = (ConfigFactory*) ConfigFactoryImpl::init();
\ No newline at end of file

Added: incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,196 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "ConnectionInfoImpl.h"
+
+ConnectionInfoImpl::ConnectionInfoImpl(void) {
+	dataSource = DATA_SOURCE_DEFAULT_;
+	managedtx = MANAGEDTX_DEFAULT_;
+	
+}
+
+ConnectionInfoImpl::~ConnectionInfoImpl(void) {
+}
+
+Type* ConnectionInfoImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE)->getConnectionInfo();
+}
+
+string ConnectionInfoImpl::getDataSource(void) {
+	return dataSource;
+}
+
+void ConnectionInfoImpl::setDataSource(string newDataSource) {
+	dataSource = newDataSource;
+}
+
+bool ConnectionInfoImpl::isManagedtx(void) {
+	return managedtx;
+}
+
+void ConnectionInfoImpl::setManagedtx(bool newManagedtx) {
+	managedtx = newManagedtx;
+}
+
+DASObject* ConnectionInfoImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        return getDataSource();
+      case MANAGEDTX:
+        return isManagedtx() ? Boolean.TRUE : Boolean.FALSE;
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void ConnectionInfoImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        setDataSource((String)newValue);
+        return;
+      case MANAGEDTX:
+        setManagedtx(((Boolean)newValue).booleanValue());
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void ConnectionInfoImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        setDataSource(DATA_SOURCE_DEFAULT_);
+        return;
+      case MANAGEDTX:
+        setManagedtx(MANAGEDTX_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool ConnectionInfoImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        return DATA_SOURCE_DEFAULT_ == null ? dataSource != null : !DATA_SOURCE_DEFAULT_.equals(dataSource);
+      case MANAGEDTX:
+        return managedtx != MANAGEDTX_DEFAULT_;
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string ConnectionInfoImpl::toString(void) {}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "ConnectionInfoImpl.h"
+
+ConnectionInfoImpl::ConnectionInfoImpl(void) {
+	dataSource = DATA_SOURCE_DEFAULT_;
+	managedtx = MANAGEDTX_DEFAULT_;
+	
+}
+
+ConnectionInfoImpl::~ConnectionInfoImpl(void) {
+}
+
+Type* ConnectionInfoImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE)->getConnectionInfo();
+}
+
+string ConnectionInfoImpl::getDataSource(void) {
+	return dataSource;
+}
+
+void ConnectionInfoImpl::setDataSource(string newDataSource) {
+	dataSource = newDataSource;
+}
+
+bool ConnectionInfoImpl::isManagedtx(void) {
+	return managedtx;
+}
+
+void ConnectionInfoImpl::setManagedtx(bool newManagedtx) {
+	managedtx = newManagedtx;
+}
+
+DASObject* ConnectionInfoImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        return getDataSource();
+      case MANAGEDTX:
+        return isManagedtx() ? Boolean.TRUE : Boolean.FALSE;
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void ConnectionInfoImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        setDataSource((String)newValue);
+        return;
+      case MANAGEDTX:
+        setManagedtx(((Boolean)newValue).booleanValue());
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void ConnectionInfoImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        setDataSource(DATA_SOURCE_DEFAULT_);
+        return;
+      case MANAGEDTX:
+        setManagedtx(MANAGEDTX_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool ConnectionInfoImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case DATA_SOURCE:
+        return DATA_SOURCE_DEFAULT_ == null ? dataSource != null : !DATA_SOURCE_DEFAULT_.equals(dataSource);
+      case MANAGEDTX:
+        return managedtx != MANAGEDTX_DEFAULT_;
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string ConnectionInfoImpl::toString(void) {}

Added: incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfoImpl.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,126 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef CONNECTION_INFO_IMPL_H
+#define CONNECTION_INFO_IMPL_H
+
+#include <string>;
+
+#include "ConnectionInfo.h"
+#include "DASObject.h"
+#include "ConfigFactory.h"
+#include "ConfigFactoryImpl.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class ConnectionInfoImpl : /*public DataObjectBase,*/ public ConnectionInfo {
+
+	protected:
+		const static string DATA_SOURCE_DEFAULT_;
+		const static bool MANAGEDTX_DEFAULT_ = true;
+		
+		bool managedtx;
+		string dataSource;
+
+	public:
+		const static int DATA_SOURCE = 0;
+		const static int MANAGEDTX = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		ConnectionInfoImpl(void);
+		virtual ~ConnectionInfoImpl(void);
+		Type* getType(void);
+		string getDataSource(void);
+		void setDataSource(string newDataSource);
+		bool isManagedtx(void);
+		void setManagedtx(bool newManagedtx);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+
+};
+
+#endif //CONNECTION_INFO_IMPL_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef CONNECTION_INFO_IMPL_H
+#define CONNECTION_INFO_IMPL_H
+
+#include <string>;
+
+#include "ConnectionInfo.h"
+#include "DASObject.h"
+#include "ConfigFactory.h"
+#include "ConfigFactoryImpl.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class ConnectionInfoImpl : /*public DataObjectBase,*/ public ConnectionInfo {
+
+	protected:
+		const static string DATA_SOURCE_DEFAULT_;
+		const static bool MANAGEDTX_DEFAULT_ = true;
+		
+		bool managedtx;
+		string dataSource;
+
+	public:
+		const static int DATA_SOURCE = 0;
+		const static int MANAGEDTX = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		ConnectionInfoImpl(void);
+		virtual ~ConnectionInfoImpl(void);
+		Type* getType(void);
+		string getDataSource(void);
+		void setDataSource(string newDataSource);
+		bool isManagedtx(void);
+		void setManagedtx(bool newManagedtx);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+
+};
+
+#endif //CONNECTION_INFO_IMPL_H

Added: incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,198 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "CreateImpl.h"
+
+CreateImpl::CreateImpl(void) {
+	sql = SQL_DEFAULT_;
+	parameters = PARAMETERS_DEFAULT_;
+
+}
+
+CreateImpl::~CreateImpl(void) {
+}
+
+Type* CreateImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE)->getCreate();
+}
+
+string CreateImpl::getSql(void) {
+	return sql;
+}
+
+void CreateImpl::setSql(string newSql) {
+	sql = newSql;
+}
+
+string CreateImpl::getParameters(void) {
+	return parameters;
+}
+
+void CreateImpl::setParameters(string newParameters) {
+	parameters = newParameters;
+}
+
+DASObject* CreateImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return getSql();
+      case PARAMETERS:
+        return getParameters();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+
+void CreateImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql((String)newValue);
+        return;
+      case PARAMETERS:
+        setParameters((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void CreateImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql(SQL_DEFAULT_);
+        return;
+      case PARAMETERS:
+        setParameters(PARAMETERS_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool CreateImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return SQL_DEFAULT_ == null ? sql != null : !SQL_DEFAULT_.equals(sql);
+      case PARAMETERS:
+        return PARAMETERS_DEFAULT_ == null ? parameters != null : !PARAMETERS_DEFAULT_.equals(parameters);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string CreateImpl::toString(void) {}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "CreateImpl.h"
+
+CreateImpl::CreateImpl(void) {
+	sql = SQL_DEFAULT_;
+	parameters = PARAMETERS_DEFAULT_;
+
+}
+
+CreateImpl::~CreateImpl(void) {
+}
+
+Type* CreateImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE)->getCreate();
+}
+
+string CreateImpl::getSql(void) {
+	return sql;
+}
+
+void CreateImpl::setSql(string newSql) {
+	sql = newSql;
+}
+
+string CreateImpl::getParameters(void) {
+	return parameters;
+}
+
+void CreateImpl::setParameters(string newParameters) {
+	parameters = newParameters;
+}
+
+DASObject* CreateImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return getSql();
+      case PARAMETERS:
+        return getParameters();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+
+void CreateImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql((String)newValue);
+        return;
+      case PARAMETERS:
+        setParameters((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void CreateImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql(SQL_DEFAULT_);
+        return;
+      case PARAMETERS:
+        setParameters(PARAMETERS_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool CreateImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return SQL_DEFAULT_ == null ? sql != null : !SQL_DEFAULT_.equals(sql);
+      case PARAMETERS:
+        return PARAMETERS_DEFAULT_ == null ? parameters != null : !PARAMETERS_DEFAULT_.equals(parameters);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string CreateImpl::toString(void) {}

Added: incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/CreateImpl.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,124 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef CREATE_IMPL_H
+#define CREATE_IMPL_H
+
+#include <string>;
+
+#include "DASObject.h"
+#include "ConfigFactory.h"
+#include "ConfigFactoryImpl.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class CreateImpl : /*public DataObjectBase,*/ public Create {
+
+	protected:
+		const static string SQL_DEFAULT_;
+		const static string PARAMETERS_DEFAULT_;
+
+		string sql;
+		string parameters;
+
+	public:
+		const static int SQL = 0;
+		const static int PARAMETERS = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		CreateImpl(void);
+		virtual ~CreateImpl(void);
+		Type* getType(void);
+		string getSql(void);
+		void setSql(string newSql);
+		string getParameters(void);
+		void setParameters(string newParameters);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		string toString(void);
+
+};
+
+#endif //CREATE_IMPL_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef CREATE_IMPL_H
+#define CREATE_IMPL_H
+
+#include <string>;
+
+#include "DASObject.h"
+#include "ConfigFactory.h"
+#include "ConfigFactoryImpl.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class CreateImpl : /*public DataObjectBase,*/ public Create {
+
+	protected:
+		const static string SQL_DEFAULT_;
+		const static string PARAMETERS_DEFAULT_;
+
+		string sql;
+		string parameters;
+
+	public:
+		const static int SQL = 0;
+		const static int PARAMETERS = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		CreateImpl(void);
+		virtual ~CreateImpl(void);
+		Type* getType(void);
+		string getSql(void);
+		void setSql(string newSql);
+		string getParameters(void);
+		void setParameters(string newParameters);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		string toString(void);
+
+};
+
+#endif //CREATE_IMPL_H

Added: incubator/tuscany/cpp/das/runtime/core/src/DAS.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/DAS.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/DAS.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/DAS.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,56 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "DAS.h"
+#include "DASFactoryImpl.h"
+
+DASFactory* DAS::FACTORY = new DASFactoryImpl;
+
+DAS::DAS(void) {}
+
+DASFactory* DAS::getFACTORY(void) {
+	return FACTORY;
+}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "DAS.h"
+#include "DASFactoryImpl.h"
+
+DASFactory* DAS::FACTORY = new DASFactoryImpl;
+
+DAS::DAS(void) {}
+
+DASFactory* DAS::getFACTORY(void) {
+	return FACTORY;
+}

Modified: incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.cpp?view=diff&rev=504781&r1=504780&r2=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.cpp (original)
+++ incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.cpp Wed Feb  7 20:59:55 2007
@@ -40,4 +40,4 @@
 
 DAS* DASFactoryImpl::createDAS(HDBC* connection) {
 	return new DASImpl(connection);
-}
+}
\ No newline at end of file

Added: incubator/tuscany/cpp/das/runtime/core/src/DASObject.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/DASObject.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/DASObject.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/DASObject.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,90 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "DASObject.h"
+
+DASObject::DASObject(void) {
+	dasPointer = 0;
+	dasValueType = 0;
+
+}
+
+DASObject::DASObject(DASPointer pointer, short value) {
+	setDASObject(pointer, value);
+}
+
+DASObject::~DASObject(void) {}
+
+void DASObject::setDASObject(DASPointer pointer, short value) {
+	dasPointer = pointer;	
+	dasValueType = value;
+
+}
+
+DASPointer DASObject::getDASPointer(void) const {
+	return dasPointer;
+}
+
+short DASObject::getDASObject(void) const {
+	return dasValueType;
+}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "DASObject.h"
+
+DASObject::DASObject(void) {
+	dasPointer = 0;
+	dasValueType = 0;
+
+}
+
+DASObject::DASObject(DASPointer pointer, short value) {
+	setDASObject(pointer, value);
+}
+
+DASObject::~DASObject(void) {}
+
+void DASObject::setDASObject(DASPointer pointer, short value) {
+	dasPointer = pointer;	
+	dasValueType = value;
+
+}
+
+DASPointer DASObject::getDASPointer(void) const {
+	return dasPointer;
+}
+
+short DASObject::getDASObject(void) const {
+	return dasValueType;
+}

Added: incubator/tuscany/cpp/das/runtime/core/src/DASPointer.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/DASPointer.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/DASPointer.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/DASPointer.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef DAS_POINTER_H
+#define DAS_POINTER_H
+
+typedef void* DASPointer;
+
+#endif //DAS_POINTER_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef DAS_POINTER_H
+#define DAS_POINTER_H
+
+typedef void* DASPointer;
+
+#endif //DAS_POINTER_H

Added: incubator/tuscany/cpp/das/runtime/core/src/DASValues.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/DASValues.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/DASValues.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/DASValues.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef DAS_VALUES_H
+#define DAS_VALUES_H
+
+class DASValues {
+
+	const static short DAS_BOOL = 1;
+	const static short DAS_STRING = 2;
+	
+};
+
+#endif //DAS_VALUES_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef DAS_VALUES_H
+#define DAS_VALUES_H
+
+class DASValues {
+
+	const static short DAS_BOOL = 1;
+	const static short DAS_STRING = 2;
+	
+};
+
+#endif //DAS_VALUES_H

Added: incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,196 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "DeleteImpl.h"
+
+DeleteImpl::DeleteImpl(void) {
+	sql = SQL_DEFAULT_;
+	parameters = PARAMETERS_DEFAULT_;
+
+}
+
+DeleteImpl::~DeleteImpl(void) {
+}
+
+Type* DeleteImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE).getDelete();
+}
+
+string DeleteImpl::getSql(void) {
+	return sql;
+}
+
+void DeleteImpl::setSql(string newSql) {
+	sql = newSql;
+}
+
+string DeleteImpl::getParameters(void) {
+	return parameters;
+}
+
+void DeleteImpl::setParameters(string newParameters) {
+	parameters = newParameters;
+}
+
+DASObject* DeleteImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return getSql();
+      case PARAMETERS:
+        return getParameters();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void DeleteImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql((String)newValue);
+        return;
+      case PARAMETERS:
+        setParameters((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void DeleteImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql(SQL_DEFAULT_);
+        return;
+      case PARAMETERS:
+        setParameters(PARAMETERS_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool DeleteImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return SQL_DEFAULT_ == null ? sql != null : !SQL_DEFAULT_.equals(sql);
+      case PARAMETERS:
+        return PARAMETERS_DEFAULT_ == null ? parameters != null : !PARAMETERS_DEFAULT_.equals(parameters);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string DeleteImpl::toString(void) {}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "DeleteImpl.h"
+
+DeleteImpl::DeleteImpl(void) {
+	sql = SQL_DEFAULT_;
+	parameters = PARAMETERS_DEFAULT_;
+
+}
+
+DeleteImpl::~DeleteImpl(void) {
+}
+
+Type* DeleteImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE).getDelete();
+}
+
+string DeleteImpl::getSql(void) {
+	return sql;
+}
+
+void DeleteImpl::setSql(string newSql) {
+	sql = newSql;
+}
+
+string DeleteImpl::getParameters(void) {
+	return parameters;
+}
+
+void DeleteImpl::setParameters(string newParameters) {
+	parameters = newParameters;
+}
+
+DASObject* DeleteImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return getSql();
+      case PARAMETERS:
+        return getParameters();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void DeleteImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql((String)newValue);
+        return;
+      case PARAMETERS:
+        setParameters((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void DeleteImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        setSql(SQL_DEFAULT_);
+        return;
+      case PARAMETERS:
+        setParameters(PARAMETERS_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool DeleteImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case SQL:
+        return SQL_DEFAULT_ == null ? sql != null : !SQL_DEFAULT_.equals(sql);
+      case PARAMETERS:
+        return PARAMETERS_DEFAULT_ == null ? parameters != null : !PARAMETERS_DEFAULT_.equals(parameters);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string DeleteImpl::toString(void) {}

Added: incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/DeleteImpl.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,122 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef DELETE_IMPL_H
+#define DELETE_IMPL_H
+
+#include <string>
+
+#include "Delete.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class DeleteImpl : /*public DataObjectBase,*/ public Delete {
+	
+	protected:
+		const static string SQL_DEFAULT_;
+		const static string PARAMETERS_DEFAULT_;
+
+		string sql;
+		string parameters;
+
+	public:
+		const static int SQL = 0;
+		const static int PARAMETERS = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		DeleteImpl(void);
+		virtual ~DeleteImpl(void);
+		Type* getType(void);
+		string getSql(void);
+		void setSql(string newSql);
+		string getParameters(void);
+		void setParameters(string newParameters);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+  
+};
+
+#endif //DELETE_IMPL_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef DELETE_IMPL_H
+#define DELETE_IMPL_H
+
+#include <string>
+
+#include "Delete.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class DeleteImpl : /*public DataObjectBase,*/ public Delete {
+	
+	protected:
+		const static string SQL_DEFAULT_;
+		const static string PARAMETERS_DEFAULT_;
+
+		string sql;
+		string parameters;
+
+	public:
+		const static int SQL = 0;
+		const static int PARAMETERS = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		DeleteImpl(void);
+		virtual ~DeleteImpl(void);
+		Type* getType(void);
+		string getSql(void);
+		void setSql(string newSql);
+		string getParameters(void);
+		void setParameters(string newParameters);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+  
+};
+
+#endif //DELETE_IMPL_H

Added: incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,198 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "KeyPairImpl.h"
+
+KeyPairImpl::KeyPairImpl(void) {
+	primaryKeyColumn = PRIMARY_KEY_COLUMN_DEFAULT_;
+  	foreignKeyColumn = FOREIGN_KEY_COLUMN_DEFAULT_;
+
+}
+
+KeyPairImpl::~KeyPairImpl(void) {
+}
+
+Type* KeyPairImpl::getType(void) {
+	return ((ConfigFactoryImpl*)ConfigFactory::INSTANCE).getKeyPair();
+}
+
+string getPrimaryKeyColumn(void) {
+	return primaryKeyColumn;
+}
+
+void setPrimaryKeyColumn(string newPrimaryKeyColumn) {
+	primaryKeyColumn = newPrimaryKeyColumn;
+}
+
+string getForeignKeyColumn(void) {
+	return foreignKeyColumn;
+}
+
+void setForeignKeyColumn(string newForeignKeyColumn) {
+	foreignKeyColumn = newForeignKeyColumn;
+}
+
+
+DASObject* KeyPairImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        return getPrimaryKeyColumn();
+      case FOREIGN_KEY_COLUMN:
+        return getForeignKeyColumn();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void KeyPairImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        setPrimaryKeyColumn((String)newValue);
+        return;
+      case FOREIGN_KEY_COLUMN:
+        setForeignKeyColumn((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void KeyPairImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        setPrimaryKeyColumn(PRIMARY_KEY_COLUMN_DEFAULT_);
+        return;
+      case FOREIGN_KEY_COLUMN:
+        setForeignKeyColumn(FOREIGN_KEY_COLUMN_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool KeyPairImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        return PRIMARY_KEY_COLUMN_DEFAULT_ == null ? primaryKeyColumn != null : !PRIMARY_KEY_COLUMN_DEFAULT_.equals(primaryKeyColumn);
+      case FOREIGN_KEY_COLUMN:
+        return FOREIGN_KEY_COLUMN_DEFAULT_ == null ? foreignKeyColumn != null : !FOREIGN_KEY_COLUMN_DEFAULT_.equals(foreignKeyColumn);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string KeyPairImpl::toString(void) {}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "KeyPairImpl.h"
+
+KeyPairImpl::KeyPairImpl(void) {
+	primaryKeyColumn = PRIMARY_KEY_COLUMN_DEFAULT_;
+  	foreignKeyColumn = FOREIGN_KEY_COLUMN_DEFAULT_;
+
+}
+
+KeyPairImpl::~KeyPairImpl(void) {
+}
+
+Type* KeyPairImpl::getType(void) {
+	return ((ConfigFactoryImpl*)ConfigFactory::INSTANCE).getKeyPair();
+}
+
+string getPrimaryKeyColumn(void) {
+	return primaryKeyColumn;
+}
+
+void setPrimaryKeyColumn(string newPrimaryKeyColumn) {
+	primaryKeyColumn = newPrimaryKeyColumn;
+}
+
+string getForeignKeyColumn(void) {
+	return foreignKeyColumn;
+}
+
+void setForeignKeyColumn(string newForeignKeyColumn) {
+	foreignKeyColumn = newForeignKeyColumn;
+}
+
+
+DASObject* KeyPairImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        return getPrimaryKeyColumn();
+      case FOREIGN_KEY_COLUMN:
+        return getForeignKeyColumn();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void KeyPairImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        setPrimaryKeyColumn((String)newValue);
+        return;
+      case FOREIGN_KEY_COLUMN:
+        setForeignKeyColumn((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void KeyPairImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        setPrimaryKeyColumn(PRIMARY_KEY_COLUMN_DEFAULT_);
+        return;
+      case FOREIGN_KEY_COLUMN:
+        setForeignKeyColumn(FOREIGN_KEY_COLUMN_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool KeyPairImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case PRIMARY_KEY_COLUMN:
+        return PRIMARY_KEY_COLUMN_DEFAULT_ == null ? primaryKeyColumn != null : !PRIMARY_KEY_COLUMN_DEFAULT_.equals(primaryKeyColumn);
+      case FOREIGN_KEY_COLUMN:
+        return FOREIGN_KEY_COLUMN_DEFAULT_ == null ? foreignKeyColumn != null : !FOREIGN_KEY_COLUMN_DEFAULT_.equals(foreignKeyColumn);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string KeyPairImpl::toString(void) {}

Added: incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/KeyPairImpl.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,120 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef KEY_PAIR_IMPL_H
+#define KEY_PAIR_IMPL_H
+
+#include <string>
+
+#include "KeyPair.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class KeyPairImpl : /*public DataObjectBase,*/ public Delete {
+	
+	protected:
+		const static string PRIMARY_KEY_COLUMN_DEFAULT_;
+		const static string FOREIGN_KEY_COLUMN_DEFAULT_;
+
+		string primaryKeyColumn;
+  		string foreignKeyColumn;
+
+	public:
+		const static int FOREIGN_KEY_COLUMN = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		KeyPairImpl(void);
+		virtual ~KeyPairImpl(void);
+		Type* getType(void);
+		string getPrimaryKeyColumn(void);
+		void setPrimaryKeyColumn(string newPrimaryKeyColumn);
+		string getForeignKeyColumn(void);
+		void setForeignKeyColumn(string newForeignKeyColumn);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+  
+};
+
+#endif //KEY_PAIR_IMPL_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef KEY_PAIR_IMPL_H
+#define KEY_PAIR_IMPL_H
+
+#include <string>
+
+#include "KeyPair.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class KeyPairImpl : /*public DataObjectBase,*/ public Delete {
+	
+	protected:
+		const static string PRIMARY_KEY_COLUMN_DEFAULT_;
+		const static string FOREIGN_KEY_COLUMN_DEFAULT_;
+
+		string primaryKeyColumn;
+  		string foreignKeyColumn;
+
+	public:
+		const static int FOREIGN_KEY_COLUMN = 1;
+		const static int SDO_PROPERTY_COUNT = 2;
+
+		KeyPairImpl(void);
+		virtual ~KeyPairImpl(void);
+		Type* getType(void);
+		string getPrimaryKeyColumn(void);
+		void setPrimaryKeyColumn(string newPrimaryKeyColumn);
+		string getForeignKeyColumn(void);
+		void setForeignKeyColumn(string newForeignKeyColumn);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+  
+};
+
+#endif //KEY_PAIR_IMPL_H

Added: incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,356 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "RelationshipImpl.h"
+
+RelationshipImpl::RelationshipImpl(void) {
+	name = NAME_DEFAULT_;
+	keyPair = NULL;
+	primaryKeyTable = PRIMARY_KEY_TABLE_DEFAULT_;
+	foreignKeyTable = FOREIGN_KEY_TABLE_DEFAULT_;
+	many = MANY_DEFAULT_;
+	keyRestricted = KEY_RESTRICTED_DEFAULT_;
+
+}
+
+RelationshipImpl::~RelationshipImpl(void) {
+}
+
+Type* RelationshipImpl::getType(void) {
+	return ((ConfigFactoryImpl)ConfigFactory.INSTANCE).getRelationship();
+}
+
+list<KeyPair*>* RelationshipImpl::getKeyPair(void) {
+	if (keyPair == NULL) {
+		//keyPair = createPropertyList(ListKind::CONTAINMENT, KeyPair.class, KEY_PAIR);
+    }
+
+    return keyPair;
+
+}
+
+string RelationshipImpl::getName(void) {
+	return name;
+}
+
+void RelationshipImpl::setName(string newName) {
+	name = newName;
+}
+
+string RelationshipImpl::getPrimaryKeyTable(void) {
+	return primaryKeyTable;
+}
+
+void RelationshipImpl::setPrimaryKeyTable(string newPrimaryKeyTable) {
+	primaryKeyTable = newPrimaryKeyTable;
+}
+
+string RelationshipImpl::getForeignKeyTable(void) {
+	return foreignKeyTable;
+}
+
+void RelationshipImpl::setForeignKeyTable(string newForeignKeyTable) {
+	foreignKeyTable = newForeignKeyTable;
+}
+
+bool RelationshipImpl::isMany(void) {
+	return many;
+}
+
+void RelationshipImpl::setMany(bool newMany) {
+	many = newMany;
+}
+
+bool RelationshipImpl::isKeyRestricted(void) {
+	return keyRestricted;
+}
+
+void RelationshipImpl::setKeyRestricted(bool newKeyRestricted) {
+	keyRestricted = newKeyRestricted;
+}
+
+//ChangeContext* RelationshipImpl::inverseRemove(DASObject* otherEnd, int propertyIndex, ChangeContext* changeContext) {}
+
+DASObject* RelationshipImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        return getKeyPair();
+      case NAME:
+        return getName();
+      case PRIMARY_KEY_TABLE:
+        return getPrimaryKeyTable();
+      case FOREIGN_KEY_TABLE:
+        return getForeignKeyTable();
+      case MANY:
+        return isMany() ? Boolean.TRUE : Boolean.FALSE;
+      case KEY_RESTRICTED:
+        return isKeyRestricted() ? Boolean.TRUE : Boolean.FALSE;
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void RelationshipImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        getKeyPair().clear();
+        getKeyPair().addAll((Collection)newValue);
+        return;
+      case NAME:
+        setName((String)newValue);
+        return;
+      case PRIMARY_KEY_TABLE:
+        setPrimaryKeyTable((String)newValue);
+        return;
+      case FOREIGN_KEY_TABLE:
+        setForeignKeyTable((String)newValue);
+        return;
+      case MANY:
+        setMany(((Boolean)newValue).booleanValue());
+        return;
+      case KEY_RESTRICTED:
+        setKeyRestricted(((Boolean)newValue).booleanValue());
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void RelationshipImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        getKeyPair().clear();
+        return;
+      case NAME:
+        setName(NAME_DEFAULT_);
+        return;
+      case PRIMARY_KEY_TABLE:
+        setPrimaryKeyTable(PRIMARY_KEY_TABLE_DEFAULT_);
+        return;
+      case FOREIGN_KEY_TABLE:
+        setForeignKeyTable(FOREIGN_KEY_TABLE_DEFAULT_);
+        return;
+      case MANY:
+        setMany(MANY_DEFAULT_);
+        return;
+      case KEY_RESTRICTED:
+        setKeyRestricted(KEY_RESTRICTED_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool RelationshipImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        return keyPair != null && !keyPair.isEmpty();
+      case NAME:
+        return NAME_DEFAULT_ == null ? name != null : !NAME_DEFAULT_.equals(name);
+      case PRIMARY_KEY_TABLE:
+        return PRIMARY_KEY_TABLE_DEFAULT_ == null ? primaryKeyTable != null : !PRIMARY_KEY_TABLE_DEFAULT_.equals(primaryKeyTable);
+      case FOREIGN_KEY_TABLE:
+        return FOREIGN_KEY_TABLE_DEFAULT_ == null ? foreignKeyTable != null : !FOREIGN_KEY_TABLE_DEFAULT_.equals(foreignKeyTable);
+      case MANY:
+        return many != MANY_DEFAULT_;
+      case KEY_RESTRICTED:
+        return keyRestricted != KEY_RESTRICTED_DEFAULT_;
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string RelationshipImpl::toString(void) {}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "RelationshipImpl.h"
+
+RelationshipImpl::RelationshipImpl(void) {
+	name = NAME_DEFAULT_;
+	keyPair = NULL;
+	primaryKeyTable = PRIMARY_KEY_TABLE_DEFAULT_;
+	foreignKeyTable = FOREIGN_KEY_TABLE_DEFAULT_;
+	many = MANY_DEFAULT_;
+	keyRestricted = KEY_RESTRICTED_DEFAULT_;
+
+}
+
+RelationshipImpl::~RelationshipImpl(void) {
+}
+
+Type* RelationshipImpl::getType(void) {
+	return ((ConfigFactoryImpl)ConfigFactory.INSTANCE).getRelationship();
+}
+
+list<KeyPair*>* RelationshipImpl::getKeyPair(void) {
+	if (keyPair == NULL) {
+		//keyPair = createPropertyList(ListKind::CONTAINMENT, KeyPair.class, KEY_PAIR);
+    }
+
+    return keyPair;
+
+}
+
+string RelationshipImpl::getName(void) {
+	return name;
+}
+
+void RelationshipImpl::setName(string newName) {
+	name = newName;
+}
+
+string RelationshipImpl::getPrimaryKeyTable(void) {
+	return primaryKeyTable;
+}
+
+void RelationshipImpl::setPrimaryKeyTable(string newPrimaryKeyTable) {
+	primaryKeyTable = newPrimaryKeyTable;
+}
+
+string RelationshipImpl::getForeignKeyTable(void) {
+	return foreignKeyTable;
+}
+
+void RelationshipImpl::setForeignKeyTable(string newForeignKeyTable) {
+	foreignKeyTable = newForeignKeyTable;
+}
+
+bool RelationshipImpl::isMany(void) {
+	return many;
+}
+
+void RelationshipImpl::setMany(bool newMany) {
+	many = newMany;
+}
+
+bool RelationshipImpl::isKeyRestricted(void) {
+	return keyRestricted;
+}
+
+void RelationshipImpl::setKeyRestricted(bool newKeyRestricted) {
+	keyRestricted = newKeyRestricted;
+}
+
+//ChangeContext* RelationshipImpl::inverseRemove(DASObject* otherEnd, int propertyIndex, ChangeContext* changeContext) {}
+
+DASObject* RelationshipImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        return getKeyPair();
+      case NAME:
+        return getName();
+      case PRIMARY_KEY_TABLE:
+        return getPrimaryKeyTable();
+      case FOREIGN_KEY_TABLE:
+        return getForeignKeyTable();
+      case MANY:
+        return isMany() ? Boolean.TRUE : Boolean.FALSE;
+      case KEY_RESTRICTED:
+        return isKeyRestricted() ? Boolean.TRUE : Boolean.FALSE;
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void RelationshipImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        getKeyPair().clear();
+        getKeyPair().addAll((Collection)newValue);
+        return;
+      case NAME:
+        setName((String)newValue);
+        return;
+      case PRIMARY_KEY_TABLE:
+        setPrimaryKeyTable((String)newValue);
+        return;
+      case FOREIGN_KEY_TABLE:
+        setForeignKeyTable((String)newValue);
+        return;
+      case MANY:
+        setMany(((Boolean)newValue).booleanValue());
+        return;
+      case KEY_RESTRICTED:
+        setKeyRestricted(((Boolean)newValue).booleanValue());
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void RelationshipImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        getKeyPair().clear();
+        return;
+      case NAME:
+        setName(NAME_DEFAULT_);
+        return;
+      case PRIMARY_KEY_TABLE:
+        setPrimaryKeyTable(PRIMARY_KEY_TABLE_DEFAULT_);
+        return;
+      case FOREIGN_KEY_TABLE:
+        setForeignKeyTable(FOREIGN_KEY_TABLE_DEFAULT_);
+        return;
+      case MANY:
+        setMany(MANY_DEFAULT_);
+        return;
+      case KEY_RESTRICTED:
+        setKeyRestricted(KEY_RESTRICTED_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool RelationshipImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case KEY_PAIR:
+        return keyPair != null && !keyPair.isEmpty();
+      case NAME:
+        return NAME_DEFAULT_ == null ? name != null : !NAME_DEFAULT_.equals(name);
+      case PRIMARY_KEY_TABLE:
+        return PRIMARY_KEY_TABLE_DEFAULT_ == null ? primaryKeyTable != null : !PRIMARY_KEY_TABLE_DEFAULT_.equals(primaryKeyTable);
+      case FOREIGN_KEY_TABLE:
+        return FOREIGN_KEY_TABLE_DEFAULT_ == null ? foreignKeyTable != null : !FOREIGN_KEY_TABLE_DEFAULT_.equals(foreignKeyTable);
+      case MANY:
+        return many != MANY_DEFAULT_;
+      case KEY_RESTRICTED:
+        return keyRestricted != KEY_RESTRICTED_DEFAULT_;
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string RelationshipImpl::toString(void) {}

Added: incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/RelationshipImpl.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,164 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef RELATIONSHIP_IMPL_H
+#define RELATIONSHIP_IMPL_H
+
+#include <string>
+
+#include "Relationship.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class RelationshipImpl : /*public DataObjectBase,*/ public Relationship {
+
+	protected:
+		const static string NAME_DEFAULT_;  
+		const static string PRIMARY_KEY_TABLE_DEFAULT_;
+		const static string FOREIGN_KEY_TABLE_DEFAULT_;
+		const static bool MANY_DEFAULT_ = false;
+		const static bool KEY_RESTRICTED_DEFAULT_ = false;
+
+		string name;
+		list<KeyPair*>* keyPair;
+		string primaryKeyTable;
+		string foreignKeyTable;
+		bool many;
+		bool keyRestricted;
+		
+	public:
+		const static int KEY_PAIR = 0;
+		const static int NAME = 1;
+		const static int PRIMARY_KEY_TABLE = 2;
+		const static int FOREIGN_KEY_TABLE = 3;
+		const static int MANY = 4;
+		const static int KEY_RESTRICTED = 5;
+		const static int SDO_PROPERTY_COUNT = 6;
+
+		RelationshipImpl(void);
+		virtual ~RelationshipImpl(void);
+		Type* getType(void);
+		list<KeyPair*>* getKeyPair(void);
+		string getName(void);
+		void setName(string newName);
+		string getPrimaryKeyTable(void);
+		void setPrimaryKeyTable(string newPrimaryKeyTable);
+		string getForeignKeyTable(void);
+		void setForeignKeyTable(string newForeignKeyTable);
+		bool isMany(void);
+		void setMany(bool newMany);
+		bool isKeyRestricted(void);
+		void setKeyRestricted(bool newKeyRestricted);
+		//ChangeContext* inverseRemove(DASObject* otherEnd, int propertyIndex, ChangeContext* changeContext);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		string toString(void);
+		
+  
+
+};
+
+#endif //RELATIONSHIP_IMPL_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef RELATIONSHIP_IMPL_H
+#define RELATIONSHIP_IMPL_H
+
+#include <string>
+
+#include "Relationship.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class RelationshipImpl : /*public DataObjectBase,*/ public Relationship {
+
+	protected:
+		const static string NAME_DEFAULT_;  
+		const static string PRIMARY_KEY_TABLE_DEFAULT_;
+		const static string FOREIGN_KEY_TABLE_DEFAULT_;
+		const static bool MANY_DEFAULT_ = false;
+		const static bool KEY_RESTRICTED_DEFAULT_ = false;
+
+		string name;
+		list<KeyPair*>* keyPair;
+		string primaryKeyTable;
+		string foreignKeyTable;
+		bool many;
+		bool keyRestricted;
+		
+	public:
+		const static int KEY_PAIR = 0;
+		const static int NAME = 1;
+		const static int PRIMARY_KEY_TABLE = 2;
+		const static int FOREIGN_KEY_TABLE = 3;
+		const static int MANY = 4;
+		const static int KEY_RESTRICTED = 5;
+		const static int SDO_PROPERTY_COUNT = 6;
+
+		RelationshipImpl(void);
+		virtual ~RelationshipImpl(void);
+		Type* getType(void);
+		list<KeyPair*>* getKeyPair(void);
+		string getName(void);
+		void setName(string newName);
+		string getPrimaryKeyTable(void);
+		void setPrimaryKeyTable(string newPrimaryKeyTable);
+		string getForeignKeyTable(void);
+		void setForeignKeyTable(string newForeignKeyTable);
+		bool isMany(void);
+		void setMany(bool newMany);
+		bool isKeyRestricted(void);
+		void setKeyRestricted(bool newKeyRestricted);
+		//ChangeContext* inverseRemove(DASObject* otherEnd, int propertyIndex, ChangeContext* changeContext);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		string toString(void);
+		
+  
+
+};
+
+#endif //RELATIONSHIP_IMPL_H

Added: incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,198 @@
+#include "ResultDescriptorImpl.h"
+
+ResultDescriptorImpl::ResultDescriptorImpl(void) {
+	tableName = TABLE_NAME_DEFAULT_;
+	columnName = COLUMN_NAME_DEFAULT_;
+	columnType = COLUMN_TYPE_DEFAULT_;
+
+}
+
+ResultDescriptorImpl::~ResultDescriptorImpl(void) {
+}
+
+Type* ResultDescriptorImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE).getResultDescriptor();
+}
+
+string ResultDescriptorImpl::getColumnName(void) {
+	return columnName;
+}
+
+void ResultDescriptorImpl::setColumnName(string newColumnName) {
+	columnName = newColumnName;
+}
+
+string ResultDescriptorImpl::getTableName(void) {
+	return tableName;
+}
+
+void ResultDescriptorImpl::setTableName(string newTableName) {
+	tableName = newTableName;
+}
+
+string ResultDescriptorImpl::getColumnType(void) {
+	return columnType;
+}
+
+void ResultDescriptorImpl::setColumnType(string newColumnType) {
+	columnType = newColumnType;
+}
+
+DASObject* ResultDescriptorImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        return getColumnName();
+      case TABLE_NAME:
+        return getTableName();
+      case COLUMN_TYPE:
+        return getColumnType();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void ResultDescriptorImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        setColumnName((String)newValue);
+        return;
+      case TABLE_NAME:
+        setTableName((String)newValue);
+        return;
+      case COLUMN_TYPE:
+        setColumnType((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void ResultDescriptorImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        setColumnName(COLUMN_NAME_DEFAULT_);
+        return;
+      case TABLE_NAME:
+        setTableName(TABLE_NAME_DEFAULT_);
+        return;
+      case COLUMN_TYPE:
+        setColumnType(COLUMN_TYPE_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool ResultDescriptorImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        return COLUMN_NAME_DEFAULT_ == null ? columnName != null : !COLUMN_NAME_DEFAULT_.equals(columnName);
+      case TABLE_NAME:
+        return TABLE_NAME_DEFAULT_ == null ? tableName != null : !TABLE_NAME_DEFAULT_.equals(tableName);
+      case COLUMN_TYPE:
+        return COLUMN_TYPE_DEFAULT_ == null ? columnType != null : !COLUMN_TYPE_DEFAULT_.equals(columnType);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string ResultDescriptorImpl::toString(void) {}
+#include "ResultDescriptorImpl.h"
+
+ResultDescriptorImpl::ResultDescriptorImpl(void) {
+	tableName = TABLE_NAME_DEFAULT_;
+	columnName = COLUMN_NAME_DEFAULT_;
+	columnType = COLUMN_TYPE_DEFAULT_;
+
+}
+
+ResultDescriptorImpl::~ResultDescriptorImpl(void) {
+}
+
+Type* ResultDescriptorImpl::getType(void) {
+	return ((ConfigFactoryImpl*) ConfigFactory::INSTANCE).getResultDescriptor();
+}
+
+string ResultDescriptorImpl::getColumnName(void) {
+	return columnName;
+}
+
+void ResultDescriptorImpl::setColumnName(string newColumnName) {
+	columnName = newColumnName;
+}
+
+string ResultDescriptorImpl::getTableName(void) {
+	return tableName;
+}
+
+void ResultDescriptorImpl::setTableName(string newTableName) {
+	tableName = newTableName;
+}
+
+string ResultDescriptorImpl::getColumnType(void) {
+	return columnType;
+}
+
+void ResultDescriptorImpl::setColumnType(string newColumnType) {
+	columnType = newColumnType;
+}
+
+DASObject* ResultDescriptorImpl::get(int propertyIndex, bool resolve) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        return getColumnName();
+      case TABLE_NAME:
+        return getTableName();
+      case COLUMN_TYPE:
+        return getColumnType();
+    }
+    return super.get(propertyIndex, resolve);*/
+}
+
+void ResultDescriptorImpl::set(int propertyIndex, DASObject* newValue) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        setColumnName((String)newValue);
+        return;
+      case TABLE_NAME:
+        setTableName((String)newValue);
+        return;
+      case COLUMN_TYPE:
+        setColumnType((String)newValue);
+        return;
+    }
+    super.set(propertyIndex, newValue);*/
+}
+
+void ResultDescriptorImpl::unset(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        setColumnName(COLUMN_NAME_DEFAULT_);
+        return;
+      case TABLE_NAME:
+        setTableName(TABLE_NAME_DEFAULT_);
+        return;
+      case COLUMN_TYPE:
+        setColumnType(COLUMN_TYPE_DEFAULT_);
+        return;
+    }
+    super.unset(propertyIndex);*/
+}
+
+bool ResultDescriptorImpl::isSet(int propertyIndex) {
+	/*switch (propertyIndex)
+    {
+      case COLUMN_NAME:
+        return COLUMN_NAME_DEFAULT_ == null ? columnName != null : !COLUMN_NAME_DEFAULT_.equals(columnName);
+      case TABLE_NAME:
+        return TABLE_NAME_DEFAULT_ == null ? tableName != null : !TABLE_NAME_DEFAULT_.equals(tableName);
+      case COLUMN_TYPE:
+        return COLUMN_TYPE_DEFAULT_ == null ? columnType != null : !COLUMN_TYPE_DEFAULT_.equals(columnType);
+    }
+    return super.isSet(propertyIndex);*/
+}
+
+//string ResultDescriptorImpl::toString(void) {}

Added: incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.h?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptorImpl.h Wed Feb  7 20:59:55 2007
@@ -0,0 +1,132 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef RESULT_DESCRIPTOR_IMPL_H
+#define RESULT_DESCRIPTOR_IMPL_H
+
+#include <string>
+
+#include "ResultDescriptor.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class ResultDescriptorImpl : /*public DataObjectBase,*/ public ResultDescriptor {
+  
+	protected:
+		const static string COLUMN_NAME_DEFAULT_;
+		const static string TABLE_NAME_DEFAULT_;
+		const static string COLUMN_TYPE_DEFAULT_;
+
+		string tableName;
+		string columnName;
+		string columnType;
+
+	public:
+		const static int COLUMN_NAME = 0;
+		const static int TABLE_NAME = 1;  
+		const static int COLUMN_TYPE = 2;
+		const static int SDO_PROPERTY_COUNT = 3;
+
+		ResultDescriptorImpl(void);
+		virtual ~ResultDescriptorImpl(void);
+		Type* getType(void);
+		string getColumnName(void);
+		void setColumnName(string newColumnName);
+		string getTableName(void);
+		void setTableName(string newTableName);
+		string getColumnType(void);
+		void setColumnType(string newColumnType);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+
+};
+
+#endif //RESULT_DESCRIPTOR_IMPL_H
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#ifndef RESULT_DESCRIPTOR_IMPL_H
+#define RESULT_DESCRIPTOR_IMPL_H
+
+#include <string>
+
+#include "ResultDescriptor.h"
+#include "DASObject.h"
+
+#include "commonj/sdo/Type.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class ResultDescriptorImpl : /*public DataObjectBase,*/ public ResultDescriptor {
+  
+	protected:
+		const static string COLUMN_NAME_DEFAULT_;
+		const static string TABLE_NAME_DEFAULT_;
+		const static string COLUMN_TYPE_DEFAULT_;
+
+		string tableName;
+		string columnName;
+		string columnType;
+
+	public:
+		const static int COLUMN_NAME = 0;
+		const static int TABLE_NAME = 1;  
+		const static int COLUMN_TYPE = 2;
+		const static int SDO_PROPERTY_COUNT = 3;
+
+		ResultDescriptorImpl(void);
+		virtual ~ResultDescriptorImpl(void);
+		Type* getType(void);
+		string getColumnName(void);
+		void setColumnName(string newColumnName);
+		string getTableName(void);
+		void setTableName(string newTableName);
+		string getColumnType(void);
+		void setColumnType(string newColumnType);
+		DASObject* get(int propertyIndex, bool resolve);
+		void set(int propertyIndex, DASObject* newValue);
+		void unset(int propertyIndex);
+		bool isSet(int propertyIndex);
+		//string toString(void);
+
+};
+
+#endif //RESULT_DESCRIPTOR_IMPL_H

Added: incubator/tuscany/cpp/das/runtime/core/src/TableData.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/TableData.cpp?view=auto&rev=504781
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/TableData.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/TableData.cpp Wed Feb  7 20:59:55 2007
@@ -0,0 +1,164 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "TableData.h"
+
+TableData::TableData(string tableName) {
+	boolHasValidPrimaryKey = true;
+
+	/*if (this.logger.isDebugEnabled()) {
+        this.logger.debug("Creating TableData for table " + tableName);
+    }*/
+
+    name = tableName;
+
+}
+
+TableData::~TableData(void) {
+}
+
+void TableData::addData(string columnName, bool isPrimaryKeyColumn, DASObject* data) {
+
+	/*if (this.logger.isDebugEnabled()) {
+        this.logger.debug("Adding column " + columnName + " with value " + data);
+    }*/
+
+    columnData.insert(make_pair(columnName, data));
+
+    if (isPrimaryKeyColumn) {
+
+        if (data == NULL) {
+
+            /*if (this.logger.isDebugEnabled()) {
+                this.logger.debug("Column " + columnName + " is a primary key column and is null");
+            }*/
+
+            boolHasValidPrimaryKey = false;
+
+        }
+
+        primaryKey.insert(data);
+
+    }
+
+}
+
+DASObject* TableData::getColumnData(string columnName) {
+	map<string, DASObject*>::iterator it = columnData.find(columnName);
+
+	if (it == columnData.end()) {
+		return NULL;
+	}
+
+	return it->second;
+
+}
+
+string TableData::getTableName(void) {
+	return name;
+}
+
+list<DASObject*>* TableData::getPrimaryKeyValues(void) {
+	return &primaryKey;
+}
+
+bool TableData::hasValidPrimaryKey(void) {
+	return boolHasValidPrimaryKey;
+}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.    
+ */
+#include "TableData.h"
+
+TableData::TableData(string tableName) {
+	boolHasValidPrimaryKey = true;
+
+	/*if (this.logger.isDebugEnabled()) {
+        this.logger.debug("Creating TableData for table " + tableName);
+    }*/
+
+    name = tableName;
+
+}
+
+TableData::~TableData(void) {
+}
+
+void TableData::addData(string columnName, bool isPrimaryKeyColumn, DASObject* data) {
+
+	/*if (this.logger.isDebugEnabled()) {
+        this.logger.debug("Adding column " + columnName + " with value " + data);
+    }*/
+
+    columnData.insert(make_pair(columnName, data));
+
+    if (isPrimaryKeyColumn) {
+
+        if (data == NULL) {
+
+            /*if (this.logger.isDebugEnabled()) {
+                this.logger.debug("Column " + columnName + " is a primary key column and is null");
+            }*/
+
+            boolHasValidPrimaryKey = false;
+
+        }
+
+        primaryKey.insert(data);
+
+    }
+
+}
+
+DASObject* TableData::getColumnData(string columnName) {
+	map<string, DASObject*>::iterator it = columnData.find(columnName);
+
+	if (it == columnData.end()) {
+		return NULL;
+	}
+
+	return it->second;
+
+}
+
+string TableData::getTableName(void) {
+	return name;
+}
+
+list<DASObject*>* TableData::getPrimaryKeyValues(void) {
+	return &primaryKey;
+}
+
+bool TableData::hasValidPrimaryKey(void) {
+	return boolHasValidPrimaryKey;
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org