|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NSKeyValueCoding
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Nested Class Summary | |
---|---|
static interface |
NSKeyValueCoding._static_
|
Method Summary | |
---|---|
NSDictionary |
dictionaryWithValuesForKeys(NSArray keys)
Given an array of keys, return a dictionary containing the keyed attribute values, to-one-related objects, and/or collections of to-many-related objects. |
NSMutableArray |
mutableArrayValueForKey(NSString key)
Given a key that identifies an _ordered_ to-many relationship, return a mutable array that provides read-write access to the related objects. |
NSMutableArray |
mutableArrayValueForKeyPath(NSString keyPath)
|
NSMutableSet |
mutableSetValueForKey(NSString key)
Given a key that identifies an _unordered_ to-many relationship, return a mutable set that provides read-write access to the related objects. |
NSMutableSet |
mutableSetValueForKeyPath(NSString keyPath)
|
void |
setNilValueForKey(NSString key)
Given that an invocation of -setValue:forKey: would be unable to set the keyed value because the type of the parameter of the corresponding accessor method is an NSNumber scalar type or NSValue structure type but the value is nil, set the keyed value using some other mechanism. |
void |
setValue_forKey(org.rococoa.ID value,
NSString key)
Given a value and a key that identifies an attribute, set the value of the attribute. |
void |
setValue_forKeyPath(org.rococoa.ID value,
NSString keyPath)
|
void |
setValue_forUndefinedKey(org.rococoa.ID value,
NSString key)
Given that an invocation of -setValue:forKey: would be unable to set the keyed value using its default mechanism, set the keyed value using some other mechanism. |
void |
setValuesForKeysWithDictionary(NSDictionary keyedValues)
Given a dictionary containing keyed attribute values, to-one-related objects, and/or collections of to-many-related objects, set the keyed values. |
boolean |
validateValue_forKey_error(org.rococoa.ID ioValue,
NSString inKey,
PointerByReference outError)
Given a pointer to a value pointer, a key that identifies an attribute or to-one relationship, and a pointer to an NSError pointer, return a value that is suitable for use in subsequent -setValue:forKey: messages sent to the same receiver. |
boolean |
validateValue_forKeyPath_error(org.rococoa.ID ioValue,
NSString inKeyPath,
PointerByReference outError)
|
NSObject |
valueForKey(NSString key)
Given a key that identifies an attribute or to-one relationship, return the attribute value or the related object. |
NSObject |
valueForKeyPath(NSString keyPath)
Key-path-taking variants of like-named methods. |
NSObject |
valueForUndefinedKey(NSString key)
Given that an invocation of -valueForKey: would be unable to get a keyed value using its default access mechanism, return the keyed value using some other mechanism. |
Method Detail |
---|
NSObject valueForKey(NSString key)
-(id)valueForKey:(NSString*)
void setValue_forKey(org.rococoa.ID value, NSString key)
-(void)setValue:(id) forKey:(NSString*)
boolean validateValue_forKey_error(org.rococoa.ID ioValue, NSString inKey, PointerByReference outError)
-(BOOL)validateValue:(id*) forKey:(NSString*) error:(NSError**)
NSMutableArray mutableArrayValueForKey(NSString key)
-(NSMutableArray*)mutableArrayValueForKey:(NSString*)
NSMutableSet mutableSetValueForKey(NSString key)
-(NSMutableSet*)mutableSetValueForKey:(NSString*)
NSObject valueForKeyPath(NSString keyPath)
-(id)valueForKeyPath:(NSString*)
void setValue_forKeyPath(org.rococoa.ID value, NSString keyPath)
boolean validateValue_forKeyPath_error(org.rococoa.ID ioValue, NSString inKeyPath, PointerByReference outError)
NSMutableArray mutableArrayValueForKeyPath(NSString keyPath)
NSMutableSet mutableSetValueForKeyPath(NSString keyPath)
NSObject valueForUndefinedKey(NSString key)
-(id)valueForUndefinedKey:(NSString*)
void setValue_forUndefinedKey(org.rococoa.ID value, NSString key)
-(void)setValue:(id) forUndefinedKey:(NSString*)
void setNilValueForKey(NSString key)
-(void)setNilValueForKey:(NSString*)
NSDictionary dictionaryWithValuesForKeys(NSArray keys)
-(NSDictionary*)dictionaryWithValuesForKeys:(NSArray*)
void setValuesForKeysWithDictionary(NSDictionary keyedValues)
-(void)setValuesForKeysWithDictionary:(NSDictionary*)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |