diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.db/src/org/eclipse/jpt/jpa/db/internal/driver/CatalogStrategy.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.db/src/org/eclipse/jpt/jpa/db/internal/driver/CatalogStrategy.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.db/src/org/eclipse/jpt/jpa/db/internal/driver/CatalogStrategy.java b/jpa/plugins/org.eclipse.jpt.jpa.db/src/org/eclipse/jpt/jpa/db/internal/driver/CatalogStrategy.java deleted file mode 100644 index 1fa345a172..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.db/src/org/eclipse/jpt/jpa/db/internal/driver/CatalogStrategy.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 2011 Oracle. 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: - * Oracle - initial API and implementation - ******************************************************************************/ -package org.eclipse.jpt.jpa.db.internal.driver; - -import java.util.List; -import org.eclipse.datatools.modelbase.sql.schema.Catalog; -import org.eclipse.datatools.modelbase.sql.schema.Schema; - -/** - * Adapt the variety of catalog (and schema) configurations generated by - * DTP-supplied drivers. - */ -interface CatalogStrategy { - - /** - * Return whether the DTP database has "real" catalogs (i.e. catalogs that - * can be specified by the user). - */ - boolean supportsCatalogs(); - - /** - * Return the DTP database's catalogs. This will be empty if the database - * does <em>not</em> support catalogs. - * @see #supportsCatalogs() - */ - List<Catalog> getCatalogs(); - - /** - * Return the DTP database's schemas. This will be empty if the database - * supports catalogs. - * @see #supportsCatalogs() - */ - List<Schema> getSchemas(); -} |