All Downloads are FREE. Search and download functionalities are using the official Maven repository.

objc.NSManagedObjectBuilder-header.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
#import 
#import 

{{#imports}}#import "{{import}}ManagedObjectBuilder.h"
{{/imports}}
{{#models}}
{{#model}}

#import "{{classname}}ManagedObject.h"
#import "{{classname}}.h"

{{>licenceInfo}}

@interface {{classname}}ManagedObjectBuilder : NSObject

{{#isArray}}@property (nonatomic, strong) {{arrayModelType}}ManagedObjectBuilder * entriesBuilder;{{/isArray}}{{#vars}}{{#complexType}}@property (nonatomic, strong) {{complexType}}ManagedObjectBuilder * {{name}}Builder;
{{/complexType}}{{/vars}}

-({{classname}}ManagedObject*)createNew{{classname}}ManagedObjectInContext:(NSManagedObjectContext*)context;

-({{classname}}ManagedObject*){{classname}}ManagedObjectFrom{{classname}}:({{classname}}*)object context:(NSManagedObjectContext*)context;

-(void)update{{classname}}ManagedObject:({{classname}}ManagedObject*)object with{{classname}}:({{classname}}*)object2;

-({{classname}}*){{classname}}From{{classname}}ManagedObject:({{classname}}ManagedObject*)obj;

-(void)update{{classname}}:({{classname}}*)object with{{classname}}ManagedObject:({{classname}}ManagedObject*)object2;

@end
{{/model}}
{{/models}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy