List of utility methods to do Object NVL
String | NVL(String s, String valorPorDefecto) NVL if (s == null) { return valorPorDefecto; } else { return s; |
String | NVL(String source, String def) Implements Oracle style NVL function if (source == null || source.length() == 0) { return def; return source; |
String | nvl(String source, String defaultString) Method nvl. return (source != null) ? source.trim() : defaultString;
|
String | nvl(String str) nvl return isNull(str) ? "" : str; |
String | nvl(String str, String nullString) nvl return (str == null || "null".equals(str)) ? nullString : str; |
String | NVL(String str, String replace) NVL - fix null value if (str == null || str.trim().equals("") || str.trim().toUpperCase().equals("NULL")) return replace; return str; |
String | nvl(String string) If the parameter is null, it will return no-string value(eg. return nvl(string, ""); |
String | nvl(String value) nvl if (value == null) { return ""; } else { return value.trim(); |
String | nvl(String value, String defaultValue) nvl return value == null ? defaultValue : value;
|
String | NVL(String value, String replace) NVL return (value == null || value.equals("") ? replace : value.trim()); |