|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.v0_6.impl.TimeDao
public class TimeDao
A DAO providing access to the system time on the database server. This avoids relying on the clock of this system which may be different.
| Constructor Summary | |
|---|---|
TimeDao(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.util.Date |
getSystemTime()
Gets the system time of the database server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeDao(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
jdbcTemplate - Used to access the database.| Method Detail |
|---|
public java.util.Date getSystemTime()
getSystemTime in interface SystemTimeLoader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||