|
||||||||||
| 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 | |
|---|---|
java.lang.Integer |
transformIn(java.lang.Integer dbIn)
Transforms the datasource object into an object required by the class. |
java.lang.Integer |
transformOut(JdbcCallableStatementFactory jcsf,
java.lang.Integer attrOut)
Transforms the data from the class attribute to the object required by the datasource. |
java.lang.Integer |
transformOut(JdbcPreparedStatementFactory jpsf,
java.lang.Integer 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 java.lang.Integer transformIn(java.lang.Integer dbIn)
throws CpoException
transformIn in interface Transform<java.lang.Integer,java.lang.Integer>dbIn - The value from the datasource that will be transformed into
the format that is required by the pojo.
CpoException
public java.lang.Integer transformOut(JdbcCallableStatementFactory jcsf,
java.lang.Integer attrOut)
throws CpoException
transformOut in interface Transform<java.lang.Integer,java.lang.Integer>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 java.lang.Integer transformOut(JdbcPreparedStatementFactory jpsf,
java.lang.Integer attrOut)
throws CpoException
transformOut in interface Transform<java.lang.Integer,java.lang.Integer>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 | |||||||||