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

java.lang.Object
  extended by org.lexevs.dao.database.setup.schemacheck.AbstractLesGridSchemaCheck
      extended by org.lexevs.dao.database.setup.schemacheck.CountBasedLexGridSchemaCheck
All Implemented Interfaces:
LexGridSchemaCheck

public class CountBasedLexGridSchemaCheck
extends AbstractLesGridSchemaCheck

The Class CountBasedLexGridSchemaCheck.

Author:
Kevin Peterson

Constructor Summary
CountBasedLexGridSchemaCheck()
          Instantiates a new count based lex grid schema check.
CountBasedLexGridSchemaCheck(javax.sql.DataSource dataSource, SystemVariables systemVariables)
          Instantiates a new count based lex grid schema check.
 
Method Summary
protected  boolean checkResult(org.springframework.jdbc.core.JdbcTemplate template, java.lang.String sql)
          Check result.
 java.lang.String getCheckTableName()
          Gets the check table name.
protected  java.lang.String getDbCheckSql()
          Gets the db check sql.
 void setCheckTableName(java.lang.String checkTableName)
          Sets the check table name.
 
Methods inherited from class org.lexevs.dao.database.setup.schemacheck.AbstractLesGridSchemaCheck
getDataSource, getSystemVariables, isCommonLexGridSchemaInstalled, setDataSource, setSystemVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountBasedLexGridSchemaCheck

public CountBasedLexGridSchemaCheck()
Instantiates a new count based lex grid schema check.


CountBasedLexGridSchemaCheck

public CountBasedLexGridSchemaCheck(javax.sql.DataSource dataSource,
                                    SystemVariables systemVariables)
Instantiates a new count based lex grid schema check.

Parameters:
dataSource - the data source
prefixResolver - the prefix resolver
Method Detail

checkResult

protected boolean checkResult(org.springframework.jdbc.core.JdbcTemplate template,
                              java.lang.String sql)
Description copied from class: AbstractLesGridSchemaCheck
Check result.

Specified by:
checkResult in class AbstractLesGridSchemaCheck
Parameters:
template - the template
sql - the sql
Returns:
true, if successful

getDbCheckSql

protected java.lang.String getDbCheckSql()
Description copied from class: AbstractLesGridSchemaCheck
Gets the db check sql.

Specified by:
getDbCheckSql in class AbstractLesGridSchemaCheck
Returns:
the db check sql

setCheckTableName

public void setCheckTableName(java.lang.String checkTableName)
Sets the check table name.

Parameters:
checkTableName - the new check table name

getCheckTableName

public java.lang.String getCheckTableName()
Gets the check table name.

Returns:
the check table name

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.