Skip to content

Commit

Permalink
[DEV] Check in differently-generated test mule files.
Browse files Browse the repository at this point in the history
  • Loading branch information
rentzsch committed Dec 29, 2009
1 parent b56ec4a commit 502c949
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mogeneratorTestMule/MOs/_ChildMO.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;


Expand Down
6 changes: 3 additions & 3 deletions mogeneratorTestMule/MOs/_HumanMO.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions mogeneratorTestMule/MOs/_HumanMO.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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];
Expand Down
7 changes: 7 additions & 0 deletions mogeneratorTestMule/MOs/_ParentMO.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

@property (nonatomic, retain) NSNumber *myInt16Transient;

@property short myInt16TransientValue;
- (short)myInt16TransientValue;
- (void)setMyInt16TransientValue:(short)value_;

Expand Down Expand Up @@ -56,6 +57,7 @@

@property (nonatomic, retain) NSNumber *myBoolean;

@property BOOL myBooleanValue;
- (BOOL)myBooleanValue;
- (void)setMyBooleanValue:(BOOL)value_;

Expand All @@ -65,6 +67,7 @@

@property (nonatomic, retain) NSNumber *myInt64;

@property long long myInt64Value;
- (long long)myInt64Value;
- (void)setMyInt64Value:(long long)value_;

Expand All @@ -74,6 +77,7 @@

@property (nonatomic, retain) NSNumber *myDouble;

@property double myDoubleValue;
- (double)myDoubleValue;
- (void)setMyDoubleValue:(double)value_;

Expand All @@ -83,6 +87,7 @@

@property (nonatomic, retain) NSNumber *myInt16;

@property short myInt16Value;
- (short)myInt16Value;
- (void)setMyInt16Value:(short)value_;

Expand All @@ -92,6 +97,7 @@

@property (nonatomic, retain) NSNumber *myFloat;

@property float myFloatValue;
- (float)myFloatValue;
- (void)setMyFloatValue:(float)value_;

Expand All @@ -113,6 +119,7 @@

@property (nonatomic, retain) NSNumber *myInt32;

@property int myInt32Value;
- (int)myInt32Value;
- (void)setMyInt32Value:(int)value_;

Expand Down

0 comments on commit 502c949

Please sign in to comment.