public class TransformStringChar extends Object implements JdbcCpoTransform<String,char[]>
| Constructor and Description |
|---|
TransformStringChar() |
| Modifier and Type | Method and Description |
|---|---|
char[] |
transformIn(String lvc)
Transforms the datasource object into an object required by the class
|
String |
transformOut(char[] j) |
String |
transformOut(JdbcCallableStatementFactory jpsf,
char[] attributeObject) |
String |
transformOut(JdbcPreparedStatementFactory jpsf,
char[] attrObj)
Transforms the data from the class attribute to the object required by the datasource
|
public char[] transformIn(String lvc) throws CpoException
transformIn in interface CpoTransform<String,char[]>cpoAdapter - The CpoAdapter for the datasource where the attribute is being retrievedparentObject - The object that contains the attribute being retrieved.The - object that represents the datasource object being retrievedCpoExceptionpublic String transformOut(JdbcPreparedStatementFactory jpsf, char[] attrObj) throws CpoException
transformOut in interface JdbcCpoTransform<String,char[]>cpoAdapter - The CpoAdapter for the datasource where the attribute is being persistedparentObject - The object that contains the attribute being persisted.attributeObject - The object that represents the attribute being persisted.CpoExceptionpublic String transformOut(JdbcCallableStatementFactory jpsf, char[] attributeObject) throws CpoException, UnsupportedOperationException
transformOut in interface JdbcCpoTransform<String,char[]>CpoExceptionUnsupportedOperationExceptionpublic String transformOut(char[] j) throws CpoException, UnsupportedOperationException
transformOut in interface CpoTransform<String,char[]>CpoExceptionUnsupportedOperationExceptionCopyright © 2014. All Rights Reserved.