public class GenericModel extends Object
| Constructor and Description |
|---|
GenericModel(String json)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Map<String,Object>> |
getEntries()
Retrieves all the entries.
|
Collection<Map<String,Object>> |
getEntries(Map<String,Collection<String>> inputs)
Retrieves all the entries matching the input criterion.
|
Collection<Map<String,Object>> |
getEntries(String key,
String value)
Retrieves all the entries matching the input criterion.
|
String |
toString() |
public GenericModel(String json)
Default constructor.
json - the JSON to formatpublic Collection<Map<String,Object>> getEntries()
public Collection<Map<String,Object>> getEntries(Map<String,Collection<String>> inputs)
inputs - the input criterionpublic Collection<Map<String,Object>> getEntries(String key, String value)
key - the keyvalue - the valueCopyright © 2017. All rights reserved.