| Modifier and Type | Method and Description |
|---|---|
void |
appendTypedMapping(DDC definition,
Map<String,com.lexmark.saperion.PropertyType> properties,
com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray existingProperties)
This method maps the given properties to native types inserting them to an existing native field array.
|
List<com.lexmark.saperion.PropertyType> |
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<com.lexmark.saperion.PropertyType> objects)
Creates a native odbc field array (HFIELDDATAArray) with values that match to the given java objects.
|
Map<String,com.lexmark.saperion.PropertyType> |
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,com.lexmark.saperion.PropertyType> 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<com.lexmark.saperion.PropertyType> objects) throws com.lexmark.saperion.exceptions.EcmException
objects - the objects to map to native odbc fieldscom.lexmark.saperion.exceptions.EcmException - if an element of objects cannot be matched or if objects.size() > 200List<com.lexmark.saperion.PropertyType> genericMapping(com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray nativeData) throws com.lexmark.saperion.exceptions.EcmException
nativeData - the native odbc fieldscom.lexmark.saperion.exceptions.EcmExceptioncom.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray typedMapping(DDC definition, Map<String,com.lexmark.saperion.PropertyType> properties) throws com.lexmark.saperion.exceptions.EcmException
definition - the DDC that defines the property typesproperties - the properties to map identified by namecom.lexmark.saperion.exceptions.EcmException - if an element of objects cannot be matched or if objects.size() > 200void appendTypedMapping(DDC definition, Map<String,com.lexmark.saperion.PropertyType> properties, com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray existingProperties) throws com.lexmark.saperion.exceptions.EcmException
definition - the DDC that defines the property typesproperties - the properties to map identified by nameexistingProperties - a native odbc field array (HFIELDDATAArray) to add the values that match to the
given java objectscom.lexmark.saperion.exceptions.EcmException - if an element of objects cannot be matched or if objects.size() > 200Map<String,com.lexmark.saperion.PropertyType> typedMapping(DDC definition, com.saperion.jna.applsrv.m2j.natives.HFIELDDATAArray nativeData) throws com.lexmark.saperion.exceptions.EcmException
definitiondefinition - the DDC that defines the property typesnativeData - the native odbc field array to mapcom.lexmark.saperion.exceptions.EcmExceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.