Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-07-07 09:36:24 +0000
committerEike Stepper2007-07-07 09:36:24 +0000
commit7ed99801715e435108708ddf721820ccf576af00 (patch)
tree7248d26532f7635897ee5d89a33279ababacdfa6 /plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBSchema.java
parent1f5ddf4721a15bc9a0b755b9a1352a6f757fae62 (diff)
downloadcdo-7ed99801715e435108708ddf721820ccf576af00.tar.gz
cdo-7ed99801715e435108708ddf721820ccf576af00.tar.xz
cdo-7ed99801715e435108708ddf721820ccf576af00.zip
task 1: Develop 0.8.0
Diffstat (limited to 'plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBSchema.java')
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBSchema.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBSchema.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBSchema.java
new file mode 100644
index 0000000000..09466b3097
--- /dev/null
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBSchema.java
@@ -0,0 +1,29 @@
+/***************************************************************************
+ * Copyright (c) 2004 - 2007 Eike Stepper, Germany.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ **************************************************************************/
+package org.eclipse.net4j.db;
+
+import javax.sql.DataSource;
+
+/**
+ * @author Eike Stepper
+ */
+public interface IDBSchema
+{
+ public String getName();
+
+ public IDBTable addTable(String name);
+
+ public IDBTable getTable(String name);
+
+ public IDBTable[] getTables();
+
+ public void create(IDBAdapter dbAdapter, DataSource dataSource);
+}

Back to the top