Constructor and Description |
---|
Parameters() |
Modifier and Type | Method and Description |
---|---|
void |
add(Map p) |
void |
add(String key,
Object value)
Add a key/value pair to the Parameters, where the key is generally a
field name and the value is the field's content.
|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsKey(String key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
Object |
get(Object key) |
String |
get(String key) |
boolean |
getBoolean(String key) |
Date |
getDate(String key) |
Date |
getDate(String key,
Date defaultValue) |
long |
getDateAsLong(String key) |
double |
getDouble(String key) |
double |
getDouble(String key,
float defaultValue) |
float |
getFloat(String key) |
float |
getFloat(String key,
float defaultValue) |
int |
getInteger(String key) |
int |
getInteger(String key,
int defaultValue) |
Object |
getObject(String key) |
HashMap |
getParams() |
PlatformFileBean |
getPlatformFileBean(String key)
This method returns the PlatformFile Bean in file field is associated with record
|
Parameters |
getPriorParams() |
String |
getTranslatedValue(String key) |
boolean |
isEmpty() |
Set |
keySet() |
static void |
main(String[] args) |
Object |
put(Object key,
Object value)
USE add(String,Object) INSTEAD.
|
void |
putAll(Map m) |
Object |
remove(Object key) |
Object |
remove(String key) |
int |
size() |
String |
toString() |
Collection |
values() |
public HashMap getParams()
public Parameters getPriorParams()
public void add(Map p)
public void add(String key, Object value)
key
- A String that contains the name of a record field.value
- An Object returned by one of the get() methods defined
in this class, or a String. For the data format of a String, see the
Java
API:Field Type Referencepublic int getInteger(String key)
public int getInteger(String key, int defaultValue)
public float getFloat(String key)
public float getFloat(String key, float defaultValue)
public double getDouble(String key)
public double getDouble(String key, float defaultValue)
public boolean getBoolean(String key)
public boolean containsKey(String key)
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Object put(Object key, Object value)
public Collection values()
public PlatformFileBean getPlatformFileBean(String key)
key
- public static void main(String[] args)