com.cassinidivision.core.foundation
Class ConnectionDictionaryHelper

java.lang.Object
  extended bycom.cassinidivision.core.foundation.ConnectionDictionaryHelper

public class ConnectionDictionaryHelper
extends Object

EOModel connection dictionary utility methods.


Constructor Summary
ConnectionDictionaryHelper()
           
 
Method Summary
static void overrideFromArguments(NSDictionary args)
          Override the default connection information for an EOModel based on the information provided.
static void overrideFromDictionary(NSDictionary dict, String adaptorName)
          Override the default connection information for an EOModel based on the information provided.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionDictionaryHelper

public ConnectionDictionaryHelper()
Method Detail

overrideFromArguments

public static void overrideFromArguments(NSDictionary args)
Override the default connection information for an EOModel based on the information provided.

The "args" dictionary should provide the following information:

Key Value

connectionDictionary String instance containing connection information in the format "a=b;c=d;...".
adaptorName String instance containing the EOAdaptor name.

Parameters:
args - NSDictionary containing the required connection information.

overrideFromDictionary

public static void overrideFromDictionary(NSDictionary dict,
                                          String adaptorName)
Override the default connection information for an EOModel based on the information provided.

Parameters:
dict - The new connection dictionary details.
adaptorName - The name of the new EOAdaptor.