protected Database getCurrentDatabase() { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31246, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31246)); } return this.currentDatabase; }
public DataWrapper removeDataWrapper(String wrapperName) { DataWrapper wrapper = this.wrappers.get(wrapperName); if (wrapper == null) { throw new MetadataException(DataPlugin.Event.TEIID60023, DataPlugin.Util.gs(DataPlugin.Event.TEIID60023, wrapperName)); } return this.wrappers.remove(wrapperName); }
public Server removeServer(String serverName) { Server server = this.servers.get(serverName); if (server == null) { throw new MetadataException(DataPlugin.Event.TEIID60027, DataPlugin.Util.gs(DataPlugin.Event.TEIID60027, serverName)); } return this.servers.remove(serverName); }
protected Schema getCurrentSchema() { if (this.currentSchema == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31235, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31235)); } return this.currentSchema; }
protected void verifyDatabaseExists() { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31233, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31233)); } }
protected void verifyDatabaseExists() { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31233, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31233)); } }
protected Schema getCurrentSchema() { if (this.currentSchema == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31235, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31235)); } return this.currentSchema; }
protected Schema getCurrentSchema() { if (this.currentSchema == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31235, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31235)); } return this.currentSchema; }
protected Database getCurrentDatabase() { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31246, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31246)); } return this.currentDatabase; }
protected void verifyDatabaseExists() { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31233, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31233)); } }
protected Database getCurrentDatabase() { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31246, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31246)); } return this.currentDatabase; }
public void importSchema(String schemaName, String serverType, String serverName, String foreignSchemaName, List<String> includeTables, List<String> excludeTables, Map<String,String> properties) { throw new MetadataException(QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31221)); }
public void importSchema(String schemaName, String serverType, String serverName, String foreignSchemaName, List<String> includeTables, List<String> excludeTables, Map<String,String> properties) { throw new MetadataException(QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31221)); }
public void importSchema(String schemaName, String serverType, String serverName, String foreignSchemaName, List<String> includeTables, List<String> excludeTables, Map<String,String> properties) { throw new MetadataException(QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31221)); }
public void importDatabase(String dbName, String version, boolean importPolicies) { throw new MetadataException(QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31226)); }
public void importDatabase(String dbName, String version, boolean importPolicies) { throw new MetadataException(QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31226)); }
public void importDatabase(String dbName, String version, boolean importPolicies) { throw new MetadataException(QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31226)); }
protected void verifyCurrentDatabaseIsNotSame(String dbName, String version) { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31233, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31233)); } if (this.currentDatabase.getName().equalsIgnoreCase(dbName) && this.currentDatabase.getVersion().equalsIgnoreCase(version)) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31227, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31227, dbName, version)); } }
protected void verifyCurrentDatabaseIsNotSame(String dbName, String version) { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31233, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31233)); } if (this.currentDatabase.getName().equalsIgnoreCase(dbName) && this.currentDatabase.getVersion().equalsIgnoreCase(version)) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31227, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31227, dbName, version)); } }
protected void verifyCurrentDatabaseIsNotSame(String dbName, String version) { if (this.currentDatabase == null) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31233, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31233)); } if (this.currentDatabase.getName().equalsIgnoreCase(dbName) && this.currentDatabase.getVersion().equalsIgnoreCase(version)) { throw new org.teiid.metadata.MetadataException(QueryPlugin.Event.TEIID31227, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31227, dbName, version)); } }