org.lexevs.registry.xmltransfer
Class RegistryXmlToDatabaseTransfer

java.lang.Object
  extended by org.lexevs.logging.AbstractLoggingBean
      extended by org.lexevs.registry.xmltransfer.RegistryXmlToDatabaseTransfer
All Implemented Interfaces:
LoggingBean, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
DatabaseRegistryTest.TestingRegistryXmlToDatabaseTransfer

public class RegistryXmlToDatabaseTransfer
extends AbstractLoggingBean
implements org.springframework.beans.factory.InitializingBean

The Class RegistryXmlToDatabaseTransfer.

Author:
Kevin Peterson

Constructor Summary
RegistryXmlToDatabaseTransfer()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  void deleteRegistryXmlFile()
          Delete registry xml file exist.
protected  boolean doesRegistryXmlFileExist()
          Does registry xml file exist.
 Registry getDatabaseRegistry()
          Gets the database registry.
 SystemVariables getSystemVariables()
          Gets the system variables.
 Registry getXmlRegistry()
          Gets the xml registry.
 boolean isLexGridSchemaInstalled()
          Checks if is lex grid schema installed.
 void setDatabaseRegistry(Registry databaseRegistry)
          Sets the database registry.
 void setLexGridSchemaInstalled(boolean isLexGridSchemaInstalled)
          Sets the lex grid schema installed.
 void setSystemVariables(SystemVariables systemVariables)
          Sets the system variables.
 void setXmlRegistry(Registry xmlRegistry)
          Sets the xml registry.
 
Methods inherited from class org.lexevs.logging.AbstractLoggingBean
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryXmlToDatabaseTransfer

public RegistryXmlToDatabaseTransfer()
Method Detail

afterPropertiesSet

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

deleteRegistryXmlFile

protected void deleteRegistryXmlFile()
Delete registry xml file exist.


doesRegistryXmlFileExist

protected boolean doesRegistryXmlFileExist()
Does registry xml file exist.

Returns:
true, if successful

getSystemVariables

public SystemVariables getSystemVariables()
Gets the system variables.

Returns:
the system variables

setSystemVariables

public void setSystemVariables(SystemVariables systemVariables)
Sets the system variables.

Parameters:
systemVariables - the new system variables

getDatabaseRegistry

public Registry getDatabaseRegistry()
Gets the database registry.

Returns:
the database registry

setDatabaseRegistry

public void setDatabaseRegistry(Registry databaseRegistry)
Sets the database registry.

Parameters:
databaseRegistry - the new database registry

getXmlRegistry

public Registry getXmlRegistry()
Gets the xml registry.

Returns:
the xml registry

setXmlRegistry

public void setXmlRegistry(Registry xmlRegistry)
Sets the xml registry.

Parameters:
xmlRegistry - the new xml registry

isLexGridSchemaInstalled

public boolean isLexGridSchemaInstalled()
Checks if is lex grid schema installed.

Returns:
true, if is lex grid schema installed

setLexGridSchemaInstalled

public void setLexGridSchemaInstalled(boolean isLexGridSchemaInstalled)
Sets the lex grid schema installed.

Parameters:
isLexGridSchemaInstalled - the new lex grid schema installed

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.