|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NSKeyValueCodingAdditions
NSKeyValueCodingAdditions defines an interface for classes
that need to have more control over the wotonomy's bulk
property copying and cloning facilities.
| Nested Class Summary | |
|---|---|
static class |
NSKeyValueCodingAdditions.DefaultImplementation
Provides a reflection-based implementation for classes that don't implement NSKeyValueCodingAdditions. |
static class |
NSKeyValueCodingAdditions.Utility
Static utility methods that call the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation. |
| Nested classes/interfaces inherited from interface net.wotonomy.foundation.NSKeyValueCoding |
|---|
NSKeyValueCoding.Null |
| Field Summary |
|---|
| Fields inherited from interface net.wotonomy.foundation.NSKeyValueCoding |
|---|
NullValue |
| Method Summary | |
|---|---|
void |
takeValueForKeyPath(java.lang.Object aValue,
java.lang.String aKeyPath)
Sets the value for the specified key path, which is a series of keys delimited by ".", for example: "createTime.year.length". |
void |
takeValuesFromDictionary(java.util.Map aMap)
Takes the keys from the specified map as properties and applies the corresponding values, each of which might be set by calling takeValueForKey. |
java.lang.Object |
valueForKeyPath(java.lang.String aKeyPath)
Returns the value for the specified key path, which is a series of keys delimited by ".", for example: "createTime.year.length". |
NSDictionary |
valuesForKeys(java.util.List aKeyList)
Returns a Map of the specified keys to their values, each of which might be obtained by calling valueForKey. |
| Methods inherited from interface net.wotonomy.foundation.NSKeyValueCoding |
|---|
handleQueryWithUnboundKey, handleTakeValueForUnboundKey, storedValueForKey, takeStoredValueForKey, takeValueForKey, unableToSetNullForKey, valueForKey |
| Method Detail |
|---|
java.lang.Object valueForKeyPath(java.lang.String aKeyPath)
void takeValueForKeyPath(java.lang.Object aValue,
java.lang.String aKeyPath)
NSDictionary valuesForKeys(java.util.List aKeyList)
void takeValuesFromDictionary(java.util.Map aMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||