| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.webobjects.eocontrol.EOKeyValueCodingAdditions.Utility
The EOKeyValueCodingAdditions.Utility class is a convenience that allows you to access the properties of EOKeyValueCodingAdditions objects and non-EOKeyValueCodingAdditions objects using the same code.
EOKeyValueCodingAdditions| Method Summary | |
static void | 
takeValuesFromDictionary(Object object,
                         NSDictionary dictionary)
If object implements EOKeyValueCodingAdditions, this method
 invokes takeValuesFromDictionary on object. | 
static void | 
takeValuesFromDictionaryWithMapping(Object object,
                                    NSDictionary dictionary,
                                    NSDictionary mapping)
If object implements EOKeyValueCodingAdditions, this method
 invokes takeValuesFromDictionaryWithMapping on object. | 
static NSDictionary | 
valuesForKeys(Object object,
              NSArray keys)
If object implements EOKeyValueCodingAdditions, this method
 invokes valuesForKeys on object. | 
static NSDictionary | 
valuesForKeysWithMapping(Object object,
                         NSDictionary mapping)
If object implements EOKeyValueCodingAdditions, this method
 invokes valuesForKeysWithMapping on object. | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static void takeValuesFromDictionary(Object object,
                                            NSDictionary dictionary)
object implements EOKeyValueCodingAdditions, this method
 invokes takeValuesFromDictionary on object.
 Otherwise it invokes EOKeyValueCodingAdditions.DefaultImplementation's
 takeValuesFromDictionary method with object as
 the object on which to operate.
object - the object on which to operatedictionary - the key-value pairs to be setEOKeyValueCodingAdditions.takeValuesFromDictionary(NSDictionary), 
EOKeyValueCodingAdditions.DefaultImplementation
public static void takeValuesFromDictionaryWithMapping(Object object,
                                                       NSDictionary dictionary,
                                                       NSDictionary mapping)
object implements EOKeyValueCodingAdditions, this method
 invokes takeValuesFromDictionaryWithMapping on object.
 Otherwise it invokes EOKeyValueCodingAdditions.DefaultImplementation's
 takeValuesFromDictionaryWithMapping method with object as
 the object on which to operate.
object - the object on which to operatedictionary - the key-value pairs to be setmapping - the dictionary that maps arbitrary external names to
                internal property namesEOKeyValueCodingAdditions.takeValuesFromDictionary(NSDictionary), 
EOKeyValueCodingAdditions.DefaultImplementation
public static NSDictionary valuesForKeys(Object object,
                                         NSArray keys)
object implements EOKeyValueCodingAdditions, this method
 invokes valuesForKeys on object. Otherwise it invokes
 EOKeyValueCodingAdditions.DefaultImplementation's valuesForKeys
 method with object as the object on which to operate.
object - the object on which to operatekeys - the array of keys whose values are to be retrieved
object.valuesForKeys(keys) or
 EOKeyValueCodingAdditions.DefaultImplementation.valuesForKeys(object, keys)EOKeyValueCodingAdditions.valuesForKeys(NSArray), 
EOKeyValueCodingAdditions.DefaultImplementation
public static NSDictionary valuesForKeysWithMapping(Object object,
                                                    NSDictionary mapping)
object implements EOKeyValueCodingAdditions, this method
 invokes valuesForKeysWithMapping on object. Otherwise it invokes
 EOKeyValueCodingAdditions.DefaultImplementation's valuesForKeysWithMapping
 method with object as the object on which to operate.
object - the object on which to operatemapping - the dictionary that maps arbitrary external names to
                internal property names
object.valuesForKeysWithMapping(mapping) or
 EOKeyValueCodingAdditions.DefaultImplementation.valuesForKeysWithMapping(object, mapping)EOKeyValueCodingAdditions.valuesForKeysWithMapping(NSDictionary), 
EOKeyValueCodingAdditions.DefaultImplementation
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||