

// BIExtra.h
// BISubstrate
// 
// Copyright (c) 2008 Marketcircle Inc. All rights reserved.


#ifdef BILLINGS_PRO
#import "_BPExtra.h"
#endif
#ifdef BILLINGS_SINGLE
#import "_BIExtra.h"
#endif
#import "BIAppVersioning.h"


@interface BIExtra : BL_SUPER_CLASSNAME_MUNGE(Extra)
{
}

- (void)setIntValue:(NSNumber *)aValue;
- (void)setFloatValue:(NSNumber *)aValue;
- (void)setDoubleValue:(NSNumber *)aValue;
- (void)setDatetimeValue:(NSCalendarDate *)aValue;
- (void)setStringValue:(NSString *)aValue;
- (void)setDataValue:(NSData *)aValue;

- (void)setBoolValue:(BOOL)flag;
- (BOOL)boolValue;

/*!
 Handles nested extraObjects. Tries to be smart and return an array if key ends in s (but not ss) or is 'children', otherwise returns the lastObject in the array. 
 */
- (id)valueForUndefinedKey:(NSString *)key;

- (void)setParentObject:(BIPObject *)anObject;


@end
