FactualRow(FactualRowImplementation)


Convenince methods available to a row object

Extends Class: FactualRow
Declared In: FactualRow.h



Methods

-fieldIndexForName:
-fieldNameAtIndex:
-valueForName:
-stringValueForName:
-valueAtIndex:
-stringValueAtIndex:
-setValueForName:value:
-setValueAtIndex:value:

fieldIndexForName:


-(NSInteger) fieldIndexForName:(NSString*) fieldName; 
Discussion

Get a field index given a field name. Returns -1 for invalid fields.


fieldNameAtIndex:


-(NSString*) fieldNameAtIndex:(NSUInteger) index; 
Discussion

Get a field field name given index. Returns nil for invalid field indexes.


valueForName:


-(id) valueForName:(NSString*) fieldName; 
Discussion

Get a field value given a field name. Note: Null values are returned as NSNull objects


stringValueForName:


-(NSString*) stringValueForName:(NSString*) fieldName; 
Discussion

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; 
Discussion

Get a field value given a field index (zero based) Note: Null values are returned as NSNull objects


stringValueAtIndex:


-(NSString*) stringValueAtIndex:(NSInteger) fieldIndex; 
Discussion

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; 
Discussion

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; 
Discussion

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