FactualRow(FactualRowImplementation) |
Convenince methods available to a row object
Extends Class: FactualRow
Declared In: FactualRow.h
fieldIndexForName: |
-(NSInteger) fieldIndexForName:(NSString*) fieldName;
Get a field index given a field name. Returns -1 for invalid fields.
fieldNameAtIndex: |
-(NSString*) fieldNameAtIndex:(NSUInteger) index;
Get a field field name given index. Returns nil for invalid field indexes.
valueForName: |
-(id) valueForName:(NSString*) fieldName;
Get a field value given a field name. Note: Null values are returned as NSNull objects
stringValueForName: |
-(NSString*) stringValueForName:(NSString*) fieldName;
Get a string value (potentially coerced from native type) given a field name. Note: Null values are returned as empty strings
valueAtIndex: |
-(id) valueAtIndex:(NSInteger) fieldIndex;
Get a field value given a field index (zero based) Note: Null values are returned as NSNull objects
stringValueAtIndex: |
-(NSString*) stringValueAtIndex:(NSInteger) fieldIndex;
Get a string value (potentially coerced) given a field index (zero based). Note: Null values are returned as empty strings
setValueForName:value: |
-(void) setValueForName:(NSString*) fieldName value:(id) value;
Set/Update a value by field name. Strictly updates local state and does not impact the source Factual Table.
setValueAtIndex:value: |
-(void) setValueAtIndex:(NSUInteger) index value:(id) value;
Set/Update a value by field index. Strictly updates local state and does not impact the source Factual Table.
Last Updated: Friday, January 28, 2011