| 
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.foundation.NSKeyValueCodingAdditions.DefaultImplementation
The NSKeyValueCodingAdditions.DefaultImplementation class provides default implementations of the NSKeyValueCodingAdditions interface.
NSKeyValueCodingAdditions, 
NSKeyValueCodingAdditions.Utility| Method Summary | |
static void | 
takeValueForKeyPath(Object object,
                    Object value,
                    String keyPath)
Sets object's property identified by keyPath
 to value. | 
static Object | 
valueForKeyPath(Object object,
                String keyPath)
A key path has the form relationship.property (with one or more relationships).  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static void takeValueForKeyPath(Object object,
                                       Object value,
                                       String keyPath)
object's property identified by keyPath
 to value. A key path has the form
 relationship.property (with one or more relationships).
 This method gets the destination object for each relationship
 using valueForKey, and sends the final object a 
 takeValueForKey message
 with value and property.
object - the object to operate uponvalue - the new value for the property identified by keyPathkeyPath - identifies the object's propertyNSKeyValueCodingAdditions.takeValueForKeyPath(java.lang.Object, java.lang.String), 
NSKeyValueCoding.takeValueForKey(java.lang.Object, java.lang.String)
public static Object valueForKeyPath(Object object,
                                     String keyPath)
valueForKey, and returns the result
 of a valueForKey  message to the final object.
object - the final object whose property is to be setkeyPath - identifies the derived property of the object
object's value for the derived property identified by
                keyPathNSKeyValueCodingAdditions.valueForKeyPath(java.lang.String), 
NSKeyValueCoding.valueForKey(java.lang.String)
  | 
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 | ||||||||||