View Javadoc
1 /* 2 * Created on 2003-5-21 22:55:47 3 * 4 * To change the template for this generated file go to 5 * Window>Preferences>Java>Code Generation>Code and Comments 6 */ 7 package com.cyclops.dbdigger.schema; 8 /*** Schema model interface 9 * 10 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a> 11 * @since 2003-5-21 22:55:47 12 */ 13 public interface Schema { 14 /*** Role in avalon framework */ 15 String ROLE = "dbdigger.schema"; 16 /*** Empty Schema object array */ 17 String DEFAULT_DATABASE_NAME = "default"; 18 /*** 19 * Find a Database object by its name in this Schema 20 * @param databaseName Name of the database to be find 21 * @return The found Database object, null if not found 22 */ 23 Database getDatabase(String databaseName); 24 /***@return All Database objects in this Schema */ 25 Database[] getDatabases(); 26 /***@return Default Database obect in this Schema */ 27 Database getDefaultDatabase(); 28 }

This page was automatically generated by Maven