|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.synchronoss.cpo.transform.jdbc.TransformTimestampToCalendar
public class TransformTimestampToCalendar
This is an example of a transform that does nothing. It is used to test the mechanics of the transform logic within CPO.
| Constructor Summary | |
|---|---|
TransformTimestampToCalendar()
|
|
| Method Summary | |
|---|---|
java.util.Calendar |
transformIn(java.sql.Timestamp ts)
Transforms the java.sql.Timestamp returned from JDBC into
a java.util.Calendar to be used by the class. |
java.sql.Timestamp |
transformOut(JdbcCallableStatementFactory jcsf,
java.util.Calendar cal)
Transforms a java.util.Calendar from the CPO Bean into
a java.sql.Timestamp to be stored by JDBC |
java.sql.Timestamp |
transformOut(JdbcPreparedStatementFactory jpsf,
java.util.Calendar cal)
Transforms a java.util.Calendar from the CPO Bean into
a java.sql.Timestamp to be stored by JDBC |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformTimestampToCalendar()
| Method Detail |
|---|
public java.util.Calendar transformIn(java.sql.Timestamp ts)
throws CpoException
java.sql.Timestamp returned from JDBC into
a java.util.Calendar to be used by the class.
ts - The Timestamp from JDBC.
CpoException
public java.sql.Timestamp transformOut(JdbcCallableStatementFactory jcsf,
java.util.Calendar cal)
throws CpoException
java.util.Calendar from the CPO Bean into
a java.sql.Timestamp to be stored by JDBC
jcsf - a reference to the JdbcCallableStatementFactory. This is necessary as some
DBMSs (ORACLE !#$%^&!) that require access to the connection to deal with certain
datatypes.A - Calendar instance
CpoException
public java.sql.Timestamp transformOut(JdbcPreparedStatementFactory jpsf,
java.util.Calendar cal)
throws CpoException
java.util.Calendar from the CPO Bean into
a java.sql.Timestamp to be stored by JDBC
jpsf - a reference to the JdbcPreparedStatementFactory. This is necessary as some
DBMSs (ORACLE !#$%^&!) that require access to the connection to deal with certain
datatypes.A - Calendar instance
CpoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||