diff options
Diffstat (limited to 'Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m')
-rw-r--r-- | Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m index 8ecfda92..085c1114 100644 --- a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m +++ b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m @@ -35,7 +35,7 @@ #import "MCPRelation.h" #import "MCPJoin.h" -static NSArray *MCPRecognisedInternalType; +static NSArray *MCPRecognisedInternalType; @interface MCPAttribute (Private) @@ -112,7 +112,7 @@ static NSArray *MCPRecognisedInternalType; [self setInternalType:[decoder decodeObjectForKey:@"MCPinternalType"]]; [self setExternalName:[decoder decodeObjectForKey:@"MCPexternalName"]]; [self setExternalType:[decoder decodeObjectForKey:@"MCPexternalType"]]; - [self setWidth:(unsigned int)[decoder decodeInt32ForKey:@"MCPwidth"]]; + [self setWidth:(NSUInteger)[decoder decodeInt32ForKey:@"MCPwidth"]]; [self setAllowsNull:[decoder decodeBoolForKey:@"MCPallowsNull"]]; [self setAutoGenerated:[decoder decodeBoolForKey:@"MCPautoGenerated"]]; [self setIsPartOfKey:[decoder decodeBoolForKey:@"MCPisPartOfKey"]]; @@ -231,7 +231,7 @@ static NSArray *MCPRecognisedInternalType; } } -- (void) setWidth:(unsigned int) iWidth +- (void) setWidth:(NSUInteger) iWidth { if (iWidth != width) { width = iWidth; @@ -302,12 +302,12 @@ static NSArray *MCPRecognisedInternalType; } } -- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(unsigned int) index +- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(NSUInteger) index { [joins insertObject:iJoin atIndex:index]; } -- (void) removeObjectFromJoinsAtIndex:(unsigned int) index +- (void) removeObjectFromJoinsAtIndex:(NSUInteger) index { [joins removeObjectAtIndex:index]; } @@ -373,7 +373,7 @@ static NSArray *MCPRecognisedInternalType; return externalType; } -- (unsigned int) width +- (NSUInteger) width { return width; } @@ -408,17 +408,17 @@ static NSArray *MCPRecognisedInternalType; return defaultValue; } -- (unsigned int) countOfJoins +- (NSUInteger) countOfJoins { return [joins count]; } -- (MCPJoin *) objectInJoinsAtIndex:(unsigned int) index +- (MCPJoin *) objectInJoinsAtIndex:(NSUInteger) index { return (MCPJoin *)((NSNotFound != index) ? [joins objectAtIndex:index] : nil); } -- (unsigned int) indexOfJoinIdenticalTo:(id) iJoin +- (NSUInteger) indexOfJoinIdenticalTo:(id) iJoin { return [joins indexOfObjectIdenticalTo:iJoin]; } |