com.scooterframework.orm.sqldataexpress.config
Class SqlConfig

java.lang.Object
  extended by com.scooterframework.orm.sqldataexpress.config.SqlConfig
All Implemented Interfaces:
java.util.Observer

public class SqlConfig
extends java.lang.Object
implements java.util.Observer

SqlConfig class.


Field Summary
static java.lang.String DATA_PROPERTIES_FILE
           
 
Method Summary
static SqlConfig getInstance()
           
 java.lang.String getSql(java.lang.String key)
          Returns the SQL statement string associated with the key.
protected  void init()
          Initializes the application.
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_PROPERTIES_FILE

public static final java.lang.String DATA_PROPERTIES_FILE
See Also:
Constant Field Values
Method Detail

getInstance

public static SqlConfig getInstance()

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer

getSql

public java.lang.String getSql(java.lang.String key)
Returns the SQL statement string associated with the key.

Parameters:
key - the key to the SQL string
Returns:
a SQL string

init

protected void init()
Initializes the application. This method can be overridden by the same method in subclass.