public interface FilterValueHolder
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getBigDecimal(String key)
Get the boolean value associated with a key.
|
boolean |
getBoolean(String key)
Get the boolean value associated with a key.
|
Integer |
getInteger(String key)
Get the int value associated with a key.
|
List<Long> |
getListOfLongs(String key)
Get the List
|
Long |
getLong(String key)
Get the Long value associated with a key.
|
String |
getString(String key)
Get the String value associated with a key.
|
boolean |
has(String key)
Determine if the FilterValueHolder contains a specific key.
|
void |
initialize(JSONObject jsonObject)
Initializes holder with key/value pairs from JSONObject.
|
boolean |
isEmpty()
Indicates if any pair of key and value is present in holder.
|
void |
put(String key,
BigDecimal value)
Put a key/double pair in the FilterValueHolder.
|
void |
put(String key,
boolean value)
Put a key/boolean pair in the FilterValueHolder.
|
void |
put(String key,
Integer value)
Put a key/int pair in the FilterValueHolder.
|
void |
put(String key,
List<Long> value)
Put a key/List
|
void |
put(String key,
Long value)
Put a key/Long pair in the FilterValueHolder.
|
void |
put(String key,
String value)
Put a key/String pair in the FilterValueHolder.
|
Object |
remove(String key)
Remove a name and its value, if present.
|
JSONObject |
toJSON()
Returns JSON representation of holder values;
|
BigDecimal getBigDecimal(String key)
key - boolean getBoolean(String key)
key - Integer getInteger(String key)
key - List<Long> getListOfLongs(String key)
key - Long getLong(String key)
key - String getString(String key)
key - boolean has(String key)
key - void initialize(JSONObject jsonObject)
jsonObject - boolean isEmpty()
void put(String key, BigDecimal value)
key - value - void put(String key, boolean value)
key - value - void put(String key, Integer value)
key - value - void put(String key, List<Long> value)
key - value - void put(String key, Long value)
key - value - void put(String key, String value)
key - value - Object remove(String key)
key - JSONObject toJSON()
Copyright © 2010-2025 Qcadoo Limited