public final class Helper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addOptional(Map<String,String> data,
String key,
Integer value) |
static void |
addOptional(Map<String,String> data,
String key,
String value)
Add the entry if the value is not null or empty
|
static VariantType |
convert(DataType dataType) |
public static void addOptional(Map<String,String> data, String key, String value)
data - to which the key/value pair should be addedkey - the keyvalue - the optional valuepublic static VariantType convert(DataType dataType)