Expresso 5-5-0

com.jcorporate.expresso.core.dbobj.tests
Class TestSchema

java.lang.Object
  extended bycom.jcorporate.expresso.kernel.ComponentBase
      extended bycom.jcorporate.expresso.kernel.ContainerComponentBase
          extended bycom.jcorporate.expresso.core.dbobj.Schema
              extended bycom.jcorporate.expresso.core.dbobj.tests.TestSchema
All Implemented Interfaces:
ComponentLifecycle, Containable, Describable, ExpressoComponent, RegistrationFactory, Serializable

public class TestSchema
extends Schema

Test Schema object - used by the test cases to create appropriate tables for tests

Version:
$Revision: 1.7 $ $Date: 2003/06/03 06:12:14 $
Author:
Michael Nash
See Also:
Serialized Form

Constructor Summary
TestSchema()
          Constructor
 
Method Summary
 String getDefaultComponentCode()
          Returns the default component code for this schema.
 String getDefaultDescription()
          Returns the default description for this schema.
 String getMessageBundlePath()
          Return the path, relative to the classpath, of the MessageBundle file for this schema.
 
Methods inherited from class com.jcorporate.expresso.core.dbobj.Schema
add, add, add, add, add, add, add, addCategory, addController, addController, addController, addController, addDBObject, addDBObject, addDBObject, addDBObject, addDBObject, addJob, addJob, addJob, addJob, addReportPage, addReportPage, addReportPage, addServlet, addServlet, addServlet, addServlet, addSetup, addSetup, configure, contains, createAsNeeded, createTable, destroy, getConfig, getControllerList, getControllers, getDBName, getDBObjMap, getExpressoToSQLMap, getInstance, getJavaSQLType, getJobs, getLoginController, getMembers, getMetadataLocation, getRegistrationController, getReports, getRequestingUser, getServlets, getSetupDefault, getSetupValue, getSQLToDBMap, getStartController, getString, getTests, getVersion, initialize, instantiate, otherSetup, otherSetup, otherSetup, populateSchemaData, reconfigure, requiresVersion, setDBName, setRequestingUser, setSetupValue, setupDefaultValues, setupDefaultValuesWithException, typeForDB, typeForExpresso
 
Methods inherited from class com.jcorporate.expresso.kernel.ContainerComponentBase
getContainerImplementation, locateComponent, setContainerImplementation
 
Methods inherited from class com.jcorporate.expresso.kernel.ComponentBase
getMetaData, getParent, setMetaData, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jcorporate.expresso.kernel.ExpressoComponent
getMetaData, getParent, setParent
 

Constructor Detail

TestSchema

public TestSchema()
           throws DBException
Constructor

Throws:
DBException
Method Detail

getMessageBundlePath

public String getMessageBundlePath()
Description copied from class: Schema
Return the path, relative to the classpath, of the MessageBundle file for this schema. For example, the Expresso schema (com.jcorporate.expresso.core.ExpressoSchema) returns "com/jcorporate/expresso/core", as this is where it's message files are stored.

Overrides:
getMessageBundlePath in class Schema
Returns:

getDefaultComponentCode

public String getDefaultComponentCode()
Returns the default component code for this schema. Useful for automated component testing/installation

Overrides:
getDefaultComponentCode in class Schema
Returns:
the component code string as defined by the derived schema class

getDefaultDescription

public String getDefaultDescription()
Returns the default description for this schema. Useful for automated component testing/installation

Overrides:
getDefaultDescription in class Schema
Returns:
the component friendly name as defined by the derived schema class

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.