|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibersap.conversion.CharConverter
public class CharConverter
Constructor Summary | |
---|---|
CharConverter()
|
Method Summary | |
---|---|
java.lang.Object |
convertToJava(java.lang.Object sapValue)
Convert the SAP value, as it is returned by the underlying interfacing technology (e.g. the SAP Java Connector, JCo) to the Java data type of the corresponding BAPI class field. |
java.lang.Object |
convertToSap(java.lang.Object javaValue)
Convert the Java value of the corresponding BAPI class field to the data type as it is expected by the underlying interfacing technology (e.g. the SAP Java Connector, JCo). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharConverter()
Method Detail |
---|
public java.lang.Object convertToJava(java.lang.Object sapValue) throws ConversionException
Converter
convertToJava
in interface Converter
sapValue
- The object which is returned by the SAP interface
ConversionException
- if the value can not be convertedpublic java.lang.Object convertToSap(java.lang.Object javaValue) throws ConversionException
Converter
convertToSap
in interface Converter
javaValue
- The value of the BAPI class field
ConversionException
- if the value can not be converted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |