// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to Context.m instead.

#import "_Context.h"

@implementation Machine_Context



- (NSString*)name {
	[self willAccessValueForKey:@"name"];
	NSString *result = [self primitiveValueForKey:@"name"];
	[self didAccessValueForKey:@"name"];
	return result;
}

- (void)setName:(NSString*)value_ {
    [self willChangeValueForKey:@"name"];
    [self setPrimitiveValue:value_ forKey:@"name"];
    [self didChangeValueForKey:@"name"];
}




- (NSString*)toodleID {
	[self willAccessValueForKey:@"toodleID"];
	NSString *result = [self primitiveValueForKey:@"toodleID"];
	[self didAccessValueForKey:@"toodleID"];
	return result;
}

- (void)setToodleID:(NSString*)value_ {
    [self willChangeValueForKey:@"toodleID"];
    [self setPrimitiveValue:value_ forKey:@"toodleID"];
    [self didChangeValueForKey:@"toodleID"];
}




- (NSString*)tags {
	[self willAccessValueForKey:@"tags"];
	NSString *result = [self primitiveValueForKey:@"tags"];
	[self didAccessValueForKey:@"tags"];
	return result;
}

- (void)setTags:(NSString*)value_ {
    [self willChangeValueForKey:@"tags"];
    [self setPrimitiveValue:value_ forKey:@"tags"];
    [self didChangeValueForKey:@"tags"];
}






- (NSString*)uniqueID {
	[self willAccessValueForKey:@"uniqueID"];
	NSString *result = [self primitiveValueForKey:@"uniqueID"];
	[self didAccessValueForKey:@"uniqueID"];
	return result;
}

- (void)setUniqueID:(NSString*)value_ {
    [self willChangeValueForKey:@"uniqueID"];
    [self setPrimitiveValue:value_ forKey:@"uniqueID"];
    [self didChangeValueForKey:@"uniqueID"];
}






- (NSNumber*)sequenceValue {
	[self willAccessValueForKey:@"sequenceValue"];
	NSNumber *result = [self primitiveValueForKey:@"sequenceValue"];
	[self didAccessValueForKey:@"sequenceValue"];
	return result;
}

- (void)setSequenceValue:(NSNumber*)value_ {
    [self willChangeValueForKey:@"sequenceValue"];
    [self setPrimitiveValue:value_ forKey:@"sequenceValue"];
    [self didChangeValueForKey:@"sequenceValue"];
}



- (int)sequenceValueValue {
	return [[self sequenceValue] intValue];
}

- (void)setSequenceValueValue:(int)value_ {
	[self setSequenceValue:[NSNumber numberWithInt:value_]];
}



- (NSSet *) actions
{
	[self willAccessValueForKey: @"actions"];
	NSSet *result = [self primitiveValueForKey: @"actions"];
	[self didAccessValueForKey: @"actions"];
	return result;
}

- (void) setActions:(NSSet *)value_
{
	[self willChangeValueForKey: @"actions"];
	[self setPrimitiveValue:value_ forKey:@"actions"];
	[self didChangeValueForKey: @"actions"];
}

	
- (void)addActions:(NSSet*)value_ {
	[self willChangeValueForKey:@"actions" withSetMutation:NSKeyValueUnionSetMutation usingObjects:value_];
    [[self primitiveValueForKey:@"actions"] unionSet:value_];
    [self didChangeValueForKey:@"actions" withSetMutation:NSKeyValueUnionSetMutation usingObjects:value_];
}

-(void)removeActions:(NSSet*)value_ {
	[self willChangeValueForKey:@"actions" withSetMutation:NSKeyValueMinusSetMutation usingObjects:value_];
	[[self primitiveValueForKey:@"actions"] minusSet:value_];
	[self didChangeValueForKey:@"actions" withSetMutation:NSKeyValueMinusSetMutation usingObjects:value_];
}
	
- (void)addActionsObject:(Action*)value_ {
	NSSet *changedObjects = [[NSSet alloc] initWithObjects:&value_ count:1];
	[self willChangeValueForKey:@"actions" withSetMutation:NSKeyValueUnionSetMutation usingObjects:changedObjects];
    [[self primitiveValueForKey:@"actions"] addObject:value_];
    [self didChangeValueForKey:@"actions" withSetMutation:NSKeyValueUnionSetMutation usingObjects:changedObjects];
    [changedObjects release];
}

- (void)removeActionsObject:(Action*)value_ {
	NSSet *changedObjects = [[NSSet alloc] initWithObjects:&value_ count:1];
	[self willChangeValueForKey:@"actions" withSetMutation:NSKeyValueMinusSetMutation usingObjects:changedObjects];
	[[self primitiveValueForKey:@"actions"] removeObject:value_];
	[self didChangeValueForKey:@"actions" withSetMutation:NSKeyValueMinusSetMutation usingObjects:changedObjects];
	[changedObjects release];
}

- (NSMutableSet*)actionsSet {
	return [self mutableSetValueForKey:@"actions"];
}
	

@end
