|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.eocontrol.EOKeyValueCoding.Utility
public static class EOKeyValueCoding.Utility
The EOKeyValueCoding.Utility class is a convenience that allows you to access the properties of EOKeyValueCoding objects and non-EOKeyValueCoding objects using the same code.
EOKeyValueCoding
Method Summary | |
---|---|
static Object |
storedValueForKey(Object object,
String key)
If object implements EOKeyValueCoding, this method invokes storedValueForKey on object . |
static void |
takeStoredValueForKey(Object object,
Object value,
String key)
If object implements EOKeyValueCoding, this method invokes takeStoredValueForKey on object . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Object storedValueForKey(Object object, String key)
object
implements EOKeyValueCoding, this method invokes storedValueForKey
on object
. Otherwise it invokes EOKeyValueCoding.DefaultImplementation's storedValueForKey
method with object
as the object on which to
operate.
object
- the object on which to operatekey
- the property of object
to retrieve
object.storedValueForKey(key)
or EOKeyValueCoding.DefaultImplementation.storedValueForKey(object, key)
EOKeyValueCoding.storedValueForKey(String)
,
EOKeyValueCoding.DefaultImplementation
public static void takeStoredValueForKey(Object object, Object value, String key)
object
implements EOKeyValueCoding, this method invokes takeStoredValueForKey
on object
. Otherwise it invokes EOKeyValueCoding.DefaultImplementation's takeStoredValueForKey
method with object
as the object on
which to operate.
object
- the object on which to operatevalue
- the new value for the key
propertykey
- the property of object
to setEOKeyValueCoding.takeStoredValueForKey(Object, String)
,
EOKeyValueCoding.DefaultImplementation
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |