cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torehal...@apache.org
Subject svn commit: r440457 - in /incubator/cayenne/sandbox/CocoaCayenne/CAYClient: AppController.m Artist.h Artist.m English.lproj/MainMenu.nib/info.nib English.lproj/MainMenu.nib/keyedobjects.nib Gallery.h Gallery.m Painting.h Painting.m
Date Tue, 05 Sep 2006 19:33:33 GMT
Author: torehalset
Date: Tue Sep  5 12:33:32 2006
New Revision: 440457

URL: http://svn.apache.org/viewvc?view=rev&rev=440457
Log:
 * removed all set/get methods in entity-classes.
 * different buttons for add/remove. still wrong size.

Modified:
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.h
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.m
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/info.nib
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/keyedobjects.nib
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.h
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.m
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.h
    incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.m

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m Tue Sep  5 12:33:32 2006
@@ -58,7 +58,7 @@
     
 	CAYNamedQuery *query = [[CAYNamedQuery alloc] init];
 	[query setName:@"objcquery"];
-	NSArray *rows = [[self objectContext] performQyery:query];
+	NSArray *rows = [[self objectContext] performQuery:query];
     
 	[queryResultController removeObjects:[queryResultController arrangedObjects]];
 	[queryResultController addObjects:rows];

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.h?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.h (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.h Tue Sep  5 12:33:32 2006
@@ -24,9 +24,4 @@
 
 }
 
--(void)setName:(NSString *)n;
--(NSString *)name;
--(void)setDateOfBirth:(NSDate *)d;
--(NSDate *)dateOfBirth;
-
 @end

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.m?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.m (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Artist.m Tue Sep  5 12:33:32 2006
@@ -37,26 +37,4 @@
 	[coder encodeObject:[values valueForKey:@"dateOfBirth"] forKey:@"dateOfBirth"];
 }
 
--(void)setName:(NSString *)n
-{
-    [[self objectContext] propertyChanged:self forProperty:@"name" fromOld:[values objectForKey:@"name"]
toNew:n];
-    [values setObject:n forKey:@"name"];
-}
-
--(NSString *)name
-{
-	return [values objectForKey:@"name"];
-}
-
--(void)setDateOfBirth:(NSDate *)d
-{
-    [[self objectContext] propertyChanged:self forProperty:@"dateOfBirth" fromOld:[values
objectForKey:@"dateOfBirth"] toNew:d];
-    [values setObject:d forKey:@"dateOfBirth"];
-}
-
--(NSDate *)dateOfBirth
-{
-    return [values objectForKey:@"dateOfBirth"];
-}
-
 @end

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/info.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/info.nib?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/info.nib (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/info.nib Tue
Sep  5 12:33:32 2006
@@ -13,10 +13,10 @@
 	<string>446.1</string>
 	<key>IBOpenObjects</key>
 	<array>
-		<integer>29</integer>
 		<integer>21</integer>
+		<integer>29</integer>
 	</array>
 	<key>IBSystem Version</key>
-	<string>8J2135</string>
+	<string>8J2135a</string>
 </dict>
 </plist>

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/keyedobjects.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/English.lproj/MainMenu.nib/keyedobjects.nib?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
Binary files - no diff available.

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.h?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.h (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.h Tue Sep  5 12:33:32 2006
@@ -24,7 +24,4 @@
 
 }
 
--(void)setName:(NSString *)n;
--(NSString *)name;
-
 @end

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.m?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.m (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Gallery.m Tue Sep  5 12:33:32 2006
@@ -35,15 +35,4 @@
 	[coder encodeObject:[values valueForKey:@"name"] forKey:@"name"];
 }
 
--(void)setName:(NSString *)n
-{
-    [[self objectContext] propertyChanged:self forProperty:@"name" fromOld:[values objectForKey:@"name"]
toNew:n];
-    [values setObject:n forKey:@"name"];
-}
-
--(NSString *)name
-{
-	return [values objectForKey:@"name"];
-}
-
 @end

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.h?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.h (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.h Tue Sep  5 12:33:32 2006
@@ -24,7 +24,4 @@
 
 }
 
--(void)setName:(NSString *)n;
--(NSString *)name;
-
 @end

Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.m?view=diff&rev=440457&r1=440456&r2=440457
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.m (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/Painting.m Tue Sep  5 12:33:32 2006
@@ -35,15 +35,4 @@
 	[coder encodeObject:[values valueForKey:@"name"] forKey:@"name"];
 }
 
--(void)setName:(NSString *)n
-{
-    [[self objectContext] propertyChanged:self forProperty:@"name" fromOld:[values objectForKey:@"name"]
toNew:n];
-    [values setObject:n forKey:@"name"];
-}
-
--(NSString *)name
-{
-	return [values objectForKey:@"name"];
-}
-
 @end



Mime
View raw message