/FieldMapDataObject.m
http://github.com/bububa/MongoHub-Mac · Objective C · 35 lines · 19 code · 9 blank · 7 comment · 1 complexity · 20e3fa1b762689e18d57d21b32fb448a MD5 · raw file
- //
- // fieldMapDataObject.m
- // MongoHub
- //
- // Created by Syd on 10-6-22.
- // Copyright 2010 ThePeppersStudio.COM. All rights reserved.
- //
- #import "FieldMapDataObject.h"
- @implementation FieldMapDataObject
- @synthesize sqlKey;
- @synthesize mongoKey;
- - (id)initWithSqlKey:(NSString *)pStr1 andMongoKey:(NSString *)pStr2 {
- if (! (self = [super init])) {
- NSLog(@"MyDataObject **** ERROR : [super init] failed ***");
- return self;
- } // end if
-
- self.sqlKey = pStr1;
- self.mongoKey = pStr2;
-
- return self;
-
- }
- - (void) dealloc {
- [sqlKey release];
- [mongoKey release];
- [super dealloc];
- }
- @end