public interface Converter<J,S> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
J |
convertToJava(S 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.
|
S |
convertToSap(J 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).
|
J convertToJava(S sapValue) throws ConversionException
sapValue - The object which is returned by the SAP interfaceConversionException - if the value can not be convertedS convertToSap(J javaValue) throws ConversionException
javaValue - The value of the BAPI class fieldConversionException - if the value can not be convertedCopyright © 2017 akquinet tech@spree GmbH. All Rights Reserved.