diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.db/src/org/eclipse/jpt/db/internal/vendor/UnrecognizedVendor.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.db/src/org/eclipse/jpt/db/internal/vendor/UnrecognizedVendor.java | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.db/src/org/eclipse/jpt/db/internal/vendor/UnrecognizedVendor.java b/jpa/plugins/org.eclipse.jpt.db/src/org/eclipse/jpt/db/internal/vendor/UnrecognizedVendor.java deleted file mode 100644 index f5751232ff..0000000000 --- a/jpa/plugins/org.eclipse.jpt.db/src/org/eclipse/jpt/db/internal/vendor/UnrecognizedVendor.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.db.internal.vendor; - -/** - * - */ -class UnrecognizedVendor - extends AbstractVendor -{ - // singleton - private static final Vendor INSTANCE = new UnrecognizedVendor(); - - /** - * Return the singleton. - */ - static Vendor instance() { - return INSTANCE; - } - - /** - * Ensure single instance. - */ - private UnrecognizedVendor() { - super(); - } - - @Override - public String getDTPVendorName() { - return "Unrecognized Vendor"; //$NON-NLS-1$ - } - - /** - * Not sure what to do here.... - * Assume the DTP database is organized into one or more catalogs and - * the schemata are contained by those catalogs. This appears to be the - * default way DTP builds models these days (i.e. a database with at - * least one catalog, instead of the database holding schemata - * directly). - */ - @Override - CatalogStrategy getCatalogStrategy() { - return UnknownCatalogStrategy.instance(); - } - - @Override - FoldingStrategy getFoldingStrategy() { - return UpperCaseFoldingStrategy.instance(); - } - -} |