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

java.lang.Objectorg.synchronoss.cpo.transform.jdbc.TransformNoOp
public class TransformNoOp
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 | |
|---|---|
TransformNoOp()
|
|
| Method Summary | |
|---|---|
int |
transformIn(int dbIn)
Transforms the datasource object into an object required by the class. |
int |
transformOut(JdbcCallableStatementFactory jcsf,
int attrOut)
Transforms the data from the class attribute to the object required by the datasource. |
int |
transformOut(JdbcPreparedStatementFactory jpsf,
int attrOut)
Transforms the data from the class attribute to the object required by the datasource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformNoOp()
| Method Detail |
|---|
public int transformIn(int dbIn)
throws CpoException
dbIn - The value from the datasource that will be transformed into
the format that is required by the pojo.
CpoException
public int transformOut(JdbcCallableStatementFactory jcsf,
int attrOut)
throws CpoException
jcsf - a reference to the JdbcCallableStatementFactory. This is necessary as some
DBMSs (ORACLE !#$%^&!) that require access to the connection to deal with certain
datatypes.attrOut - The attribute object that needs to get transformed into the db representation
CpoException
public int transformOut(JdbcPreparedStatementFactory jpsf,
int attrOut)
throws CpoException
jpsf - a reference to the JdbcPreparedStatementFactory. This is necessary as some
DBMSs (ORACLE !#$%^&!) that require access to the connection to deal with certain
datatypes.attrOut - The attribute object that needs to get transformed into the db representation
CpoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||