com.platform.api
Class Parameters

java.lang.Object
  extended by com.platform.api.Parameters
All Implemented Interfaces:
Map

public class Parameters
extends Object
implements Map


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry
 
Constructor Summary
Parameters()
           
 
Method Summary
 void add(Map p)
           
 void add(String key, Object value)
           
 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()
           
 boolean isEmpty()
           
 Set keySet()
           
static void main(String[] args)
           
 Object put(Object key, Object value)
           
 void putAll(Map m)
           
 Object remove(Object key)
           
 Object remove(String key)
           
 int size()
           
 String toString()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

Parameters

public Parameters()
Method Detail

getParams

public HashMap getParams()

getPriorParams

public Parameters getPriorParams()

add

public void add(Map p)

add

public void add(String key,
                Object value)

get

public String get(String key)

getInteger

public int getInteger(String key)

getInteger

public int getInteger(String key,
                      int defaultValue)

getFloat

public float getFloat(String key)

getFloat

public float getFloat(String key,
                      float defaultValue)

getDouble

public double getDouble(String key)

getDouble

public double getDouble(String key,
                        float defaultValue)

getBoolean

public boolean getBoolean(String key)

getDateAsLong

public long getDateAsLong(String key)
                   throws Exception
Throws:
Exception

getDate

public Date getDate(String key)
             throws Exception
Throws:
Exception

getDate

public Date getDate(String key,
                    Date defaultValue)

getObject

public Object getObject(String key)

remove

public Object remove(String key)

containsKey

public boolean containsKey(String key)

clear

public void clear()
Specified by:
clear in interface Map

size

public int size()
Specified by:
size in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map

toString

public String toString()
Overrides:
toString in class Object

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map

get

public Object get(Object key)
Specified by:
get in interface Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map

putAll

public void putAll(Map m)
Specified by:
putAll in interface Map

remove

public Object remove(Object key)
Specified by:
remove in interface Map

values

public Collection values()
Specified by:
values in interface Map

getPlatformFileBean

public PlatformFileBean getPlatformFileBean(String key)
This method returns the PlatformFile Bean in file field is associated with record

Parameters:
key -
Returns:

main

public static void main(String[] args)


Copyright and Legal Notices