Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

87 lines (51 sloc) 2.318 kb
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey.m instead.
#import "_SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey.h"
@implementation SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKeyID
@end
@implementation _SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey
+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_ {
NSParameterAssert(moc_);
return [NSEntityDescription insertNewObjectForEntityForName:@"SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey" inManagedObjectContext:moc_];
}
+ (NSString*)entityName {
return @"SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey";
}
+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_ {
NSParameterAssert(moc_);
return [NSEntityDescription entityForName:@"SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey" inManagedObjectContext:moc_];
}
- (SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKeyID*)objectID {
return (SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKeyID*)[super objectID];
}
+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key {
NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key];
if ([key isEqualToString:@"testPrimaryKeyValue"]) {
NSSet *affectingKey = [NSSet setWithObject:@"testPrimaryKey"];
keyPaths = [keyPaths setByAddingObjectsFromSet:affectingKey];
}
return keyPaths;
}
@dynamic testPrimaryKey;
- (short)testPrimaryKeyValue {
NSNumber *result = [self testPrimaryKey];
return [result shortValue];
}
- (void)setTestPrimaryKeyValue:(short)value_ {
[self setTestPrimaryKey:[NSNumber numberWithShort:value_]];
}
- (short)primitiveTestPrimaryKeyValue {
NSNumber *result = [self primitiveTestPrimaryKey];
return [result shortValue];
}
- (void)setPrimitiveTestPrimaryKeyValue:(short)value_ {
[self setPrimitiveTestPrimaryKey:[NSNumber numberWithShort:value_]];
}
@dynamic mappedEntities;
- (NSMutableSet*)mappedEntitiesSet {
[self willAccessValueForKey:@"mappedEntities"];
NSMutableSet *result = (NSMutableSet*)[self mutableSetValueForKey:@"mappedEntities"];
[self didAccessValueForKey:@"mappedEntities"];
return result;
}
@end
Jump to Line
Something went wrong with that request. Please try again.