Package org.synchronoss.cpo.jdbc
Class CallableStatementCpoData
java.lang.Object
org.synchronoss.cpo.core.AbstractCpoData
org.synchronoss.cpo.core.meta.AbstractBindableCpoData
org.synchronoss.cpo.jdbc.AbstractStatementCpoData
org.synchronoss.cpo.jdbc.CallableStatementCpoData
- All Implemented Interfaces:
CpoData
Moves a bound attribute's value to or from a JDBC
CallableStatement IN/OUT parameter,
applying any configured JdbcCpoTransform along the way.- Author:
- dberry
-
Constructor Summary
ConstructorsConstructorDescriptionCallableStatementCpoData(CallableStatement cs, CpoAttribute cpoAttribute, int index) Constructs a CallableStatementCpoDataCallableStatementCpoData(JdbcCallableStatementFactory jcsf, CpoAttribute cpoAttribute, int index) Constructs a CallableStatementCpoData -
Method Summary
Modifier and TypeMethodDescriptionvoidinvokeSetter(Object instanceObject) transformOut(Object attributeObject) Methods inherited from class org.synchronoss.cpo.core.meta.AbstractBindableCpoData
getIndexMethods inherited from class org.synchronoss.cpo.core.AbstractCpoData
getCpoAttribute, getDataGetterReturnType, getDataSetterParamType, setCpoAttribute, transformIn
-
Constructor Details
-
CallableStatementCpoData
Constructs a CallableStatementCpoData- Parameters:
cs- - The callable statementcpoAttribute- - The attribute to add.index- - The index of the attribute in the callable statement
-
CallableStatementCpoData
public CallableStatementCpoData(JdbcCallableStatementFactory jcsf, CpoAttribute cpoAttribute, int index) Constructs a CallableStatementCpoData- Parameters:
jcsf- - The factory for building the callable statementcpoAttribute- - The attribute to add.index- - The index of the attribute in the callable statement
-
-
Method Details
-
transformOut
- Specified by:
transformOutin interfaceCpoData- Overrides:
transformOutin classAbstractCpoData- Throws:
CpoException
-
invokeGetter
- Specified by:
invokeGetterin interfaceCpoData- Overrides:
invokeGetterin classAbstractCpoData- Throws:
CpoException
-
invokeSetter
- Specified by:
invokeSetterin interfaceCpoData- Overrides:
invokeSetterin classAbstractCpoData- Throws:
CpoException
-