diff options
Diffstat (limited to 'Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h')
-rw-r--r-- | Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h index 834c8e18..469d0808 100644 --- a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h +++ b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h @@ -42,7 +42,7 @@ NSString *internalType; // Name of the class, or type used for the class definition NSString *externalName; // Name of the corresponding column in the DB NSString *externalType; // Type used to store the attribute (in the DB) - unsigned int width; // Width (for storing by the DB) + NSUInteger width; // Width (for storing by the DB) BOOL allowsNull; // Attribute can be null BOOL autoGenerated; // Attribute is auto generated by the DB BOOL isPartOfKey; // Attribute is part of theprimary key of the class description @@ -69,15 +69,15 @@ - (void) setInternalType:(NSString *) iInternalType; - (void) setExternalType:(NSString *) iExternalType; - (void) setExternalName:(NSString *) iExternalName; -- (void) setWidth:(unsigned int) iWidth; +- (void) setWidth:(NSUInteger) iWidth; - (void) setAllowsNull:(BOOL) iAllowsNull; - (void) setAutoGenerated:(BOOL) iAutoGenerated; - (void) setIsPartOfKey:(BOOL) iIsPartOfKey; - (void) setIsPartOfIdentity:(BOOL) iIsPartOfIdentity; - (void) setHasAccessor:(BOOL) iHasAccessor; - (void) setDefaultValue:(id) iDefaultValue; -- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(unsigned int) index; -- (void) removeObjectFromJoinsAtIndex:(unsigned int) index; +- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(NSUInteger) index; +- (void) removeObjectFromJoinsAtIndex:(NSUInteger) index; //- (void) addRelation:(MCPRelation *) iRelation; //- (void) removeRelation:(MCPRelation *) iRelation; @@ -89,16 +89,16 @@ - (NSString *) internalType; - (NSString *) externalName; - (NSString *) externalType; -- (unsigned int) width; +- (NSUInteger) width; - (BOOL) allowsNull; - (BOOL) autoGenerated; - (BOOL) isPartOfKey; - (BOOL) isPartOfIdentity; - (BOOL) hasAccessor; - (id) defaultValue; -- (unsigned int) countOfJoins; -- (MCPJoin *) objectInJoinsAtIndex:(unsigned int) index; -- (unsigned int) indexOfJoinIdenticalTo:(id) iJoin; +- (NSUInteger) countOfJoins; +- (MCPJoin *) objectInJoinsAtIndex:(NSUInteger) index; +- (NSUInteger) indexOfJoinIdenticalTo:(id) iJoin; #pragma mark Some general methods: - (BOOL) isEqual:(id) iObject; |