com.webobjects.eocontrol
Class  EOKeyValueCodingAdditions.DefaultImplementation
java.lang.Object
  |
  +--com.webobjects.eocontrol.EOKeyValueCodingAdditions.DefaultImplementation
- Enclosing class: 
- EOKeyValueCodingAdditions
- public static class EOKeyValueCodingAdditions.DefaultImplementation- extends Object
The EOKeyValueCodingAdditions.DefaultImplementation class provides the
 WebObjects default implementation of the EOKeyValueCodingAdditions interface.
- See Also: 
- EOKeyValueCodingAdditions
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
takeValuesFromDictionary
public static void takeValuesFromDictionary(Object object,
                                            NSDictionary dictionary)
- Sets properties of objectwith values fromdictionary,
 using its keys to identify the properties. The default implementation invokestakeValueForKey(or the corresponding
 NSKeyValueCoding.DefaultImplementation method) for each key-value pair, substitutingnullfor NSKeyValueCoding.NullValue values in the dictionary.
- 
- Parameters:
- dictionary- the key-value pairs to be set
- See Also: 
- NSKeyValueCoding.takeValueForKey(Object, String)
 
valuesForKeys
public static NSDictionary valuesForKeys(Object object,
                                         NSArray keys)
- Returns a dictionary containing the property values of objectidentified by each ofkeys. The default implementation invokesvalueForKey(or the corresponding
 NSKeyValueCoding.DefaultImplementation method) for each key inkeys, substituting NSKeyValueCoding.NullValue in the returned
 dictionary for returnednullvalues.
- 
- Parameters:
- keys- the array of keys whose values are to be retrieved
- Returns:
- a dictionary containing the property values identified by each of keys
- See Also: 
- NSKeyValueCoding.valueForKey(String)
 
Copyright © 2002 Apple Computer, Inc.