|
WebObjects 5.4.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
public static class 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 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)
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)
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |