From 502c9496bf0b79ad3e6837e62ddd6a4c1c020ef3 Mon Sep 17 00:00:00 2001 From: rentzsch Date: Mon, 28 Dec 2009 19:57:13 -0600 Subject: [PATCH] [DEV] Check in differently-generated test mule files. --- mogeneratorTestMule/MOs/_ChildMO.h | 2 +- mogeneratorTestMule/MOs/_HumanMO.h | 6 +++--- mogeneratorTestMule/MOs/_HumanMO.m | 6 +++--- mogeneratorTestMule/MOs/_ParentMO.h | 7 +++++++ 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/mogeneratorTestMule/MOs/_ChildMO.h b/mogeneratorTestMule/MOs/_ChildMO.h index e8fce3ab..3526cf09 100644 --- a/mogeneratorTestMule/MOs/_ChildMO.h +++ b/mogeneratorTestMule/MOs/_ChildMO.h @@ -28,7 +28,7 @@ -+ (NSArray*)fetchByParent:(NSManagedObjectContext*)moc_ parent:(ParentMO*)parent_; ++ (NSArray*)fetchByParent:(NSManagedObjectContext*)moc_ parent:(ParentMO*)parent_ ; + (NSArray*)fetchByParent:(NSManagedObjectContext*)moc_ parent:(ParentMO*)parent_ error:(NSError**)error_; diff --git a/mogeneratorTestMule/MOs/_HumanMO.h b/mogeneratorTestMule/MOs/_HumanMO.h index 17c62cc2..d89b6cfa 100644 --- a/mogeneratorTestMule/MOs/_HumanMO.h +++ b/mogeneratorTestMule/MOs/_HumanMO.h @@ -36,18 +36,18 @@ -+ (NSArray*)fetchByHumanName:(NSManagedObjectContext*)moc_ humanName:(NSString*)humanName_; ++ (NSArray*)fetchByHumanName:(NSManagedObjectContext*)moc_ humanName:(NSString*)humanName_ ; + (NSArray*)fetchByHumanName:(NSManagedObjectContext*)moc_ humanName:(NSString*)humanName_ error:(NSError**)error_; -+ (id)fetchOneByHumanName:(NSManagedObjectContext*)moc_ humanName:(NSString*)humanName_; ++ (id)fetchOneByHumanName:(NSManagedObjectContext*)moc_ humanName:(NSString*)humanName_ ; + (id)fetchOneByHumanName:(NSManagedObjectContext*)moc_ humanName:(NSString*)humanName_ error:(NSError**)error_; + (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ ; -+ (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ error:(NSError**)error_; ++ (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ error:(NSError**)error_; @end diff --git a/mogeneratorTestMule/MOs/_HumanMO.m b/mogeneratorTestMule/MOs/_HumanMO.m index efe279f6..c7b4f6b3 100644 --- a/mogeneratorTestMule/MOs/_HumanMO.m +++ b/mogeneratorTestMule/MOs/_HumanMO.m @@ -125,9 +125,9 @@ + (id)fetchOneByHumanName:(NSManagedObjectContext*)moc_ humanName:(NSString*)hum -+ (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ { ++ (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ { NSError *error = nil; - NSArray *result = [self fetchAllHumans:moc_ error:&error]; + NSArray *result = [self fetchAllHumans:moc_ error:&error]; if (error) { #if TARGET_OS_IPHONE NSLog(@"error: %@", error); @@ -137,7 +137,7 @@ + (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ { } return result; } -+ (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ error:(NSError**)error_ { ++ (NSArray*)fetchAllHumans:(NSManagedObjectContext*)moc_ error:(NSError**)error_ { NSError *error = nil; NSManagedObjectModel *model = [[moc_ persistentStoreCoordinator] managedObjectModel]; diff --git a/mogeneratorTestMule/MOs/_ParentMO.h b/mogeneratorTestMule/MOs/_ParentMO.h index 08aa919b..d8fcbc87 100644 --- a/mogeneratorTestMule/MOs/_ParentMO.h +++ b/mogeneratorTestMule/MOs/_ParentMO.h @@ -17,6 +17,7 @@ @property (nonatomic, retain) NSNumber *myInt16Transient; +@property short myInt16TransientValue; - (short)myInt16TransientValue; - (void)setMyInt16TransientValue:(short)value_; @@ -56,6 +57,7 @@ @property (nonatomic, retain) NSNumber *myBoolean; +@property BOOL myBooleanValue; - (BOOL)myBooleanValue; - (void)setMyBooleanValue:(BOOL)value_; @@ -65,6 +67,7 @@ @property (nonatomic, retain) NSNumber *myInt64; +@property long long myInt64Value; - (long long)myInt64Value; - (void)setMyInt64Value:(long long)value_; @@ -74,6 +77,7 @@ @property (nonatomic, retain) NSNumber *myDouble; +@property double myDoubleValue; - (double)myDoubleValue; - (void)setMyDoubleValue:(double)value_; @@ -83,6 +87,7 @@ @property (nonatomic, retain) NSNumber *myInt16; +@property short myInt16Value; - (short)myInt16Value; - (void)setMyInt16Value:(short)value_; @@ -92,6 +97,7 @@ @property (nonatomic, retain) NSNumber *myFloat; +@property float myFloatValue; - (float)myFloatValue; - (void)setMyFloatValue:(float)value_; @@ -113,6 +119,7 @@ @property (nonatomic, retain) NSNumber *myInt32; +@property int myInt32Value; - (int)myInt32Value; - (void)setMyInt32Value:(int)value_;