PATH Documentation > WebObjects

Table of Contents

NSKeyValueCodingAdditions.DefaultImplementation


Inherits from:
Object
Package:
com.webobjects.foundation


Class Description


The NSKeyValueCodingAdditions. DefaultImplementation class provides default implementations of the NSKeyValueCodingAdditions interface. For more information, see the NSKeyValueCodingAdditions interface specification.




Static Methods



takeValueForKeyPath

public static void takeValueForKeyPath( Object anObject, Object value, String keyPath)

Sets anObject'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 takeValueForKeymessage with value and property.

See Also: takeValueForKeyPath ( NSKeyValueCodingAdditions)



valueForKeyPath

public static Object valueForKeyPath( Object anObject, String keyPath)

Returns anObject's value for the derived property identified by keyPath. 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 returns the result of a valueForKey message to the final object.

See Also: valueForKeyPath ( NSKeyValueCodingAdditions)



© 2001 Apple Computer, Inc. (Last Published April 17, 2001)


Table of Contents