|
WebObjects 5.2.3 | ||||||||||
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 keyPath
keyPath
- 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
keyPath
NSKeyValueCodingAdditions.valueForKeyPath(java.lang.String)
,
NSKeyValueCoding.valueForKey(java.lang.String)
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |