PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/FieldMapDataObject.m

http://github.com/bububa/MongoHub-Mac
Objective C | 35 lines | 19 code | 9 blank | 7 comment | 1 complexity | 20e3fa1b762689e18d57d21b32fb448a MD5 | raw file
 1//
 2//  fieldMapDataObject.m
 3//  MongoHub
 4//
 5//  Created by Syd on 10-6-22.
 6//  Copyright 2010 ThePeppersStudio.COM. All rights reserved.
 7//
 8
 9#import "FieldMapDataObject.h"
10
11
12@implementation FieldMapDataObject
13
14@synthesize sqlKey;
15@synthesize mongoKey;
16
17- (id)initWithSqlKey:(NSString *)pStr1 andMongoKey:(NSString *)pStr2 {
18    if (! (self = [super init])) {
19        NSLog(@"MyDataObject **** ERROR : [super init] failed ***");
20        return self;
21    } // end if
22    
23    self.sqlKey = pStr1;
24    self.mongoKey = pStr2;
25    
26    return self;
27    
28}
29
30- (void) dealloc {
31    [sqlKey release];
32    [mongoKey release];
33    [super dealloc];
34}
35@end