|
||||||||||
| 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 | |
|---|---|
Integer |
transformIn(Integer dbIn)
Transforms the datasource object into an object required by the class. |
Integer |
transformOut(Integer j)
|
Integer |
transformOut(JdbcCallableStatementFactory jcsf,
Integer attrOut)
Transforms the data from the class attribute to the object required by the datasource. |
Integer |
transformOut(JdbcPreparedStatementFactory jpsf,
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 Integer transformIn(Integer dbIn)
throws CpoException
transformIn in interface CpoTransform<Integer,Integer>dbIn - The value from the datasource that will be transformed into the format that is required by the pojo.
CpoException
public Integer transformOut(JdbcCallableStatementFactory jcsf,
Integer attrOut)
throws CpoException
transformOut in interface JdbcCpoTransform<Integer,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 Integer transformOut(JdbcPreparedStatementFactory jpsf,
Integer attrOut)
throws CpoException
transformOut in interface JdbcCpoTransform<Integer,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
public Integer transformOut(Integer j)
throws CpoException,
UnsupportedOperationException
transformOut in interface CpoTransform<Integer,Integer>CpoException
UnsupportedOperationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||