| 
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.eocontrol.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 Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||