|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.sql.SQLClock
public class SQLClock
| Field Summary | |
|---|---|
static String |
DEFAULT_SQL
|
| Constructor Summary | |
|---|---|
SQLClock()
|
|
| Method Summary | |
|---|---|
Clock |
getClock()
|
String |
getName()
Get the name. |
void |
setConnection(Connection connection)
|
void |
setName(String name)
Set the name |
void |
setSql(String sql)
|
void |
start()
|
void |
stop()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_SQL
| Constructor Detail |
|---|
public SQLClock()
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name.
public void start()
throws SQLException
SQLException
public void stop()
throws SQLException
SQLExceptionpublic Clock getClock()
public void setSql(String sql)
Property: sql
Description: The sql to provide time.
Required: No.
public void setConnection(Connection connection)
Property: connection
Description: The ConnectionType to use.
Required: Yes.
public String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||