public interface FieldArrayMapper
Modifier and Type | Method and Description |
---|---|
List<Object> |
genericMapping(com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray nativeData)
Creates a list of Objects that matches the given native odbc fields
|
com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray |
genericMapping(List<Object> objects)
Creates a native odbc field array (HFIELDDATAArray) with values that match to the given java objects.
|
Map<String,Object> |
typedMapping(DDC definition,
com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray nativeData)
Reads the values from the given native odbc field array to a named property map.
|
com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray |
typedMapping(DDC definition,
Map<String,Object> properties)
Creates a native odbc field array (HFIELDDATAArray) with values that match to the given java objects.
|
com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray genericMapping(List<Object> objects) throws NativeException
objects
- the objects to map to native odbc fieldsNativeException
- if an element of objects cannot be matched or if objects.size() > 200List<Object> genericMapping(com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray nativeData) throws NativeException
nativeData
- the native odbc fieldsNativeException
com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray typedMapping(DDC definition, Map<String,Object> properties) throws NativeException
definition
- the DDC
that defines the property typesproperties
- the properties to map identified by nameNativeException
- if an element of objects cannot be matched or if objects.size() > 200Map<String,Object> typedMapping(DDC definition, com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray nativeData) throws NativeException
definition
definition
- the DDC
that defines the property typesnativeData
- the native odbc field array to mapNativeException
Copyright © 2016 SAPERION AG. All rights reserved.