org.lexevs.dao.database.setup.schemacheck
Class LexGridSchemaCheckFactory

java.lang.Object
  extended by org.lexevs.dao.database.setup.schemacheck.LexGridSchemaCheckFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class LexGridSchemaCheckFactory
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

A factory for creating LexGridSchemaCheck objects.


Constructor Summary
LexGridSchemaCheckFactory()
           
 
Method Summary
 void afterPropertiesSet()
           
 DatabaseType getDatabaseType()
          Gets the database type.
 javax.sql.DataSource getDataSource()
          Gets the data source.
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 SystemVariables getSystemVariables()
           
 boolean isSingleton()
           
 void setDatabaseType(DatabaseType databaseType)
          Sets the database type.
 void setDataSource(javax.sql.DataSource dataSource)
          Sets the data source.
 void setSystemVariables(SystemVariables systemVariables)
          Sets the prefix resolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexGridSchemaCheckFactory

public LexGridSchemaCheckFactory()
Method Detail

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

setDatabaseType

public void setDatabaseType(DatabaseType databaseType)
Sets the database type.

Parameters:
databaseType - the new database type

getDatabaseType

public DatabaseType getDatabaseType()
Gets the database type.

Returns:
the database type

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)
Sets the data source.

Parameters:
dataSource - the new data source

getDataSource

public javax.sql.DataSource getDataSource()
Gets the data source.

Returns:
the data source

setSystemVariables

public void setSystemVariables(SystemVariables systemVariables)
Sets the prefix resolver.

Parameters:
prefixResolver - the new prefix resolver

getSystemVariables

public SystemVariables getSystemVariables()

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.