Class ConverterUtils
- java.lang.Object
-
- de.hybris.platform.sap.sapcommonbol.common.backendobject.impl.ConverterUtils
-
public class ConverterUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCRM_WEC_CUST_F4_UNITSFunction module name that retrieves F4 data for quantity unitsprotected static java.lang.StringEMPTY_STRINGstatic java.lang.StringERP_WEC_CUST_F4_CURRENCYFunction module name that provides physical unitsstatic java.lang.StringERP_WEC_CUST_F4_UNITSFunction module name that provides physical unitsstatic java.lang.StringLANGUAGE_INPUTImport parameter for the ABAP language.static java.lang.StringPRC_CNV_CURR_F4_CURRENCY_UNITSFunction module name that retrieves F4 data for currencies
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetString(com.sap.conn.jco.JCoRecord coRecord, java.lang.String arg0)This methods avoids creation of independend copies of "" in order to save memory.static booleanprovided(java.lang.String s)static booleansingleCharacter(java.lang.String s)
-
-
-
Field Detail
-
EMPTY_STRING
protected static final java.lang.String EMPTY_STRING
- See Also:
- Constant Field Values
-
CRM_WEC_CUST_F4_UNITS
public static final java.lang.String CRM_WEC_CUST_F4_UNITS
Function module name that retrieves F4 data for quantity units- See Also:
- Constant Field Values
-
ERP_WEC_CUST_F4_UNITS
public static final java.lang.String ERP_WEC_CUST_F4_UNITS
Function module name that provides physical units- See Also:
- Constant Field Values
-
LANGUAGE_INPUT
public static final java.lang.String LANGUAGE_INPUT
Import parameter for the ABAP language. Must have ABAP format (e.g. D for Germany)- See Also:
- Constant Field Values
-
PRC_CNV_CURR_F4_CURRENCY_UNITS
public static final java.lang.String PRC_CNV_CURR_F4_CURRENCY_UNITS
Function module name that retrieves F4 data for currencies- See Also:
- Constant Field Values
-
ERP_WEC_CUST_F4_CURRENCY
public static final java.lang.String ERP_WEC_CUST_F4_CURRENCY
Function module name that provides physical units- See Also:
- Constant Field Values
-
-
Method Detail
-
provided
public static boolean provided(java.lang.String s)
- Parameters:
s- String to be checked- Returns:
- true, if s is not null and length >0
-
singleCharacter
public static boolean singleCharacter(java.lang.String s)
- Parameters:
s- String to be checked- Returns:
- true, if s is not null and length=1
-
getString
public static java.lang.String getString(com.sap.conn.jco.JCoRecord coRecord, java.lang.String arg0)This methods avoids creation of independend copies of "" in order to save memory.- Parameters:
coRecord-arg0-- Returns:
- EMPTY_STRING or value from coRecord
-
-