com.simba.dsi.core.utilities
Class ConnSettingResponseMap

java.lang.Object
  extended by com.simba.dsi.core.utilities.ConnSettingResponseMap

public class ConnSettingResponseMap
extends java.lang.Object

Wrapper for Hashtable. The hash is keyed by strings. The values are ConnectionSetting.


Constructor Summary
ConnSettingResponseMap()
          Constructor.
 
Method Summary
 java.util.Iterator<java.lang.String> getKeysIterator()
          Retrieves an iterator over the keys in this connection setting response map.
 ConnectionSetting getProperty(java.lang.String key)
          Retrieves the connection setting value corresponding to the given key.
 void setProperty(java.lang.String key, ConnectionSetting value)
          Inserts a connection property into this connection setting response map.
 int size()
          Retrieves the number of entries in this map.
 java.lang.String toString()
          Return a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnSettingResponseMap

public ConnSettingResponseMap()
Constructor.

Method Detail

getKeysIterator

public java.util.Iterator<java.lang.String> getKeysIterator()
Retrieves an iterator over the keys in this connection setting response map.

Returns:
Iterator over keys in this connection setting request map.

getProperty

public ConnectionSetting getProperty(java.lang.String key)
Retrieves the connection setting value corresponding to the given key.

Parameters:
key - Key of connection setting.
Returns:
Value of the connection setting if the given key is found in this connection setting request map.

setProperty

public void setProperty(java.lang.String key,
                        ConnectionSetting value)
Inserts a connection property into this connection setting response map.

Parameters:
key - Key of connection setting.
value - Value of connection setting.

size

public int size()
Retrieves the number of entries in this map.

Returns:
The number of entries in this map.

toString

public java.lang.String toString()
Return a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.