com.simba.dsi.core.utilities
Class ConnSettingRequestMap

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

public class ConnSettingRequestMap
extends java.lang.Object

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


Constructor Summary
ConnSettingRequestMap()
          Constructor.
 
Method Summary
 boolean containsKey(java.lang.String key)
          Indicates if this connection setting request map contains the given key.
 java.util.Iterator<java.lang.String> getKeysIterator()
          Retrieves an iterator over the keys in this connection setting request map.
 Variant getProperty(java.lang.String key)
          Retrieves the connection setting value corresponding to the given key.
 ConnSettingRequestMap setHiddenKey(java.lang.String... key)
          Sets the hidden keys.
 void setProperty(java.lang.String key, Variant value)
          Inserts a connection property into this connection setting request 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

ConnSettingRequestMap

public ConnSettingRequestMap()
Constructor.

Method Detail

containsKey

public boolean containsKey(java.lang.String key)
Indicates if this connection setting request map contains the given key.

Parameters:
key - Connection setting key of interest.
Returns:
true if this connection setting request map contains the given key; false otherwise.

getKeysIterator

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

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

getProperty

public Variant 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.
See Also:
Variant

setProperty

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

Parameters:
key - Key of connection setting.
value - Value of connection setting.
See Also:
Variant

setHiddenKey

public ConnSettingRequestMap setHiddenKey(java.lang.String... key)
Sets the hidden keys. These are the keys in the connection string whose value will not be printed in the logs (will be printed as ****).

Parameters:
key - key or a list of keys that should not be printed.
Returns:
The same object.

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.